Skip to content

A simple application based on QtGStreamer which can play a video and take snapshots

License

Notifications You must be signed in to change notification settings

ThomArmax/qtgstreamer-snapshot-taker-example

Repository files navigation

qtgstreamer-snapshot-taker-example

A simple application based on QtGStreamer which can play a video and take snapshots.

The create pipeline is quite simple:

----------------   --------------
| videotestsrc |-->| ximagesink |
----------------   --------------

Basically, We use the last-sample property of ximagesink to get a GstSample. This sample is converted in the desired format, using gst_video_convert_sample. Then, the converted sample is written into a QImage

About

A simple application based on QtGStreamer which can play a video and take snapshots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published