Publish webcam feed to Flash Media Server

2019-06-01 17:38发布

问题:

I have a fairly high-end webcam (snc-rz25n) that I need to rebroadcast using the Flash Media Server. I can get the picture as MPEG-4 (not h.264). So I need to transcode to h.264 and publish at multiple bitrates to FMS.

The only solution I have been able to come up with thus far is to transcode the stream using ffmpeg and then also use ffmpeg to downconvert the stream (for the multiple bitrates) and then publish all of these transcoded streams to FMS via custom Java code (using Red5).

Surely there is a better way. Flash Live Media Encoder is not going to work. The camera is on the network, not direct connected, and I need a linux solution.

回答1:

I believe you have found the best solution until FMS supports live transcoding. I know that Wowza (FMS competitor) is planning on a feature similar to this for Q4 20111.