Question / Help a.rtmp.youtube.com/live2 is offline...

Miroslav Iliaš

New Member
Dear experts,

I am in Germany and I trying YouTube live streaming with OBS.

Though I did proper set up in OBS (put streamkey from https://www.youtube.com/live_dashboard), it does not stream, giving:

21:22:50.783: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
21:22:50.822: [rtmp stream: 'simple_stream'] Interface: Qualcomm Atheros AR9285 802.11b/g/n WiFi Adapter (802.11, 97 mbps)
21:22:51.848: a.rtmp.youtube.com/live2 is offline. Try a different server (ECONNREFUSED).
21:22:51.849: [rtmp stream: 'simple_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 failed: -2
21:22:51.849: ==== Streaming Stop ================================================

I am able to do Google Hangouts on Air from this computer, and also the OBS-Facebook live streaming works. Any help please ?

PS1: The same kind of failure for DailyMotion streaming:

22:29:59.697: ------------------------------------------------
22:30:06.316: ---------------------------------
22:30:06.316: [x264 encoder: 'simple_h264_stream'] settings:
22:30:06.316: rate_control: CBR
22:30:06.316: bitrate: 4000
22:30:06.316: buffer size: 4000
22:30:06.316: crf: 0
22:30:06.316: fps_num: 30
22:30:06.316: fps_den: 1
22:30:06.316: width: 1280
22:30:06.316: height: 720
22:30:06.316: keyint: 120
22:30:06.316: vfr: off
22:30:06.316:
22:30:06.317: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://publish.dailymotion.com/publish-dm...
22:30:06.345: [rtmp stream: 'simple_stream'] Interface: Qualcomm Atheros AR9285 802.11b/g/n WiFi Adapter (802.11, 97 mbps)
22:30:07.367: publish.dailymotion.com/publish-dm is offline. Try a different server (ECONNREFUSED).
22:30:07.367: ==== Streaming Stop ================================================
22:30:07.368: [rtmp stream: 'simple_stream'] Connection to rtmp://publish.dailymotion.com/publish-dm failed: -2

PS2: The same failure for restream.io
22:41:09.277: ---------------------------------
22:41:09.277: [x264 encoder: 'simple_h264_stream'] preset: veryfast
22:41:09.277: [x264 encoder: 'simple_h264_stream'] settings:
22:41:09.277: rate_control: CBR
22:41:09.277: bitrate: 4000
22:41:09.277: buffer size: 4000
22:41:09.277: crf: 0
22:41:09.277: fps_num: 30
22:41:09.277: fps_den: 1
22:41:09.277: width: 1280
22:41:09.277: height: 720
22:41:09.277: keyint: 60
22:41:09.277: vfr: off
22:41:09.277:
22:41:09.330: [CoreAudio AAC: 'simple_aac']: settings:
22:41:09.330: mode: AAC
22:41:09.330: bitrate: 160
22:41:09.330: sample rate: 44100
22:41:09.330: cbr: on
22:41:09.330: output buffer: 1536
22:41:09.330: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://eu-central.restream.io/live...
22:41:09.434: [rtmp stream: 'simple_stream'] Interface: Qualcomm Atheros AR9285 802.11b/g/n WiFi Adapter (802.11, 97 mbps)
22:41:10.446: eu-central.restream.io/live is offline. Try a different server (ECONNREFUSED).
22:41:10.446: [rtmp stream: 'simple_stream'] Connection to rtmp://eu-central.restream.io/live failed: -2
22:41:10.446: ==== Streaming Stop ================================================

PS3: The same failure for beam.pro:

22:52:52.220: ---------------------------------
22:52:52.220: [x264 encoder: 'simple_h264_stream'] settings:
22:52:52.220: rate_control: CBR
22:52:52.220: bitrate: 2500
22:52:52.220: buffer size: 2500
22:52:52.220: crf: 0
22:52:52.220: fps_num: 30
22:52:52.220: fps_den: 1
22:52:52.220: width: 1280
22:52:52.220: height: 720
22:52:52.220: keyint: 30
22:52:52.220: vfr: off
22:52:52.220:
22:52:52.221: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://ingest-dal.beam.pro:1935/beam...
22:52:52.222: [rtmp stream: 'simple_stream'] Interface: Qualcomm Atheros AR9285 802.11b/g/n WiFi Adapter (802.11, 97 mbps)
22:52:53.265: ingest-dal.beam.pro:1935/beam is offline. Try a different server (ECONNREFUSED).
22:52:53.265: [rtmp stream: 'simple_stream'] Connection to rtmp://ingest-dal.beam.pro:1935/beam failed: -2
22:52:53.267: ==== Streaming Stop ================================================
 

Attachments

  • 2016-10-28 18-37-16.txt
    506 bytes · Views: 189
Last edited:

RytoEX

Forum Admin
Forum Moderator
Developer
your key frame needs to be 3 for youtube
No, it does not need to be 3. It should be something between 2 and 4 (inclusive). YouTube even explicitly recommends 2, and sets 4 as the upper limit.


Hi,

I will ask on that. This is wifi eduroam at German research institution. Strange thing is that it work for facebook (rtmp protocol)...
It's possible that it's not blocked just by protocol, but by a combination of factors. With so many failures to so many services, three possible scenarios come to mind:
  1. You have security software blocking traffic.
  2. Your network provider is managing/blocking traffic.
  3. You input incorrect settings for every single service that you tried.
Check your security software. You may even try disabling it as a test to see if it is affecting things.

Check with your network provider. You said you're already doing this, so maybe they'll provide some good information.

Check your configuration settings. Provide log files for YouTube where it doesn't work and Facebook where it does work.

In the future, please also post full log files. Truncating them just hides details that help us analyze problems.
 

Miroslav Iliaš

New Member
Hi, the reason was security on the traffic, as they wrote "...Security acknowledged to open RTMP-Protocol (Port 1935 TCP) outgoing for Guest-Network (WLAN). "

Now the streaming works on WLAN.
 

rey_02202013

New Member
will somebody pls help me.. I think I have the same problem but still cant figure out how to fix it.

04:33:28.674: CPU Name: Intel(R) Core(TM) i3-4030U CPU @ 1.90GHz
04:33:28.674: CPU Speed: 1896MHz
04:33:28.674: Physical Cores: 2, Logical Cores: 4
04:33:28.674: Physical Memory: 3988MB Total, 2743MB Free
04:33:28.674: Windows Version: 10.0 Build 17134 (revision: 165; 64-bit)
04:33:28.674: Running as administrator: false
04:33:28.674: Aero is Enabled (Aero is always on for windows 8 and above)
04:33:28.674: Windows 10 Gaming Features:
04:33:28.674: Game DVR: On
04:33:28.676: Sec. Software Status:
04:33:28.677: Windows Defender Antivirus: disabled (AV)
04:33:28.677: Windows Firewall: disabled (FW)
04:33:28.678: Windows Defender Antivirus: disabled (ASW)
04:33:28.678: Portable mode: false
04:33:28.854: OBS 21.1.2 (64bit, windows)
04:33:28.854: ---------------------------------
04:33:28.854: ---------------------------------
04:33:28.855: audio settings reset:
04:33:28.855: samples per sec: 44100
04:33:28.855: speakers: 2
04:33:28.856: ---------------------------------
04:33:28.856: Initializing D3D11...
04:33:28.856: Available Video Adapters:
04:33:28.858: Adapter 1: Intel(R) HD Graphics Family
04:33:28.858: Dedicated VRAM: 117964800
04:33:28.858: Shared VRAM: 2091003904
04:33:28.858: output 1: pos={0, 0}, size={1366, 768}, attached=true
04:33:28.861: Loading up D3D11 on adapter Intel(R) HD Graphics Family (0)
04:33:28.867: D3D11 loaded successfully, feature level used: 45056
04:33:30.135: ---------------------------------
04:33:30.135: video settings reset:
04:33:30.135: base resolution: 1366x768
04:33:30.135: output resolution: 496x278
04:33:30.135: downscale filter: Bilinear
04:33:30.135: fps: 20/1
04:33:30.135: format: NV12
04:33:30.135: YUV mode: 601/Partial
04:33:30.136: Audio monitoring device:
04:33:30.136: name: Default
04:33:30.136: id: default
04:33:30.137: ---------------------------------
04:33:30.139: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
04:33:30.140: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
04:33:30.297: [AMF] AMF Test failed due to one or more errors.
04:33:30.297: Failed to initialize module 'enc-amf.dll'
04:33:30.331: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
04:33:30.331: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
04:33:30.331: (127)
04:33:30.331: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
04:33:30.332: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
04:33:30.333: [browser_source: 'Version: 1.31.0']
04:33:30.338: LoadLibrary failed for 'nvEncodeAPI64.dll': The specified module could not be found.
04:33:30.338: (126)
04:33:30.359: Couldn't find VLC installation, VLC video source disabled
04:33:30.368: No blackmagic support
04:33:30.373: ---------------------------------
04:33:30.373: Loaded Modules:
04:33:30.373: win-wasapi.dll
04:33:30.373: win-mf.dll
04:33:30.373: win-dshow.dll
04:33:30.373: win-decklink.dll
04:33:30.373: win-capture.dll
04:33:30.373: vlc-video.dll
04:33:30.373: text-freetype2.dll
04:33:30.373: rtmp-services.dll
04:33:30.373: obs-x264.dll
04:33:30.373: obs-vst.dll
04:33:30.373: obs-transitions.dll
04:33:30.373: obs-text.dll
04:33:30.373: obs-qsv11.dll
04:33:30.373: obs-outputs.dll
04:33:30.373: obs-filters.dll
04:33:30.373: obs-ffmpeg.dll
04:33:30.373: obs-browser.dll
04:33:30.373: image-source.dll
04:33:30.373: frontend-tools.dll
04:33:30.373: enc-amf.dll
04:33:30.373: coreaudio-encoder.dll
04:33:30.373: ---------------------------------
04:33:30.373: ==== Startup complete ===============================================
04:33:30.377: All scene data cleared
04:33:30.377: ------------------------------------------------
04:33:30.427: WASAPI: Device 'Speakers (Redragon Gaming Headset)' initialized
04:33:30.446: WASAPI: Device 'Microphone (Redragon Gaming Headset)' initialized
04:33:30.502: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
04:33:30.861: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
04:33:31.362: Switched to scene 'Scene'
04:33:31.362: ------------------------------------------------
04:33:31.362: Loaded scenes:
04:33:31.362: - scene 'Scene':
04:33:31.362: - source: 'Game Capture' (game_capture)
04:33:31.362: ------------------------------------------------
04:33:43.300: ---------------------------------
04:33:43.300: [x264 encoder: 'streaming_h264'] preset: ultrafast
04:33:43.300: [x264 encoder: 'streaming_h264'] profile: high
04:33:43.350: [x264 encoder: 'streaming_h264'] settings:
04:33:43.350: rate_control: CBR
04:33:43.350: bitrate: 350
04:33:43.350: buffer size: 350
04:33:43.350: crf: 0
04:33:43.350: fps_num: 20
04:33:43.350: fps_den: 1
04:33:43.350: width: 496
04:33:43.350: height: 278
04:33:43.350: keyint: 40
04:33:43.350:
04:33:43.382: ---------------------------------
04:33:43.442: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
04:33:43.442:
04:33:43.474: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
04:33:43.603: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
04:33:45.651: a.rtmp.youtube.com/live2 is offline. Try a different server (ECONNREFUSED).
04:33:45.652: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 failed: -2
04:33:45.652: ==== Streaming Stop ================================================
 

Attachments

  • 2018-07-31 04-33-25.txt
    5.9 KB · Views: 41
Top