I have two files that need to be merged.
I can do this using the ffmpeg concat protocol
creating a text file and setting the files in there.
Like so:
files_to_be_merged.txt
file '/home/user/Videos/video1.mov'
file '/home/user/Videos/video2.mov'
and them using the following command.
ffmpeg -f concat -i mylist.txt -c copy output.mov
But I want to do that without having to create a text file.
I tried this command:
ffmpeg -i 'concat:video1.mov|video2.mov' -codec copy output.mov
But the resulting file is just the first video, not both together.
I get this warning while doing this command;
[mov @ 0x35933c0] Codec for stream 0 does not use global headers but container format requires global headers
[mov @ 0x35933c0] Codec for stream 1 does not use global headers but container format requires global headers