[gstreamer-bugs] [Bug 601293] [patch] Fix dvdemux timestamping issue

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 9 12:32:25 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=601293
  GStreamer | gst-plugins-good | git

--- Comment #7 from Andoni Morales <ylatuya at gmail.com> 2009-11-09 20:32:23 UTC ---
Have you tried to play the audio file using the current HEAD and the patched
one? The first one is totally corrupted while the second one plays smoothly.
The time stamping issue also affects video buffers. The 'duration' variable,
which is calculated in gst_dvdemux_demux_frame() is also passed to
gst_dvdemux_demux_video() with the wrong value. With ffdemux_dv that problem
doesn't show up. 
To illustrate it better you should try with these pipelines:
gst-launch-0.10 -v   dv1394src ! dvdemux name=mux .audio
! identity ! audioconvert ! vorbisenc ! oggmux ! filesink location=vorbis.ogg
gst-launch-0.10 -v   dv1394src ! ffdemux_dv name=mux .audio_00
! identity ! audioconvert ! vorbisenc ! oggmux ! filesink location=vorbis.ogg

dvdemux is not doing what's expected because it's calculating the duration in a
wrong way. It should be timestamping buffers at a correct framerate, which is
not the case. If the next_ts is calculated using dvdemux->frame_offset+1,
 the last_ts or current_ts (dvdemux->time_segment.last_stop) should be
calculated with dvdemux->frame_offset.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list