magneum / youtube-exec

🔥🎶YouTube-Exec: Unleash the Power of YouTube Downloads!
https://bit.ly/magneum
MIT License
19 stars 2 forks source link

Error downloading audio file: Cannot find ffmpeg #2

Closed OmarSaidIbrahim closed 1 year ago

OmarSaidIbrahim commented 1 year ago

Hi there, after installing the library and use it to extract the audio from a YT video, the output is this

15:35:49 info :  🔍 Fetching audio details...
✓ ⏳ Obtaining... 2.4 secs
15:35:51 info :  🔍 Fetching Audio Quality: best
15:35:51 info :  🎥 Video Title: NOCHEY
15:35:51 info :  asr: 48000
15:35:51 info :  filesize: 3417767
15:35:51 info :  format_id: 251
15:35:51 info :  format_note: medium
15:35:51 info :  source_preference: -1
15:35:51 info :  fps: null
15:35:51 info :  audio_channels: 2
15:35:51 info :  height: null
15:35:51 info :  quality: 3
15:35:51 info :  has_drm: false
15:35:51 info :  tbr: 137.812
15:35:51 info :  width: null
15:35:51 info :  language: null
15:35:51 info :  language_preference: -1
15:35:51 info :  preference: null
15:35:51 info :  ext: webm
15:35:51 info :  vcodec: none
15:35:51 info :  acodec: opus
15:35:51 info :  dynamic_range: null
15:35:51 info :  container: webm_dash
15:35:51 info :  downloader_options: [object Object]
15:35:51 info :  protocol: https
15:35:51 info :  resolution: audio only
15:35:51 info :  aspect_ratio: null
15:35:51 info :  http_headers: [object Object]
15:35:51 info :  audio_ext: webm
15:35:51 info :  video_ext: none
15:35:51 info :  vbr: 0
15:35:51 info :  abr: 137.812
15:35:51 info :  format: 251 - audio only (medium)
15:35:51 info :  📂 Created folder: /Users/~/Desktop/~/MusicDownloader/Downloads
15:35:51 info :  ❌ Error downloading audio file: Cannot find ffmpeg
15:35:51 info :  ❌ An error occurred: Cannot find ffmpeg
An error occurred: Cannot find ffmpeg
15:35:51 info :  ❌ Error downloading audio file: Cannot find ffmpeg

I tried to npm install ffmpeg but the same error is displayed

OmarSaidIbrahim commented 1 year ago

Okay fixed by running brew install ffmpeg

magneum commented 1 year ago

Good 👍

On Fri, 28 Jul, 2023, 7:53 pm Omar Said Ibrahim, @.***> wrote:

Okay fixed by running brew install ffmpeg

— Reply to this email directly, view it on GitHub https://github.com/magneum/youtube-exec/issues/2#issuecomment-1655774828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUX6KGW7A3TGNC2AOJVIFVDXSPDM3ANCNFSM6AAAAAA23QT7WA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

crispyrice526 commented 9 months ago

Same error on Windows where brew does not exist. There are many options to install a homebrew version of FFmpeg on Windows such as Winget, Chocolatey, Npackd, Scoop, and OneGet for Windows 10. I chose Winget. It should automatically be installed with your windows machine.

lastrat commented 9 months ago

still having the same error upon installing with winget