I have been playing around with ffmpeg. I find I get a result with that much faster than using an editor. I do my basic editing with it, such as extracting the time frame and joining different files together before putting titles in.
For the above clip there were two raw files from my A119 which produces 1 minute files. I only need the final 18 seconds from the first file and 31 from the second file. That was determined by viewing the file with VLC. I know, I could have used VLC to extract the time frame I want from a file, but I find it clunky.
Here is the code (A119 files )
Code:
ffmpeg -i 2017_0918_154740_336.MP4 -ss 00:00:41.50 -to 00:00:59.99 -c copy -copyts mc\2017_0918_154740_336_mcOnKip.MP4
ffmpeg -i 2017_0918_154841_337.MP4 -ss 00:00:00.0 -to 00:00:31.00 -c copy -copyts mc\2017_0918_154841_337_mcOnKip.MP4
The above is for Windows\Dos. I could have done the same in linux with the only difference being the slash. It becomes "mc
/2017_0918_154841_337_mcOnKip.MP4".
The target files were produced in less than a second using the above commands (which I had batch file in the event I needed to adjust). The two files now need to be joined. On a dos\command shell, where the file are located
Code:
(for %i in (*.MP4) do @echo file ‘%i’) > input.txt
Produces the file input.txt, which looks like this.
Code:
file '2017_0918_154740_336_mcOnKip.MP4'
file '2017_0918_154841_337_mcOnKip.MP4'
To make video file with the above clips concatenated/joined/merged do the following
Code:
ffmpeg -f concat -i input.txt -c copy output.mp4
The file output.mp4 is produced in about 7 seconds.