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

Stream stdout and output complict #8214

Closed
bertho-zero opened this issue Jan 12, 2016 · 2 comments
Closed

Stream stdout and output complict #8214

bertho-zero opened this issue Jan 12, 2016 · 2 comments

Comments

@bertho-zero
Copy link

@bertho-zero bertho-zero commented Jan 12, 2016

$ python __main__.py 'https://www.youtube.com/watch?v=oavMtUWDBTM' -o - -x -v 1> 'video_test.mp3'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=oavMtUWDBTM', u'-o', u'-', u'-x', u'-v']
Usage: __main__.py [OPTIONS] URL [URL...]

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

The -o option (-o -) is recognized as template and not as stream for post process ffmpeg.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 12, 2016

Streaming to stdout can't be mixed with -x since latter requires operating with files on disk.

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

@bertho-zero bertho-zero commented Jan 12, 2016

It's very damage ..

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.