elcuervo / airplay

Airplay bindings to Ruby
MIT License
1.07k stars 71 forks source link

Add live conversion to airplay-cli #51

Open elcuervo opened 11 years ago

elcuervo commented 11 years ago

in #48 there was a discussion on the supported formats that the lib should take in consideration. Since encoding is out of the lib scope a live conversion feature will be added to airplay-cli so it also works as an example implementation.

andoriyu commented 10 years ago

--So as I understand you going to transcode video to FIFO pipe via ffmpeg/libav?-- UPD. That was stupid idea since mp4 can't me streamed via fifo. Opening file while transcoding isn't am option neither. I can only think of making temp dir with segments for HLS, but airplay doesn't support playing those playlists (yet).

elcuervo commented 10 years ago

The idea behind this is to use mpegurl and progressively stream the segments. The good part of this is that it ties directly with #38 and it will help on that aspect.

bitboxer commented 10 years ago

I would really love to see this implemented. Any help I can give you with that?

elcuervo commented 10 years ago

@bitboxer I'll add a plugin system for the gem/cli so people can extend it. That being said I have mixed feelings about the lib itself. I'm thinking about writing a Go version so it can run in all the systems without any dependency.

andoriyu commented 10 years ago

I kinda like lib being in ruby, I''m using it in my project as gem.

elcuervo commented 10 years ago

@andoriyu Cool. In what kind of project are you using it? My plan is not to leave the rubygem. I just didn't knew if people are using it ^_^

andoriyu commented 10 years ago

Home Server software: web ui for rtorrent paired with database for media content (just like plex, but all in ruby), and ability to stream any media file to any selected selected airplay host, unfortunatly I convert video files prior streaming if it's not supported.

sodabrew commented 10 years ago

The project has 848 stars and 50 forks, too, it's popular!

elcuervo commented 10 years ago

@sodabrew haha, seeing real world usage makes me happy. :heart:

bitboxer commented 10 years ago

I use it all the time and :heart: it !