Fix ffmpeg flags to make this work again

This commit is contained in:
Elana Hashman 2016-05-09 22:19:28 -04:00
parent bb85a87b4c
commit 4ab31b2f09
1 changed files with 2 additions and 2 deletions

View File

@ -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"