dynamic stream recording

Milian Wolff milian.wolff at kdab.com
Wed Nov 27 11:53:21 UTC 2019


On Dienstag, 26. November 2019 17:39:07 CET Milian Wolff wrote:
> Hey all,
> 
> I've found an article from ~5 years ago documenting dynamic pipelines which
> seem to be the suggested way of enabling/disabling recording at runtime,
> cf.:
> 
> https://coaxion.net/blog/2014/01/gstreamer-dynamic-pipelines/
> https://github.com/sdroege/gst-snippets/blob/
> 217ae015aaddfe3f7aa66ffc936ce93401fca04e/dynamic-tee-vsink.c
> 
> Is this still the recommended way of doing things?

Hmm, I just ran the example code against gstreamer 1.16-1 (on archlinux if 
that matters) and it doesn't seem to work. All I get is a black video sink 
after some time.

Running the pipeline manually without tee works fine:

gst-launch-1.0 filesrc location=test.mp4 ! decodebin ! videoconvert ! queue ! 
videoconvert ! autovideosink

Can someone check if the example code needs to be adapted?

-- 
Milian Wolff | milian.wolff at kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3826 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191127/e2d664da/attachment-0001.bin>


More information about the gstreamer-devel mailing list