You are not logged in.
kernel version: 4.0.2 Graphic card: Intel Graphics. I can't play h264 videos using ffmpeg / vlc / mplayer:
I have two bulks of movies from the same camera:
I can play movies from one bulk (they randomly work and sometime they present black screen).
The other bulk play scrmbled picture and annyoing noises.
Here are the logs:
ffplay:
ffplay version 2.6.2 Copyright (c) 2003-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC) 20150304 (prerelease)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[h264 @ 0x7ff028004f40] AVC: nal size -1485761236 sq= 0B f=0/0
[h264 @ 0x7ff028004f40] no frame!
[h264 @ 0x7ff028004f40] AVC: nal size 1009942102
[h264 @ 0x7ff028004f40] no frame!vlc:
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000001c19118] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libvcdx_plugin.so' (libvcdinfo.so.0: cannot open shared object file: No such file or directory)
[0000000001c19118] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libtwolame_plugin.so' (libtwolame.so.0: cannot open shared object file: No such file or directory)
[0000000001c19118] core libvlc warning: cannot load module `/usr/lib/vlc/plugins/visualization/libprojectm_plugin.so' (libprojectM.so.2: cannot open shared object file: No such file or directory)
[0000000001c19118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f76f0c015d8] mp4 stream warning: unknown box type alis (incompletely loaded)
[00007f76f0c015d8] mp4 stream warning: unknown box type hdlr (incompletely loaded)
[00007f76f0c015d8] mp4 stream warning: unknown box type alis (incompletely loaded)
[00007f76f0c015d8] mp4 stream warning: unknown box type hdlr (incompletely loaded)
[00007f76f0c015d8] mp4 stream warning: unknown box type TAGS (incompletely loaded)
[00007f76f0c015d8] mp4 stream warning: unknown box type U (incompletely loaded)
[00007f76f0c01878] mp4 demux warning: elst box found
[00007f76f0c01878] mp4 demux warning: STTS table of 1 entries
[00007f76f0c01878] mp4 demux warning: elst box found
[00007f76f0c01878] mp4 demux warning: STTS table of 1 entries
[h264 @ 0x7f76f0cceb80] AVC: nal size -1485761236
[h264 @ 0x7f76f0cceb80] AVC: nal size -1485761236
[h264 @ 0x7f76f0cceb80] no frame!
[00007f76f0c14048] avcodec decoder warning: cannot decode one frame (71453 bytes)I'll be happy to supply additional information.
Thanks!
Last edited by shaief (2015-05-15 14:01:56)
Offline
similar issues that might help
https://bbs.archlinux.org/viewtopic.php?id=171859
https://bbs.archlinux.org/viewtopic.php?id=156050
Offline
Thanks Malkymder.
I'm not sure why you've sent me to these threads, but they are only randomly j related to my issue.
Last edited by shaief (2015-05-15 17:09:28)
Offline
Which ffmpeg package do you have installed ... if your using ffmpeg-full i believe it has issues with vlc ...
sudo pacman -R ffmpeg-full && sudo pacman -S ffmpegOffline
Which ffmpeg package do you have installed ... if your using ffmpeg-full i believe it has issues with vlc ...
sudo pacman -R ffmpeg-full && sudo pacman -S ffmpeg
Thanks. I had ffmpeg installed (not ffmpeg-full).
Offline
An update - i wanted to check in depth, so i reinstalled Arch. The same symptoms were there, this time i was unable to load gnome-terminal.
So i tried again and installed Ubuntu 14.04 instead: on Ubuntu everything works. This way i rejected my assumption of hardware failure.
I wonder what in my Arch installation went wrong and created this random behaviour.
Any ideas?
Offline
Double check which gstreamer0.10 versions you have installed (gstreamer0.10-good gstreamer0.10-bad gstreamer0.10-ugly)
also try running vlc with
vlc -vvv my_file.mp4also look at what codec is being selected in VLC, mplayer and mediainfo
Offline
@shaief: From the thread it seems like it is a lower level issue that is not related to the media libraries per se (since you claim gnome-terminal does not work).
If you can reasonably rule out a lower level issue, and are convinced that it lies with the media libraries,
bug report is welcome at https://trac.ffmpeg.org.
(Please read https://www.ffmpeg.org/bugreports.html before submitting.)
"Behind every theorem lies an inequality" - A N Kolmogorov
Offline
exactly same problem here, solved disabling the HW acceleration for decoding (under preferenes -> codec).
I've tested using intel decoder from AUR (aur/libva-intel-driver-g45-h264) AND from extra (extra/libva-intel-driver) same issue.
ope at least you will finally see you video (mplayer was always working fine for me, but i don't know if was using HW for decoding)
Offline