[FFmpeg-user] FFMPEG not accepting print format string?

S. Helbig s.helbig at mailbox.org
Sun Jun 27 18:10:58 EEST 2021


Hello,

I'm trying to create a CCTV recording of an IP cam.

My input was:

ffmpeg -loglevel debug -hide_banner -i
'http://192.168.2.345:678/videostream.cgi?user=USER&pwd=PWD' -y
-segment_time 1800 -segment_format mp4 -segment_atclocktime 1 -c copy
'/path/to/destination/recording-%03d.mp4'

I was expecting 1800 second segments named recording-001.mp4,
recording-002.mp4, recording-003.mp4...

But FFMPEG just creates a file called 'recording-%03d.mp4'.

Does it not like this format?


More information about the ffmpeg-user mailing list