Skip to main content
Participant
March 6, 2012
Question

How to republish stream with lower quality

  • March 6, 2012
  • 1 reply
  • 958 views

Hey guys, I was wondering is there a way that I can receive stream on my broadcast server and then republish that stream with lower quality on the same broadcast server. I was reading server side API reference but I couldnt find anything like that.

Only thing I found is to use %i in FMLE Stream field and then broadcast same stream with different bitrates, but can I take live stream that is being broadcasted and republish it with lower quality/bitrate on the server side somehow?

Or there is another way to achieve this?

I am running FMS 4.5 and I am using FMLE to broadcast video to the server.

Thank you for your answers.

This topic has been closed for replies.

1 reply

March 6, 2012

FMS can't transcode streams. What you could do is use FFMPEG to pull the stream from FMS and publish a transcoded stream back into FMS.

Alternately, you could use Wowza Media Server and their transcoder plugin (fairly easy), or Wowza and Xuggler (requires a fair amount of programming)

Participant
March 6, 2012

Thank you for your answer Jay, the first solution sounds good but I dont know how much would that be stable, that means that I need to use for example rtmpdump with ffmpeg, or ffmpeg has a way to dump live stream transcode and republish back?

March 6, 2012

FFMPEG supports RTMP, so it's capable of subscribing directly to the stream on the server, and publishing a transcoded stream back to the server without rtmpdump.

Of course, you'll need to develop your own code to instantiate ffmpeg with the appropriate flags.