How can I only read N frames from filesrc?

^_^Sisyphus^_^ freesisyphuswang at gmail.com
Sun Sep 27 09:49:31 UTC 2020


`num-buffers` has no effect on filesrc, the following will produce all
frames instead of just first 10.

```
gst-launch-1.0 -e filesrc location=/tmp/test.ts num-buffers=10 ! decodebin
! videoconvert ! pngenc ! multifilesink location='frame%05d.png'
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200927/7a92344c/attachment.htm>


More information about the gstreamer-devel mailing list