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

mpv requires an update to master due to ffmpeg changes #2712

Open
jet082 opened this issue Jun 9, 2024 · 0 comments
Open

mpv requires an update to master due to ffmpeg changes #2712

jet082 opened this issue Jun 9, 2024 · 0 comments

Comments

@jet082
Copy link

jet082 commented Jun 9, 2024

Related to #2568.

MPV and ffmpeg build just fine. However, as per mpv-player/mpv#13662, the current build of mpv does not support audio output due to an incompatibility that 0.36 has with current ffmpeg. The error you get is as documented in the issue, but is also presented below:

PS D:\Videos> mpv '.\test.mkv'
 (+) Video --vid=1 (*) (h264 1436x1080 23.976fps)
 (+) Audio --aid=1 --alang=jpn (*) 'Japanese' (flac 1ch 48000Hz)
     Subs  --sid=1 --slang=eng (*) (f) 'English Forced' (subrip)
 (+) Subs  --sid=2 --slang=eng 'English Forced PGS' (hdmv_pgs_subtitle)
Using hardware decoding (d3d11va-copy).
AO: [wasapi] 192000Hz mono 1ch float
[ffmpeg] SWR: Input channel layout "" is invalid or unsupported.
[swresample] Cannot open Libavresample context.
[swresample] libswresample failed to initialize.
Cannot convert decoder/filter output to any format supported by the output.
VO: [gpu] 1436x1080 nv12
Audio: no audio
V: 00:00:00 / 01:27:58 (0%)
[osd/libass] fontselect: Using default font family: (mpv-osd-symbols, 400, 0) -> ArialMT, 0, ArialMT
V: 00:00:00 / 01:27:58 (0%)

Moving to master rather than 0.36.0 seems the best long-term solution. In the very short term you can add do_patch "https://github.com/mpv-player/mpv/commit/f31eb9e4071093134d675678d29e8f1673d39d18.patch" am to the media-suite_compile.sh and it does fix the problem.

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

No branches or pull requests

1 participant