Closed ghost closed 7 years ago
you can download the arm version of ffmpeg
i had manually done it from https://github.com/guardianproject/android-ffmpeg,or you can visit here https://trac.ffmpeg.org/wiki/CompilationGuide/Android. I don't consider this to be any bug/issue with youtube-dl so I would ask maintainers to close this issue
look here,this needs to be called https://github.com/rg3/youtube-dl/blob/master/youtube_dl/postprocessor/ffmpeg.py if you are compiling yourself,better use some ideas from this instead http://dentex.github.io/ (external project) or better check this https://github.com/rg3/youtube-dl/issues/967
Thanks @siddht1 for providing such useful info. What you need is preparing a ffmpeg binary somewhere, and feed the path via --ffmpeg-location /path/to/ffmpeg
(CLI) or 'ffmpeg_location': '/path/to/ffmpeg'
in YoutubeDL
options. (Python API)
I just want to add that it would be absolutely great if someone would package youtube-dl
for android and publishes it to F-Droid.
A functionality like using a share button in the browser where youtube-dl
appears and downloads the video would be very cool.
The current state of youtube-dl
on mobile devices seem to be pretty complicated and error prone (see also here, here or here).
I have the feeling that there's a demand to have it on mobile devices (1, 2, 3, 4, 5).
PS: Just to be sure: this app is not related to youtube-dl
, right?
this app is not related to youtube-dl, right?
I can't give a guarantee, but looks like not as its functionality is rather limited in comparison to youtube-dl (no support for login-required videos and live videos)
In general, this repository handles only core functionality. An Android app can be maintained in an external repo, just like many GUI wrapper out there. I have some scripts at https://github.com/yan12125/python3-android/ that builds a working python
binary for running youtube-dl. Just that I have no idea how to write a F-Droid build script.
What is the purpose of your issue?
Since I know a bit of python I decided to make a .mp3 downloader Android app for myself using a python interpreter, sl4a, some scripts, webviewer and youtube-dl.
I can’t make ffmpeg available to youtube-dl (called in a python script) in Android. Most answers are for Java implementations, using JNI.