summaryrefslogtreecommitdiffstats
path: root/scripts/manicure.rb
diff options
context:
space:
mode:
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 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 "