lisamelton / video_transcoding

Tools to transcode, inspect and convert videos.
MIT License
2.39k stars 160 forks source link

How to pass HandbrakeCLI --optimize parameter? #284

Closed gingerbeardman closed 5 years ago

gingerbeardman commented 5 years ago

It's a single so does not require = value

Maybe I should use HandbrakeCLI specifically for the task at hand?

lisamelton commented 5 years ago

@gingerbeardman Sorry I took so long to respond. I've been playing the World of Warcraft Classic stress test today. :)

Just add --handbrake-option optimize to your command line if you really want to use it. But be advised that optimizing MP4 files for streaming is not only slow, but it's completely pointless. There's no advantage to it anymore these days.

gingerbeardman commented 5 years ago

I could have sworn I tried that — just checked my command history and I made a typo -handbrake-option optimize rather than --handbrake-option optimize

FYI optimizing speeds up post-upload processing on YouTube. Every little helps :)

Container: MP4

  • No Edit Lists (or the video might not be processed correctly)
  • moov atom at the front of the file (Fast Start)

https://support.google.com/youtube/answer/1722171?hl=en-GB

lisamelton commented 5 years ago

@gingerbeardman Thanks for the heads up on YouTube requirements. Figures. :) Anyway, you can always "optimize" after transcoding with FFmpeg.

gingerbeardman commented 5 years ago

Another thing I did not know! Cheers