How do I run this command on splitting files, but with re-encoding to MP4 as shown in earlier post?
And when splitting the file, how do I avoid hogging the system's resources (especially if it's a large file)?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityHow do I run this command on splitting files, but with re-encoding to MP4 as shown in earlier post?
And when splitting the file, how do I avoid hogging the system's resources (especially if it's a large file)?
Use the -threads 1
flag to limit ffmpeg use to a single thread only
to use that with the command from the other post:
ffmpeg -i ~/Desktop/in.mp4 -threads 1 -codec copy -map 0 -f segment -segment_time 15 -segment_format_options movflags=+faststart out%03d.mp4