Skip to content

MacOS Builder Flake #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Breakthrough opened this issue Mar 3, 2025 · 1 comment
Open

MacOS Builder Flake #496

Breakthrough opened this issue Mar 3, 2025 · 1 comment

Comments

@Breakthrough
Copy link
Owner

Breakthrough commented Mar 3, 2025

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:

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

@Breakthrough
Copy link
Owner Author

Breakthrough commented Mar 25, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant