We’ve got a brand new guide for you on RTSP, RTMP, and NDIⓇ stream settings with our cameras. Tune in today to learn and grab the guide!

Of first note is that all of these streams have been set to use H.264 compression as it is currently the most widely used protocol. Changing to H.265 or MJPEG, which are also available, will require different settings. So you are likely well aware of what the resolution and frame rate are but may not be as aware of the requirements that coincide with those selections. As we increase the resolution, frame rate, or both, we need a larger pipeline (i.e. more bandwidth) to properly support the connection. Thus, we will increase that pipeline by adjusting the bitrate accordingly, as shown in the chart above. Example: 1920 x 1080 at 60 FPS requires a bitrate or 12,288 Kb/s while the same resolution at 30 FPS only requires a bitrate of 8,192 Kb/s. We are transmitting less information and thus the bitrate can be smaller. PTZOptics Streaming Settings Guide ​(RTSP, NDI and RTMP) Produced on 2018-4-6 by Matthew Davis If there is not enough bandwidth allocated, the network cannot support the set bitrate, or the camera is told to use too high of a bitrate then artifacting will occur. Another setting of interest would be the i-frame interval that relates directly to the H.264 compression and how it will handle your stream.

When adjusting this setting, you are telling H.264 how many full images or frames (as opposed to a predicted image or frame) to send per second. The lower this number, or shorter the interval, the better chance you have of high quality video without artifacts at the expense of bandwidth. Just as it sounds this is a balancing act. The more predictive frames used, the lower your overall bandwidth usage will be, which sounds great… unfortunately this also means we are allowing H.264 to predict more of the imagery without updated references, full images, which can lead to artifacting or even very strange behavior with subjects moving where they aren’t supposed to be.

The last setting we’ll be covering is the differences between CBR, Constant Bit rate, and VBR, Variable Bit Rate. VBR is a very enticing technology that, to save bandwidth, will vary the bitrate depending on the complexity of the scene, sounds awesome right? While VBR generally provides better compression and thus higher quality for the same amount of bits, it is not recommended because the peaks in bitrate can result in skips or buffering. In addition, some solutions for viewing the stream can average the incoming VBR resulting in video freezing when an overly complex scene occurs.

In short, while it may be useful in certain scenarios VBR is not recommended for a professional live stream due to the complexities and unpredictability it introduces. Note that when using multicast these same settings will apply just via a different transport while lowering the impact on the network for multiple viewers / producers

So in the above recommended settings for use as an NDI source you’ll notice that the only change is to the i-frame interval. The correlation is that rather than generating a new i-frame every second, we will be generating a new i-frame every two seconds. This is to allow NDI™ to manage the stream to provide the low latency and high quality that is synonymous with NDI™. Please feel free to adjust these as needed based on your network conditions, but know that the changes may impact the overall quality of your streaming experience.

When looking into recommended settings for an RTMP stream that is being delivered to a service such as YouTube or Facebook, it is always best to reference the service providers recommended encoder settings and find the best match based on what the camera is capable of and by network bandwidth limitations you may have. Below are a few examples from some of the popular services to use as a reference:

PTZOptics Live Streaming Camera Manufacturer focused on HD-SDI, USB 3.0, HDMI and IP streaming cameras. Our YouTube channel features live broadcasting tips, tricks and tutorials for live streaming and more.

✓ Watch our Latest Friday Live Stream: https://www.youtube.com/watch?v=QItkvlnhQyM&list=PLyY0t7zWqRQoVWffzTC2B7eWwO0DqdCFC

✓ Subscribe to our YouTube Channel – http://www.youtube.com/channel/UCa-H8O_q6M6P9XkgLmzxxDw?sub_confirmation=1

✓ Join the Giveaway of the Week – http://ptzoptics.com/giveaway/

✓ Free UDEMY Course on how we live stream here: http://ptzoptics.com/landing/coupons.html

Hashtags: #ptzoptics, #livestreaming, #tech, #videoproduction, #PTZCameras, #streamingmedia, #webinar, #collaboration #wirecast #vmix #newtek #Tricaster #blackmagic #FacebookLive #YouTubeLive

Frank griffin

View all posts

Add comment

Your email address will not be published. Required fields are marked *

Get in touch

We would love to hear from you!