yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
934 stars 172 forks source link

Resolve Duplicate FFmpeg Code between arthenica/ffmpeg-kit and youtubedl-android #246

Closed matsumo0922 closed 11 months ago

matsumo0922 commented 11 months ago

I have installed arthenica/ffmpeg-kit to run FFmpeg in my app.

However, since youtubedl-android also needs ffmpeg, there are two native ffmpeg codes in the app, and the app size is very large.

Is there any way to run ffmpeg in youtubedl-android to solve this problem?

JunkFood02 commented 11 months ago

https://github.com/yausername/youtubedl-android/blob/master/library/src/main/java/com/yausername/youtubedl_android/YoutubeDL.kt#L154C1-L154C9

This library runs ffmpeg binary executable directly in shell and might not fit your use case

matsumo0922 commented 11 months ago

I see... I would like to look for another approach.