I seem to have some issues with the newly released MPV. I am not sure if it has to do with MPV or ffmpeg. Or is it something not properly configured on my system? It seems the hardware decoding is not working? I didn’t have this issue before the update.
Please have a look at the output from the terminal.
But they play a VP9 stream while you are playing an AV1 video. You also have to select a VP9 or h.264 stream. You can select a format for yt-dlp and pass those arguments through mpv.
Here is a copy of my MPV.conf file maybe a setting is different that works for me?
##################
# video settings #
##################
# Start in fullscreen mode by default.
#fs=yes
# force starting with centered window
geometry=50%:50%
# don't allow a new window to have a size larger than 80% of the screen size
autofit-larger=80%x80%
# Specify fast video rendering preset (for --vo=<gpu|gpu-next> only)
# Recommended for mobile devices or older hardware with limited processing power
#profile=fast
# Specify high quality video rendering preset (for --vo=<gpu|gpu-next> only)
# Offers superior image fidelity and visual quality for an enhanced viewing
# experience on capable hardware
profile=high-quality
# Force video to lock on the display's refresh rate, and change video and audio
# speed to some degree to ensure synchronous playback - can cause problems
# with some drivers and desktop environments.
#video-sync=display-resample
# Enable hardware decoding if available. Often, this does not work with all
# video outputs, but should work well with default settings on most systems.
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
# may or may not help.
hwdec=auto
##################
# audio settings #
##################
#Volume
volume=45
volume-max=300
# Specify default audio device. You can list devices with: --audio-device=help
# The option takes the device string (the stuff between the '...').
#audio-device=alsa/default
# Do not filter audio to keep pitch when changing playback speed.
#audio-pitch-correction=no
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
#audio-channels=5.1
# Disable any automatic remix, _if_ the audio output accepts the audio format.
# of the currently played file. See caveats mentioned in the manpage.
# (The default is "auto-safe", see manpage.)
#audio-channels=auto
##################
# other settings #
##################
# Display English subtitles if available.
slang=en
# Play Finnish audio if available, fall back to English otherwise.
alang=en
#resize window to video size?
auto-window-resize=no
#save the place of the current video if stopped
save-position-on-quit
screenshot-directory=/home/thefrog/tmp/Pictures/mpv/
screenshot-format=png
# Pretend to be a web browser. Might fix playback with some streaming sites,
# but also will break with shoutcast streams.
#user-agent="Mozilla/5.0"
# cache settings
#
# Use a large seekable RAM cache even for local input.
cache=yes
#
# Use extra large RAM cache (needs cache=yes to make it useful).
demuxer-max-bytes=500M
demuxer-max-back-bytes=100M
#
# Disable the behavior that the player will pause if the cache goes below a
# certain fill size.
#cache-pause=no
#
# Store cache payload on the hard disk instead of in RAM. (This may negatively
# impact performance unless used for slow input such as network.)
#cache-dir=~/.cache/
#cache-on-disk=yes
# You can also include other configuration files.
#include=/path/to/the/file/you/want/to/include
############
# Profiles #
############
# The options declared as part of profiles override global default settings,
# but only take effect when the profile is active.
# The following profile can be enabled on the command line with: --profile=eye-cancer
#[eye-cancer]
#sharpen=5