Dynamically change filesink and drain data

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Dynamically change filesink and drain data


I have a pipeline which receives video from udp, uses tee to both decode it
and record to file using avimuxer and filesink. I want to stop recording
depending on user input(this will be done by the app later). I know about
pad probing, blocking it, unlink and remove from bin as explained below:


The problem is, filesink do not have a src pad to check if eos arrived, i.e,
data drained from it to make sure avi file is closed correctly. A similar
question was asked in the past but there is no solution:


Thread and especially last post in it is very similar to my problem here.

Any help would be appreciated.

Thanks in advance,


Sent from: http://gstreamer-devel.966125.n4.nabble.com/
gstreamer-devel mailing list
[hidden email]