Hacker News new | ask | show | jobs
by getwiththeprog 947 days ago
I agree with ekianjo, it would be great if Handbrake had a 'fit to 700MB' option.

After trial and error, I found the original file size to be preserved and not to correspond to the presumed smaller output of say a lower resolution output.

1 comments

You can do this with a two-pass encode and a calculator. Take your desired filesize and divide by the runtime of the video. Put that bitrate into the UI. (It does seem they could add this to the program.)

It would also work with a one-pass encode, but setting the bitrate that way risks wasting space in simple parts of the video and degrading quality in complex parts. Two-pass encoding takes longer but distributes bandwidth better.