Opened 3 months ago

Last modified 6 weeks ago

#69268 assigned defect

mpv-legacy: no audio during playback, [vo/gpu] opengl cocoa backend is deprecated, use vo=libmpv instead

Reported by: mrkapqa Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: sierra Cc: andlabs (Pietro Gagliardi)
Port: mpv-legacy

Description (last modified by mrkapqa)

Hello,

installed mpv-legacy on Mac OS X Sierra 10.12.6 and issue is

with playback since there is no audio coming out.

like

mpv https://www.youtube.com/watch?v=OYxQ4Lvqn14
 (+) Video --vid=1 (*) (vp9 3840x2160 59.940fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
     Subs  --sid=1 --slang=live_chat 'json' (null) (external)
File tags:
 Uploader: Dave's Garage
 Channel_URL: https://www.youtube.com/channel/UCNzszbnvQeFzObW0ghk0Ckw
''[vo/gpu] opengl cocoa backend is deprecated, use vo=libmpv instead''
Could not open/initialize audio device -> no sound.
Audio: no audio
VO: [gpu] 3840x2160 yuv420p
V: 00:00:02 / 00:14:14 (0%) Dropped: 45 Cache: 2.8s/4MB

Exiting... (Quit)

when i insert "vo=libmpv" into mpv.conf, there comes another error,

 mpv https://www.youtube.com/watch?v=OYxQ4Lvqn14
 (+) Video --vid=1 (*) (vp9 3840x2160 59.940fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
     Subs  --sid=1 --slang=live_chat 'json' (null) (external)
File tags:
 Uploader: Dave's Garage
 Channel_URL: https://www.youtube.com/channel/UCNzszbnvQeFzObW0ghk0Ckw
[vo/libmpv] No render context set.
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)

thank you very much

Attachments (2)

nosound.txt (69.3 KB) - added by mrkapqa 3 months ago.
vo=libmpv.txt (42.8 KB) - added by mrkapqa 3 months ago.

Download all attachments as: .zip

Change History (9)

Changed 3 months ago by mrkapqa

Attachment: nosound.txt added

Changed 3 months ago by mrkapqa

Attachment: vo=libmpv.txt added

comment:1 Changed 3 months ago by mrkapqa

Description: modified (diff)

comment:2 Changed 3 months ago by jmroot (Joshua Root)

Keywords: mpv-legacy removed
Owner: set to barracuda156
Status: newassigned

comment:3 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: (sierra, mpv-legacy) no audio during playback, [vo/gpu] opengl cocoa backend is deprecated, use vo=libmpv insteadmpv-legacy: no audio during playback, [vo/gpu] opengl cocoa backend is deprecated, use vo=libmpv instead

comment:4 Changed 3 months ago by barracuda156

See also #67166

comment:5 Changed 6 weeks ago by andlabs (Pietro Gagliardi)

It appears that mpv-legacy builds without any audio devices by default (even with all the variants I set); mpv --audio-device=help only shows "auto". Adding the +coreaudio variant fixed it for me. The cocoa deprecation warning is unrelated and is a holdover from prior versions of mpv. I am also on 10.12.

Last edited 6 weeks ago by andlabs (Pietro Gagliardi) (previous) (diff)

comment:6 in reply to:  5 Changed 6 weeks ago by barracuda156

Replying to andlabs:

It appears that mpv-legacy builds without any audio devices by default (even with all the variants I set); mpv --audio-device=help only shows "auto". Adding the +coreaudio variant fixed it for me. The cocoa deprecation warning is unrelated and is a holdover from prior versions of mpv.

Thanks, I will add it after checking locally.

comment:7 Changed 6 weeks ago by andlabs (Pietro Gagliardi)

Cc: andlabs added
Note: See TracTickets for help on using tickets.