[Bug 769413] alsasrc, v4l2src: getting repeated timestamps when capturing from multiple sources (multiple pipelines in single command)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 8 11:27:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769413

--- Comment #5 from Przemek <przemyslaw.gajos at gmail.com> ---
Hello, 

I can still see duplicated time stamps with this command:

  $GST_DEBUG="*SCHED:6" gst-launch-1.0 -v alsasrc device=hw:0,0 ! identity
silent=false name=digital ! fakesink alsasrc device=hw:1,0 ! identity
silent=false name=ANALOG ! fakesink 2>&1 | grep last-message | grep pts

Look at ANALOG sink device:
/GstPipeline:pipeline0/GstIdentity:ANALOG: last-message = chain   *******
(ANALOG:sink) (16384 bytes, dts: none, pts: 0:00:00.092879818, duration:
0:00:00.092879818, offset: 0, offset_end:  4096, flags: 00000040 discont )
0x7ff0ec015020
/GstPipeline:pipeline0/GstIdentity:ANALOG: last-message = chain   *******
(ANALOG:sink) (16384 bytes, dts: none, pts: 0:00:00.092879818, duration:
0:00:00.092879818, offset: 0, offset_end:  4096, flags: 00000040 discont )
0x7ff0ec015020
/GstPipeline:pipeline0/GstIdentity:digital: last-message = chain   *******
(digital:sink) (16384 bytes, dts: none, pts: 0:00:00.000000000, duration:
0:00:00.092879818, offset: 0, offset_end:  4096, flags: 00000040 discont )
0x7ff0ec015680
/GstPipeline:pipeline0/GstIdentity:digital: last-message = chain   *******
(digital:sink) (16384 bytes, dts: none, pts: 0:00:00.092879818, duration:
0:00:00.092879819, offset: 4096, offset_end:  8192...

To reproduce, I had to run the pipeline 15 times.
If I use the pipeline you proposed:
  $ GST_DEBUG="*SCHED:6"  gst-launch-1.0 -v alsasrc device=hw:0,0 ! identity
silent=false name=digital ! fakesink alsasrc device=hw:1,0 ! identity
silent=false name=ANALOG ! fakesink 2>&1 | grep calling | head -n 30
I do not see any print outs for time stamps. 

Best regards,
Przemek

-- 
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