GNOME Bugzilla – Bug 343581
dv1394src seems to deliver incorrect timestamp
Last modified: 2006-06-01 11:46:37 UTC
When using the dv1394src in a pipeline that is directly displayed leads to some synchronization problems that leads to 1fps-like displaying. The same holds also for the sound, the audiosink immediately stop. This may be a result of the start timestamp errors that the dv1394src reports: % gst-launch --gst-debug-level=5 -vt dv1394src ! dvdemux name="demux" ! dvdec ! xvimagesink 2>&1 | egrep -i 'invalid' DEBUG (0x6716c0 - 0:00:00.564008000) basesrc(21914) gstbasesrc.c(1159):gst_base_src_do_sync:<dv1394src0> get_times returned invalid start DEBUG (0x6716c0 - 0:00:00.788102000) basesrc(21914) gstbasesrc.c(1159):gst_base_src_do_sync:<dv1394src0> get_times returned invalid start DEBUG (0x6716c0 - 0:00:00.919010000) basesrc(21914) gstbasesrc.c(1159):gst_base_src_do_sync:<dv1394src0> get_times returned invalid start
sync to the clock is done in dv1394src since it is a live source. the get_times returning GST_CLOCK_TIME_NONE values is to instruct GstBaseSrc that it should not simulate a live source. Stuttery playback is a combination of: 1) dv1394src not providing a clock. (see bug #169383) 2) no latency calculations (yet) for live sources (see bug #340842). As for timestamping of buffers from dv1394src, I'm pretty sure it is wrong and just starts counting from 0 without either listening to the pipeline clock or providing its own clock. Marking as duplicate when implementing proper live source behaviour. *** This bug has been marked as a duplicate of 169383 ***
*** Bug 343582 has been marked as a duplicate of this bug. ***