Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

YTDL support [APK included]#58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
sfan5 wants to merge3 commits intomaster
base:master
Choose a base branch
Loading
fromsfan5/ytdl
Open

YTDL support [APK included]#58

sfan5 wants to merge3 commits intomasterfromsfan5/ytdl

Conversation

@sfan5
Copy link
Member

@sfan5sfan5 commentedAug 3, 2017
edited
Loading

Dev TODO

  • integrate Python build script fromhere
    • ↑ you will need this if you want to build from source
  • develop alternative solution to deal with SDK 28 restrictions (seecontext)
  • what will happen if yt-dlp starts requiringDeno?

Mini-FAQ

  • Will this be integrated into the regular mpv-android?
    • Due to unsolved compatibility issues there areno plans at this time. The feature wouldn't make it into Google Play builds anyway.
  • Video URLs take so long to load, why? can you fix it?
    • Python and yt-dlp just aren't very fast. There's nothing I can do about it.
  • My phone tells me it has blocked an insecure app from installing when I try this APK. Should I be concerned?
    • No,that's normal. You can install it by tapping on "More information" and "Install anyway".

⬇️ APK Download ⬇️

https://kitsunemimi.pw/tmp/mpv-android+ytdl-2025-10-26.apk
SHA1:09457721faf006021c659bd15c8f440d3cad8da8
This APK installs as a separate app to normal mpv, there's no easy way to copy your config (sorry).

erickyun, Yonle, samyakbardiya, Maxr1998, x879, Pentaphon, spvkgn, leekool, csehszlovakze, Archer2011, and 30 more reacted with thumbs up emojiYonle, samyakbardiya, x879, Pentaphon, erickyun, alexmercerind, xronin01, and nhutloveillya reacted with laugh emojiLiupold, dkoao, Pentaphon, MicroBeast, orangecms, PRESFIL, Quackdoc, ayham-1, Yonle, samyakbardiya, and 19 more reacted with hooray emojifutpib, wangw469, tomsik68, FunctionalHacker, Kexim6, siroccal, Liupold, pmartycz, jacek-kl, dhalucario, and 33 more reacted with heart emojiYonle, samyakbardiya, Maxr1998, x879, Pentaphon, 0-st, spvkgn, erickyun, KaziRifatMorshed, jvschiavo, and 4 more reacted with rocket emojiYonle, FoxeiZ, x879, Pentaphon, erickyun, Archer2011, piyushgarg, 7Grn, IM71, and nhutloveillya reacted with eyes emoji
@sfan5sfan5force-pushed thesfan5/ytdl branch 2 times, most recently frome03a082 to3de451eCompareSeptember 18, 2017 10:23
@sfan5

This comment was marked as outdated.

@sfan5sfan5force-pushed thesfan5/ytdl branch 2 times, most recently from7dc7b88 to6bf95f0CompareSeptember 29, 2017 13:32
@sfan5sfan5force-pushed thesfan5/ytdl branch 3 times, most recently fromc4a5f8f tof011298CompareOctober 10, 2017 11:38
@sfan5sfan5 changed the titleyoutube-dlyoutube-dl (WIP)Dec 9, 2017
@sfan5sfan5force-pushed thesfan5/ytdl branch 3 times, most recently from4d4469d to04d0a51CompareDecember 23, 2017 13:56
@soredake
Copy link

@sfan5 do you plan to merge this?

@sfan5

This comment was marked as outdated.

@Chubukov-Aleksey
Copy link

Maybe change brandname for youtube-dl enabled build? E.g.: "MPV - media player" (without youtube-dl) -> Google Play, "mpv-android" -> F-Droid and source only builds.

@kn-yami
Copy link

Maybe change brandname for youtube-dl enabled build? E.g.: "MPV - media player" (without youtube-dl) -> Google Play, "mpv-android" -> F-Droid and source only builds.

Why?

@wangw469
Copy link

@sfan5 I found vlc download from Google play can play YouTube without ads (even in background mode). Maybe we can have this feature for Google play version.

@oott123
Copy link

What a exciting feature! Is there any plan to merge this, or, is there any work before merge this?

@qquq
Copy link

Looks promising. Any ETA when it will be pushed to google play?

@sfan5sfan5force-pushed thesfan5/ytdl branch 2 times, most recently fromb405e57 to060f778CompareJune 21, 2019 18:17
@ghost

This comment was marked as off-topic.

@noromanba

This comment was marked as resolved.

@biopsin

This comment was marked as resolved.

@puchu

This comment was marked as resolved.

@obscenelyvague

This comment was marked as resolved.

@puchu

This comment was marked as resolved.

@obscenelyvague

This comment was marked as resolved.

@sfan5sfan5force-pushed thesfan5/ytdl branch 2 times, most recently from24716ab to21511f1CompareOctober 25, 2025 23:22
@puchu

This comment was marked as resolved.

@sfan5
Copy link
MemberAuthor

sfan5 commentedOct 25, 2025
edited
Loading

There's a new APK linked in the first post now.
Thanks to@puchu for the settings code changes. The APK comes with Python3.10 now and supportsboth 32-bit and 64-bit ARM properly.

Given the recent push by yt-dlp to depend on a Deno runtime it's not clear at all if yt-dlp support on Android will be anywhere near viable in the future.

pihug12 reacted with thumbs up emojinoromanba reacted with hooray emojidexaltat reacted with heart emoji

@sfan5sfan5 changed the titleyoutube-dl [APK included]YTDL support [APK included]Oct 26, 2025
@MicroBeast
Copy link

