how to Appsink to Finalizing File?

Sebastian Dröge sebastian at centricular.com
Wed Sep 14 06:40:56 UTC 2016


On Di, 2016-09-13 at 08:42 -0700, killerrats wrote:
> I successfully grabbed the buffer and written the video to a file but when I
> open the video file it doesn't let me skip ahead or go backwards. I closed
> the file successfully. I used the
> gst_element_send_event(_videoD.srcPipeline,gst_event_new_eos()); and it end
> the stream. Do I have to finalize the video file somehow?
> 
> I'm writing to a avi file. I'm using a avimux.

appsink does not support any seeking, so on EOS it won't be able to
rewrite headers or anything.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 967 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160914/34fdc4f7/attachment.sig>


More information about the gstreamer-devel mailing list