Well now I finished my hacky solution.. which consists of 3 parts
        1. fetch stream with mplayer
                mplayer -dumpstream "rtp://myhost/mystream" -dumpfile 
/${dumpfile}

        2. encode with ffmpeg and send to ffserver
                ffmpeg -i /${dumpfile} http://ffserverHostname:8090/feed1.ffm

        3. use ffserver to distribute flv video. here the important part of the
        ffserver config (just add these lines to the standard /etc/ 
ffserver.conf)
                <Stream flash1.flv>
                        Feed feed1.ffm
                        Format flv
                        VideoFrameRate 10
                        VideoSize 320x240
                        Preroll 5
                </Stream>

to run the whole thing you'll have to start in the opposite direction.
hope this works for you too
cami.


Am 10.04.2007 um 17:58 schrieb Myers, Jon W:

> So, since it is impossible to use ffmpeg to create a working live  
> swf stream, does that mean red5 can't do it either, since from what  
> I can find, it would normally use ffmpeg to encode?  So the only  
> "solution" is to drop $4000 for FMS?  Or is there some other  
> product out there?  So far, I've tried vlc, ffmpeg, ffserver, and  
> darwin streaming server (only streams to quicktime).
>
> If re-encoding a live mpeg4 stream to swf/flv is indeed possible,  
> please post a working example (or send me something off list).   
> I've been seaching the net, mailing lists, forums, IRC, etc.. for  
> the past two weeks trying to do this, to no avail.  I'm not even  
> sure FMS can do it, so its a bit scary to throw away that kind of  
> money on an unknown.  Sure, it SAYS it can do it, but so do all the  
> other packages.
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to