GNOME Bugzilla – Bug 724643
Example demonstrating segmenting a video stream every X keyframes and saving it to disk
Last modified: 2018-11-03 11:03:17 UTC
As __tim must surely be relieved that i finally achieved this and will not pester him so much about blocking probes ( atleast for a while.. ), I present to you my masterpiece, my greatest achievement since modifying the ffmpeg tool to be a function inside a library. As the title says, this is a simple example that cuts a video stream ( i only tested the general principles on h264 and raw yuv streams ) into multiple files each 'numframes' key-frames. I still don't know for sure why it works so I'll ask some questions here if anyone cares to answer.. Does the tee save the h264 header to be sent to new dynamic elements? It doesn't lose frames right now from the tests i conducted but should i send FLUSH_START on the tee, block events on the tee's src-pad and only then link the new sink?
Created attachment 269550 [details] Example
I'm confused, are you asking for help on that code ? If so it should be on the mailing-list or IRC
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/4.