Le mercredi 08 avril 2020 à 15:33 -0400, Thomas Bond a écrit :
> Hi,
>
>
>
> I'm using the tee element to display and encode which writes to a file. This works fine if I let the video play to completion.
>
> When I want to move to the next item in my playlist before playback has completed the encoded file doesn't get completed
>
> which means the header is not updated with the meta data and is useless without the meta data. How can get that done before moving to the next clip in the playlist?
You'd have to send an EOS to the branch of the tee. As a side effect,
no more data will be allowed to go through that pad, so you'll have to
discard that pad and request a new one.
This is a bit complicated, so many users tend to use appsink/appsrc,
splitting the playback and the recording in two different pipelines.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel