[FFmpeg-user] A command for splitting a video file by file size
barsnick at gmx.net
Mon Oct 21 10:48:30 EEST 2019
On Mon, Oct 21, 2019 at 00:51:24 +0200, Julien Dotsev wrote:
> What is dd?
dd is a command line tool. (Also available for other OSs than Unix.)
To take up your example:
$ dd if=inputfile.ext bs=1M skip=4 of=outputfile.ext
But if you're doing this with a video file, the result can be
unplayable. This depends on the format of the video file, and possibly
on its content.
If you want to use ffmpeg to split a file, please understand that
ffmpeg always demuxes and remuxes the video content, and usually cannot
preserve the exact original container.
More information about the ffmpeg-user