mlsmithjr / transcoder

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

Duration should first be cast to float before int #11

Closed grobertson closed 4 years ago

grobertson commented 4 years ago

Floating point numbers in json are quoted literal strings. Python chokes on a direct cast to int when the string value passed in contains a decimal.

mlsmithjr commented 4 years ago

Thanks for the fix.