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

how to download audio without transcoding? #207

Open
foldfree opened this issue Nov 20, 2023 · 1 comment
Open

how to download audio without transcoding? #207

foldfree opened this issue Nov 20, 2023 · 1 comment
Assignees
Labels
feature request New feature request

Comments

@foldfree
Copy link

foldfree commented Nov 20, 2023

Since Telegram support most audio formats nowadays such as opus, aac-m4a, ogg... transcoding everything to mp3 seems not necessary.
I would rather avoid a lossy to lossy conversion and get the best quality/size version of the file.

This is the default yt-dlp behavior.

However, i don't understand how should I write it down in the YTDL_OPTS config file.

If i replace FINAL_AUDIO_FORMAT by 'best' I get:
join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

What should I write instead?
Thank you!!

@tropicoo
Copy link
Owner

Right now this won’t work. I will need to change the logic to keep and upload original audio.

@tropicoo tropicoo added the feature request New feature request label Dec 9, 2023
@tropicoo tropicoo self-assigned this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants