Flash Video Streaming Solutions

November 8, 2009 | Projects | 4 Comments

So one of my secret obsessions is with video. I like to record video. I like to watch it. I like everything about it. But what I really like about it is the technology behind it. Call me crazy but I love to figure out how to encode a clip or video and see how good I can compress it using different codecs. Maybe that’s why I love working where I work. Since I ‘m a Flash / Flex programmer I have been wanting to investigate different streaming solutions for flash and see what is available and what will work with my little at home project.

This little project I’ve been playing around with is trying to get my HDHomeRun (HDHR) to rebroadcast its live feed to flash. I’ve been investigating technologies like Red5, C++ RTMP Server and Flash Media Server. With anything that requires multiple pieces of different technologies. The hard part is integrating these different pieces together. Luckily the HDHR is open source. So that provides a lot of avenues for development. The only hard part is trying to get the MPEG-TS from the HDHR and convert it on the fly to something flash can use.

So far I haven’t been able to get any of the solutions to work. but as soon as I do I’ll post something here.

4 Responses to “Flash Video Streaming Solutions”

  1. I just ordered a VGA2USB convertor from epiphany to reroute the vga out of my laptop back in via usb in hopes that FMLE will recognize the feed. I’ll keep you posted.

  2. Seth Meranda says:

    I’ve been trying to figure out the same concept. Did you ever find a solution that works? Ideally, I’d love to take the video from my HDHomeRun and convert it on the fly into a RTMP stream where my Flash Player in Boxee can pick it up through a custom app. I believe I have the app concept flushed out well, it’s just a matter of converting the video signal into something Flash can read. I’d love to hear what you found out.

    Thanks!

    • n8o says:

      Boxee should be able to connect to an HDHomerun over your local network without needing to do any conversion. I’m not sure how to do it on boxee. But with XBMC and Plex all you have to do is just a new video source under the video section. I imagine the same would be true for boxee since it’s based on xbmc.

      If you still want to transcode video from an HDHomeRun to RTMP the best solution I’ve found is using xuggler. It can run as a standalone piece from red5 or even with it. if you are only going to be using this with just a few connections then wowza media server is nice. you can get a developer copy for free with limited features. but you have to encode the video to h.264 before wowza will let you export it to flash / silverlight / iphone / html5. Both solutions require knowing java.

  3. Andrei says:

    crtmpserver supports H264/AAC for the codec part and the following protocols for ingesting:

    - RTMP(E,T,TE,S)
    - RTSP/RTP
    - LiveFLV
    - MPEG-TS

    Is able to spit out RTMP from those sources (on the fly, as you requested).

    However, if your source is live and not in a compatible format, you can always transform it using ffmpeg for example. Moreover, you can do that live :)

    source -> ffmpeg -> crtmpserver -> flash client(s)

Leave a Reply

Fork me on GitHub