ffprobe-python
ffprobe-python copied to clipboard
Implement len() for FFStream
Implemented len() for audio and video streams
-
Falls back to 0 for valid streams missing duration data
-
Raises expected TypeError if len() is called on a stream not labelled as audio/video
-
Slight tweak to the duration_seconds docstring to reflect actual behavior