Commit 4cde800
Fix docs review: ffmpeg guard, cleanup env, GPU column (#481)
* Fix docs review: ffmpeg guard, remove environment, GPU column
- video/input_output.py: proper ffmpeg guard with _FFMPEG_AVAILABLE
flag and ModuleNotFoundError (was silently None)
- docs-preview.yaml: remove deployment environment (needs manual
approval), use PR comment with create-or-update-comment instead
- tutorials/README.md: GPU column corrected for transcription and
speech representations tutorials
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Restore deployment environment for docs preview
Use a single 'docs-preview' environment (pre-created via API with no
protection rules) instead of per-PR environments. The single
environment only needs to exist once and all PRs reuse it with
different URLs. Removed PR comment approach — the deployment URL
shows in the checks UI as "View deployment".
Also removed cleanup comment posting — the deployment status in
the checks UI handles this naturally.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Revert ffmpeg-python from video extras, improve error message
ffmpeg-python is a CLI wrapper (separate from torchcodec's shared
libs). It's not a core video dependency — keep it as an optional
install with a clear error message pointing to both the Python
package and system FFmpeg requirement.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Replace ffmpeg-python CLI with PyAV for video audio extraction
extract_audios_from_local_videos now uses av (PyAV), which is
already a video dependency, instead of ffmpeg-python (CLI wrapper).
PyAV wraps FFmpeg shared libraries directly — no CLI binary needed.
Eliminates the ffmpeg-python dependency entirely.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5e8b76b commit 4cde800
3 files changed
Lines changed: 48 additions & 32 deletions
File tree
- .github/workflows
- src/senselab/video/tasks
- tutorials
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
| 21 | + | |
24 | 22 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 23 | + | |
| 24 | + | |
30 | 25 | | |
31 | | - | |
32 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
33 | 31 | | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
37 | | - | |
38 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
39 | 64 | | |
40 | 65 | | |
41 | 66 | | |
42 | 67 | | |
43 | 68 | | |
44 | 69 | | |
45 | | - | |
46 | 70 | | |
47 | 71 | | |
48 | 72 | | |
49 | 73 | | |
50 | 74 | | |
51 | 75 | | |
52 | | - | |
| 76 | + | |
| 77 | + | |
53 | 78 | | |
54 | 79 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 80 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments