GNOME Bugzilla – Bug 587881
[qtdemux] PTS synchronization issue
Last modified: 2011-05-20 07:52:50 UTC
Please describe the problem: If you make MPEG TS from mp4 file using “qtdemux plugin”, generated TS file is not synchronized (a lot of video frames is skipped during playback because of incorrect PTS). The same issue is detected on different mp4 files. To be sure that issue is not related to used player (VLC) generated file is played on TV set with same behavior. The used gst-launch command is: gst-launch -v filesrc location=/usr/local/StarTrek.mp4 ! qtdemux name=demux demux.video_00 ! queue ! h264parse ! mpegtsmux name=mux ! filesink location=/ usr/local /out_264_audio_video_2.ts demux.audio_00 ! mux. Steps to reproduce: 1. gst-launch -v filesrc location=/usr/local/StarTrek.mp4 ! qtdemux name=demux demux.video_00 ! queue ! h264parse ! mpegtsmux name=mux ! filesink location=/ usr/local /out_264_audio_video_2.ts demux.audio_00 ! mux. 2. Play generated ts file with some player 3. Actual results: During playback video is is interrupted ( specially on fast scenes ) Expected results: Video/audio playback without any interrupts. Does this happen every time? Yes and with different input files. Other information: The same problem happens for .flv and .mpeg formats. gst-launch -v filesrc location=/usr/local/video1.flv ! flvdemux name=demux ! {queue ! mpegtsmux name=mux ! filesink location=/ usr/local /flv_test_out.ts } { demux. ! queue ! mux. } gst-launch filesrc location=/usr/local/CentenaryFull.mpg ! ffdemux_mpeg name=demux demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/ usr/local /mpeg_test_out.ts demux.audio_00 ! queue ! mux.
*** Bug 587882 has been marked as a duplicate of this bug. ***
(In reply to comment #0) > Please describe the problem: > If you make MPEG TS from mp4 file using “qtdemux plugin”, generated TS file > is not synchronized (a lot of video frames is skipped during playback because > of incorrect PTS). The same issue is detected on different mp4 files. To be > sure that issue is not related to used player (VLC) generated file is played on > TV set with same behavior. > > The used gst-launch command is: > gst-launch -v filesrc location=/usr/local/StarTrek.mp4 ! qtdemux name=demux > demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/ > usr/local /out_264_audio_video_2.ts demux.audio_00 ! mux. > > > Steps to reproduce: > 1. gst-launch -v filesrc location=/usr/local/StarTrek.mp4 ! qtdemux name=demux > demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/ > usr/local /out_264_audio_video_2.ts demux.audio_00 ! mux. > 2. Play generated ts file with some player > 3. > > > Actual results: > During playback video is is interrupted ( specially on fast scenes ) > > Expected results: > Video/audio playback without any interrupts. > > Does this happen every time? > Yes and with different input files. > > Other information: > The same problem happens for .flv and .mpeg formats. > gst-launch -v filesrc location=/usr/local/video1.flv ! flvdemux name=demux ! > {queue ! mpegtsmux name=mux ! filesink location=/ usr/local /flv_test_out.ts } > { demux. ! queue ! mux. } > gst-launch filesrc location=/usr/local/CentenaryFull.mpg ! ffdemux_mpeg > name=demux demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/ > usr/local /mpeg_test_out.ts demux.audio_00 ! queue ! mux. > Removed typo from gst-launch command. Used command line is: gst-launch -v filesrc location=/usr/local/StarTrek.mp4 ! qtdemux name=demux demux.video_00 ! queue ! mpegtsmux name=mux ! filesink location=/ usr/local /out_264_audio_video_2.ts demux.audio_00 ! mux.
Is this still a problem with the latest releases?
(In reply to comment #3) > Is this still a problem with the latest releases? Hi Sebastian, I don't work on project with GST usage any more for more than one year and I don't have information if this issue is solved. If I find time I will check this issue with latest version and inform you. Anyway, you can close this bug. Regards,