jaruba / PowderPlayer

Hybrid between a Torrent Client and a Player (torrent streaming) -
https://powder.media/
GNU Lesser General Public License v2.1
579 stars 95 forks source link

Chromecast Support #36

Closed jaruba closed 8 years ago

Breaking1 commented 8 years ago

+1 When this happens i will use this alot.

pepijn809 commented 8 years ago

Absolutely! +1

jaruba commented 8 years ago

Uhm, I was planning on releasing v0.95 very soon after 3 months since the last version. It has some amazing new features, a lot of minor and a few major bug fixes.

Chromecast is popular though and it has been requested before. I have a Chromecast around the house and I have the infrastructure for casting already made from DLNA/UPNP casting.

So now I'm faced with making a choice between releasing the new version sooner or postponing it for about 2 more weeks in an attempt to get basic Chromecast support working too.. :/

I've postponed it for so long though, but you are the users, if you think Chromecast is important, your will is my command. :)

Breaking1 commented 8 years ago

Hi. Thank you so mutch for your reply.

I'm more than happy to wait 2 more weeks or longer to get CC support.(Sorry to all of you who don't have it.But it's cheap so start saving and you will have one when he's ready!)

But yeah most of my stuff get watched on the big screen from my CC.

So for me this is the key thing,if it had the CC support it would probably already be my 1 choice for streaming torrents/magnet links to the big screen.

jaruba commented 8 years ago

Cool, I'll try implementing it after I'm done with the feature I'm currently working on.

If it proves to be more complicated then I expect I'll have to postpone it, otherwise basic support should be ready in the next release.

The only issue I currently see with this is that I have to implement transcoding to convert all video types to HLS or mp4 as Chromecast doesn't really support anything else.

Btw, what OS are you on and how important is subtitle support on Chromecast for you? :)

Breaking1 commented 8 years ago

Sounds really great. :+1:

Subtitles can wait,if we get basic support then you can work on the other things.But at some point i would probably want subtitles too :smiling_imp:

If we just know that they are coming,who knows maybe we even get tired of waiting and know some skilled dev's who can help you out on the project.Who knows what could happen here,

And i'm running windows with my CC,easiest for the other familly members who didn't know that there existed OS that didn't have the name windows in it.

jaruba commented 8 years ago

I'm thinking this: https://github.com/TorrenTV/TorrenTV/issues/88

If I could get it working like that, it would give a proper start to casting for Chromecast / AppleTV / Roku.

Update: Uhm, I had a chance to play with my chromecast and it doesn't seem that TorrenTV supports transcoding yet.

I succeded in playing .avi files by transcoding them to HLS with a different module though so this is pretty possible.

Breaking1 commented 8 years ago

:+1:

entr commented 8 years ago

What about how popcorn(now butter) does it?

jaruba commented 8 years ago

@entr I haven't had time to look at their code yet.

kodaxx commented 8 years ago

Yessss....this would be amazing!!

luigiplr commented 8 years ago

@entr Magics.

Breaking1 commented 8 years ago

@jaruba do you have a minute to update us on the progress on this feature?

jaruba commented 8 years ago

Atm, me and @luigiplr are working on rewriting Powder Player completely for Electron and React while @Ivshti is posting Hitler pics on our commits.

Proof of madness: https://github.com/jaruba/PowderPlayer/commit/af9255765996138b249fd7edc4515b38df5be256 https://github.com/jaruba/PowderPlayer/commit/f0bfd66d96355f8fa5f2e8122ab0d2e3eda5151c#commitcomment-14621001

@acidhax is working on a magical remuxing module to make our transcoding needs for casting a breeze.

This React version we're working on is a lot faster and seems to have smoother playback. I'm a bit split between making Chromecast for Powder's current code then remaking it for the React version or to push more work on the React version and writing it there directly.

I guess it all comes down to even releasing v0.95 or working on v1.0

matbee-eth commented 8 years ago

I shall complete my mission and bring forth a future of pain-free remuxing.

jaruba commented 8 years ago

60366520

luigiplr commented 8 years ago

This is how I picture @acidhax

Ivshti commented 8 years ago

Atm, me and @luigiplr are working on rewriting Powder Player completely for Electron and React while @Ivshti is posting Hitler pics on our commits. @acidhax is working on a magical remuxing module to make our transcoding needs for casting a breeze.

Well this sounds like a circus - hitler pics, magic modules.

@acidhax how would that module work so that it can transcode/transmux from an HTTP stream and not a full file? HLS?

matbee-eth commented 8 years ago

@Ivshti It'll request streams of a specific byte range. It's quite simple! I'll show more when I publish the module. It will transcode on the fly and send CHUNKED response to HTTP.

jaruba commented 8 years ago

Well this sounds like a circus - hitler pics, magic modules.

Have no fear @Breaking1 , @Ivshti is just joking around, this will be solved by (most probably) some of the most qualified people in the world for this. :)

We're pros, we just like having fun while working.

luigiplr commented 8 years ago

We're pros, we just like having fun while working.

So essentially Hitler.

