yausername / youtubedl-android

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

FFmpeg is broken in the 0.16.0 when trying to cut a video #282

Open zaednasr opened 1 week ago

zaednasr commented 1 week ago

Try cutting a video with yt-dlp. Sample command:

--download-sections "*6:11-7:42" -f "298+251" -P "/storage/emulated/0/Download/Testing" -o "%(title)s.%(ext)s" "https://www.youtube.com/watch?v=DEgt25yYidY"

image

JunkFood02 commented 1 week ago

@xibr seems something went wrong with the new ffmpeg binaries

xibr commented 1 week ago

I will take a look.

xibr commented 1 week ago

Please test #283

JunkFood02 commented 1 week ago

please test with v0.16.1

zaednasr commented 6 days ago

@JunkFood02 seems to work as expected now. Now there are two things

  1. Updating YTDLP is broken.

This is the error No virtual method get_STABLE()Lcom/yausername/youtubedl_android/YoutubeDL$UpdateChannel$STABLE; in class Lcom/yausername/youtubedl_android/YoutubeDL$UpdateChannel$Companion; or its super classes (declaration of 'com.yausername.youtubedl_android.YoutubeDL$UpdateChannel$Companion' appears in /data/app/~~_3xNbSQzWFhZ1ZggBbyytA==/com.deniscerri.ytdl-WhGvSPyeUCbyjj61JV14Fw==/base.apk!classes15.dex)

This is the command used

  YoutubeDL.getInstance().updateYoutubeDL(context, YoutubeDL.UpdateChannel._STABLE)

Also the FFMPEG progress needs to be implemented