summaryrefslogtreecommitdiffstats
path: root/scripts/manicure.rb
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-02-18 23:01:33 +0000
committerjbrjake <[email protected]>2008-02-18 23:01:33 +0000
commit04d2e20d5090fb00913156fe781dde73ff220874 (patch)
tree2d1da4c9d71f8cd524818bb6f4dc8b7e862cad36 /scripts/manicure.rb
parentc5da5eb897dc47dc8ae22a5af4f9c6669f6b5259 (diff)
Use 64-bit MP4 containers for the AppleTV preset, in case the 2500kb/s video and 448kb/s AC3 and 160kb/s AAC push the file size over 4 gigs for long movies.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1291 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-xscripts/manicure.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb
index 4ba092b37..55a4e646c 100755
--- a/scripts/manicure.rb
+++ b/scripts/manicure.rb
@@ -342,6 +342,11 @@ class Display
commandString << " -I"
end
+ # 64-bit files
+ if hash["Mp4LargeFile"].to_i == 1
+ commandString << " -4"
+ end
+
#Cropping
if !hash["PictureAutoCrop"].to_i
commandString << " --crop "
@@ -483,6 +488,11 @@ class Display
commandString << " -I"
end
+ # 64-bit files
+ if hash["Mp4LargeFile"].to_i == 1
+ commandString << " -4"
+ end
+
#Cropping
if !hash["PictureAutoCrop"].to_i
commandString << " --crop "
@@ -581,6 +591,11 @@ class Display
commandString << "job->ipod_atom = 1;\n "
end
+ # 64-bit files
+ if hash["Mp4LargeFile"].to_i == 1
+ commandString << "job->largeFileSize = 1;\n"
+ end
+
#Video encoder
if hash["VideoEncoder"] != "FFmpeg"
commandString << "vcodec = "
@@ -803,6 +818,11 @@ class Display
commandString << " -I"
end
+ # 64-bit files
+ if hash["Mp4LargeFile"].to_i == 1
+ commandString << " -4"
+ end
+
#Cropping
if !hash["PictureAutoCrop"].to_i
commandString << " --crop "