CrypticSignal / better-ffmpeg-progress

A Python package for running an FFmpeg command & showing better progress info - percentage progress, a progress bar and ETA.
https://pypi.org/project/better-ffmpeg-progress
MIT License
55 stars 16 forks source link

Type Error: Failed to convert string to float 'N/' #12

Closed JagjitBhatia closed 1 year ago

JagjitBhatia commented 1 year ago

Get an error: [Error] could not convert string to float: 'N/' every time I try to run it. Might be due to a different FFMPEG version.

PR for fix: #11

CrypticSignal commented 1 year ago

Please upgrade to v2.1.1 with pip3 install better-ffmpeg-progress --upgrade and let me know if you ever run into this issue. For now, I will close this issue.

F-park commented 11 months ago

https://github.com/CrypticSignal/better-ffmpeg-progress/blob/54be3c4ff611676ecddd812e35eb3555f838a07c/better_ffmpeg_progress/better_ffmpeg_progress.py#L101-L105

The TypeError caused by this code.