Closed JunkFood02 closed 2 years ago
Updating ffmpeg means giving up support for Android 5 and 6 and also it will increase app size, as you can see here.
I have found the following packages to be sufficient for youtube-dl to work.
Maybe the same with ffmpeg!
Maybe in another branch.
Updating ffmpeg means giving up support for Android 5 and 6 and also it will increase app size, as you can see here.
Yes, I found the size of the libffmpeg.zip.so
increase to around 30MB after building the FFmpeg and remove many abundant .so libraries on my own. Still not clear about how can we optimize this
Yes, I found the size of the
libffmpeg.zip.so
increase to around 30MB after building the FFmpeg and remove many abundant .so libraries on my own. Still not clear about how can we optimize this
I will take a look and see what I can do.
from yt-dlp readme
Note: There are some regressions in newer ffmpeg versions that causes various issues when used alongside yt-dlp. Since ffmpeg is such an important dependency, we provide custom builds with patches for these issues at yt-dlp/FFmpeg-Builds. See the readme for details on the specific issues solved by these builds
Is the error related to this?
Is the error related to this?
I don't think so. According to the readme, most of the patches were merged into the FFmpeg v5.1.
Maybe the FFmpeg/aria2c binaries can be packaged and released in different repos/libraries from this, having independent version codes, since we make little changes to them.
Ok, I updated ffmpeg from 4.2.1 to 5.1 so far it works fine, tested on Android 5 and 9, Please check if it works fine with
implementation 'com.github.xibr.youtubedl-android:library:eacd0074af'
implementation 'com.github.xibr.youtubedl-android:ffmpeg:eacd0074af'
It works like a charm!
Let's make sure everything is working fine so it doesn't cause us any issues after merging.
There is an idea in my mind about aria2c don't know if it will work but I will give it a try, it will reduce the size of the current aria2c.
I'm attempting to update the FFmpeg build version to v5.1.
According to the termux community, the support of API 23- is ended as well as the package updates. The issue below suggests that the outdated FFmpeg build has already caused the discontinuity with the yt-dlp.