How to show the first frame of a video pipleline?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to show the first frame of a video pipleline?

GStreamer-devel mailing list
I created a video player to play a video. Play, pause and stop work fine. But
I have to set play state to show video. How to display the first frame of
the pipeline and pause it after the pipeline is created?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to show the first frame of a video pipleline?

GStreamer-devel mailing list


Le ven. 30 avr. 2021 06 h 45, joecfd via gstreamer-devel <[hidden email]> a écrit :
I created a video player to play a video. Play, pause and stop work fine. But
I have to set play state to show video. How to display the first frame of
the pipeline and pause it after the pipeline is created?

All video-sink will display the very first frame when the pipeline is set to pause state. This is the default behavior, see show-preroll-frame property.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

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