I have a big video rush 35".
With OpenShot i've cut more than 30 small sequences and concatenate them into one 25" sequence.
Now i try to export the result as video file but OneShot randomly crash or freeze during the export/encoding between 40% and 80% so after more than an hour of encoding. It look to be a memory leek and a swap saturation with memory allocation deny because no space left.
I've tried with x264(mp4) and vp8(webm) encoding, but nothing worked.
I've opened the .osp file, it's a big json file with all the clips referred like this :
{
clips:[
{
title: "<clipFileName.ext>",
start:<seconds>.<decimals>,
end:<seconds>.<decimals>,
position:<seconds>.<decimals>
}
]
}
title
if not renamed is the inputFileName.start
clip start time from the input file beginningend
clip end time from the input file beginningposition
clip start position in the output file timeline
I've read ffmpeg can extract video parts / subclip / sequences with cut function :
ffmpeg -ss 00:00:09.000 -i input.mp4 -to 00:00:20 output.mp4
Time can be hh:mm:ss.xxx
or hh:mm:ss
or any amount of seconds
, allowing decimals.
I've also read ffmpeg can concat sequences :
ffmpeg -i "concat:input1.ts|input2.ts|input3.ts" output.ts
So, how to encode my video with these project data ?