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
you can get the filesize of the original file using tinypy and
size=get_file_size("your_original_file.mkv")
I cannot use Python. Could you provide an example?
https://wiki.python.org/moin/BeginnersGuide/NonProgrammers
http://www.hlevkin.com/Shell_progr/hellopython.htm
https://www.python.org/about/gettingstarted/
That one should be a good starting point
https://github.com/mean00/avidemux2/blob/master/autononreg/py/sample_script/convert_avi_to_x264_mkv.py