I tried using the -fs switch, but it only creates one file. The -f segment option allows me to use the -segment_time option, but this limits the duration of the video, not its size.
So, suppose I want to use ffmpeg to split a 100 GB MP4 file into several 1 GB MP4 files, what is a switch?
One way to do this in ffmpeg is ... don't use ffmpeg ;)
ffmpeg
Instead, I would like to use MP4Box :
MP4Box -splits 1048576 path/to/file
(The -splits argument requires a file size in kilobytes, 1 GB in kilobytes - 1048576 )
-splits
1048576
Source: https://habr.com/ru/post/1239891/More articles:std :: lock_guard causes undefined behavior - c ++Starting and ending an application based on authenticated user activity - kubernetesDynamic scalable and adaptive architecture - dockerDoes AWS ECS support the dynamic scalability of each container? - dockerCNAME and TXT record for the same subdomain does not work - dnsGem therubyracer does not install even if libv8 is installed - ruby | fooobar.comHow can I remove this switch case when the React Element name always matches the switch variable? - reactjsCost and activation functions for several independent tags - machine-learningUsing one crud model for all controllers instead of separate models for each controller - oopWhy is the same character compared twice, changing its case to UP and then dropping? - javaAll Articles