How hard can it be to change filesrc location runtime

marc lievens marc.lievens1210 at telenet.be
Tue Aug 10 10:13:34 UTC 2021


Hi,

 

I seems to overlook something when I change the element filesrc location at
runtime.

 

I tried already to change the location already in different ways and dis
read the documentation concerning dynamic pipelines

 

At this moment I simplified the pipeline to :  filesrc | decodebin|
autovideosink, but still I seems to do something wrong.

 

What I already tried is :

 

-          In blocking probe on file source  I changed location with/without
filesrc state changes(GST_STATE_NULL and sync with parent )  and pipeline
changes ( GST_STATE_READY and GST_STATE_PLAY)

-          With 2 probes and send eos as explained  in dynamic pipeline
documentation , and this with creating new filesrc and/or decodebin.

-          With posting a message and  change file location when message
received to avoid deadlocks

 

I  really have no idea what I'm doing wrong or if it is even possible.

 

I would appreciate if anyone can point me in the right direction or explains
me the sequence of actions to take 

 

Cheers ,

marc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210810/a450fecc/attachment.htm>


More information about the gstreamer-devel mailing list