Batch processing multiple files with two-pass video size

Started by Zoli, May 07, 2016, 05:06:48 PM

Previous topic - Next topic

Zoli

Greetings,

I have hundreds of videos I want to encode using H264 with very slow settings and in a two-pass way using video size. But I want to do it so that the encoded video size is p% (p<100) of the original (so it depends on the original file size). It is very daunting to do that from the GUI. How could I solve it in an automatized way?

Thank you,
Zoli

mean

you can get the filesize of the original file using tinypy and

size=get_file_size("your_original_file.mkv")


Zoli

I cannot use Python. Could you provide an example?