You are not logged in.
I'm fairly new, (under 2 years) to linux as a casual user. Now that I have that out of the way:
Hey guys, I've been using my search-fu periodically for over a couple of months now. I am attempting to stream CSGO (haven't tried much else) with OBS. Everything I have found seems to pertain to windows - which is upsetting.
Here's the problem: I have a crackling/static noise from my desktop sound only. Any noise that I am hearing from sources such as Mumble or CSGO or even music is muffled/stat-icky/crackling. My microphones are not (I have two on push-to-talk). Problem existed during tests BEFORE I added a second microphone and even without microphones. I have my headset mic and my yeti mic going whilst my webcam mic is completely disabled - a lot of people suggest the webcam part. The cracking noise is not on my end what so ever - only stream side. Doesn't matter which stream service I use the problem persists (youtube/twitch/etc.)
I have ran OBS on windows multiple times and there doesn't seem to be as many settings options for the Linux version as there are for Windows - which is frustrating
I tried all the webcam stuff. Even disabling it completely to see if that would make a difference. I Did lower resolution and nothing made a difference.
I also tried messing with pulse audio a little by means of this post. I tried both 44100 and 48000
Here is a quick stream I did today to show what I mean. It's almost like the sound has been dampened and is yet, at the same time, too high.
This is a quick stream
The most recent log from OBS itself:
09:36:50 PM.729: Processor: 8 logical cores
09:36:50 PM.730: Processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
09:36:50 PM.730: Physical Memory: 15994MB Total
09:36:50 PM.730: Kernel Version: Linux 4.4.1-2-ARCH
09:36:50 PM.730: Distribution: "Arch Linux" Unknown
09:36:50 PM.742: OBS 0.12.2 (linux)
09:36:50 PM.742: ---------------------------------
09:36:50 PM.742: ---------------------------------
09:36:50 PM.742: audio settings reset:
09:36:50 PM.742: samples per sec: 44100
09:36:50 PM.742: speakers: 2
09:36:50 PM.742: buffering (ms): 2500
09:36:50 PM.843: OpenGL version: 3.2.0 NVIDIA 361.18
09:36:50 PM.843:
09:36:50 PM.856: ---------------------------------
09:36:50 PM.856: video settings reset:
09:36:50 PM.856: base resolution: 1920x1080
09:36:50 PM.856: output resolution: 1280x720
09:36:50 PM.856: fps: 30/1
09:36:50 PM.856: format: NV12
09:36:50 PM.860: ---------------------------------
09:36:50 PM.860: Loading module: image-source.so
09:36:50 PM.860: ---------------------------------
09:36:50 PM.861: Loading module: linux-capture.so
09:36:50 PM.861: ---------------------------------
09:36:50 PM.862: Loading module: linux-decklink.so
09:36:50 PM.863: No blackmagic support
09:36:50 PM.863: Failed to start search for DeckLink devices
09:36:50 PM.863: ---------------------------------
09:36:50 PM.867: Loading module: linux-jack.so
09:36:50 PM.867: ---------------------------------
09:36:50 PM.868: Loading module: linux-pulseaudio.so
09:36:50 PM.868: ---------------------------------
09:36:50 PM.868: Loading module: linux-v4l2.so
09:36:50 PM.869: ---------------------------------
09:36:50 PM.870: Loading module: obs-ffmpeg.so
09:36:50 PM.870: ---------------------------------
09:36:50 PM.870: Loading module: obs-filters.so
09:36:50 PM.870: ---------------------------------
09:36:50 PM.870: Loading module: obs-libfdk.so
09:36:50 PM.870: ---------------------------------
09:36:50 PM.871: Loading module: obs-outputs.so
09:36:50 PM.871: ---------------------------------
09:36:50 PM.871: Loading module: obs-x264.so
09:36:50 PM.871: ---------------------------------
09:36:50 PM.871: Loading module: rtmp-services.so
09:36:50 PM.872: ---------------------------------
09:36:50 PM.872: Loading module: text-freetype2.so
09:36:50 PM.872: =====================================================================
09:36:50 PM.872: output 'adv_stream' (rtmp_output) created
09:36:50 PM.872: output 'adv_file_output' (ffmpeg_muxer) created
09:36:50 PM.872: encoder 'streaming_h264' (obs_x264) created
09:36:50 PM.872: AAC encoder bitrate mapping:
09:36:50 PM.872: 32 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 64 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 96 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 128 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 160 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 192 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 224 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 256 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
09:36:50 PM.872: 288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
09:36:50 PM.872: 320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
09:36:50 PM.872: encoder 'adv_aac0' (libfdk_aac) created
09:36:50 PM.872: encoder 'adv_aac1' (libfdk_aac) created
09:36:50 PM.872: encoder 'adv_aac2' (libfdk_aac) created
09:36:50 PM.872: encoder 'adv_aac3' (libfdk_aac) created
09:36:50 PM.872: service 'default_service' (rtmp_common) created
09:36:50 PM.876: All scene data cleared
09:36:50 PM.876: ------------------------------------------------
09:36:50 PM.879: pulse-input: Server name: 'pulseaudio 8.0'
09:36:50 PM.880: pulse-input: Audio format: s16le, 44100 Hz, 4 channels
09:36:50 PM.880: pulse-input: Started recording from 'alsa_output.pci-0000_00_1b.0.analog-surround-40.monitor'
09:36:50 PM.880: source 'Desktop Audio' (pulse_output_capture) created
09:36:50 PM.880: source 'Gain' (gain_filter) created
09:36:50 PM.880: pulse-input: Server name: 'pulseaudio 8.0'
09:36:50 PM.880: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
09:36:50 PM.880: pulse-input: Started recording from 'alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.iec958-stereo'
09:36:50 PM.880: source 'Mic/Aux' (pulse_input_capture) created
09:36:50 PM.880: source 'Mic/Aux' enabled push-to-talk
09:36:50 PM.880: source 'CSGO' (scene) created
09:36:50 PM.882: source 'RZN Logo' (image_source) created
09:36:50 PM.883: source 'Image Mask/Blend' (mask_filter) created
09:36:50 PM.920: xcompcap: XCompositeNameWindowPixmap failed: BadMatch (invalid parameter attributes)
09:36:50 PM.920: source 'Game' (xcomposite_input) created
09:36:50 PM.923: v4l2-input: Start capture from /dev/video0
09:36:51 PM.003: v4l2-input: Input: 0
09:36:51 PM.052: v4l2-input: Resolution: 864x480
09:36:51 PM.052: v4l2-input: Pixelformat: VYUY
09:36:51 PM.053: v4l2-input: Linesize: 1728 Bytes
09:36:51 PM.053: v4l2-input: Framerate: 20.00 fps
09:36:51 PM.053: source 'webcam' (v4l2_input) created
09:36:51 PM.076: == Profiler Results =============================
09:36:51 PM.076: run_program_init: 441.118 ms
09:36:51 PM.076: ┣OBSApp::AppInit: 1.536 ms
09:36:51 PM.076: ┃ ┗OBSApp::InitLocale: 0.626 ms
09:36:51 PM.076: ┗OBSApp::OBSInit: 359.337 ms
09:36:51 PM.076: ┣obs_startup: 1.21 ms
09:36:51 PM.076: ┗OBSBasic::OBSInit: 333.791 ms
09:36:51 PM.076: ┣OBSBasic::InitBasicConfig: 0.364 ms
09:36:51 PM.076: ┣OBSBasic::ResetAudio: 0.073 ms
09:36:51 PM.076: ┣OBSBasic::ResetVideo: 116.123 ms
09:36:51 PM.076: ┣OBSBasic::InitOBSCallbacks: 0.006 ms
09:36:51 PM.076: ┣OBSBasic::InitHotkeys: 0.036 ms
09:36:51 PM.076: ┣obs_load_all_modules: 13.599 ms
09:36:51 PM.076: ┃ ┣obs_init_module(image-source.so): 0.002 ms
09:36:51 PM.076: ┃ ┣obs_init_module(linux-capture.so): 0.352 ms
09:36:51 PM.076: ┃ ┣obs_init_module(linux-decklink.so): 0.229 ms
09:36:51 PM.076: ┃ ┣obs_init_module(linux-jack.so): 0.004 ms
09:36:51 PM.076: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
09:36:51 PM.076: ┃ ┣obs_init_module(linux-v4l2.so): 0.005 ms
09:36:51 PM.076: ┃ ┣obs_init_module(obs-ffmpeg.so): 0.016 ms
09:36:51 PM.076: ┃ ┣obs_init_module(obs-filters.so): 0.005 ms
09:36:51 PM.076: ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
09:36:51 PM.076: ┃ ┣obs_init_module(obs-outputs.so): 0.002 ms
09:36:51 PM.076: ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
09:36:51 PM.076: ┃ ┣obs_init_module(rtmp-services.so): 0.082 ms
09:36:51 PM.076: ┃ ┗obs_init_module(text-freetype2.so): 0.021 ms
09:36:51 PM.076: ┣OBSBasic::ResetOutputs: 0.266 ms
09:36:51 PM.076: ┣OBSBasic::CreateHotkeys: 0.171 ms
09:36:51 PM.076: ┣OBSBasic::InitService: 0.046 ms
09:36:51 PM.076: ┣OBSBasic::InitPrimitives: 3.104 ms
09:36:51 PM.076: ┗OBSBasic::Load: 180.966 ms
09:36:51 PM.076: =================================================
09:36:51 PM.253: Update check: last known remote version is 0.4.0
09:36:51 PM.419: Audio line 'Mic/Aux' audio data currently getting cut off. This could be due to a negative sync offset that's larger than the current audio buffering time.
09:36:51 PM.444: Audio line 'Mic/Aux' audio data no longer getting cut off.
09:36:56 PM.050: ---------------------------------
09:36:56 PM.050: [x264 encoder: 'streaming_h264'] preset: veryfast
09:36:56 PM.050: [x264 encoder: 'streaming_h264'] settings:
09:36:56 PM.050: bitrate: 2500
09:36:56 PM.050: buffer size: 2500
09:36:56 PM.050: crf: 0 (0 when CBR is enabled)
09:36:56 PM.050: fps_num: 30
09:36:56 PM.050: fps_den: 1
09:36:56 PM.050: width: 1280
09:36:56 PM.050: height: 720
09:36:56 PM.050: keyint: 250
09:36:56 PM.050: vfr: off
09:36:56 PM.050: cbr: on
09:36:56 PM.062: libfdk_aac encoder created
09:36:56 PM.062: libfdk_aac bitrate: 256, channels: 2
09:36:56 PM.066: ==== Recording Start ===============================================
09:36:56 PM.066: [ffmpeg muxer: 'adv_file_output'] Writing file '/home/vincent/2016-02-04 21-36-56.mp4'...
09:40:16 PM.028: xcompcap: XCompositeNameWindowPixmap failed: BadMatch (invalid parameter attributes)
09:40:17 PM.443: libfdk_aac encoder destroyed
09:40:17 PM.445: [ffmpeg muxer: 'adv_file_output'] Output of file '/home/vincent/2016-02-04 21-36-56.mp4' stopped
09:40:17 PM.445: Output 'adv_file_output': stopping
09:40:17 PM.445: Output 'adv_file_output': Total frames: 6042
09:40:17 PM.445: Output 'adv_file_output': Number of skipped frames: 3 (0.0496524%)
09:40:17 PM.445: ==== Recording Stop ================================================
10:09:46 PM.393: source 'Gain' destroyed
10:09:46 PM.420: source 'Desktop Audio' destroyed
10:09:46 PM.420: pulse-input: Stopped recording from 'alsa_output.pci-0000_00_1b.0.analog-surround-40.monitor'
10:09:46 PM.420: pulse-input: Got 1354821 packets with 87728184 frames
10:09:46 PM.422: source 'Mic/Aux' destroyed
10:09:46 PM.422: pulse-input: Stopped recording from 'alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.iec958-stereo'
10:09:46 PM.422: pulse-input: Got 198079 packets with 87117778 frames
10:09:46 PM.425: source 'CSGO' destroyed
10:09:46 PM.428: source 'Image Mask/Blend' destroyed
10:09:46 PM.438: source 'RZN Logo' destroyed
10:09:46 PM.441: source 'Game' destroyed
10:09:46 PM.444: source 'webcam' destroyed
10:09:46 PM.482: v4l2-input: Stopped capture after 29641 frames
10:09:47 PM.671: All scene data cleared
10:09:47 PM.671: ------------------------------------------------
10:09:47 PM.671: service 'default_service' destroyed
10:09:47 PM.671: encoder 'streaming_h264' destroyed
10:09:47 PM.671: encoder 'Track4' destroyed
10:09:47 PM.671: encoder 'Track3' destroyed
10:09:47 PM.671: encoder 'Track2' destroyed
10:09:47 PM.671: encoder 'Track1' destroyed
10:09:47 PM.671: output 'adv_stream' destroyed
10:09:47 PM.671: output 'adv_file_output' destroyed
10:09:47 PM.730: Freeing OBS context data
10:09:47 PM.770: == Profiler Results =============================
10:09:47 PM.771: run_program_init: 441.118 ms
10:09:47 PM.771: ┣OBSApp::AppInit: 1.536 ms
10:09:47 PM.771: ┃ ┗OBSApp::InitLocale: 0.626 ms
10:09:47 PM.771: ┗OBSApp::OBSInit: 359.337 ms
10:09:47 PM.771: ┣obs_startup: 1.21 ms
10:09:47 PM.771: ┗OBSBasic::OBSInit: 333.791 ms
10:09:47 PM.771: ┣OBSBasic::InitBasicConfig: 0.364 ms
10:09:47 PM.771: ┣OBSBasic::ResetAudio: 0.073 ms
10:09:47 PM.771: ┣OBSBasic::ResetVideo: 116.123 ms
10:09:47 PM.771: ┣OBSBasic::InitOBSCallbacks: 0.006 ms
10:09:47 PM.771: ┣OBSBasic::InitHotkeys: 0.036 ms
10:09:47 PM.771: ┣obs_load_all_modules: 13.599 ms
10:09:47 PM.771: ┃ ┣obs_init_module(image-source.so): 0.002 ms
10:09:47 PM.771: ┃ ┣obs_init_module(linux-capture.so): 0.352 ms
10:09:47 PM.771: ┃ ┣obs_init_module(linux-decklink.so): 0.229 ms
10:09:47 PM.771: ┃ ┣obs_init_module(linux-jack.so): 0.004 ms
10:09:47 PM.771: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
10:09:47 PM.771: ┃ ┣obs_init_module(linux-v4l2.so): 0.005 ms
10:09:47 PM.771: ┃ ┣obs_init_module(obs-ffmpeg.so): 0.016 ms
10:09:47 PM.771: ┃ ┣obs_init_module(obs-filters.so): 0.005 ms
10:09:47 PM.771: ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
10:09:47 PM.771: ┃ ┣obs_init_module(obs-outputs.so): 0.002 ms
10:09:47 PM.771: ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
10:09:47 PM.771: ┃ ┣obs_init_module(rtmp-services.so): 0.082 ms
10:09:47 PM.771: ┃ ┗obs_init_module(text-freetype2.so): 0.021 ms
10:09:47 PM.771: ┣OBSBasic::ResetOutputs: 0.266 ms
10:09:47 PM.771: ┣OBSBasic::CreateHotkeys: 0.171 ms
10:09:47 PM.771: ┣OBSBasic::InitService: 0.046 ms
10:09:47 PM.771: ┣OBSBasic::InitPrimitives: 3.104 ms
10:09:47 PM.771: ┗OBSBasic::Load: 180.966 ms
10:09:47 PM.771: obs_hotkey_thread(25 ms): min=0.067 ms, median=0.288 ms, max=152.137 ms, 99th percentile=0.958 ms, 99.9794% below 25 ms
10:09:47 PM.771: audio_thread(Audio): min=0.003 ms, median=0.035 ms, max=3.323 ms, 99th percentile=0.578 ms
10:09:47 PM.771: ┗receive_audio: min=0 ms, median=0.342 ms, max=3.293 ms, 99th percentile=0.906 ms, 0.100628 calls per parent call
10:09:47 PM.771: ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.097 ms, 99th percentile=0.002 ms
10:09:47 PM.771: ┗do_encode: min=0.061 ms, median=0.332 ms, max=3.289 ms, 99th percentile=0.6 ms, 1.08275 calls per parent call
10:09:47 PM.771: ┗encode(Track1): min=0.06 ms, median=0.323 ms, max=1.172 ms, 99th percentile=0.584 ms
10:09:47 PM.771: obs_video_thread(33.3333 ms): min=3.736 ms, median=7.942 ms, max=201.161 ms, 99th percentile=10.87 ms, 99.9055% below 33.333 ms
10:09:47 PM.771: ┣tick_sources: min=0 ms, median=0.189 ms, max=157.671 ms, 99th percentile=2.664 ms
10:09:47 PM.771: ┣render_displays: min=1.676 ms, median=3.969 ms, max=101.761 ms, 99th percentile=5.595 ms
10:09:47 PM.771: ┗output_frame: min=1.786 ms, median=3.63 ms, max=91.9 ms, 99th percentile=5.09 ms
10:09:47 PM.771: ┣gs_context(video->graphics): min=1.587 ms, median=3.368 ms, max=91.644 ms, 99th percentile=4.778 ms
10:09:47 PM.771: ┃ ┣render_video: min=0.131 ms, median=0.331 ms, max=5.197 ms, 99th percentile=0.517 ms
10:09:47 PM.771: ┃ ┃ ┣render_main_texture: min=0.028 ms, median=0.158 ms, max=1.657 ms, 99th percentile=0.261 ms
10:09:47 PM.771: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.068 ms, max=4.873 ms, 99th percentile=0.119 ms
10:09:47 PM.771: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.064 ms, max=1.747 ms, 99th percentile=0.116 ms
10:09:47 PM.771: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.019 ms, max=0.373 ms, 99th percentile=0.037 ms
10:09:47 PM.771: ┃ ┣download_frame: min=0 ms, median=0.003 ms, max=21.084 ms, 99th percentile=0.011 ms
10:09:47 PM.771: ┃ ┗gs_flush: min=0.004 ms, median=0.013 ms, max=24.491 ms, 99th percentile=0.119 ms
10:09:47 PM.771: ┗output_video_data: min=0.173 ms, median=0.255 ms, max=4.684 ms, 99th percentile=0.358 ms
10:09:47 PM.771: video_thread(video): min=0 ms, median=0.001 ms, max=4.316 ms, 99th percentile=0.775 ms
10:09:47 PM.771: ┗receive_video: min=0.525 ms, median=0.627 ms, max=4.315 ms, 99th percentile=1.185 ms, 0.101944 calls per parent call
10:09:47 PM.771: ┗do_encode: min=0.524 ms, median=0.627 ms, max=4.314 ms, 99th percentile=1.184 ms
10:09:47 PM.771: ┗encode(streaming_h264): min=0.517 ms, median=0.611 ms, max=4.1 ms, 99th percentile=1.027 ms
10:09:47 PM.771: =================================================
10:09:47 PM.771: == Profiler Time Between Calls ==================
10:09:47 PM.771: obs_hotkey_thread(25 ms): min=25.112 ms, median=25.358 ms, max=177.205 ms, 75.1284% within ±2% of 25 ms (0% lower, 24.8716% higher)
10:09:47 PM.771: obs_video_thread(33.3333 ms): min=6.246 ms, median=33.333 ms, max=201.166 ms, 99.784% within ±2% of 33.333 ms (0.109664% lower, 0.10629% higher)
10:09:47 PM.771: =================================================
10:09:47 PM.817: Number of memory leaks: 0Though no one replied, I feel like it is a good thing to post the solution. I noticed there were A LOT of people having this issue but it was on their side and not the clients' watching the stream. With that said, if you do have this problem where the static noise is only WITHIN your STREAM, client side only and not in your headphones or speakers, then you may need to update your processor. I had to consult a friend of mine that is very well versed in the Arch way and he helped me figure it out pretty quick. I am running a sandy bridge i7 and a simple update for the processor fixed my issue. Thanks to Conker.
I would mark this as solved... but I don't know how.
Last edited by CannaPLUS (2016-02-16 08:42:01)
Offline