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 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

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

@ghost
Copy link
Author

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

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants