[gst-devel] MpegTS playback bug.
Janne Grunau
janne.grunau at collabora.co.uk
Mon Jan 3 12:11:10 CET 2011
On 29.12.2010 20:28, Igor Tarasov wrote:
> Hello,
>
> I found a problem to playback MpegTS video file with gstreamer. The
> image is broken, looks like a random pixels.
>
> I create this mpegts file using ffmpeg:
>
> ffmpeg -i somefile.avi -f mpegts -vcodec mpeg4 -acodec mp2 -ac 2 -ab
> 128k -s 720x432 -r 30 -re -b 10240k -threads 2 test.ts
>
> Seems stream 0 codec frame rate differs from container frame rate:
> 23.98 (65535/2733) -> 23.98 (10000000/417083)
> Input #0, avi, from 'ohotniki.avi':
> Metadata:
> ISFT : VirtualDubMod 1.5.10.2 (build 2542/release)
> INAM : Chasseurs de Dragons (2008)
> IART : vladaudi (BDRip 720)
> ICOP : HQ-ViDEO
> ICMT : 11.11.2008
> Duration: 01:22:15.13, start: 0.000000, bitrate: 2537 kb/s
> Stream #0.0: Video: mpeg4, yuv420p, 720x384 [PAR 1:1 DAR 15:8],
> PAR 128:135 DAR 16:9, 23.98 tbr, 23.98 tbn, 23.98 tbc
> Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
>
> When I'm trying to play - I have the result I described above:
> gst-launch playbin uri=file:///home/foo/bar/somefile.ts
>
> But both VLC and MPlayer playback this file perfectly.
>
> Is it a gstreamer bug? Or something wrong with ffmpeg which creates this file?
Reproduced, probably with a very different FFmpeg version. Gstreamer
feeds the mpeg4 decoder (ffmpeg's in my) data it doesn't understand. I
see lot's of decoding errors. The same FFmpeg command with mpeg2video as
-vcodec works as expected.
It looks like GStreamer and FFmpeg disagree about the bitstream format.
Janne
More information about the gstreamer-devel
mailing list