Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Platform usage #54

Open
aleh4d opened this issue Aug 14, 2024 · 2 comments
Open

Cross-Platform usage #54

aleh4d opened this issue Aug 14, 2024 · 2 comments

Comments

@aleh4d
Copy link

aleh4d commented Aug 14, 2024

Hi,
I have an app that may run on windows, Android and IOS,
how to use YoutubeDLSharp cross-platform?

And if I only need links of videos, may I omit path or download of FFmpeg?

@furensic
Copy link

I think this runs on top of yt-dlp.exe, like a wrapper, because you need to specify yt-dlp.exe path. So you cant just run an .exe file on Android or IOS. At least in my understanding you could build a webservice though and then download the info from an intermediate server that runs it for you

@aleh4d
Copy link
Author

aleh4d commented Aug 19, 2024

yt-dlp has three binaries available:

yt-dlp | Platform-independent zipimport binary. Needs Python (recommended for Linux/BSD)
yt-dlp.exe | Windows (Win7 SP1+) standalone x64 binary (recommended for Windows)
yt-dlp_macos | Universal MacOS (10.15+) standalone executable (recommended for MacOS)

can we use different binaries instead of .exe on other platforms?

(Or would it be better to have a procedure call with parameter defining platform? Or detect platform inside the property assignment?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants