extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Encoding error: Output format mp3 is not available

Open jacqu3sk opened this issue 1 year ago • 1 comments

Extension

https://www.raycast.com/vimtor/youtube-downloader

Description

I have check that the file paths to the ffmpeg and ffprobe are correct. I have also made sure to update everything. I Have no idea whats causing this issue.

Steps To Reproduce

  1. Download any video using 1080p 2. I get the error

Current Behaviour

No response

Expected Behaviour

No response

jacqu3sk avatar Apr 11 '24 12:04 jacqu3sk

Thank you for opening this issue!

🔔 @vimtor @pernielsentikaer @darmiel you might want to have a look.

💡 Author and Contributors commands

The author and contributors of vimtor/youtube-downloader can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopen the issue.

raycastbot avatar Apr 11 '24 12:04 raycastbot

Hey @jacqu3sk, I'm sorry you're facing this issue.

Could you please share the video URL?

My guess is that the problem is with a specific video, similar to #11822.

vimtor avatar Apr 17 '24 05:04 vimtor

Hi @vimtor , please check this video which is newly released. It throws an encoding error

https://www.youtube.com/watch?v=q7Qk1QDYZLw

I copied the error for you:

Error: Output format mp4 is not available

capabilities.js:589:20


586: }, []); 587: 588: if (unavailable.length === 1) { 589: return cb(new Error('Output format ' + unavailable[0] + ' is not available')); 590: } else if (unavailable.length > 1) { 591: return cb(new Error('Output formats ' + unavailable.join(', ') + ' are not available')); 592: }

T:index.js:46:13445 I:index.js:46:13524 index.js:43:11429

Joyouou avatar Apr 17 '24 09:04 Joyouou

Thanks for sharing!

I've found this recent issue https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/1262 in the package the extension uses to interact with ffmpeg. From that issue, I'm guessing that you are using an ffmpeg version different from 6.1, which now gets installed automatically. Until the fluent-ffmpeg package gets updated to support that version, you will need to downgrade your local ffmpeg version to 6.1. You can do this using Brew by running brew install ffmpeg@6.

vimtor avatar Apr 17 '24 09:04 vimtor

Downgrading didn't help!

I uninstalled ffmpeg version 7 and also homebrew. Then i installed homebrew and installed @.*** The extension didn't recognize version 6.

On Wednesday, Apr 17, 2024, 2:57 PM, wrote:

Thanks for sharing! I've found this recent issue https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/1262 in the package the extension uses to interact with ffmpeg. From that issue, I'm guessing that you are using an ffmpeg version different from 6.1, which now gets installed automatically. Until the fluent-ffmpeg package gets updated to support that version, you will need to downgrade your local ffmpeg version to 6.1. You can do this using Brew by running brew install ***@***.***. -- Reply to this email directly or view it on GitHub: https://github.com/raycast/extensions/issues/11754#issuecomment-2060815509 You are receiving this because you commented. Message ID:

Joyouou avatar Apr 19 '24 06:04 Joyouou

@Joyouou could you see if any of these fix your issue?

  • https://github.com/raycast/extensions/issues/11822#issuecomment-2064183311
  • https://github.com/raycast/extensions/issues/11907

vimtor avatar Apr 21 '24 14:04 vimtor

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot avatar Jun 10 '24 15:06 raycastbot

This was fixed in https://github.com/raycast/extensions/pull/12583

Follow the instructions described in the PR to update ffmpeg

@raycastbot close this issue

vimtor avatar Jun 11 '24 07:06 vimtor