From: Alan J. Pippin Date: Fri, 18 Nov 2011 23:09:20 +0000 (-0700) Subject: Removed bad header fixup script. X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Bdone_action%7D?a=commitdiff_plain;h=ff98ac971a1fd73de86500e8fffe633138098aa1;p=videoscripts%2F.git Removed bad header fixup script. Added option to disable header compression as this isn't widely supported yet. I also disabled header compression to avoid errors with 3gp videos not muxing correctly with it enabled. --- diff --git a/make_mkv b/make_mkv index 45ffb75..042e38e 100755 --- a/make_mkv +++ b/make_mkv @@ -23,7 +23,7 @@ my $ffmpeg=`which ffmpeg`; chomp($ffmpeg); my $tmpfile = `tempfile`; chomp($tmpfile); my $chapter_file = $tmpfile; my $input_file_options = "-S"; -my $output_file_options = "--chapters $chapter_file"; +my $output_file_options = "--chapters $chapter_file --compression -1:none"; my $timezone = `cat /etc/timezone`; chomp($timezone); #################################################################################################### diff --git a/remove_bad_header b/remove_bad_header deleted file mode 100755 index 6e57bf8..0000000 --- a/remove_bad_header +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -echo "-> Removing bad header on $*" - -ffmpeg -ss 5 -i $* -map 0 -acodec copy -vcodec copy new.$* - -if [[ $? == 0 ]]; then - mv new.$* $* -else - echo "-E- Unable to remove the bad header" - rm new.$* -fi -