GStreamer Pipeline for Live Audio and Video
Posted: Mon Jan 29, 2018 2:58 pm
Apologies if this isn't the right subforum, but it looks like my best shot.
I've got a Blackmagic Intensity Pro (non-4K), which I primarily use for grabbing audio and video from devices under review. I also use it so I can view the video output of devices during the test without needing a second monitor, using a simple GStreamer pipeline to show live video:
That works a treat, but I'd now like to include live audio - and that's where I've come unstuck. I know there's a "decklinkaudiosrc" which does for audio what "decklinkvideosrc" does for video, but every attempt I've made at including it in the pipeline - with various "queue", "mux," and "tee name=t" commands interspersed plus a "pulsesink" at the end so I can actually get the audio to play - fails miserably, typically by complaining that GStreamer can't link to "decklinkvideosrc."
I've found examples for capturing video and audio to a file using GStreamer, but not for live display - and, again, have failed miserably in attempting to modify them for same.
So, could any kind person share a working GStreamer pipeline that will display live video in an xvimagesink and play live audio through pulsesink (or any other audio sink compatible with Ubuntu 16.04.3)?
Thanks in advance!
I've got a Blackmagic Intensity Pro (non-4K), which I primarily use for grabbing audio and video from devices under review. I also use it so I can view the video output of devices during the test without needing a second monitor, using a simple GStreamer pipeline to show live video:
- Code: Select all
gst-launch-1.0 decklinkvideosrc mode=5 ! videoconvert ! xvimagesink
That works a treat, but I'd now like to include live audio - and that's where I've come unstuck. I know there's a "decklinkaudiosrc" which does for audio what "decklinkvideosrc" does for video, but every attempt I've made at including it in the pipeline - with various "queue", "mux," and "tee name=t" commands interspersed plus a "pulsesink" at the end so I can actually get the audio to play - fails miserably, typically by complaining that GStreamer can't link to "decklinkvideosrc."
I've found examples for capturing video and audio to a file using GStreamer, but not for live display - and, again, have failed miserably in attempting to modify them for same.
So, could any kind person share a working GStreamer pipeline that will display live video in an xvimagesink and play live audio through pulsesink (or any other audio sink compatible with Ubuntu 16.04.3)?
Thanks in advance!