commandString << " -4"
end
+ #MP4 Optimize for HTTP Streaming
+ if hash["Mp4HttpOptimize"].to_i == 1
+ commandString << " -O"
+ end
+
#Cropping
if hash["PictureAutoCrop"] == 0
commandString << " --crop "
commandString << " -4"
end
+ #MP4 Optimize for HTTP Streaming
+ if hash["Mp4HttpOptimize"].to_i == 1
+ commandString << " -O"
+ end
+
#Cropping
if hash["PictureAutoCrop"] == 0
commandString << " --crop "
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 = "
commandString << " -4"
end
+ #MP4 Optimize for HTTP Streaming
+ if hash["Mp4HttpOptimize"].to_i == 1
+ commandString << " -O"
+ end
+
#Cropping
if hash["PictureAutoCrop"] == 0
commandString << " --crop "