After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587881 - [qtdemux] PTS synchronization issue
[qtdemux] PTS synchronization issue
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.15
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 587882 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-07-06 11:42 UTC by Tihomir Andjelic
Modified: 2011-05-20 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tihomir Andjelic 2009-07-06 11:42:04 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.
Comment 1 Tihomir Andjelic 2009-07-06 11:51:59 UTC
*** Bug 587882 has been marked as a duplicate of this bug. ***
Comment 2 Tihomir Andjelic 2009-07-06 12:05:07 UTC
(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.
Comment 3 Sebastian Dröge (slomo) 2011-05-20 07:04:46 UTC
Is this still a problem with the latest releases?
Comment 4 Tihomir Andjelic 2011-05-20 07:12:07 UTC
(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,