Stopping command-line gst-launch, after processing certain no. of frames

Yasushi SHOJI yasushi.shoji at gmail.com
Mon Jan 30 11:22:49 UTC 2017


Hi,

On Fri, Jan 27, 2017 at 4:08 PM, Arjen Veenhuizen <arjen.veenhuizen at tno.nl>
wrote:
>
> AFAIK that does not work for my case, e.g.
>
> Would read up to X bytes before going into EOS. Because the blocksize at
the
> filesrc is just an arbitrary number of bytes (default value: 4096) you can
> in no way relate that to a specific number of video frames after the
decoder
> (although you could use num-buffers and blocksize for raw video, but that
is
> out of scope).

I got what you mean.
You can write a few lines of C code to do it but I don't think there is an
element doing that at the moment.

Would it be upstream-acceptable to extend identity to do it?
-- 
            yashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170130/6c0e9575/attachment.html>


More information about the gstreamer-devel mailing list