Skip to main content
Participant
July 17, 2013
Question

Live Streaming for website, IOS and Android at same time from FMS

  • July 17, 2013
  • 1 reply
  • 1133 views

Just wondering is there available way to get FMS to stream out different bitrates from one live stream? means I have to stream same live video to different platforms lilke website, IOS and Android device at a same time.

Please Help me out.

thanks in advance.

This topic has been closed for replies.

1 reply

July 17, 2013

Javed Maner wrote:

Just wondering is there available way to get FMS to stream out different bitrates from one live stream? means I have to stream same live video to different platforms lilke website, IOS and Android device at a same time.

Please Help me out.

thanks in advance.

Yes you can loop the livestream back to itself and cut the video bitrate & audio bitrate using "ffmpeg" from the command line or shell

for example:

# ffmpeg -re -i 'http://127.0.0.1/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8' -b:v 500k -s 640x360 -c:v libx264 -c:a aac -strict -2 -bsf:a aac_adtstoasc -f flv "rtmp://127.0.0.1/livepkgr/livestream2?&adbe-live-event=liveevent&adbe-record-mode=record"

You can also immediately create .mp4 ISO files with ffmpeg as well..

# ffmpeg -i 'http://127.0.0.1/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8' -c:v libx264 -c:a aac -strict -2 -bsf:a aac_adtstoasc livestream1.mp4

Hope this helps.

July 17, 2013

Forgot audio bitrate switches if you also want to cut down the audio to make the mobile stream as small as possible increasing the unlikelyhood of mobile buffering over 2g and 3g networks.

-b:a 64k

-b:a 96k

-b:a 128k

-b:a 160k

-b:a 192k

Participant
July 18, 2013

Thanks for the reply.