Save file name with current timestamp

Sapna kumari sapna344 at gmail.com
Fri Jul 9 13:52:31 UTC 2021


Dear Gstreamer Members,

I am trying to record rtsp stream to a file in chunks. I have used
splitmuxsink to save recording of required duration.

Pipeline:
rtspsrc location=rtsp://url ! rtph264depay ! h264parse ! splitmuxsink
location=video%02d.mkv max-size-time=10000000000 muxer-factory=matroskamux
muxer-properties="properties, streamable=true"

My requirement is that recorded chunks should have current timestamp
appended instead of digit incremented
like video00.mkv,video01.mkv

But actual needed: video_hhminsec.mkv

Can you guide how I can achieve this?

Thanks,
Sapna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210709/256e4284/attachment.htm>


More information about the gstreamer-devel mailing list