I was wondering if there was a way to create an IF-THEN statement using FFMPEG for files in a certain directory. For example, I am using FFMPEG to crunch down file sizes of videos to 50MB or lower. I would ideally like to do the following:
For file sizes in excess of 200MB: Encode video bit rate at 1500k Encode audio bit rate at 128k For file sizes 100-100MB: Encode video bit rate at 1100k Encode audio bit rate at 128k For file sizes less than 100MB: Encode video bit rate at 555k Encode audio bit rate at 128k Is this possible? And yes, I have run tests on individual file to ensure there is no real perceptible quality loss when dropping the bit rates that low. Any help that you could give would be amazing, and greatly appreciated. Thanks! - Chris _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
