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

Support playback from streaming video #20

Open
zerotri opened this issue Apr 5, 2014 · 4 comments
Open

Support playback from streaming video #20

zerotri opened this issue Apr 5, 2014 · 4 comments

Comments

@zerotri
Copy link

zerotri commented Apr 5, 2014

Haven't tested this out yet but it seems like you are using downloading the full video/audio before starting playback through mplayer. If this is indeed the case it would cause quite a delay before the audio/video plays, correct?

You should be able to parse a youtube page and extract the exact video url and use that to stream directly to mplayer, which would allow a much shorter delay before starting playback. An example of this can be seen here:

ytdl-org/youtube-dl#41

@lanceseidman
Copy link
Owner

That is right, the current mode is to download as people just didn't understand you can stream on the Pi like a real computer without it being slow.

So by default, it downloads. However the option to stream is available but in the old version as streaming really is a joke. Not ideal in the least BUT the option is available if they're nutty enough.

@lanceseidman
Copy link
Owner

Sorry, can't stream on the Pi like a real computer using a real OS & not something like XBMC.

@ekianjo
Copy link

ekianjo commented Mar 12, 2015

Has the situation changed now that the Pi2 is out? would streaming be possible ?

@lanceseidman
Copy link
Owner

Yes and no; it does have more power then before and could stream a bit better but still relying on Flash plugin isn't so good when it comes to YouTube videos BUT if you plug other files in, you can use MPLAYER or VLC to do streams and add it to your PiCAST 2 Commands in the aliases.

You'll see with Pi2 it has the ability to help you make your own commands/plugins a bit easier. You could try running PiCAST first edition aka web edition as that did streaming.

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

3 participants