Deno runtime it's not clear at all if yt-dlp support on Android will be anywhere near viable in the future.

Yeah. That what I'm worry about. I don't see Deno for Android.

@jvschiavo
Copy link

Given the recent push by yt-dlp to depend on a Deno runtime it's not clear at all if yt-dlp support on Android will be anywhere near viable in the future.

I don't understand much about this topic, but they said that other runtimes beyond Deno will also be supported.

@MicroBeast
Copy link

MicroBeast commentedOct 26, 2025
edited
Loading

Well, we couldn't expect other runtimes will be there soon. From yt-dlp side, I think all their power and resources might be focus on Deno support for sometimes (weeks, months, years).

Native Android apps (like mpv+yt-dlp, YTDlnis, Seal) could have long standing issue while waiting, hence sfan5 last post mentioning support I believe.

Edit: Reminder. Deno is for Youtube specifically. For other sites, yt-dlp still work, hopefully.

@Quackdoc
Copy link
Contributor

Well, we couldn't expect other runtimes will be there soon. From yt-dlp side, I think all their power and resources might be focus on Deno support for sometimes (weeks, months, years).

yt-dlp/yt-dlp#14404 (comment)

Thelinked pull request already supports Node and Bun in addition to Deno.

This was not advertised in the original announcement post because A.) Deno is the safest option & we'd prefer less-technically-inclined yt-dlp users to stick with that, B.) Deno will be used by default while using Node/Bun will require user intervention (i.e. passing a CLI argument), and C.) yt-dlp may only be able to support recent versions of Node and Bun (see question 10 below).

Deno itself is not a hard requirement, just a compatible javascript runtime, node.js is supported, it's not ideal. but it should be possible with a small patch to make it the default so it will just work, bundling and getting node.js in mpv will likely bloat it quite a bit, but better then nothing.

jvschiavo reacted with thumbs up emoji

@syphyr
Copy link
Contributor

syphyr commentedOct 26, 2025
edited
Loading

@sfan5 In order to future proof python a little bit, I changed it to use python3.12. Python3.10 is only available on older LTS versions of Ubuntu.

syphyr@6bb1642

Note: I had to hack the configure script to manually disable the grp module because simply disabling it in Modules/Setup did not work as expected.

@GalaxySnail
Copy link

Given the recent push by yt-dlp to depend on a Deno runtime it's not clear at all if yt-dlp support on Android will be anywhere near viable in the future.

Perhaps a better approach would be to let mpv-android interact with yt-dlp in termux, using some kind of IPC with a secret token. This would allow users to install any required dependencies in termux rather than packaging them into an apk.

PaulGre3n reacted with thumbs up emoji

@syphyr
Copy link
Contributor

Deno does work in termux

denoland/deno#19759

@ghost
Copy link

ghost commentedOct 28, 2025
edited by ghost
Loading

There's a new APK linked in the first post now. Thanks to@puchu for the settings code changes. The APK comes with Python3.10 now and supportsboth 32-bit and 64-bit ARM properly.

Given the recent push by yt-dlp to depend on a Deno runtime it's not clear at all if yt-dlp support on Android will be anywhere near viable in the future.

Pardon me if I am asking too much,
I am just a user who doesn't understand technical difficulties.
I am facing some issues with the latest APK .
I haven't faced such an issue in the 2024 apk, previous size was under 40MB this APK over 50MB .
2024 APK Read my config properly this new APK has some issues read my config properly.

It's stuck for long time on SW then it's switching to Hw+ and play.
This stuck and switching time almost five times compared to 2024 apk.
I know python and ytdl slow but new version much slower.

May you just updatethe 2024 apk version python to the latest 3.13, even if youtube not work due to deno i want to use it for other sites as long as ytdlp function.

Edit - some non youtube site delaying 100+ sec but it's ytdlp issue

@sfan5
Copy link
MemberAuthor

That is very vague and I can't help you.

@syphyr
Copy link
Contributor

When I look at yt-dlp on linux, it says it is using the following optional libraries:

 Optional libraries: Cryptodome-3.23.0, brotlicffi-1.1.0.0, certifi-2025.10.05, curl_cffi-0.13.0, mutagen-1.47.0, pyxattr-0.8.1, requests-2.32.5, secretstorage-3.4.0, sqlite3-3.22.0, urllib3-2.5.0, websockets-15.0.1

Since these are missing from mpv-android's yt-dlp, do you think this will impact its performance? Should these libs also be added for android?

@syphyr
Copy link
Contributor

Another suggestion I have is to add configurable proxy settings for ytdlp.

@sfan5
Copy link
MemberAuthor

Should these libs also be added for android?

Maybe. In the easiest case mpv-android could just call pip to install these, but that's another thing that will literally become impossible once SDK 28 support is a concern.

Another suggestion I have is to add configurable proxy settings for ytdlp.

Likehttp_proxy/https_proxy? Or what do people usually use?

@syphyr
Copy link
Contributor

Socks5 is preferable

@ghostghost mentioned this pull requestNov 19, 2025
8 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

2 more reviewers

@IonicIonicIonic left review comments

@Murf1990Murf1990Murf1990 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

20 participants

@sfan5@soredake@Chubukov-Aleksey@kn-yami@wangw469@oott123@qquq@Pentaphon@vipinaggar@Liupold@crisalis2@Nanolx@dkoao@IzzySoft@rancidfrog@unresolvedsymbol@Quackdoc@Yonle@piyushgarg@Atemu

[8]ページ先頭

©2009-2025 Movatter.jp