You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extract_caption.py:
- Add _resolve_ffmpeg() and _resolve_ffprobe() mirroring the downloader's
pattern. When ffprobe isn't on PATH (common on macOS users who only have
imageio-ffmpeg, which doesn't bundle ffprobe), _video_duration now
falls back to parsing "Duration: HH:MM:SS.ss" from ffmpeg -i stderr.
- imageio-ffmpeg is auto-installed on demand when neither binary is
available.
test/test_v0_12_fixes.py (new, 50 tests):
- Regression tests for issues #4, #5, #6, #7.
- ffmpeg/ffprobe resolver coverage (system PATH, imageio-ffmpeg fallback,
auto-install, error paths).
- _parse_ffmpeg_duration parser across valid/invalid inputs.
- Live _video_duration cross-validation against sample video.
- Panopto tool-ID resolution via /tabs (strategy A) and /external_tools
(strategy B), including cache and malformed-ID handling.
- Stream priority (SS > OBJECT > DV > unknown).
- HLS detection with query strings (issue #5).
- Module-level import invariants.
Release: v0.12.9.
0 commit comments