You are not logged in.
I usually download audio and video separately from YT and then use 'mpv' to play both.
I put both files in a folder and when I start the video with 'mpv' it automatically plays the audio too.
But after the last updates 'mpv' stopped playing the audio.
Any suggestions to get 'mpv' working again are appreciated?
Thank you in advance!
Last edited by amaro (2022-06-15 19:07:50)
Offline
https://man.archlinux.org/man/community/mpv/mpv.1.en look for "audio-file-auto"
You can change the default behavior https://wiki.archlinux.org/title/Mpv#Configuration (option w/o the leading dashes)
Offline
Thank you, seth!
adding the following to the 'mpv.conf' file solves the issue.
audio-file-auto=exactOffline
Ftr, you're aware that mpv+yt-dlp can play youtube videos directly and you can select the codecs w/ "ytdl-raw-options" so you can just
mpv 'https://www.youtube.com/watch?v=v2AC41dglnM'w/ your preferred codecs?
Offline
I knew 'mpv' can play YT videos but was not aware of that other option.
I do it the oldschool way - 'youtube-dl+aria2' to download the files and then play them with 'mpv'.
Thank you, seth!
Offline