Tweaked MTS output file format to be mp4
authorAlan J. Pippin <alan@pippins.net>
Sat, 19 Nov 2011 03:52:47 +0000 (20:52 -0700)
committerAlan J. Pippin <ajp@pippins.net>
Sat, 19 Nov 2011 03:52:47 +0000 (20:52 -0700)
mkv_extract_chapter

index 9f5fd81a5949d6a70a0d71e4a712095bbd6a55c2..1d969e8350145467d0c2b7ffdd363e4fcca23736 100755 (executable)
@@ -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"; }