Skip to content
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

avfoundation crashes on macOS #427

Open
starptr opened this issue Dec 24, 2024 · 0 comments
Open

avfoundation crashes on macOS #427

starptr opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@starptr
Copy link

starptr commented Dec 24, 2024

Describe the bug
On macos, when playing video containing spatial audio (eg. DTS-HD MA), selecting "Spatialize Stereo - Fixed" in the Sound menutray for the current device (eg. airpods pro) stops the video and automatically selects another device in the Sound menutray.

To Reproduce
Steps to reproduce the behavior:

  1. Configure mpv through mpv.conf to use avfoundation by writing: ao=avfoundation in ~/Library/Application Support/jellyfin-mpv-shim/mpv.conf.
  2. Start the jellyfin-mpv-shim cli (no gui).
  3. Play a video with spatial audio (eg. DTS-HD MA).
  4. Select "Spatialize Stereo - Fixed" in the Sound menutray.

Expected behavior
Mpv should keep playing the current video and playback spatial audio for the current Sound device. This is the behavior observed when launching the mpv application bundle directly and using the "open URL" feature instead of jellyfin-mpv-shim.

Screenshots

Desktop (please complete the following information):

  • OS: MacOS
  • Version 15.0.1

Error Messages
The only logs that appear when clicking the spatial audio options are:

2024-12-23 16:51:58,695 [ WARNING] mpv: ao/avfoundation: restarting due to system notification; this will cause desync
2024-12-23 16:52:06,742 [ WARNING] mpv: ao/avfoundation: restarting due to system notification; this will cause desync
2024-12-23 16:52:19,785 [ WARNING] mpv: ao/avfoundation: restarting due to system notification; this will cause desync
@starptr starptr added the bug Something isn't working label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant