Skip to content

Commit

Permalink
mpv: Clean up Decode + video selection errors on Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackson15j committed Nov 15, 2023
1 parent f2c57ea commit d8b80d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
*.sql
*.state
*.rc
.DS_Store
11 changes: 6 additions & 5 deletions bash/.config/mpv/mpv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ write-filename-in-watch-later-config
# hardware-decode it, you can add this to the format selector. For example, we
# can additionally choose to ignore VP9 as follows:

ytdl-format="bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best"

# ytdl-format="bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best"
ytdl-format="bestvideo[height<=?1080]+bestaudio/best"
# If you prefer best quality open codecs (VP9 and Opus), use:

# ytdl-format="((bestvideo[vcodec^=vp9]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec=aac]/bestaudio))/best"
Expand All @@ -56,8 +56,9 @@ ytdl-format="bestvideo[height<=?1080][vcodec!=vp9]+bestaudio/best"
# tearing when using any OpenGL output setting. If you experience any of these
# issues, using the XV (Xorg only) video output device may help:
# vo=xv
vo=gpu
hwdec=vaapi
# vo=gpu # deprecated
vo=libmpv
# hwdec=vaapi

# The name of the Vulkan device to use for rendering and presentation. Use
# --vulkan-device=help to see the list of available devices and their names. If
Expand All @@ -67,4 +68,4 @@ hwdec=vaapi
# Bump cache wait time from default of 1sec.
cache-pause-wait=3
# Pause to fill cache on initial load for `cache-pause-wait=<seconds>`
cache-pause-initial=yes
cache-pause-initial=yes

0 comments on commit d8b80d0

Please sign in to comment.