From: Alan J. Pippin Date: Sat, 19 Nov 2011 03:52:47 +0000 (-0700) Subject: Tweaked MTS output file format to be mp4 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/%7Blink_ppi%7D?a=commitdiff_plain;h=bceefcbd297683c9e15c33f945fcb99006f6030a;p=videoscripts%2F.git Tweaked MTS output file format to be mp4 --- diff --git a/mkv_extract_chapter b/mkv_extract_chapter index 9f5fd81..1d969e8 100755 --- a/mkv_extract_chapter +++ b/mkv_extract_chapter @@ -84,7 +84,7 @@ sub detect_ext { } if($h264 && $pcm_s16le) { return "mov"; } - if($h264_high && $ac3) { return "mts"; } + if($h264_high && $ac3) { return "mp4"; } if($h264 && $aac) { return "mp4"; } return "UNKNOWN"; @@ -130,6 +130,7 @@ foreach $line (@ffmpeg_info) { print "$cmd\n"; } else { print "\n"; + print "$cmd\n"; $errno = system("$cmd"); $errno = $errno >> 8; if($errno > 0) { die "-E- ffmpeg encountered some errors with exit code $errno\n"; }