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

Can play while downloading? #765

Closed
ghost opened this issue Mar 31, 2013 · 3 comments
Closed

Can play while downloading? #765

ghost opened this issue Mar 31, 2013 · 3 comments

Comments

@ghost
Copy link

@ghost ghost commented Mar 31, 2013

Now I have to open file manager or another terminal to find the downloading .part file and play it with a player such as mplayer.
Can I play the downloading video with mplayer in the youtube-dl command?
I try to type this command:
youtube-dl http://youtube_url -f 43 | mplayer
It failed.
Can somebody help me?

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Mar 31, 2013

You are looking for -o - but I'm not sure it will work with mplayer, let us know!

@ghost
Copy link
Author

@ghost ghost commented Mar 31, 2013

Filippo Valsorda wrote:

You are looking for |-o -| but I'm not sure it will work with mplayer,
let us know!


Reply to this email directly or view it on GitHub
#765 (comment).

#640 I found this command:
youtube-dl -o - http://youtube_url -f 43 | mplayer -
It works.Thanks.

@codeasashu
Copy link

@codeasashu codeasashu commented Sep 20, 2016

For now, I created a small bash script, which uses python program(unnecessary if you already have youtube-dl), and youtube-dl to pipe data to stdout. Please find the script here https://github.com/ashutosh2k12/ytdl-streamer

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.