kewlbear / YoutubeDL-iOS

Swift package of youtube_dl python module for iOS
MIT License
112 stars 35 forks source link

"ffmpeg is not installed" error #12

Closed kientux closed 9 months ago

kientux commented 9 months ago

Is there any additional steps needed to enable ffmpeg support? When I integrate the library myself or using your YoutubeDL example app, they're both not working when added some parameters that required ffmpeg:

startDownload(url:) https://www.youtube.com/watch?v=b8HVQtIoBYU
download(url:) ["-f", "bestvideo+bestaudio[ext=m4a]/best", "-x", "--no-mtime", "--download-sections", "*0:15-0:30", "-o", "%(title).200B.%(ext)s", "--no-check-certificates", "https://www.youtube.com/watch?v=b8HVQtIoBYU"]
<string>:1: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
download(url:) info [youtube] Extracting URL: https://www.youtube.com/watch?v=b8HVQtIoBYU
download(url:) info [youtube] b8HVQtIoBYU: Downloading webpage
download(url:) info [youtube] b8HVQtIoBYU: Downloading ios player API JSON
download(url:) info [youtube] b8HVQtIoBYU: Downloading android player API JSON
download(url:) info [youtube] b8HVQtIoBYU: Downloading m3u8 information
download(url:) info [info] b8HVQtIoBYU: Downloading 1 format(s): 616+140
download(url:) info [info] b8HVQtIoBYU: Downloading 1 time ranges: 15.0-30.0
Popen.__init__: <yt_dlp.utils.Popen object at 0x13c9f0a30> (['ffmpeg', '-bsfs'],)
download(url:) error ERROR: You have requested downloading the video partially, but ffmpeg is not installed. Aborting
kewlbear commented 9 months ago

https://github.com/kewlbear/YoutubeDL/issues/19#issuecomment-1880393804