Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does it output 320 kbps MP3? #276

Open
1 of 2 tasks
Goosegit11 opened this issue Aug 3, 2023 · 2 comments
Open
1 of 2 tasks

Why does it output 320 kbps MP3? #276

Goosegit11 opened this issue Aug 3, 2023 · 2 comments

Comments

@Goosegit11
Copy link

Goosegit11 commented Aug 3, 2023

Question

Why does it output 320 kbps MP3 when YouTube doesn't have such thing?
yt-dlp, for example, produces 120-130 kbps mp3s with this command:
yt-dlp -f ba -x --audio-format mp3 $1

Checklist

  • I've looked through the README and the WiKi for something similar.
  • I tried talking with the developer on the Telegram support group.

I couldn't find any Telegram contacts in this repo or on your website.

@deepjyoti30
Copy link
Owner

ytmdl converts the final audio file fetched from youtube into a 320kbps file through ffmpeg. This question has been raised previously and I think there is really no particular reason that it is 320kbps as compared to the default (120kbps).

I think with the init code of the app, the idea was to provide 320kbps as that was considered the most commonly used bitrate.

However, if your concern is audio quality being messed up, I think you can download in the other formats supported by ytmdl such as opus and m4a.

@Goosegit11
Copy link
Author

There is literally no reason to output at 320kbps, it doesn't give better quality or compatibility, it just increases the file size, and in general converting a low bitrate to a higher bitrate is a bad form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants