How can I only read N frames from filesrc?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How can I only read N frames from filesrc?

Ling Wang
`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'
```


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel