diff options
author | Rodeo <[email protected]> | 2012-03-25 14:38:07 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-03-25 14:38:07 +0000 |
commit | 763a1742df56afd54602dea5c42c4fb6d0f27ef5 (patch) | |
tree | cc64236f7e0e32567781d32741f767b63ef3fc47 /scripts/manicure.rb | |
parent | 654057c737c7b51f236bdc6f5100f24f3fc4f8be (diff) |
Add "Web Optimized" support to manicure. Patch by Sam Homer, thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4537 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-x | scripts/manicure.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb index 97a803cf0..bfa4f685a 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -424,6 +424,11 @@ class Display commandString << " -4" end + #MP4 Optimize for HTTP Streaming + if hash["Mp4HttpOptimize"].to_i == 1 + commandString << " -O" + end + #Cropping if hash["PictureAutoCrop"] == 0 commandString << " --crop " @@ -690,6 +695,11 @@ class Display commandString << " -4" end + #MP4 Optimize for HTTP Streaming + if hash["Mp4HttpOptimize"].to_i == 1 + commandString << " -O" + end + #Cropping if hash["PictureAutoCrop"] == 0 commandString << " --crop " @@ -805,6 +815,11 @@ class Display commandString << "job->largeFileSize = 1;\n " end + #MP4 Optimize for HTTP Streaming + if hash["Mp4HttpOptimize"].to_i == 1 + commandString << "job->mp4_optimize = 1;\n " + end + #Video encoder if hash["VideoEncoder"] != "MPEG-4 (FFmpeg)" commandString << "vcodec = " @@ -1249,6 +1264,11 @@ class Display commandString << " -4" end + #MP4 Optimize for HTTP Streaming + if hash["Mp4HttpOptimize"].to_i == 1 + commandString << " -O" + end + #Cropping if hash["PictureAutoCrop"] == 0 commandString << " --crop " |