Closed 130s closed 6 months ago
Testing on my Ubuntu laptop. https://obsproject.com/kb/linux-installation
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt install obs-studio
Connecting to either Youtube {HLS, RTMPS} results in:
Failed to connect to any servers, please check your internet connection and try again
That disappeared after I created a live streaming on youtube with the account that I passed on OBS.
Without selecting anything, I see on youtube.com RTMPS
.
I haven't understood at all the bitrate consideration explained in LAS Curry's video. Bitrate consideration for Youtube (support.google.com)
Youtube video in Choose live encoder settings, bitrates, and resolutions page doesn't cover the detail of bitrates while it's more about general checkpoints about streaming, which is helpful.
In the beginning I should probably just rely on the default? I chose on OBS "simple" setting as opposed to the advanced settings LAS went into.
Stream resolution detection with custom stream keys in Live Control Room
By default (recommended), YouTube will automatically detect your resolution and frame rate. If you want to manually select a resolution, create a custom key and choose “Turn on manual settings" under “Stream Resolution."
Then, after clicking the "start streaming" button on OBS, the software crashed. Upon next run a popup offered safe mode, so I took it.
Closing OBS that started as safe mode, and re-launched it. I saw settings I made are gone so re-did them. Now I can "start streaming" w/o a crash, then I see an error on this popup that seems to prevent the streaming to start.
Failed to open NVENC codec: Generic error in an external library
Try installing the latest NVIDIA driver and closing other recording software that might be using NVENC such as NVIDIA ShadowPlay or Windows Game DVR.
Solved by superuser.com#1421980 citing my answer:
Just to elaborate the answer from @user1020800,
I found "NVENC" on OBS' "Controls -> settings", then "Streaming -> Video Encoder" where the value was "
Hardware (NVENC, H.264)
". Changing the value to "software encoder" resolved the issue for me.Verified on Ubuntu 22.04, OBS Studio 30.1.2
Was able to connect to the live from android, which is a different device than the OBS host.
I saw the stream was delayed significantly. Computer's throughput showed 750 KB/s. On youtube.com I saw this msg. Raising "Output -> streaming -> video bitrate" from 2500 Kbps to 5500 Kbps didn't seem to help:
YouTube is not receiving enough video to maintain smooth streaming. As such, viewers will experience buffering.
Live stream w/OBS requires so much so out of scope. Discussion moved to internal thread.
With minimum budget, ideally not having to buy anything new other than the school already has, we're evaluating whether we can live streaming. We have recently bought a Canon DSR, video capture board, microphone, along with Windows laptops and other devices not mentioned here.
Understand what we need.