OBS IP Camera Help

BWalton

New Member
I am floundering around trying to get this to work so any help would be appreciated.

I am using 1 of 4 Lorex IP cameras selected to test things out, there is no problem getting the picture to OBS that works fine, I was even able to get a text timer script to work no problem. The problem and I think others have noted the camera will play for various amounts of time but eventually freeze in OBS it still continues just fine in Lorex and OBS has not crashed because the date/time script I put in continues to run just fine.

I also tried to install the gstreamer plugin hoping it would end the freeze problem with no success, getting it to work is beyond me

Thank you for any help, this is meant to stream eventually 24/7 so constant freezing is not an option.

There are no crash reports, following is the current log file:


19:37:06.162: CPU Name: Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
19:37:06.162: CPU Speed: 3096MHz
19:37:06.162: Physical Cores: 4, Logical Cores: 8
19:37:06.162: Physical Memory: 32686MB Total, 26238MB Free
19:37:06.162: Windows Version: 10.0 Build 18363 (release: 1909; revision: 1256; 64-bit)
19:37:06.162: Running as administrator: false
19:37:06.162: Aero is Enabled (Aero is always on for windows 8 and above)
19:37:06.162: Windows 10 Gaming Features:
19:37:06.162: Game Bar: Off
19:37:06.162: Game DVR: Off
19:37:06.162: Game DVR Background Recording: Off
19:37:06.162: Game Mode: Off
19:37:06.165: Sec. Software Status:
19:37:06.166: AVG Antivirus: enabled (AV)
19:37:06.166: Total AV: expired (AV)
19:37:06.166: Windows Defender Antivirus: disabled (AV)
19:37:06.166: Windows Firewall: enabled (FW)
19:37:06.167: Current Date/Time: 2021-01-10, 19:37:06
19:37:06.167: Browser Hardware Acceleration: true
19:37:06.167: Portable mode: false
19:37:06.831: OBS 26.1.1 (64-bit, windows)
19:37:06.831: ---------------------------------
19:37:06.899: ---------------------------------
19:37:06.899: audio settings reset:
19:37:06.899: samples per sec: 48000
19:37:06.899: speakers: 2
19:37:06.901: ---------------------------------
19:37:06.901: Initializing D3D11...
19:37:06.901: Available Video Adapters:
19:37:06.906: Adapter 0: Radeon RX Vega M GH Graphics
19:37:06.906: Dedicated VRAM: 4238893056
19:37:06.906: Shared VRAM: 4252342272
19:37:06.906: PCI ID: 1002:694c
19:37:06.907: Driver Version: 25.20.15002.58
19:37:06.907: output 0: pos={0, 0}, size={1920, 1080}, attached=true, refresh=60, name=R271
19:37:06.907: output 1: pos={-2560, 103}, size={1280, 768}, attached=true, refresh=29, name=PHILIPS
19:37:06.907: output 2: pos={-1280, 0}, size={1280, 768}, attached=true, refresh=75, name=R271
19:37:06.907: Adapter 1: Intel(R) HD Graphics 630
19:37:06.907: Dedicated VRAM: 134217728
19:37:06.907: Shared VRAM: 4252342272
19:37:06.907: PCI ID: 8086:591b
19:37:06.908: Driver Version: 27.20.100.8681
19:37:06.911: Loading up D3D11 on adapter Radeon RX Vega M GH Graphics (0)
19:37:06.945: D3D11 loaded successfully, feature level used: b000
19:37:06.945: DXGI increase maximum frame latency success
19:37:06.945: D3D11 GPU priority setup failed (not admin?)
19:37:07.554: ---------------------------------
19:37:07.554: video settings reset:
19:37:07.554: base resolution: 1920x1080
19:37:07.554: output resolution: 1920x1080
19:37:07.554: downscale filter: Bicubic
19:37:07.554: fps: 30/1
19:37:07.554: format: NV12
19:37:07.554: YUV mode: 709/Partial
19:37:07.554: NV12 texture support enabled
19:37:07.555: Audio monitoring device:
19:37:07.555: name: Default
19:37:07.555: id: default
19:37:07.559: ---------------------------------
19:37:07.563: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
19:37:07.564: Failed to load 'en-US' text for module: 'decklink-captions.dll'
19:37:07.566: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
19:37:07.633: [AMF] The detected AMF runtime is too old, please update your drivers.
19:37:07.633: [AMF] AMF Runtime is outdated.
19:37:07.694: [AMF] AMF Test failed due to one or more errors.
19:37:07.694: Failed to initialize module 'enc-amf.dll'
19:37:07.744: [obs-browser]: Version 2.9.1
19:37:07.744: [obs-browser]: CEF Version 75.1.16+g16a67c4+chromium-75.0.3770.100
19:37:07.757: LoadLibrary failed for '../../obs-plugins/64bit/obs-gstreamer.dll': The specified module could not be found.
19:37:07.757: (126)
19:37:07.757: Module '../../obs-plugins/64bit/obs-gstreamer.dll' not loaded
19:37:07.869: VLC found, VLC video source enabled
19:37:07.879: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
19:37:07.880: No blackmagic support
19:37:07.888: ---------------------------------
19:37:07.888: Loaded Modules:
19:37:07.888: win-wasapi.dll
19:37:07.888: win-mf.dll
19:37:07.888: win-dshow.dll
19:37:07.888: win-decklink.dll
19:37:07.888: win-capture.dll
19:37:07.888: vlc-video.dll
19:37:07.888: text-freetype2.dll
19:37:07.888: rtmp-services.dll
19:37:07.888: obs-x264.dll
19:37:07.888: obs-vst.dll
19:37:07.888: obs-transitions.dll
19:37:07.888: obs-text.dll
19:37:07.888: obs-qsv11.dll
19:37:07.888: obs-outputs.dll
19:37:07.888: obs-filters.dll
19:37:07.888: obs-ffmpeg.dll
19:37:07.888: obs-browser.dll
19:37:07.888: image-source.dll
19:37:07.888: frontend-tools.dll
19:37:07.888: enc-amf.dll
19:37:07.888: decklink-ouput-ui.dll
19:37:07.888: decklink-captions.dll
19:37:07.888: coreaudio-encoder.dll
19:37:07.888: ---------------------------------
19:37:07.889: ==== Startup complete ===============================================
19:37:07.898: All scene data cleared
19:37:07.898: ------------------------------------------------
19:37:08.006: WASAPI: Device '3 - PHILIPS (AMD High Definition Audio Device)' [48000 Hz] initialized
19:37:08.006: [Loaded global audio device]: 'Desktop Audio'
19:37:08.046: WASAPI: Device 'Microphone (2- USB PnP Audio Device)' [48000 Hz] initialized
19:37:08.046: [Loaded global audio device]: 'Mic/Aux'
19:37:08.048: [Media Source 'IP Camera']: settings:
19:37:08.048: input: rtsp://.................:554/cam/realmonitor?channel=3&subtype=1 (password etc removed)
19:37:08.048: input_format:
19:37:08.048: speed: 100
19:37:08.048: is_looping: no
19:37:08.048: is_hw_decoding: no
19:37:08.048: is_clear_on_media_end: no
19:37:08.048: restart_on_activate: yes
19:37:08.048: close_when_inactive: no
19:37:08.049: Switched to scene 'Scene'
19:37:08.049: ------------------------------------------------
19:37:08.049: Loaded scenes:
19:37:08.049: - scene 'Scene':
19:37:08.049: - source: 'IP Camera' (ffmpeg_source)
19:37:08.049: - source: 'Date/Time' (text_gdiplus_v2)
19:37:08.049: ------------------------------------------------
19:37:08.079: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Mic/Aux)
19:37:08.079:


