In .mkv video files I have green screen

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
angelosbg

In .mkv video files I have green screen

Post by angelosbg »

Hello,

In all the media players apart from VLC when I run .mkv and .mp4 files I have a green screen

Have you ever heard of this issue?

I have attached here a file to show you what I mean.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
ugly
Level 5
Level 5
Posts: 592
Joined: Thu Nov 24, 2016 9:17 pm

Re: In .mkv video files I have green screen

Post by ugly »

My guess would be that there is an issue with hardware decoding. It shouldn't matter whether the file is .mkv or .mp4. It's more likely you cannot decode h264 videos.

If the video player you use provides an option to turn off hardware acceleration, you can try that.

But if you want to use hardware acceleration, we'd need more info about your setup.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: In .mkv video files I have green screen

Post by trytip »

https://iknowwhatyoudownload.com/ <<< just a small site that is very nosy and want to know everything

open it with mediainfo either you are missing codecs, the file is not done downloading, or corrupt file. does it open with mpv or vlc
Image
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: In .mkv video files I have green screen

Post by Hoser Rob »

Do this in the terminal:

Code: Select all

sudo apt-get update
sudo apt-get install mint-meta-codecs
I suspect this because VLC comes with its own codec libraries, and Mint doesn't come with all the nonfree codecs any more. Some people groused about that, thought that was the main reason to use Mint. But if you can install Linux surely you can install codecs?

If they're already installed post the text output of inxi -Fxz.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
angelosbg

Re: In .mkv video files I have green screen

Post by angelosbg »

Hoser Rob wrote: Sat Feb 02, 2019 10:16 am Do this in the terminal:

Code: Select all

sudo apt-get update
sudo apt-get install mint-meta-codecs
I suspect this because VLC comes with its own codec libraries, and Mint doesn't come with all the nonfree codecs any more. Some people groused about that, thought that was the main reason to use Mint. But if you can install Linux surely you can install codecs?

If they're already installed post the text output of inxi -Fxz.
Thank you, it looked to me at first that this would be the reason, however, this is what I got when running the installation

Code: Select all

