ffmpeg-python
ffmpeg-python copied to clipboard
Typing annotation
Adding typing annotation to this project would allow VSCode and other editors to have auto-complete and auto-documentation on hover.
Currently there's auto-completion for ffmpeg., but not stream. after the first stream is returned. It would greatly improve usability and discoverability.
I'm not talking about typing annotation for arguments, but just return value def input(*args, **kwargs) -> Stream:, def trim(*args, **kwargs) -> Stream:,...
I'm also interested in this. Though, I wonder what the situation is regarding official releases. The last one in pypi is from July 2019. If there are plans to release more official releases, the community could come in help with typing annotations.
I also encountered this problem, and ultimately, I decided to implement a typed version available at https://github.com/livingbio/typed-ffmpeg.