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
Failed to decode h264 hwaccel in Mac OSX 10.13.4 with Intel GPU #5741
Comments
works as intended here with git master. make sure your file can actually be decoded by videotoolbox. other than this try with master and provide an example file. |
How can I get binary for Mac OSX? |
Your file is playing with hwaccel certainly |
your file works for me too with videotoolbox. though i have older hardware, macbook pro mid 2010 with an nvidia gt330m. same macOS version. |
Here is mac mini 2014 Even though, No problem with QuickTime X ( Low cpu usage) |
i don't know. maybe try with |
It was success to decode hwaccel with 720p, But failed with 1080p 720p (High@L3.2)
1080p(High@L4)
What means "h264: VideoToolbox session not available."? |
i believe that means that videotoolbox was used by another process at the time you tried it. no your file is not detected to be 1920x1088, just the context is that size. also no idea what you are trying to prove with the 720p sample, since you tried my 1080p file and it worked. |
There is no process use videotoolbox except mpv. |
that's what the error says though and that one is returned by the Framework via kVTVideoDecoderNotAvailableNowErr (Apple Doc). videotoolbox can be a bit picky. try it several times and see if it always fails at |
Does VLC have a log? |
I tried VLC 3.0.1. and decoded with hwaccel no problem
|
then you should try again with mpv master and ffmpeg master. if the problem still persists it's most likely an ffmpeg problem. |
i reported this issue to ffmpeg https://trac.ffmpeg.org/ticket/7545. |
I've similar issue (not able to use HW acceleration) in Mojave Mac Pro 5,1 with GTX 680. However, I didn't have the following error Let me know if I should report it as different bug. |
if you can reproduce it with ffmpeg then reporting it to ffmpeg would be a good idea. |
reported to ffmpeg. |
mpv version and platform
Reproduction steps
mpv sample.mp4
mpv.conf
Expected behavior
hwaccel decode
Actual behavior
Failed to hwaccel decode
Log file
Sample files
The text was updated successfully, but these errors were encountered: