I want to add a 6 sec intro to my videos in bulk
i'm using this command
for %%A in (*.mkv) do ffmpeg -ovc copy -oac copy \intro.mp4 "output\%%A"
+ Reply to Thread
Results 1 to 4 of 4
according to Google:
1. concat video filter
ffmpeg -i opening.mkv -i episode.mkv -i ending.mkv \ -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" \ -map "[v]" -map "[a]" output.mkv
2. concat demuxer
3. concat protocol
ffmpeg -i "concat:input1|input2" -codec copy output.mkv
This method does not work for many formats, including MP4, due to the nature of these formats and the simplistic concatenation performed by this method.
For batch it would be like:
For %%A in (*.mkv) do ffmpeg -i intro.mp4 -i %%A -filter_complex "[0:v] [0:a] [1:v] [1:a]concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mkv
Last edited by Budman1; 14th Oct 2019 at 14:43.
Oh, right now I am trying to make an intro for my video too, and it's such a pain in the ass. It's too difficult for me. I just can't do it, I give up. One of my friends has recommended me a very nice free intro maker, and I am definitely going to use. He showed me some intros made using this service, and I was really shocked of how good they are. Why would I spend time on making an intro by myself, if I can use this service? It's not worth, I will rather use OFFEO! I think that it's a very good option. I can customize the intro how I like, and this is really cool.
Last edited by Cobalt117; 13th Jun 2020 at 11:02.
Is your intro static images or another video.? Both should be same format, size,etc. So one will probably need to be recorded to match the other.