From 4acab94a54525726c673072ef140032c9b681b69 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 3 Nov 2014 03:23:08 +0300 Subject: [PATCH] Add ff_catvideo - concatenate few video files into one --- readme.txt | 1 + video/ff_catvideo | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 video/ff_catvideo 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" -- 2.39.5