Page 1 of 1

h264 video playback troubles

Posted: 24 Apr 2015 11:28
by lev69
Hi folks,
I'm writing video from DVB stream using vlc. There are typically no problems with it, but very rarely I get "bad" videos.
ffprobe tells me next information:

Code: Select all

Input #0, mpeg, from 'V0031057.mpg': Duration: 00:10:06.68, start: 41392.486200, bitrate: 2762 kb/s Stream #0:0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s Stream #0:1[0x1e0]: Video: h264 (Main), yuv420p(tv, bt470bg), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
but vlc shows me black screen (audio is ok and playback time bar is correct) with no errors in message boxes or in command line. In the "Codec Information" I see: "Codec: MPEG-1/2 Video (mpgv)". Forcing with --avcodec-codec h264 gives no result.

I can transcode the source video to mpeg2 or flv using ffmpeg, and there are no problems with these new files. Problem is actual for CentOS 6 (vlc 2.0.7), OpenSuse 13.1 (vlc 2.2.0), Windows Server 2008 (vlc 2.0.4).

Thanks in advance!

Re: h264 video playback troubles

Posted: 03 May 2015 18:50
by Jean-Baptiste Kempf
Try --demux avformat