[Red5] Red5 stream Flv file Live

Peter Thomas ptrthomas at gmail.com
Sat Nov 28 09:05:33 PST 2009


It is possible to publish an FLV file from your local machine "live" to Red5
using the Flazr project [ http://flazr.com ] - and I have uploaded a YouTube
video of a demo of this here:

http://www.youtube.com/watch?v=S6DzgaMb0q0

H.264 should also work, but needs testing.

- Peter.

On Wed, Nov 25, 2009 at 5:34 AM, Maciej Sawicki <viroos.pl at gmail.com> wrote:

> On Wed, Nov 25, 2009 at 00:47, Shawn Mohammed <coolfiger at gmail.com> wrote:
> > i would also liek to get an answer on this
> >
> I'm not sure about red5, but I asked the same question on rtmpd forum.
> This is Eugen-Andrei Gavriloaie’s  (rtmpd creator) answer:
>
>
>
> Yes, it can be done but just not in the form you want.
> FLVInboundStream is derived from FileInboundStream?. Which is in fact
> a real file on disk. I need it to be real file because I need
> forward/backward seeking.
>
> If you want your data "live" but in a FLV container, you could build a
> protocol and use it inside a class derived from BaseInboundStream?.
>
> The entire structure should look like this:
>
> class MyCustomProtocol:public BaseProtocol
> {
>    //this will handle the input data
> };
> class MyLiveFLVStream:public BaseInboundStream
> {
> private:
>    MyCustomProtocol *_pCarrier;
>    //here the _pCarrier will be signaled when data is available
>    //and you can call  FeedAudio/FeedVideo properly
> }
>
> I will prepare some examples of getting data from external sources and
> tunnel them over RTMP. I hope I will be able to do this by the end of
> this week.
>
> Looks like too many people needs this kind of functionality. Look
> here for example. He needs almost the same thing.
>
> Regards, Andrei
>
>
> Full context: http://rtmpd.com/discussion/1/43, but now discussion was
> moved to google groups: http://groups.google.com/group/c-rtmp-server
>
> regards,
> Maciej Sawicki
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20091128/8d9b87e2/attachment.html>


More information about the Red5 mailing list