Difference between revisions of "External Encoders"

From Soulcams Wiki
Jump to navigation Jump to search
(3. Configure OBS Settings)
(How to set the correct keyframe interval to load your stream faster)
 
(35 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
= OBS =
 
= OBS =
  
==How to set up  OBS==
+
==How to set up  OBS on SoulCams==
  
 
Open Broadcasting Software (OBS) is an open source streaming software which provides broadcasters control to configure stream settings and customizable plugins so they can enhance viewer experience.   
 
Open Broadcasting Software (OBS) is an open source streaming software which provides broadcasters control to configure stream settings and customizable plugins so they can enhance viewer experience.   
  
==How to set up OBS on SoulCams==
+
Please see the step by step guide below on how to stream with OBS on SoulCams or watch our illustration video on Youtube:
 +
 
 +
<span style="font-size:170%">[https://www.youtube.com/watch?v=Ry3A53vbZ1w Click here for a video demonstration on how to set up OBS on SoulCams]</span>
  
 
===1. Download OBS Studio===
 
===1. Download OBS Studio===
Line 23: Line 25:
 
===3. Configure OBS Settings===
 
===3. Configure OBS Settings===
  
* Open OBS studio and click on '''Tools menu''' and '''Auto Configuration Wizard'''. Select '''Optimize for streaming, recording is secondary''' and hit ''''Next''''
+
====Stream Settings====
* Video settings:
+
 
** '''Base (Canvas) Resolution''': select '''Use current (1280x720)'''
+
In OBS Studio click on ''''Settings'''' button (bottom-right corner of the software) and select ''''Stream''''  
** '''FPS'''select '''Either 60 or 30 but prefer 60 when possible'''. Hit ''''Next''''
+
 
* Stream information:
+
* '''Stream type''': choose '''Custom Streaming Server'''
** '''Stream type''': choose '''Custom Streaming Server'''
+
* '''Server''': paste the URL here you got in the SoulCast model app window
** '''Server''': paste this URL there: '''rtmp://bintu-stream.nanocosmos.de:1935/live'''
+
* '''Stream key''': paste the key here you got in the SoulCast model app window
** '''Stream key''': '''FCXZp-0Jh7Y'''
+
 
** Leave the 'Prefer hardware encoding' and 'Estimate bitrate with bandwidth test' selected and hit ''''Next''''
+
====Output Settings====
 +
 
 +
Click on 'Output' settings and leave everything as it is, except the following:
 +
* Video Bitrate: 1500
 +
Note: for a resolution of 1280 x 720 you will need at least 1500 but you may enter higher. If you don't have enough bandwidth, try lower amounts. NOTE: Try not go below 1000, it will result in choppy, bad quality video.
 +
 
 +
====Video Settings====
 +
 
 +
* Base (Canvas) Resolution: '''1280x720'''
 +
* Output (Scaled) Resolution: '''1280x720'''
 +
* Common FPS values: '''30'''
 +
 
 +
Once you are done, hit 'Apply' and 'Ok'
 +
 
 +
====Selecting your camera====
 +
 
 +
At the bottom-left corner of OSB software look for the box ''''Sources''''. Click on the ''''+'''' sign and select ''''Video Capture Device'.''' 'Leave the 'Create new' selected, give a desired name to the preset or leave it 'Video Capture Device' by default and hit 'OK'.
 +
 
 +
'''Properties for 'Video Capture Device':'''
 +
 
 +
Leave all the settings as they are, except the followings:
 +
 
 +
** Device: '''select your webcam brand here'''
 +
** Resolution/FPS type: '''Custom'''
 +
** Resolution: '''1280x720'''
 +
** FPS: '''Match Output FPS'''
 +
 
 +
When you are ready to broadcast live, click '''“Start Streaming”''' in OBS. At the end of your broadcast, make sure to click on '''“Stop Streaming”''' in OBS.
 +
 
 +
Note: while using OBS, your camera stream will not be visible in the main window of SoulCast Streaming app as you are using an external encoder in this case. However you can click on 'Looking Glass' to see if everything is fine with your camera stream.
 +
 
 +
 
 +
===How to set the correct keyframe interval to load your stream faster===
 +
A keyframe interval, also called an i-frame interval, is an encoding setting that determines how often the whole picture is transmitted. If it is not set properly, your stream might start to load slow, causing frustration for the viewers.
 +
 
 +
 
 +
Please make sure to '''always use the latest version''' of OBS. '''Set the keyframe interval''' to the following so that your stream could load fast:
 +
* '''Settings / Output / Streaming / Advanced / keyframe interval''' and enter there ''''2''''.  Once done, hit  'Apply' and 'Save'.

Latest revision as of 11:44, 11 October 2024

What is an external encoder?

External encoders, such as OBS, allow you to push a higher quality stream to SoulCams by giving your more control over the encoding settings for your broadcast. High definition streams up to 4k are supported through external encoding. We then transcode the stream into multiple quality levels to allow viewers on any connection to enjoy your stream. Encoding is the process of converting the data from your camera into a stream that can be sent over the Internet and then decoded in your viewer’s browser. There are multiple software or hardware encoders available and can be used to broadcast on SoulCams if capable of RTMP output. Open Broadcaster Software (OBS) is an open source tool which is free to download and use on Windows, Mac, and Linux.

OBS

How to set up OBS on SoulCams

Open Broadcasting Software (OBS) is an open source streaming software which provides broadcasters control to configure stream settings and customizable plugins so they can enhance viewer experience.

Please see the step by step guide below on how to stream with OBS on SoulCams or watch our illustration video on Youtube:

Click here for a video demonstration on how to set up OBS on SoulCams

1. Download OBS Studio

Download OBS Studio from this link: https://obsproject.com/

2. Set Up Authorized SoulCams Stream Key

3. Configure OBS Settings

Stream Settings

In OBS Studio click on 'Settings' button (bottom-right corner of the software) and select 'Stream'

  • Stream type: choose Custom Streaming Server
  • Server: paste the URL here you got in the SoulCast model app window
  • Stream key: paste the key here you got in the SoulCast model app window

Output Settings

Click on 'Output' settings and leave everything as it is, except the following:

  • Video Bitrate: 1500

Note: for a resolution of 1280 x 720 you will need at least 1500 but you may enter higher. If you don't have enough bandwidth, try lower amounts. NOTE: Try not go below 1000, it will result in choppy, bad quality video.

Video Settings

  • Base (Canvas) Resolution: 1280x720
  • Output (Scaled) Resolution: 1280x720
  • Common FPS values: 30

Once you are done, hit 'Apply' and 'Ok'

Selecting your camera

At the bottom-left corner of OSB software look for the box 'Sources'. Click on the '+' sign and select 'Video Capture Device'. 'Leave the 'Create new' selected, give a desired name to the preset or leave it 'Video Capture Device' by default and hit 'OK'.

Properties for 'Video Capture Device':

Leave all the settings as they are, except the followings:

    • Device: select your webcam brand here
    • Resolution/FPS type: Custom
    • Resolution: 1280x720
    • FPS: Match Output FPS

When you are ready to broadcast live, click “Start Streaming” in OBS. At the end of your broadcast, make sure to click on “Stop Streaming” in OBS.

Note: while using OBS, your camera stream will not be visible in the main window of SoulCast Streaming app as you are using an external encoder in this case. However you can click on 'Looking Glass' to see if everything is fine with your camera stream.


How to set the correct keyframe interval to load your stream faster

A keyframe interval, also called an i-frame interval, is an encoding setting that determines how often the whole picture is transmitted. If it is not set properly, your stream might start to load slow, causing frustration for the viewers.


Please make sure to always use the latest version of OBS. Set the keyframe interval to the following so that your stream could load fast:

  • Settings / Output / Streaming / Advanced / keyframe interval and enter there '2'. Once done, hit 'Apply' and 'Save'.