If you just want to set the file size use one of the bitrate settings(?)
Data Hoarder
We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.
Most lossy formats these days use variable bitrate encoding: fewer bits for low-detail parts, more bits for higher-detail ones. Forcing fixed-bitrate on one means lower quality in the action scenes because you're wasting bits on fades and talking heads.
If you know the play time and the size you want, you can calculate the total bitrate you need to set. Subtract the audio bitrate from the total, and you get the video bitrate to set. Make a spreadsheet and fill in the numbers.
Depending on the contents and aspect ratio, you may get bad results. Setting a lowest acceptable quality is better, but then size can vary a lot.
Shutter Encoder supports specifying the output file size and its free.
/r/shutterencoder/ supports specifying the output file size. It's free but I haven't used it personally. VideoProc Converter AI also has a video compressor to let you directly specify the video size, and the output quality is pretty solid.
/r/shutterencoder/ supports specifying the output file size. It's free but I haven't used it personally. VideoProc Converter AI also has a video compressor to let you directly specify the video size, and the output quality is pretty solid.