fujiawei-dev / ffmpeg-generator

Python bindings for FFmpeg - with almost all filters support, even `gltransition` filter.
MIT License
61 stars 13 forks source link

Support float and fractional frame rates #9

Open iluvcapra opened 1 year ago

iluvcapra commented 1 year ago

Support fractional and floating-point rate values. I did this change on my copy and it does Just Works, Fraction's __str__() method returns the right thing. I realize this might have to be changed in other places but here's a start and if you wanted to accept this change I'm happy to hit other places.