Question / Help [SOLVED] No Audio in Twitch Stream, there is Audio when I record. [Script for building OBS+NVENC Ubuntu 14.04]

Vuurdraak

New Member
No Audio in Twitch Stream, there is Audio when I record.

I have an OBS-studio that I compiled my self to have NVENC support.

I have tried to use different audio channels and sources etc, I have no idea what is going on.
 

Attachments

  • 2018-10-10 12-58-52.txt
    32.6 KB · Views: 71
  • 2018-10-10 13-58-32.txt
    11.9 KB · Views: 39

Vuurdraak

New Member
I'm wondering if these 3 lines are pointing to some kind of audio config problem ?

QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)

When I start obs from a console I get this:

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /home/vuurdraak/ffmpeg-nvenc/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /home/vuurdraak/ffmpeg-nvenc/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /home/vuurdraak/ffmpeg-nvenc/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: AMD FX-8370E Eight-Core Processor
info: CPU Speed: 1400.000MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 11963MB Total, 9079MB Free
info: Kernel Version: Linux 4.4.0-137-generic
info: Distribution: "Ubuntu" "14.04"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.18.3
info: Portable mode: false
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 22.0.2-168-g047e586 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 3
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation GeForce GTX 1060 3GB/PCIe/SSE2
info: OpenGL loaded successfully, version 3.2.0 NVIDIA 396.54, shading language 1.50 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1920x1080
downscale filter: Bilinear
fps: 30/1
format: NV12
YUV mode: 709/Partial
info: Audio monitoring device:
name: Monitor of SB0570 [SB Audigy SE] Analog Stereo
id: alsa_output.pci-0000_04_06.0.analog-stereo.monitor
info: ---------------------------------
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
info: NVENC supported
info: FFMPEG VAAPI supported
info: VLC found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: rtmp-services.so
info: obs-x264.so
info: obs-transitions.so
info: obs-outputs.so
info: obs-libfdk.so
info: obs-filters.so
info: obs-ffmpeg.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-jack.so
info: linux-decklink.so
info: linux-capture.so
info: linux-alsa.so
info: image-source.so
info: frontend-tools.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 4.0'
error: pulse-input: An error occurred while getting the source info!
info: pulse-am: Server name: 'pulseaudio 4.0'
info: pulse-am: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-am: Started Monitoring in 'alsa_output.pci-0000_04_06.0.analog-stereo.monitor'
info: pulse-input: Server name: 'pulseaudio 4.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_04_06.0.analog-stereo.monitor'
info: pulse-am: Prevented feedback-loop in 'alsa_output.pci-0000_04_06.0.analog-stereo.monitor'
info: xshm-input: Geometry 1920x1080 @ 0,0
info: xshm-input: Geometry 1920x1080 @ 0,0
info: pulse-input: Server name: 'pulseaudio 4.0'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.pci-0000_04_06.0.analog-stereo.monitor'
info: pulse-am: Prevented feedback-loop in 'default'
info: Switched to scene 'Scene 2'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: - source: 'Audio Output Capture (PulseAudio)' (pulse_output_capture)
info: - monitoring: monitor and output
info: - source: 'Screen Capture (XSHM) 1' (xshm_input)
info: - source: 'Film-Logo.png' (image_source)
info: - scene 'Scene 2':
info: - source: 'Screen Capture (XSHM)' (xshm_input)
info: - source: 'Audio Output Capture (PulseAudio) 2' (pulse_output_capture)
info: - monitoring: monitor and output
info: ------------------------------------------------
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
info: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
 

Vuurdraak

New Member
I solved it, after installing all the extra dependencies mentioned in the OBS build guide and Ffmpeg build guide I have a properly functioning OBS with NVENC in Ubuntu 14.04.

I replaced the build.sh script from the zip file wich contains some icons it uses, to the NVENC-FFMPEG-OBSbuild.sh script I put together my self
 

Attachments

  • NVENC-FFMPEG-OBSbuild.sh.txt
    6.4 KB · Views: 170
  • ffmpeg-nvenc-master.zip
    226.6 KB · Views: 89

DGxInfinitY

New Member
I've tried using @Vuurdraak script to compile everything and had everything work flawlessly yet OBS still doesn't support NVENC. I have a GTX 1050TI and I know ffmpeg is compiled perfectly. I am able to use ffmpeg to manually screen grab but for some reason, obs simply wont see that. I am at a loss here. Perhaps I am opening the wrong OBS because I have OBS installed on my system from the repository. I can just open obs from a terminal and I get the same results. I have had NVENC functional on ffmpeg for the whole existence of this computer and even compiled with everything I needed. What is wrong with OBS?
 
Top