sidenote: how did @hitler even come up again?

Breaking1 commented 8 years ago

Hahaha @jaruba no worries,if you guys rob a bank while you do this i don't give a f... as long as you have fun and get the job done :+1:

Great to see there's no lack of activity and qualified people working on it,gives me more confidence in that this will be my future torrent media player.

luigiplr commented 8 years ago

Oh hi @breaking1 been a while xD oh whoa what and @pepijn809 to?

Breaking1 commented 8 years ago

Yeah @luigiplr it has,nice to see you again xD

@pepijn809 was actually the guy who was kind enough to point me here,so i could bug you guys and catch up on the latest Hitler pics xD

luigiplr commented 8 years ago

You two want to join magics? Slack chat we run for stuff like this :)

Breaking1 commented 8 years ago

Sure,i'd love to be a part of the fun stuff and watch the magic happens xD

I'm familiar with Slack, we used it alot for the popcorntime team chat.

luigiplr commented 8 years ago

Emails pls.

Breaking1 commented 8 years ago

Fucking great,here you go fuckoff@sucker.com

@pepijn809 doesn't trust his email with me he's just affraid ill find and stalk his girlfriend.

Thank you so much i will accept in the near future and raise hell if that chromecast feature doesn't live up to my insane standards xD

luigiplr commented 8 years ago

@Breaking1 i invited the email you posted prior :P

pepijn809 commented 8 years ago

@luigiplr Sounds cool man, and damn that breaking does stalk my like not exisiting girlfriend currently. He be crazy man :p

But, i'm definitely interested in helping out.

badabum@badabam.com is my e-mail, Pls dont't stalk me girlfriend ^©^

jaruba commented 8 years ago

@pepijn809 invited and spoofed your email.

Breaking1 commented 8 years ago

@luigiplr yeah i know,since it was my private email,i changed it after receiving the invite.

Ivshti commented 8 years ago

Btw someone mentioned Connect SDK somewhere - http://connectsdk.com/ Yes, it's only android/ios, but it appears good, and we can learn a ton from it.

jaruba commented 8 years ago

@Ivshti

Btw someone mentioned Connect SDK somewhere

Here: https://github.com/jaruba/PowderPlayer/issues/51#issuecomment-154504139

Ivshti commented 8 years ago

This "web app bridge" literarily has nothing to do with what we need. "JavaScript bridge" just means something to control/interact with the connect sdk, not a way to use it through anything nw/electron-based.

jaruba commented 8 years ago

I think the web app thing can be used for casting videos, but the remote control from the tv won't work so it's useless anyway. This sparked my curiosity though: https://github.com/ConnectSDK/Connect-SDK-Windows

But I didn't get around to playing with it yet, so I can't be sure if it's useful or not.

jaruba commented 8 years ago

The thing is, if they really do have a functional library for windows, and if it can be built for the other platforms too.. Wouldn't it be possible to make it into a node.js native module?

If Connect SDK could be built as a native module it would be a total game changer for casting.

Ivshti commented 8 years ago

I saw that, you may have noticed I starred it.

"if they really do have a functional library for windows, and if it can be built for the other platforms too" - same goes for android/ios. Windows is no different, it's all the same principle

"Wouldn't it be possible to make it into a node.js native module?" - nope, that's C#

jaruba commented 8 years ago

"you may have noticed I starred it."

I did not notice that, but I have found this post on the author's blog about that repo: http://sorin.serbans.net/blog/2015/08/connectsdk-windows/507/

It's pretty far from what we need..

matbee-eth commented 8 years ago

.net core exists now ;)

luigiplr commented 8 years ago

.net core exists now ;)

it's happening

samukets commented 8 years ago

Some prevision about this feature release?

samukets commented 8 years ago

Maybe analysis popcorn time git is a good idea...

luigiplr commented 8 years ago

Maybe analysis popcorn time git is a good idea...

ENHANCE

YIFYtorrents commented 8 years ago

@luigiplr Are you trying to rip of the chromecast feature from popcorn time and then integrate to powder?

jaruba commented 8 years ago

@samukets @YIFYtorrents + others that recommended this

There's no need to rip anything from anywhere, we're making our own thing.. I already streamed to Chromecast, supported and unsupported files (by transcoding) thanks to the efforts of @acidhax and @SchizoDuckie .

It's just a question of how to fit it best in Powder's code now.

YIFYtorrents commented 8 years ago

You are free to copy any code you want: chromecast.js

There's no need to rip anything from anywhere

I was just kidding dude!

samukets commented 8 years ago

we are family :+1: , LOL uhuhau

jaruba commented 8 years ago

Powder Player Nightly Pre-Release now supports Chromecast with subtitles and advanced subtitle features. Airplay and Advanced DLNA support is also available.

The official announcement for Powder Player Nightly Pre-Release and the download link can be found here: https://www.reddit.com/r/PowderPlayer/comments/4ralk2/powder_player_v100_prerelease_available_for/

I tested it on an older Chromecast. (not the new version)

If any of you test it too, please make sure to tell me how it went as it still needs more testing.