-
Notifications
You must be signed in to change notification settings - Fork 452
Open
Description
The MacOS builder has been flaking quite a bit recently, usually the Python 3.11 to 3.13 build on MacOS 13. I don't know if this affects MacOS 14 since the rest of the jobs get cancelled when this happens (those runners might also use different hardware).
Examples:
- https://github.com/Breakthrough/PySceneDetect/actions/runs/13620704692/job/38069718991
- https://github.com/Breakthrough/PySceneDetect/actions/runs/13349930211/job/37285092216
- https://github.com/Breakthrough/PySceneDetect/actions/runs/13620704692/job/38070727160
- https://github.com/Breakthrough/PySceneDetect/actions/runs/13847163895/job/38747868265
- https://github.com/Breakthrough/PySceneDetect/actions/runs/13913993854/job/38934160895
- https://github.com/Breakthrough/PySceneDetect/actions/runs/14150789509/job/39643643786
- https://github.com/Breakthrough/PySceneDetect/actions/runs/15009400944/job/42175241135
It seems to actually fail in moviepy
when trying to read a video:
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:880: OSError
=========================== short test summary info ============================
FAILED tests/test_video_stream.py::TestVideoStream::test_seek[test_video1-VideoStreamMoviePy] - OSError: Error passing `ffmpeg -i` command output:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/runner/work/PySceneDetect/PySceneDetect/tests/resources/goldeneye.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2016-02-03T04:12:42.000000Z
Duration: 00:01:22.59, start: 0.000000, bitrate: 1533 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1280x544 [SAR 1:1 DAR 40:17], 1338 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default)
Metadata:
creation_time : 2016-02-03T04:12:42.000000Z
handler_name : IsoMedia File Produced by Google, 5-11-2011
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
encoder : Lavf61.7.100
Stream #0:0(und): Video: wrapped_avframe, yuv420p(progressive), 1280x544 [SAR 1:1 DAR 40:17], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
encoder : Lavc61.19.100 wrapped_avframe
Stream #0:1(und): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s (default)
Metadata:
creation_time : 2016-02-03T04:12:42.000000Z
handler_name : IsoMedia File Produced by Google, 5-11-2011
vendor_id : [0][0][0][0]
encoder : Lavc61.19.100 pcm_s16le
frame= 1067 fps=0.0 q=-0.0 size=N/A time=00:00:44.50 bitrate=N/A speed=86.2x
frame= 1979 fps=1947 q=-0.0 size=N/A time=N/A bitrate=N/A speed=N/A
[out#0/null @ 0x7f9a6da17880] video:851KiB audio:14228KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame= 1980 fps=1947 q=-0.0 Lsize=N/A time=00:01:22.58 bitrate=N/A speed=81.2x
The command output looks normal so I'm not sure what the issue is here, or why an OSError
is being raised.
I suspect the exception is being raised here: https://github.com/Zulko/moviepy/blob/master/moviepy/video/io/ffmpeg_reader.py#L910