RTSP Streaming Inputs with OBS + PTZ Camera Controls
Learn how to set up RTSP camera streams inside OBS (Open Broadcaster Software) in this short 5-minute video. This is the easiest way for many people to use IP cameras with OBS. Using just a single Ethernet cable, you can stream video directly into your OBS software using the Media Source input selection. The Media Source selection for inputs in OBS is usually known for playing out local media files but it can also be used for ingestion of live video streams coming from your LAN (local area network).
Once you have clicked the plus button in your OBS scene to bring in a "Media Source" you can name the source. If you are using multiple RTSP camera streams I highly recommend using a name you can remember and consider adding the IP address to the name. Since you need your IP camera's IP Address to pull an RTSP stream from the device it's a nice time saver for the future. In fact, many times when you are dealing with multiple cameras it is handy to have the static IP addresses set up in sequential order. When you open up the properties for your OSB media source input you can uncheck all the default boxes that are set up for local media. You want to use the "input" field to type in your RTSP video feed information which is usually done with "RTSP://" and then the IP address of your camera followed by the RTSP stream number. For PTZOptics cameras this would be "/1" for the high definition stream and "/2" for the standard definition stream. Therefore we used our camera's IP address which was 192.168.1.60 like this "rtsp://192.168.1.60/1" to pull in the full 1920x1080p 60fps RTSP stream.
When it comes to optimizing your RTSP settings for OBS I will refer to our latest article on the subject here. As you know from the video the PTZOptics cameras are capable of producing two simultaneous RTSP video feeds (one high definition and one low definition) that can be set up to work perfectly with OBS. For this video, we have the RTSP settings using h.264 video encoding with a resolution of 1920x1080p. The bit rate is set to 12,288 which allows us to use a frame rate of 60 frames per second with high-quality video. We are using an I keyframe interval of 120 with CBR (Constant Bit Rate) enabled.
Learn how to optimize your RTSP Settings for PTZOptics Cameras here - • Optimized Streaming Settings for RTSP...
We have a picture in picture setup shown with OBS to share how quickly and easily we can take control of multiple cameras inside OBS. We can also connect to the PTZOptics cameras using the static IP address for pan, tilt, and zoom controls. The PTZOptics OBS PTZ camera controller is available for download on the OBS forums here. The PTZ Camera controller includes the ability to control up to 8 unique PTZ cameras inside OBS and call camera preset positions easily within the live streaming software. We demonstrate control in this video briefly but also have a link to this video for more information.
One important factor to consider with RTSP video streaming is latency when paired with an additional audio source. You can ingest audio into your RTSP streaming h.264 encodings directly in the camera using the 3.5mm audio input. If you do this there will be no need to delay your audio inputs in OBS. But if you are trying to match the audio from your mixer with the video coming from the RTSP stream on your network there may need to be a slight delay added. You can do this in the Advanced Audio Properties in OBS. OBS has an audio setting called "Sync Offset" which is controlled in ms (milliseconds). You can offset or delay your incoming audio in order to sync up your RTSP video that may be coming in anywhere from 100 to 1,500 milliseconds late when compared to your audio. Start trying to delay your audio by just 250ms. If that works you should be just fine using CBR (Constant Bit Rate) as your network will do its best to deliver a healthy video stream consistently. But, you may need to add additional delay to match up to your RTSP video stream up to 1-2 seconds. When doing this remember that the
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: • NDI.CLOUD - SIENNA NDI - Cloud Based ...
✓ Subscribe to our YouTube Channel - / @ptzoptics
✓ Join the Giveaway of the Week - http://ptzoptics.com/giveaway/
✓ Free UDEMY Course on how we live stream here: http://ptzoptics.com/landing/coupons....
Hashtags: #ptzoptics, #livestreaming, #tech, #videoproduction, #PTZCameras, #streamingmedia, #webinar, #collaboration #wirecast #vmix #newtek #Tricaster #blackmagic #FacebookLive #YouTubeLive
Watch video RTSP Streaming with OBS online without registration, duration hours minute second in high quality. This video was added by user PTZOptics 14 May 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 155,038 once and liked it 632 people.