How to dump static imagery periodically from video source and also encode the video for RTSP

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

How to dump static imagery periodically from video source and also encode the video for RTSP

Matthew Thyer

Greetings,

 

I’m encoding H.264 video for an RTSP server (using GStreamer RTSP 1.14.2) and also have a requirement to periodically dump static images to disk.

My current pipeline is similar to:

v4l2src ! capsfilter caps=video/x-raw,format=YUYV,width=640,height=480,framerate=30/1 ! x264enc ! capsfilter caps=video/x-h264,profile=high ! rtph264pay name=pay0 pt=96

 

This pipeline is given to gst_rtsp_media_factory_set_launch().

 

What would be the best approach to being able to periodically (e.g. at 5 fps) dump static images (say PNG, TIFF or JPEG) with timestamped filenames as well as having that video source be encoded for the pipeline?


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