Live data from Hacker News

Show HN: BigScreen sends pictures and music from OS X to ChromeCast

roguesavant.com

11–20 of 38 posts

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#11
Nice, I have been looking for something like https://github.com/thibauts/node-castv2-client for a while.

All of the other NodeJS clients I found were written for version 1 and stopped working, so I ended up forking Popcorn Time and hacking it to work in a regular browser so I could use the official Chromecast Extension.

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#12

Nice, I have been looking for something like https://github.com/thibauts/node-castv2-client for a while. All of the other NodeJS clients I found were written for version 1 and stopped working, so I ended up forking Popcorn Time and hacking it to work in a regular browser so I could use the official Chromecast Extension.

Yeah, spent a couple of hours trawling the web before I stumbled upon that: gold, that one. I'd originally started using ChromeCast's DIAL support but that's apparently deprecated, which is a shame because the replacement is quite a bit more complicated.

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#13
post #7
post #6

Looks nice! I've been using https://github.com/googlecast/CastHelloVideo-chrome plus some custom Java code to stream video content for a few months now. I'd love to have something like this as a UI instead of my cobbled mess. Drop me a PM or email @gmail if you want to compare notes. Cheers!

Thanks. Will reach out once I get a chance: the video transcoding/streaming will be the real heavy lifting. This was mostly just a node-webkit exercise, but not sure how cleanly it will merge with the Chrome code you linked to.

The transcoding isn't actually too bad. You basically just need ffmpeg compiled from source on your box, and you can use https://github.com/fluent-ffmpeg/node-fluent-ffmpeg . You just need to transcode everything go h264 / AAC (so make sure you compile with libfdk_aac ).

The thing I have been unable to figure out so far is how to start streaming to chromecast before the transcoding is complete. It will play to the point it was transcoded when I started playing, regardless of how far it has gotten since then. I have tried transcoding to HLS which chromecast supports, but have not been able to figure it out.

Are you planning on develping this open source? I didn't see a github for the actual project on first glance.

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#14
post #8
post #5

If it was for Linux I'd gladly give it a spin.

It will be available for Linux (at least Ubuntu): I just need to brush off my old scripts for generating .deb packages and I'll have something. Just didn't want to dawdle and let it fall into my pile of neglected projects.

Would something like https://github.com/jordansissel/fpm help?

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#16
post #15

Try this for on the fly transcoding even unsupported media: https://github.com/mustafaakin/cast-localvideo Disclaimer: I made this, but people seems happy using it.

Thanks! Will make a note of that: I was afraid the answer would have to be ffmpeg (as it so often is with video). Was hoping for something neater, but I guess I should just be grateful for ffmpeg.

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#17
post #14
post #8

Earlier quoted context omitted.

It will be available for Linux (at least Ubuntu): I just need to brush off my old scripts for generating .deb packages and I'll have something. Just didn't want to dawdle and let it fall into my pile of neglected projects.

Would something like https://github.com/jordansissel/fpm help?

Indeed it could: thanks!

Re: Show HN: BigScreen sends pictures and music from OS X to ChromeCast

#19
post #7

Earlier quoted context omitted.

Thanks. Will reach out once I get a chance: the video transcoding/streaming will be the real heavy lifting. This was mostly just a node-webkit exercise, but not sure how cleanly it will merge with the Chrome code you linked to.

The transcoding isn't actually too bad. You basically just need ffmpeg compiled from source on your box, and you can use https://github.com/fluent-ffmpeg/node-fluent-ffmpeg . You just need to transcode everything go h264 / AAC (so make sure you compile with libfdk_aac ). The thing I have been unable to figure out so far is how to start streaming to chromecast before the transcoding is complete. It will play to the po…

Thanks for the transcoding tips: will look into that.

Wasn't actually thinking about github for this: if I develop a lot of free time I might tidy it up for public consumption, but by default its not particularly well commented or documented.

Post reply on HN