diff options
author | jbrjake <[email protected]> | 2008-02-18 06:27:28 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-02-18 06:27:28 +0000 |
commit | 08f1066cb5595b142a5d206ef862b5ef868359d0 (patch) | |
tree | 5a663c5d4044389ea756110c2fb07dba63e79842 /scripts/manicure.rb | |
parent | 0e7abb138fb887c0867ec4d15d57bb5ab0f5a3b4 (diff) |
Preset updates, including AC3 and AAC for ATV, less insane settings for some others, and more insane settings for Bedlam.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1284 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-x | scripts/manicure.rb | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb index 8a32a0b52..4ba092b37 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -312,9 +312,11 @@ class Display #Audio encoder (only specifiy bitrate and samplerate when not doing AC-3 pass-thru) commandString << " -E " case hash["FileCodecs"] - when /AC-3/ + when /AAC + AC3 Audio/ + commandString << "aac+ac3" + when /AC-3 / commandString << "ac3" - when /AAC/ + when /AAC Audio/ commandString << "faac" << " -B " << hash["AudioBitRate"] << " -R " << hash["AudioSampleRate"] when /Vorbis/ commandString << "vorbis" << " -B " << hash["AudioBitRate"] << " -R " << hash["AudioSampleRate"] @@ -451,9 +453,11 @@ class Display #Audio encoder (only include bitrate and samplerate when not doing AC3 passthru) commandString << " -E " case hash["FileCodecs"] + when /AC3 Audio/ + commandString << "aac+ac3" when /AC-3/ commandString << "ac3" - when /AAC/ + when /AAC Audio/ commandString << "faac" << " -B " << hash["AudioBitRate"] << " -R " << hash["AudioSampleRate"] when /Vorbis/ commandString << "vorbis" << " -B " << hash["AudioBitRate"] << " -R " << hash["AudioSampleRate"] @@ -633,7 +637,11 @@ class Display #Audio encoder commandString << "acodec = " case hash["FileCodecs"] - when /AAC/ + when /AC3 Audio/ + commandString << "HB_ACODEC_FAAC;\n " + commandString << "audio_mixdown = HB_AMIXDOWN_DOLBYPLII_AC3;\n " + commandString << "arate = 48000;\n " + when /AAC Audio/ commandString << "HB_ACODEC_FAAC;\n " when /AC-3/ commandString << "HB_ACODEC_AC3;\n " @@ -682,10 +690,10 @@ class Display commandString << "deinterlace_opt = \"-1\";\n " when 2 commandString << "deinterlace = 1;\n " - commandString << "deinterlace_opt = \"0\";\n " + commandString << "deinterlace_opt = \"2\";\n " when 3 commandString << "deinterlace = 1;\n " - commandString << "deinterlace_opt = \"2:-1:1\";\n " + commandString << "deinterlace_opt = \"0\";\n " when 4 commandString << "deinterlace = 1;\n " commandString << "deinterlace_opt = \"1:-1:1\";\n " @@ -765,7 +773,9 @@ class Display #Audio encoder commandString << " -E " case hash["FileCodecs"] - when /AAC/ + when /AC3 Audio/ + commandString << "aac+ac3" + when /AAC Audio/ commandString << "faac" when /AC-3/ commandString << "ac3" |