From 4ab31b2f09ac4487fa299ec5aa85e5e656e5dd28 Mon Sep 17 00:00:00 2001 From: Elana Hashman Date: Mon, 9 May 2016 22:19:28 -0400 Subject: [PATCH] Fix ffmpeg flags to make this work again --- cut-mts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cut-mts.sh b/cut-mts.sh index c4a46d7..063b53c 100755 --- a/cut-mts.sh +++ b/cut-mts.sh @@ -1,6 +1,6 @@ #!/bin/bash -export ffmpeg=/users/pbarfuss/ffmpeg +export ffmpeg=/users/pbarfuss/ffmpeg2 if [ $# != "3" ] ; then echo "Usage: cut-mts input.mts start-point cut-length"; @@ -8,4 +8,4 @@ if [ $# != "3" ] ; then exit 1; fi -ffmpeg -i "$1" -ss "$2" -t "$3" -c:v copy -c:a copy "cut-$1" +$ffmpeg -i "$1" -ss "$2" -t "$3" -vcodec copy -acodec copy -f mpegts "cut-$1"