mekya Posted February 21, 2021 Share Posted February 21, 2021 Hi Guys, We've just made a quick video call with guys(Rj, Andrej and Konrad) in the community. They have shared their experience about using the Ant Media Server. For me, it's good to know the best practices for jitter and pixelating. Just make the frame rate in OBS and Ant Media Server are same. By default, Ant Media Server uses 20fps for transcoding the stream. OBS may have 25 or 30fps. Set the same value for both of them. Remove B-Frames in OBS. If you also set profile to baseline and tune zerolatency, it removes the B-Frames Set the key frame interval to 1 sec in OBS. If your instance is having more 8 cores CPU and using transcoding, it may be helpful to set thread count to 8 in app's red5.properties file webapps/[APP]/WEB-IND/red5.properties settings.encoding.threadCount=8 Please correct me guys if I'm wrong or missing anything. Thank you so much. Regards, A. Oguz Link to comment Share on other sites More sharing options...
Konrad Piwowar Posted February 22, 2021 Share Posted February 22, 2021 Hey, Just a quick followup question - is this threadCount variable effectively the same thing as settings "-threads 8" in an ffmpeg command line when transcoding to h264 video? Link to comment Share on other sites More sharing options...
mekya Posted February 23, 2021 Author Share Posted February 23, 2021 Hi Konrad, Yeah likely the same way. We figure out that h264 encoder gets the number of cores in the CPU and try to create that number of thread for transcoding. Regards, A. Oguz Link to comment Share on other sites More sharing options...
Recommended Posts