From: Oleg Broytman Date: Mon, 3 Nov 2014 00:23:08 +0000 (+0300) Subject: Add ff_catvideo - concatenate few video files into one X-Git-Url: https://git.phdru.name/?p=audio-cdr-video.git;a=commitdiff_plain;h=4acab94a54525726c673072ef140032c9b681b69 Add ff_catvideo - concatenate few video files into one --- diff --git a/readme.txt b/readme.txt index 397321d..f4746a1 100644 --- a/readme.txt +++ b/readme.txt @@ -102,6 +102,7 @@ video Using ffmpeg: ff_encode - 1 and 2-pass encoding using different codecs. +ff_catvideo - concatenate few video files into one. Using mplayer/mencoder: m_catvideo - concatenate few video files into one. diff --git a/video/ff_catvideo b/video/ff_catvideo new file mode 100755 index 0000000..7abfbc3 --- /dev/null +++ b/video/ff_catvideo @@ -0,0 +1,8 @@ +#! /bin/sh + +if [ -z "$1" ]; then + echo "Usage: $0 input.avi output.avi" + exit 1 +fi + +exec ffmpeg -i "$1" -c copy "$2"