[gst-devel] MpegTS playback bug.

Igor Tarasov i.s.tarasov at gmail.com
Wed Dec 29 20:28:47 CET 2010


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?

Thanks,
Igor.




More information about the gstreamer-devel mailing list