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

extract audio without reencoding #20483

Closed
yvikt opened this issue Mar 26, 2019 · 4 comments
Closed

extract audio without reencoding #20483

yvikt opened this issue Mar 26, 2019 · 4 comments

Comments

@yvikt
Copy link

@yvikt yvikt commented Mar 26, 2019

Hi
Do youtube-dl option --extract-audio extracts audio without reencodinng?
I mean is there option -c:a copy in ffmpeg postprocessing after downloading original video?
I want to be sure that the audio is preserved in its original (native) codec.
Thanks!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 27, 2019

Depends on whether custom --audio-format is specified or not.

@dstftw dstftw closed this Mar 27, 2019
@yvikt
Copy link
Author

@yvikt yvikt commented Mar 27, 2019

For example
youtube-dl -f 251 -x https://www.youtube.com/watch?v=ZRSNy8DcIDk
What happens here? Does transcoding occur in this case, or just saving original stream without transcoding?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 27, 2019

No transcoding occurs.

@yvikt
Copy link
Author

@yvikt yvikt commented Mar 27, 2019

thanks a lot

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.