Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Play RTMPDUMP output in Flash Player

(http://stream-recorder.com/forum/showthread.php?t=12664)

dattagample 05-22-2012 02:34 AM

Play RTMPDUMP output in Flash Player


 
Hi,

I am reading live streaming, using rtmpdump. It works perfect with VLC player, since VLC player has capability of read from STDIN input.

But instead of VLC Player, I want to play received data through SWF Flash Player.

In another words, Is it possible to redirect rtmpdump ouput data to Flash Player.

Can anyone guide me or provide some reference, which can help me into this.


Regards,
Datta

compn 05-22-2012 05:33 AM

Re: Play RTMPDUMP output in Flash Player


 
kind of tricky, but it maybe possible, you need:

ffmpeg built with rtmpdump
adobe flash server (or wowza or other rtmp server)


run ffmpeg with all of the options required for the stream to work, e.g.
ffmpeg -i "rtmpe://... swfurl=blah pageurl=xxx app=yyy"

then output it to your flash server using: -c copy -f flv rtmp://serverip/app/streamName

or if you just want a simple, non-streaming playback in flash player, you can have ffmpeg output to an .mp4 file and create some simple flash embed html to open your .mp4 file on a webserver.


All times are GMT -6. The time now is 04:23 PM.