Live Streaming over rtmps using FFMPEG

0

Facebook has deprecated rtmp for Live API. My question now is how to use ffmpeg to stream live over rmtps? Here is my last command.

ffmpeg -re -i 'https://sample-videos.com/video123/mp4/480/big_buck_bunny_480p_30mb.mp4' -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 720x480 -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -f flv rtmp://live-api-s.facebook.com:443/rtmp/...

Islem Boussetta

Posted 2019-05-20T11:19:52.247

Reputation: 1

Answers

0

Try to use rtmps://live-api-s.facebook.com:443/rtmp/... instead of rtmp://live-api-s.facebook.com:443/rtmp/...

ffmpeg -re -i 'https://sample-videos.com/video123/mp4/480/big_buck_bunny_480p_30mb.mp4' -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 720x480 -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -vcodec libx264 -preset veryfast -g 30 -r 30 -f flv rtmps://live-api-s.facebook.com:443/rtmp/...

user1722669

Posted 2019-05-20T11:19:52.247

Reputation: 1

I run FFmpeg 3 on my server and it doesn't support rtmps – Islem Boussetta – 2019-09-03T09:33:29.623

what about zeranoe builds ? https://ffmpeg.zeranoe.com/builds/

– user1722669 – 2019-09-09T11:29:03.720