ffmpeg - basetime for strftime segment filename template -
i have big mp3 file, started recording @ 17:24. trying split 2 minute segments:
ffmpeg -y -i test.mp3 -map 0 -c copy -f segment -segment_time 120 -reset_timestamps 1 -strftime 1 '1/test-%h-%m.mp3'
need segment names test-17-24.mp3, test-17-26.mp3, ...
, actual first segment named current time, no segments created
$ date tue may 12 06:52:04 msk 2015 $ ffmpeg -y -i test.mp3 -map 0 -c copy -f segment -segment_time 120 -reset_timestamps 1 -strftime 1 '1/test-%h-%m.mp3' ffmpeg version n-72058-g3ecc063 copyright (c) 2000-2015 ffmpeg developers input #0, mp3, 'test.mp3': duration: 05:45:05.94, start: 0.000000, bitrate: 171 kb/s stream #0:0: audio: mp3, 48000 hz, stereo, s16p, 171 kb/s [segment @ 000000000051d560] codec stream 0 not use global headers container format requires global headers output #0, segment, '1/test-%h-%m.mp3': metadata: encoder : lavf56.33.100 stream #0:0: audio: mp3, 48000 hz, stereo, 171 kb/s stream mapping: stream #0:0 -> #0:0 (copy) press [q] stop, [?] size=n/a time=00:13:07.87 bitrate=n/a video:0kb audio:16211kb subtitle:0kb other streams:0kb global headers:0kb muxing overhead: unknown $ ls 1 test-06-52.mp3 $
Comments
Post a Comment