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

-o - (print to stdout) doesnt work #4498

Closed
bakaiadam opened this issue Dec 17, 2014 · 3 comments
Closed

-o - (print to stdout) doesnt work #4498

bakaiadam opened this issue Dec 17, 2014 · 3 comments

Comments

@bakaiadam
Copy link

@bakaiadam bakaiadam commented Dec 17, 2014

youtube-dl version 2014.12.17

./youtube-dl "https://www.youtube.com/watch?v=g6y-sO2v4Lo" -o -
[youtube] g6y-sO2v4Lo: Downloading webpage
[youtube] g6y-sO2v4Lo: Extracting video information
[youtube] g6y-sO2v4Lo: Downloading DASH manifest
[download] - has already been downloaded
I was expecting it to redirect to stdout, since help says so(" Use - to output to stdout"). It looked like it worked well in previous versions.

@phihag
Copy link
Contributor

@phihag phihag commented Dec 17, 2014

Works fine for me. Can you post the output you get when you add -v to your command?

@bakaiadam
Copy link
Author

@bakaiadam bakaiadam commented Dec 17, 2014

./youtube-dl -v "https://www.youtube.com/watch?v=g6y-sO2v4Lo" -o -
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=g6y-sO2v4Lo', '-o', '-']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17
[debug] Python version 2.7.6 - Linux-3.13.0-24-generic-x86_64-with-Ubuntu-13.10-saucy
[debug] exe versions: avconv v9-2139-g5f4b1b1, avprobe v9-2139-g5f4b1b1, ffmpeg 0.8.13-6, ffprobe 0.8.13-6
[debug] Proxy map: {}
[youtube] g6y-sO2v4Lo: Downloading webpage
[youtube] g6y-sO2v4Lo: Extracting video information
[youtube] {22} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {43} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {18} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {5} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {36} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {17} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {137} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {248} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {136} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {247} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {135} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {244} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {134} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {243} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {133} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {242} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {160} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {278} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {140} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {171} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {249} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {250} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] {251} signature length 46.34.3, html5 player en_US-vflkOb-do
[youtube] g6y-sO2v4Lo: Downloading DASH manifest
[debug] Invoking downloader on u'https://r10---sn-c0q7lnee.googlevideo.com/videoplayback?fexp=900718%2C912134%2C912333%2C924638%2C927622%2C930676%2C931355%2C932404%2C938809%2C9405809%2C943917%2C947209%2C947218%2C948124%2C948703%2C952302%2C952605%2C952901%2C953912%2C955301%2C957103%2C957105%2C957201&source=youtube&ms=au&requiressl=yes&initcwndbps=4785000&ipbits=0&mv=m&id=o-AD6mNjK5VvmJl7u-WId1U8FyVP78B7Xi6f8X3BuDAL8m&mm=31&key=yt5&expire=1418833601&ip=86.101.236.73&mt=1418811945&upn=kdonahh93LE&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&itag=22&dur=2742.648&mime=video%2Fmp4&ratebypass=yes&sver=3&signature=34343ACB731B1E1E67F6747C8A34D720FBFEB0A2.05391F4FA1238A31D1DE2B176232C142FBC180A2'
[download] - has already been downloaded

@phihag phihag closed this in fdc8000 Dec 17, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Dec 17, 2014

You have a file literally named - in your current directory. Either delete the file or update to youtube-dl 2014.17.12.2 or newer, which corrects the check.

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.