angelosbg@Now:~$ sudo apt-get update
[sudo] password for angelosbg:          
Ign:1 http://www.mirrorservice.org/sites/packages.linuxmint.com/packages tessa InRelease
Hit:2 http://mirror.freethought-internet.co.uk/ubuntu bionic InRelease         
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:4 http://apt.insynchq.com/mint tessa InRelease                             
Hit:5 http://www.mirrorservice.org/sites/packages.linuxmint.com/packages tessa Release
Hit:6 http://mirror.freethought-internet.co.uk/ubuntu bionic-updates InRelease 
Hit:7 http://mirror.freethought-internet.co.uk/ubuntu bionic-backports InRelease
Hit:8 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:9 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:10 https://repo.skype.com/deb stable InRelease                             
Hit:11 http://dl.google.com/linux/chrome/deb stable Release                    
Reading package lists... Done                     
angelosbg@Now:~$ sudo apt-get install mint-meta-codecs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mint-meta-codecs is already the newest version (2018.11.28).
The following packages were automatically installed and are no longer required:
  gtk2-engines:i386 gtk2-engines-murrine:i386 gtk2-engines-oxygen:i386
  gtk2-engines-pixbuf:i386 gvfs:i386 gvfs-libs:i386 ibus-gtk:i386 libaio1:i386
  libao4:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386
  libatk1.0-0:i386 libaudio2:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libbsd0:i386 libcaca0:i386
  libcairo2:i386 libcanberra-gtk-module:i386 libcanberra-gtk0:i386
  libcanberra0:i386 libcap2:i386 libcapi20-3:i386 libcroco3:i386 libcups2:i386
  libcupsimage2:i386 libdatrie1:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386
  libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
  libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libegl-mesa0:i386
  libegl1:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libffi6:i386
  libflac8:i386 libfluidsynth1:i386 libfontconfig1:i386 libfreetype6:i386
  libgail-common:i386 libgail18:i386 libgbm1:i386 libgck-1-0:i386
  libgcr-base-3-1:i386 libgd3:i386 libgdk-pixbuf2.0-0:i386 libgettextpo0:i386
  libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
  libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386
  libglx0:i386 libgmp10:i386 libgnutls30:i386 libgphoto2-6:i386
  libgphoto2-port12:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
  libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libgtk2.0-0:i386
  libharfbuzz0b:i386 libhogweed4:i386 libibus-1.0-5:i386 libice6:i386
  libicu60:i386 libidn2-0:i386 libieee1284-3:i386 libjack-jackd2-0:i386
  libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libk5crypto3:i386
  libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386
  libllvm6.0:i386 libllvm7:i386 libltdl7:i386 libmad0:i386 libmikmod3:i386
  libmng2:i386 libmpg123-0:i386 libnettle6:i386 libnspr4:i386 libnss3:i386
  libodbc1:i386 libogg0:i386 libopenal1:i386 liborc-0.4-0:i386
  libp11-kit0:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
  libpangoft2-1.0-0:i386 libpciaccess0:i386 libpixman-1-0:i386
  libpng16-16:i386 libpulse-mainloop-glib0:i386 libpulse0:i386
  libpulsedsp:i386 libqt4-dbus:i386 libqt4-declarative:i386
  libqt4-designer:i386 libqt4-network:i386 libqt4-opengl:i386
  libqt4-qt3support:i386 libqt4-script:i386 libqt4-scripttools:i386
  libqt4-sql:i386 libqt4-svg:i386 libqt4-test:i386 libqt4-xml:i386 libqt4-xml
  libqt4-xmlpatterns:i386 libqtcore4:i386 libqtcore4 libqtdbus4
  libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libreadline7:i386
  librsvg2-2:i386 librsvg2-common:i386 libsamplerate0:i386
  libsdl-image1.2:i386 libsdl-mixer1.2:i386 libsdl-net1.2:i386
  libsdl-ttf2.0-0:i386 libsdl1.2debian:i386 libsdl2-2.0-0:i386
  libsecret-1-0:i386 libsensors4:i386 libslang2:i386 libsm6:i386
  libsndfile1:i386 libsndio6.1:i386 libspeexdsp1:i386 libsqlite3-0:i386
  libssl1.0.0:i386 libstdc++5:i386 libstdc++6:i386 libtasn1-6:i386
  libtdb1:i386 libthai0:i386 libtiff5:i386 libunistring2:i386
  libusb-1.0-0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvorbisfile3:i386
  libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386
  libwayland-egl1-mesa:i386 libwayland-server0:i386 libwebp6:i386
  libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxaw7:i386
  libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386
  libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386
  libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386
  libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
  libxkbcommon0:i386 libxml2:i386 libxmu6:i386 libxpm4:i386 libxrandr2:i386
  libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxt6:i386
  libxtst6:i386 libxxf86vm1:i386 linux-headers-4.15.0-43
  linux-headers-4.15.0-43-generic linux-image-4.15.0-43-generic
  linux-modules-4.15.0-43-generic linux-modules-extra-4.15.0-43-generic
  odbcinst odbcinst1debian2:i386 odbcinst1debian2 qdbus qtchooser qtcore4-l10n
  xaw3dg:i386
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

and this is the output

Code: Select all

System:
  Host: Now Kernel: 4.15.0-45-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 
  Desktop: Xfce 4.12.3 Distro: Linux Mint 19.1 Tessa 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: TOSHIBA product: Satellite L650 v: PSK1EE-07600REN 
  serial: <filter> 
  Mobo: TOSHIBA model: Portable PC serial: <filter> BIOS: INSYDE v: 2.40 
  date: 11/09/2011 
Battery:
  ID-1: BAT0 charge: 37.6 Wh condition: 37.6/56.2 Wh (67%) model: N/A 
  status: Unknown 
CPU:
  Topology: Dual Core model: Intel Core i5 M 480 bits: 64 type: MT MCP 
  arch: Nehalem rev: 5 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21333 
  Speed: 1344 MHz min/max: 1199/2667 MHz Core speeds (MHz): 1: 1374 2: 1435 
  3: 1450 4: 1406 
Graphics:
  Device-1: Intel Core Processor Integrated Graphics 
  vendor: Toshiba America Info Systems driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 18.2.2 
  direct render: Yes 
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio 
  vendor: Toshiba America Info Systems driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.15.0-45-generic 
Network:
  Device-1: Qualcomm Atheros AR8152 v1.1 Fast Ethernet 
  vendor: Toshiba America Info Systems driver: atl1c v: 1.0.1.1-NAPI 
  port: 3000 bus ID: 01:00.0 
  IF: enp1s0 state: down mac: <filter> 
  Device-2: Realtek RTL8191SEvB Wireless LAN driver: rtl8192se v: kernel 
  port: 2000 bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 62.33 GiB (13.4%) 
  ID-1: /dev/sda vendor: Seagate model: ST9500325AS size: 465.76 GiB 
  temp: 29 C 
