Does this software exist?

Author
Discussion

mojitomax

Original Poster:

1,874 posts

192 months

Sunday 12th November 2017
quotequote all
Hi all,

I have a project where I will be filming the same video several times over a period of time.

I’d like to splice it all together as a video time lapse.

I need some software that will essentially take the first 0.5s from clip 1 and then the next 0.5s from clip 2 etc.

Does this software exist?

Thanks

V8LM

5,174 posts

209 months

Sunday 12th November 2017
quotequote all
How many videos?

Pretty straightforward under Linux with a script using ffmpeg or similar.



Edited by V8LM on Sunday 12th November 09:40

alock

4,227 posts

211 months

Sunday 12th November 2017
quotequote all
A command line tool like ffmpeg would allow you to do this as a two stage process without any re-encoding.

First trim each video and then concatenate the results together.

If scripting isn't your thing then you could build each command in something like Excel and very quickly create the hundreds or thousand of individual commands you might need.

mojitomax

Original Poster:

1,874 posts

192 months

Wednesday 15th November 2017
quotequote all
Thanks guys. This sounds a bit complicated. I'll have about 50+ videos.

I May have to do them manually

V8LM

5,174 posts

209 months

Wednesday 15th November 2017
quotequote all
If you have access to Linux somewhere it's not that difficult. You can use Excel to create the necessary commands:

To take 1 second of video at 10 seconds using ffmpeg, the command is

ffmpeg -i input1.mp4 -ss 00:00:10 -t 00:00:01 -async 1 cut1.mp4

To join three sections together using ffmpeg, the command is

ffmpeg -i 'concat:cut1.mp4|cut2.mp4|cut3.mp4' -codec copy output.mp4


The key to make it work is to have the 50+ filenames in the same sequence so generation of their names is simple.


mojitomax

Original Poster:

1,874 posts

192 months

Wednesday 15th November 2017
quotequote all
V8LM said:
If you have access to Linux somewhere it's not that difficult. You can use Excel to create the necessary commands:

To take 1 second of video at 10 seconds using ffmpeg, the command is

ffmpeg -i input1.mp4 -ss 00:00:10 -t 00:00:01 -async 1 cut1.mp4

To join three sections together using ffmpeg, the command is

ffmpeg -i 'concat:cut1.mp4|cut2.mp4|cut3.mp4' -codec copy output.mp4


The key to make it work is to have the 50+ filenames in the same sequence so generation of their names is simple.
thanks V8LM, so the process would be
1. use the "ffmpeg -i input1.mp4 -ss 00:00:10 -t 00:00:01 -async 1 cut1.mp4" command over the 50 RAW clips to produce the sequences cuts.
2. use the concat command to join all the clips together

What do you mean by use excel to generate the commands?

Can I do this on linux running in a virtual machine on a mac?

Craikeybaby

10,411 posts

225 months

Thursday 16th November 2017
quotequote all
You should be able to run ffmpeg on a Mac without a VM.