Wowza Community

Duplicate Live Stream And Pass Through FFMPEG

Hello,

I’m looking into ways in which to take a live stream and duplicate it, then process one of the copies server side through ffmpeg (specifically, to crop and rotate the video).

After that both the raw and processed live streams could be visible at two different urls.

Do you have any suggestions for how to accomplish this?

Thank you,

James

I would just start FFMPEG as an rtsp (or RTMP) client and then use FFMPEG to republish the stream. FFMPEG can read and write to standard Wowza endpoints:

https://trac.ffmpeg.org/wiki/StreamingGuide

I was thinking you would publish as normal to a wowza endpoint then have FFMPEG read that endpoint and publish to a second endpoint.

Thanks for the response.

So, just to clarify, I would stream from my computer to FFMPEG on a server which would in turn stream to two Wowza endpoints?