mlsmithjr / transcoder

Python wrapper for ffmpeg for batch and/or concurrent transcoding
GNU General Public License v3.0
117 stars 25 forks source link

Changed calculation of filter_threshold so thresholds >100 don't error #2

Closed vpatel9202 closed 5 years ago

vpatel9202 commented 5 years ago

IGNORE THIS! Re-cloned and started over, will submit another pull request.

Since it's not always necessary that resulting transcode have a smaller size, changed the way this function works so you can set threshold higher than 100%. Previously, putting something like 150% would result in early termination of the transcode because it required the new file to be smaller than the old file.