Video codec applied to Facebook Go live setup tutorial
In today’s age of fans, more and more people are using facebook, youtube and other platforms to broadcast live.Platform rules are getting tighter. If you want to live stream video and audio on facebook, you need the hardware and how to set it up. I’m going to share a tutorial on this topic, which I hope will help you.
We set the audience as the primary users and professional users:
Primary user hardware: computer, USB camera, small room, software setup tutorial: OBS Studio software, facebook Settings
Professional user hardware: computer, hardware encoder, professional camera, switchboard, Studioo software setup tutorial: HEVC Codec settings, facebook setup
1.OBS Studioo method for primary users to push live streaming to facebook (the computer operating system is windwos 10)
1) First, confirm that the USB camera has been connected to the computer and is in normal use. Log in to your facebook account. Click … -Live Video in the lower right corner of News Feed-Create Post. Open the facebook configuration page, choose Connect , the connect facebook profile page is then displayed. Keep the page open, find “Server URL” and “Persistent Stream Key”. They are followed by a copy button, click copy for use.
2)Open the installed OBS Studio software,Click + select the source Device -Video Capture Device in the Sources window of the main software window. At this time, you will see the camera image successfully displayed, click OK, and enter the main window to manually customize and adjust the size and position of the live broadcast video. (if no image is displayed, please check whether the USB camera is working properly. Note: the audio device setting method is the same.)
3)Open the main menu “File-Settings-Video”, Set video live stream resolution “Out Resolution”(Depending on your bandwidth, the resolution below 1Mbps bitrate is generally set below 1280*720), “Common FPS Values” set 30fps. File-Settings-Audio, Audio can be set as the default parameters “Sample Rate 44.1Khz,Channels Stereo”.
4)Set video live stream output bit rate to open the main menu, “File-Settings-Output,Output Mode-Simple,Streaming”. It has 3 core Settings:Video Bitrate-500Kbps(According to the national bandwidth situation definition, the recommendation is above 500Kbps), Encoder-Software(X264),Audio Bitrate-64.
5)The last setting connects to the facebook interface, File-Settings-Stream choose Service-Custom…, Server-Enter the Server URL for the facebook configuration page, Stream Key-Enter the Persistent Stream Key for the facebook configuration page, Then select the OK button on the bottom right and we are done with the core configuration.
6)Return to “Controls” in the lower right corner of the main interface, click “Start Streaming”, the facebook configuration page receives a live stream and generates a preview window. At this time, you can click the bottom right solution “GO live” button to achieve the effect you want.
2.Professional encoder pushes live streaming to Facebook platform
1)First confirm that the HEVC Codec has been connected to the signal source and is in normal use. Log in to your facebook account. Click … → Live Video in the lower right corner of News Feed-Create Post. Open the facebook configuration page, choose Connect , the connect facebook profile page is then displayed. Keep the page open, find “Server URL” and “Persistent Stream Key”. They are followed by a copy button, click copy for use.
2)ENC2 Pro HEVC codec hardware developed and produced independently by JLONvision is a 2 channel of 4K 60fps embedded video and audio hardware HEVC Codec,It is also a 1 channel decoder and can be converted into a 4 channel IP transcoder. It applies H.265 and H.264 encoding standard.
We need to log into the hardware video encoder ENC2 Pro setup page, open a browser to http://192.168.0.217 (User name: admin Default password: admin). Select main menu ”Dashboard”, Check whether the signal source is normal under Preview, Then select “Encode” page from the main menu to set encoding parameters, as shown in the following figure, according to 1-encoder config,2-video size 4K(ENC2 Pro support 4K 60fps),3-encoding format choose H.264 High Profile(Because the facebook platform does not yet support HEVC Codec),4-settings rate control-VBR,bitrate input 1500 Kbps, enable-on,5-save settings.
3) Switch the main menu to Stream page to set the hardware HEVC Codec pull live video streaming,ENC2 Pro default setting turns on all live streaming protocols, according to 1-stream, 2-check whether RTMP protocol is on, 3-open push Stream key,4-fill in address: rtmps://live-api-s.facebook.com:443/rtmp/2448344288745844?s_bl=1&s_ps=1&s_sml=3&s_sw=0&s_vt=api-s&a=AbxSrYsV5fTalt-1(Server URL/Persistent Stream Key),5-save settings,6-click Play URL,7-Check it if the save working.
4)Select Options–System, 2-click Reboot, Hardware video encoder from the main menu to complete the setup (restart only takes 10S).
5) Switch to the Facebook profile page that you just opened, and you will find that you have received a preview of the Live stream. At this time, just click “Go Live” in the lower right corner of the window to publish the Live program to the public or circle of friends. (note: since the platform is strict in reviewing the program source rights version, issues related to pornography and terrorist organizations, we hope that your live program will not have these issues, otherwise Facebook will freeze this function)
It’s really easy to do. I’m not going to go over some of the other details of the Facebook configuration page here, but it’s only a matter of doing it a few times before you understand it.
Video encoder and media server settings tip
If you have any questions, please feel free to contact us by [email protected] or whatsapp+8613602491788