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

Is it possible to extract the audio from a video directly to stdout #8838

Closed
ahmetb opened this issue Mar 12, 2016 · 2 comments
Closed

Is it possible to extract the audio from a video directly to stdout #8838

ahmetb opened this issue Mar 12, 2016 · 2 comments
Labels

Comments

@ahmetb
Copy link

@ahmetb ahmetb commented Mar 12, 2016

I am looking for something that downloads the video to memory (or a temporary place) and streams the extracted audio directly to standard output as it is converted.

So something like:

youtube-dl -x -o - http://url

however it gives me error:

youtube-dl: error: Cannot download a video and extract audio into the same file! Use "-.%(ext)s" instead of "-" as the output template

If there are any workarounds to this, I'd appreciate. My use case is, I'm trying to extract audio of a video to stdout in a single command (say, docker container entrypoint) .

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 12, 2016

Not possible. Duplicate of #8269.

@dstftw dstftw closed this Mar 12, 2016
@bertho-zero
Copy link

@bertho-zero bertho-zero commented Oct 14, 2016

One day perhaps ..

@dstftw dstftw added the duplicate label Oct 19, 2016
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
3 participants
You can’t perform that action at this time.