gst-launch: How to set jpeg image filename to timestamp.jpg

Mauro Brenna malloblenne at gmail.com
Fri Jan 20 02:17:22 PST 2012


Hello,

I am using gst-launch to save a RTP MJPEG stream (RFC 2435)  coming
from ethernet to my pc.

At the moment the last part of the pipeline is something like: !
rtpjpegdepay ! multifilesink location=image-out-%05d.jpg
I would like to know if it is possible to rename the jpeg files using
the timestamp information contained in rtp frame (a 32bit starting
from 5th byte of the RTP frame).
In alternative, it is possible to get the sequence number of rtp frame
or any other information and use them for the filename?


Kind regards,

Mauro


More information about the gstreamer-devel mailing list