jgreco / mpv-youtube-quality

A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly
368 stars 37 forks source link

Add option to modify default video settings #13

Open Shashank066 opened 4 years ago

sigboe commented 3 years ago

I switched to this fork yesterday. It works, but one thing, I want to comment for maybe future people have the same issue as me.

ytdl_format=720p+bestaudio/best

This is my setting string, and I came across a video where I could not get audio. It seams the video in question I get the audio format avc1.64001f

I fixed it for my self by putting this quality

ytdl_format=bestvideo[height<=?720]+bestaudio/best

As my format string, but this is great because I found that my old addon to put auto quality (which blocked this addon from switching quality) was configured to pick 30fps quality, so I am happy I really inspected the format string this time

May I suggest a comment hint at how to write the format string? Or point to where to read?

And googling found that avc1.64001f someone claimed that adding --enable-libxml2 to the ffmpeg ./configure before compiling to add dash demuxer helped.