Question / Help Issue with streaming to local RTMP server

mstberto

New Member
Hi all,

We have been using OBS for a while and it has worked pretty well up to this point. We currently use it to send our video stream to our live stream provider, but we also use the recording option to output to an RTMP server hosted on the same machine. Everything was working up until about a week ago. I'm not sure if an update to the OS, or OBS was triggered, but I tried rolling back OBS to no avail. The RTMP server is nginx with the RTMP module and it doesn't appear to have any problems (no errors starting, it binds to the port) but I'm not sure where I would check logs at.

OBS log is below. Any thoughts here? Error log didn't seem too descriptive.

------------

17:36:15.151: CPU Name: Intel(R) Core(TM) i7-5775R CPU @ 3.30GHz
17:36:15.151: CPU Speed: 3300MHz
17:36:15.151: Physical Cores: 4, Logical Cores: 8
17:36:15.151: Physical Memory: 16384MB Total
17:36:15.151: OS Name: Mac OS X (NSMACHOperatingSystem)
17:36:15.151: OS Version: Version 10.13.6 (Build 17G65)
17:36:15.151: Kernel Version: 17.7.0
17:36:15.154: hotkeys-cocoa: Using layout 'com.apple.keylayout.US'
17:36:15.154: Portable mode: false
17:36:15.264: OBS 22.0.3 (mac)
17:36:15.264: ---------------------------------
17:36:15.265: ---------------------------------
17:36:15.265: audio settings reset:
17:36:15.265: samples per sec: 48000
17:36:15.265: speakers: 2
17:36:15.266: ---------------------------------
17:36:15.266: Initializing OpenGL...
17:36:15.286: Loading up OpenGL on adapter Intel Inc. Intel(R) Iris(TM) Pro Graphics 6200
17:36:15.286: OpenGL loaded successfully, version 4.1 INTEL-10.36.19, shading language 4.10
17:36:15.340: ---------------------------------
17:36:15.340: video settings reset:
17:36:15.340: base resolution: 1280x720
17:36:15.340: output resolution: 1280x720
17:36:15.340: downscale filter: Bicubic
17:36:15.340: fps: 30/1
17:36:15.340: format: NV12
17:36:15.340: YUV mode: 601/Partial
17:36:15.342: Audio monitoring device:
17:36:15.342: name: Default
17:36:15.342: id: default
17:36:15.342: ---------------------------------
17:36:15.349: os_dlopen(libpython3.6m.dylib->libpython3.6m.dylib): dlopen(libpython3.6m.dylib, 1): image not found
17:36:15.349:
17:36:15.350: [Python] Could not load library: libpython3.6m.dylib
17:36:15.490: No blackmagic support
17:36:15.555: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
17:36:15.570: [obs-browser]: Version 2.1.6
17:36:15.586: os_dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib->/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib): dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlccore.dylib, 1): image not found
17:36:15.586:
17:36:15.586: Couldn't find VLC installation, VLC video source disabled
17:36:15.586: Ignoring old obs-browser.so version
17:36:15.586: ---------------------------------
17:36:15.587: Loaded Modules:
17:36:15.587: vlc-video.so
17:36:15.587: text-freetype2.so
17:36:15.587: rtmp-services.so
17:36:15.587: obs-x264.so
17:36:15.587: obs-vst.so
17:36:15.587: obs-transitions.so
17:36:15.587: obs-outputs.so
17:36:15.587: obs-filters.so
17:36:15.587: obs-ffmpeg.so
17:36:15.587: obs-browser.so
17:36:15.587: mac-vth264.so
17:36:15.587: mac-syphon.so
17:36:15.587: mac-decklink.so
17:36:15.587: mac-capture.so
17:36:15.587: mac-avcapture.so
17:36:15.587: linux-jack.so
17:36:15.587: image-source.so
17:36:15.587: frontend-tools.so
17:36:15.587: coreaudio-encoder.so
17:36:15.587: ---------------------------------
17:36:15.587: ==== Startup complete ===============================================
17:36:15.794: All scene data cleared
17:36:15.794: ------------------------------------------------
17:36:15.823: coreaudio: device 'XI100DUSB-HDMI Audio' initialized
17:36:15.827: Video Capture Device: Selected device 'XI100DUSB-HDMI'
17:36:15.829: Video Capture Device: Using preset 1280x720
17:36:15.889: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
17:36:15.919: Switched to scene 'Scene'
17:36:15.919: ------------------------------------------------
17:36:15.919: Loaded scenes:
17:36:15.919: - scene 'Scene':
17:36:15.919: - source: 'Video Capture Device' (av_capture_input)
17:36:15.919: - source: 'Audio Input Capture' (coreaudio_input_capture)
17:36:15.919: - source: 'Image' (image_source)
17:36:15.919: ------------------------------------------------
17:36:16.140: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
17:36:17.212: Error opening 'rtmp://localhost/show/stream': Function not implemented
17:36:17.212: ffmpeg_data_init failed
 

Narcogen

Active Member
Do you have another method of sending RTMP traffic to your server, to test whether the problem is with OBS sending, or nginx receiving?

The "function not implemented" error seems to be coming from FFMpeg. I don't use custom output. Do you have a disk backup you can roll back to to test whether this problem only exists with the current version?
 

mstberto

New Member
So I just got back around to trying this out. I was able to install ffmpeg using home-brew and test the ffmpeg command to stream a local file to the server. That worked just fine. OBS still won't work with the same error. Not really sure where to go from here?
 

mstberto

New Member
Okay, I got it figured out. After confirming OBS was definitely the issue and not nginx, I focused more on your suggestion of FFMpeg providing the "function not implemented" error message. After reading a few related items, I tried messing around with the encoder settings. I was using mpegts and aac, which I thought I had been using from the get-go. I switched to using mp4 for the video codec and now all is well. Not sure how that would've gotten changed, but I finally found a combo that works (mp4+aac).

Thanks for pointing me in the right direction @Narcogen!
 
Top