Partition:
  ID-1: / size: 82.00 GiB used: 62.33 GiB (76.0%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 4.15 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 52.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 212 Uptime: 12m Memory: 3.66 GiB used: 1.89 GiB (51.6%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 
  inxi: 3.0.27 
ugly wrote: Fri Feb 01, 2019 7:06 pm My guess would be that there is an issue with hardware decoding. It shouldn't matter whether the file is .mkv or .mp4. It's more likely you cannot decode h264 videos.

If the video player you use provides an option to turn off hardware acceleration, you can try that.

But if you want to use hardware acceleration, we'd need more info about your setup.

Thank you. I will try to see about hardware acceleration , don't know how useful it is neither if it solves the issue. For my system I think you have information above.

trytip wrote: Fri Feb 01, 2019 7:44 pm https://iknowwhatyoudownload.com/ <<< just a small site that is very nosy and want to know everything

open it with mediainfo either you are missing codecs, the file is not done downloading, or corrupt file. does it open with mpv or vlc

Thank you, I didn't understand that I need this site for. The files are not corrupt and they play with vlc only.
Last edited by angelosbg on Mon Feb 11, 2019 12:26 pm, edited 1 time in total.
Reason: Added code tags
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: In .mkv video files I have green screen

Post by phd21 »

Hi angelosbg,

I just read your post and the good replies to it. Here are my thoughts on this as well.

I would also recommend installing from the "Synaptic Package Manager (SPM)" "ffmpeg", "x264", "x265", then retry your videos. May require logging out or restarting your computer. Your screenshot shows video is using x264 video codec.

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: In .mkv video files I have green screen

Post by thx-1138 »

...try apt remove gstreamer1.0-vaapi, then restart 'xplayer' and the video in question, tell us if it's still green.
angelosbg

Re: In .mkv video files I have green screen

Post by angelosbg »

phd21 wrote: Sat Feb 02, 2019 11:51 am Hi angelosbg,

I just read your post and the good replies to it. Here are my thoughts on this as well.

I would also recommend installing from the "Synaptic Package Manager (SPM)" "ffmpeg", "x264", "x265", then retry your videos. May require logging out or restarting your computer. Your screenshot shows video is using x264 video codec.

Hope this helps ...
Thanks a lot. I installed them and they weren't installed but I didn't see any improvement.
thx-1138 wrote: Sat Feb 02, 2019 12:03 pm ...try apt remove gstreamer1.0-vaapi, then restart 'xplayer' and the video in question, tell us if it's still green.
This has done the job, thank you very much. This is a package about hardware acceleration, right? Do you think this will cause any issue watching the videos?
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: In .mkv video files I have green screen

Post by thx-1138 »

Nope, it won't cause any issues with watching videos, it's a known bug with current version(s) of vaapi & gstreamer.
Ideally, if it was working properly, it would give you hardware accel under xplayer specifically (thereby consuming less resources).
It's not used from VLC or SMplayer etc (which i would personally recommend instead of xplayer as well...)

The only thing to somewhat be careful about would be if you ever run 'autoremove' & similar commands,
as gstreamer1.0-vaapi is a dependency of the mint-meta-codecs package.
In such case (ie. if mint-meta-codecs' dependencies get removed),
just re-install the mint-meta-codecs package first, then remove the buggy gstreamer1.0-vaapi package again...
angelosbg

Re: In .mkv video files I have green screen

Post by angelosbg »

thx-1138 wrote: Sat Feb 02, 2019 12:40 pm Nope, it won't cause any issues with watching videos, it's a known bug with current version(s) of vaapi & gstreamer.
Ideally, if it was working properly, it would give you hardware accel under xplayer specifically (thereby consuming less resources).
It's not used from VLC or SMplayer etc (which i would personally recommend instead of xplayer as well...)

The only thing to somewhat be careful about would be if you ever run 'autoremove' & similar commands,
as gstreamer1.0-vaapi is a dependency of the mint-meta-codecs package.
In such case (ie. if mint-meta-codecs' dependencies get removed),
just re-install the mint-meta-codecs package first, then remove the buggy gstreamer1.0-vaapi package again...
Thank you so much for helping me and everyone else here, guys. I am a very very newbie and I would really like to stick to mint and not return to windows. I hope I will learn and be able to solve problems.
hungrock

Re: In .mkv video files I have green screen

Post by hungrock »

thx-1138 wrote: Sat Feb 02, 2019 12:03 pm ...try apt remove gstreamer1.0-vaapi, then restart 'xplayer' and the video in question, tell us if it's still green.
I had the same problem in Linux Mint 19.2 and it works for me too.

Thanks a lot :D
Locked

Return to “Sound”