Thanks Again
Bill
 

FerretBomb

Active Member
Are you trying to use this for remote site monitoring/security recording?
OBS really isn't the appropriate tool for that; there are MUCH better options out there that are literally built to serve that function. Zoneminder, for example.

Far as your case goes, this would likely be your cameras deciding that the connection OBS opened is 'dead'/idle, and dropping the connection (which will only show the last frame sent, appearing to make the video 'freeze'). This would be fixed in your camera's settings, if possible. You could also try installing VLC and use a VLC Video Source instead, I'm not sure if it sends keepalives.

The easiest workaround would be to set each camera source to 'close when inactive' and 'restart on activate' and use something like the Advanced Scene Switcher to briefly swap to a second scene and back to the cameras at an interval before the video freezes up.
 

BWalton

New Member
Are you trying to use this for remote site monitoring/security recording?
OBS really isn't the appropriate tool for that; there are MUCH better options out there that are literally built to serve that function. Zoneminder, for example.

No not the purpose, Lorex software/nvr takes care of all the security recording etc

The end game is to have 1 camera setup in the backyard, will likely be another Lorex camera (if I can get it work) streaming 24/7 to youtube the bird baths/feeders, squirrel feeders etc

Far as your case goes, this would likely be your cameras deciding that the connection OBS opened is 'dead'/idle, and dropping the connection (which will only show the last frame sent, appearing to make the video 'freeze'). This would be fixed in your camera's settings, if possible. You could also try installing VLC and use a VLC Video Source instead, I'm not sure if it sends keepalives.

I am trying the VLC now we will see how it goes

The easiest workaround would be to set each camera source to 'close when inactive' and 'restart on activate' and use something like the Advanced Scene Switcher to briefly swap to a second scene and back to the cameras at an interval before the video freezes up.

Thanks so much for taking the time to reply
All the Best
Bill
 

BWalton

New Member
Are you trying to use this for remote site monitoring/security recording?
OBS really isn't the appropriate tool for that; there are MUCH better options out there that are literally built to serve that function. Zoneminder, for example.

Far as your case goes, this would likely be your cameras deciding that the connection OBS opened is 'dead'/idle, and dropping the connection (which will only show the last frame sent, appearing to make the video 'freeze'). This would be fixed in your camera's settings, if possible. You could also try installing VLC and use a VLC Video Source instead, I'm not sure if it sends keepalives.

The easiest workaround would be to set each camera source to 'close when inactive' and 'restart on activate' and use something like the Advanced Scene Switcher to briefly swap to a second scene and back to the cameras at an interval before the video freezes up.

Switching to VLC got rid of the freezing thank you I am sure there will be lots of tweaks to get it the way I want but thats one big hurdle out of the way, its been running now for over 24 hours with no issues and streaming to youtube for 12+hours with no dropped frames.

Thanks Again
Bill
 
Top