[Question] The discrepancy between yt-dlp command-line results and mpv-android results. #18103
Unanswered
lvmpv41-yt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Parden me,
If this place is not the right place for asked such questions..
I have seen developers from MPV VLC ffmpeg here and I have huge respect for all these Dev's dedication non paid.. :(
so this place is the hub of knowledgeable people.
My question or curiosity about mpv Android before asking here i spent many days with google and free Ai's but these Ai's generate more questions then answers..
Come to the point
mpv-android/mpv-android#58
I uses sfan5 special ytdl build of MPV Android such a masterpiece.
I am curious why format-sort does not work as expected in MPV Android .
I have seen posts about this in issue, yt-dlp and reddit..
Yt-dlp guys Said it's external issue and some Said it may be ffmpeg issue . I have no clue as i have no technical skills.
What is expected
ytdl-raw-options=format-sort"=+size,+codec:av1"
It should read both elements size+codec
What happening Actual result.
It's just read one element +size and ignore other elements i have tried many different combinations.
is the reason MPV+ytdl still uses youtube-dl syntax?
As format-sort is introduced in yt-dlp.
Don't laugh but this claude.ai told me this
"actually the real fix is even simpler.
Tell sfan5 to add a dedicated preference for format-sort as a plain string — just like ytdl-format already has — and pass it via:"
kotlinMPVLib.setOptionString("ytdl-raw-options", "format-sort=$value")
Beta Was this translation helpful? Give feedback.
All reactions