Question / Help I'm having some problems using OBS...

Kurolox

New Member
Ubuntu 15.04.

First, I'm unable to get OBS capturing sound from the computer. The microphone sound works perfectly, but I can't get any response from the computer sound.

Also I have a small question. How does the Encoder Preset affects the recording/streaming?

Second, the quality is really bad. I tried tweaking the settings, but I'm unable to get it better than this video.

https://www.youtube.com/watch?v=bAxWBsGA0Ts

Code:
01:35:36.804: OBS 0.11.2 (linux)
01:35:36.804: ---------------------------------
01:35:36.866: Processor: 8 logical cores
01:35:36.866: Processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
01:35:36.867: Physical Memory: 16008MB Total
01:35:36.867: Kernel Version: Linux 3.19.0-26-generic
01:35:36.867: Distribution: "Ubuntu" "15.04"
01:35:36.867: ---------------------------------
01:35:36.867: audio settings reset:
01:35:36.867:     samples per sec: 44100
01:35:36.867:     speakers:        2
01:35:36.867:     buffering (ms):  1000
01:35:36.877: X and Y: 1262 459
01:35:36.877: Backbuffers: 2
01:35:36.877: Color Format: 3
01:35:36.877: ZStencil Format: 0
01:35:36.877: Adapter: 0
01:35:36.877:
01:35:37.038: OpenGL version: 3.2.0 NVIDIA 346.59
01:35:37.038:
01:35:37.044: ---------------------------------
01:35:37.044: video settings reset:
01:35:37.044:     base resolution:   1920x1080
01:35:37.044:     output resolution: 1280x720
01:35:37.044:     fps:               30/1
01:35:37.044:     format:            NV12
01:35:37.045: ---------------------------------
01:35:37.045: Loading module: image-source.so
01:35:37.045: ---------------------------------
01:35:37.045: Loading module: linux-capture.so
01:35:37.047: ---------------------------------
01:35:37.047: Loading module: linux-decklink.so
01:35:37.047: No blackmagic support
01:35:37.047: Failed to start search for DeckLink devices
01:35:37.048: ---------------------------------
01:35:37.048: Loading module: linux-jack.so
01:35:37.049: ---------------------------------
01:35:37.049: Loading module: linux-pulseaudio.so
01:35:37.050: ---------------------------------
01:35:37.050: Loading module: linux-v4l2.so
01:35:37.053: ---------------------------------
01:35:37.053: Loading module: obs-ffmpeg.so
01:35:37.054: ---------------------------------
01:35:37.054: Loading module: obs-filters.so
01:35:37.054: ---------------------------------
01:35:37.054: Loading module: obs-libfdk.so
01:35:37.055: ---------------------------------
01:35:37.055: Loading module: obs-outputs.so
01:35:37.055: ---------------------------------
01:35:37.055: Loading module: obs-x264.so
01:35:37.056: ---------------------------------
01:35:37.056: Loading module: rtmp-services.so
01:35:37.057: ---------------------------------
01:35:37.057: Loading module: text-freetype2.so
01:35:37.057: =====================================================================
01:35:37.057: output 'adv_stream' (rtmp_output) created
01:35:37.057: output 'adv_file_output' (ffmpeg_muxer) created
01:35:37.057: encoder 'recording_h264' (obs_x264) created
01:35:37.057: encoder 'streaming_h264' (obs_x264) created
01:35:37.058: AAC encoder bitrate mapping:
01:35:37.058:      32 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:      64 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:      96 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:     128 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:     160 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:     192 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:     224 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:     256 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
01:35:37.058:     288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:35:37.058:     320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
01:35:37.058: encoder 'adv_aac0' (libfdk_aac) created
01:35:37.058: encoder 'adv_aac1' (libfdk_aac) created
01:35:37.058: encoder 'adv_aac2' (libfdk_aac) created
01:35:37.058: encoder 'adv_aac3' (libfdk_aac) created
01:35:37.060: service 'default_service' (rtmp_common) created
01:35:37.069: All scene data cleared
01:35:37.069: ------------------------------------------------
01:35:37.073: pulse-input: Server name: 'pulseaudio 6.0'
01:35:37.073: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
01:35:37.073: pulse-input: Started recording from 'alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor'
01:35:37.073: source 'Desktop Audio' (pulse_output_capture) created
01:35:37.073: pulse-input: Server name: 'pulseaudio 6.0'
01:35:37.073: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
01:35:37.073: pulse-input: Started recording from 'alsa_input.usb-Samson_Technologies_Samson_Meteor_Mic-00-Mic.analog-stereo'
01:35:37.074: source 'Mic/Aux' (pulse_input_capture) created
01:35:37.074: source 'Scene' (scene) created
01:35:37.090: xcompcap: XCompositeNameWindowPixmap failed: BadMatch (invalid parameter attributes)
01:35:37.090: source 'Window Capture (Xcomposite)' (xcomposite_input) created
01:35:37.935: Update check: last known remote version is 0.4.0
01:37:45.588: encoder 'recording_h264' destroyed
01:37:45.588: encoder 'streaming_h264' destroyed
01:37:45.588: encoder 'adv_aac3' destroyed
01:37:45.588: encoder 'adv_aac2' destroyed
01:37:45.588: encoder 'adv_aac1' destroyed
01:37:45.588: encoder 'adv_aac0' destroyed
01:37:45.588: output 'adv_stream' destroyed
01:37:45.588: output 'adv_file_output' destroyed
01:37:45.588: output 'simple_stream' (rtmp_output) created
01:37:45.588: output 'simple_file_output' (ffmpeg_muxer) created
01:37:45.588: encoder 'simple_h264' (obs_x264) created
01:37:45.588: encoder 'simple_aac' (libfdk_aac) created
01:37:45.588: Settings changed (outputs)
01:37:45.588: ------------------------------------------------
01:37:57.693: ---------------------------------
01:37:57.693: video settings reset:
01:37:57.693:     base resolution:   1920x1080
01:37:57.693:     output resolution: 1920x1080
01:37:57.693:     fps:               30/1
01:37:57.693:     format:            NV12
01:37:57.694: Settings changed (video)
01:37:57.694: ------------------------------------------------
01:38:48.381: encoder 'simple_h264' destroyed
01:38:48.381: encoder 'simple_aac' destroyed
01:38:48.381: output 'simple_stream' destroyed
01:38:48.381: output 'simple_file_output' destroyed
01:38:48.381: output 'simple_stream' (rtmp_output) created
01:38:48.381: output 'simple_file_output' (ffmpeg_muxer) created
01:38:48.381: encoder 'simple_h264' (obs_x264) created
01:38:48.381: encoder 'simple_aac' (libfdk_aac) created
01:38:48.381: Settings changed (outputs)
01:38:48.381: ------------------------------------------------
01:39:08.168: encoder 'simple_h264' destroyed
01:39:08.185: encoder 'simple_aac' destroyed
01:39:08.185: output 'simple_stream' destroyed
01:39:08.185: output 'simple_file_output' destroyed
01:39:08.185: output 'simple_stream' (rtmp_output) created
01:39:08.185: output 'simple_file_output' (ffmpeg_muxer) created
01:39:08.185: encoder 'simple_h264' (obs_x264) created
01:39:08.185: encoder 'simple_aac' (libfdk_aac) created
01:39:08.185: Settings changed (outputs)
01:39:08.185: ------------------------------------------------
01:39:27.796: xcompcap: XCompositeNameWindowPixmap failed: BadMatch (invalid parameter attributes)
01:39:55.683: Settings changed (audio)
01:39:55.683: ------------------------------------------------
01:40:20.026: xcompcap: XCompositeRedirectWindow failed: BadWindow (invalid Window parameter)
01:40:22.409: source 'Desktop Audio' destroyed
01:40:22.409: pulse-input: Stopped recording from 'alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor'
01:40:22.409: pulse-input: Got 341997 packets with 12589736 frames
01:40:22.434: source 'Mic/Aux' destroyed
01:40:22.434: pulse-input: Stopped recording from 'alsa_input.usb-Samson_Technologies_Samson_Meteor_Mic-00-Mic.analog-stereo'
01:40:22.435: pulse-input: Got 170523 packets with 12584827 frames
01:40:22.452: source 'Scene' destroyed
01:40:22.453: source 'Window Capture (Xcomposite)' destroyed
01:40:22.454: All scene data cleared
01:40:22.454: ------------------------------------------------
01:40:22.454: service 'default_service' destroyed
01:40:22.454: encoder 'simple_h264' destroyed
01:40:22.454: encoder 'simple_aac' destroyed
01:40:22.454: output 'simple_stream' destroyed
01:40:22.454: output 'simple_file_output' destroyed
01:40:22.526: Freeing OBS context data
01:40:22.618: Number of memory leaks: 0
 
Last edited:

dodgepong

Administrator
Community Helper
That log is incomplete. Can you open OBS, do a test recording, close and re-open OBS, and then upload your last log file?
 

Kurolox

New Member
Here's the new log.

Code:
17:22:46.148: OBS 0.11.2 (linux)
17:22:46.148: ---------------------------------
17:22:46.187: Processor: 8 logical cores
17:22:46.187: Processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
17:22:46.187: Physical Memory: 16008MB Total
17:22:46.187: Kernel Version: Linux 3.19.0-26-generic
17:22:46.187: Distribution: "Ubuntu" "15.04"
17:22:46.188: ---------------------------------
17:22:46.188: audio settings reset:
17:22:46.188:     samples per sec: 44100
17:22:46.188:     speakers:        2
17:22:46.188:     buffering (ms):  1000
17:22:46.199: X and Y: 1262 459
17:22:46.199: Backbuffers: 2
17:22:46.199: Color Format: 3
17:22:46.199: ZStencil Format: 0
17:22:46.199: Adapter: 0
17:22:46.199:
17:22:46.371: OpenGL version: 3.2.0 NVIDIA 346.59
17:22:46.371:
17:22:46.377: ---------------------------------
17:22:46.377: video settings reset:
17:22:46.377:     base resolution:   1920x1080
17:22:46.377:     output resolution: 1920x1080
17:22:46.377:     fps:               30/1
17:22:46.377:     format:            NV12
17:22:46.378: ---------------------------------
17:22:46.378: Loading module: image-source.so
17:22:46.379: ---------------------------------
17:22:46.379: Loading module: linux-capture.so
17:22:46.379: ---------------------------------
17:22:46.379: Loading module: linux-decklink.so
17:22:46.380: No blackmagic support
17:22:46.381: Failed to start search for DeckLink devices
17:22:46.382: ---------------------------------
17:22:46.382: Loading module: linux-jack.so
17:22:46.382: ---------------------------------
17:22:46.382: Loading module: linux-pulseaudio.so
17:22:46.383: ---------------------------------
17:22:46.383: Loading module: linux-v4l2.so
17:22:46.384: ---------------------------------
17:22:46.384: Loading module: obs-ffmpeg.so
17:22:46.384: ---------------------------------
17:22:46.384: Loading module: obs-filters.so
17:22:46.384: ---------------------------------
17:22:46.384: Loading module: obs-libfdk.so
17:22:46.385: ---------------------------------
17:22:46.385: Loading module: obs-outputs.so
17:22:46.385: ---------------------------------
17:22:46.385: Loading module: obs-x264.so
17:22:46.385: ---------------------------------
17:22:46.385: Loading module: rtmp-services.so
17:22:46.386: ---------------------------------
17:22:46.386: Loading module: text-freetype2.so
17:22:46.386: =====================================================================
17:22:46.386: output 'simple_stream' (rtmp_output) created
17:22:46.387: output 'simple_file_output' (ffmpeg_muxer) created
17:22:46.387: encoder 'simple_h264' (obs_x264) created
17:22:46.387: AAC encoder bitrate mapping:
17:22:46.387:      32 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:      64 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:      96 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:     128 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:     160 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:     192 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:     224 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:     256 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
17:22:46.387:     288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:22:46.387:     320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
17:22:46.387: encoder 'simple_aac' (libfdk_aac) created
17:22:46.387: service 'default_service' (rtmp_common) created
17:22:46.402: All scene data cleared
17:22:46.402: ------------------------------------------------
17:22:46.405: pulse-input: Server name: 'pulseaudio 6.0'
17:22:46.405: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
17:22:46.405: pulse-input: Started recording from 'alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor'
17:22:46.405: source 'Desktop Audio' (pulse_output_capture) created
17:22:46.405: pulse-input: Server name: 'pulseaudio 6.0'
17:22:46.406: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
17:22:46.406: pulse-input: Started recording from 'alsa_input.usb-Samson_Technologies_Samson_Meteor_Mic-00-Mic.analog-stereo'
17:22:46.406: source 'Mic/Aux' (pulse_input_capture) created
17:22:46.406: source 'Scene' (scene) created
17:22:46.406: xshm-input: Geometry 1920x1080 @ 1280,0
17:22:46.406: source 'Screen Capture (XSHM)' (xshm_input) created
17:22:47.323: Update check: last known remote version is 0.4.0
17:22:49.929: rtmp-common.c: [initialize_output] Could not find service ''
17:22:49.929: rtmp-common.c: [initialize_output] Could not find service ''
17:22:49.929: ---------------------------------
17:22:49.929: [x264 encoder: 'simple_h264'] preset: medium
17:22:49.930: [x264 encoder: 'simple_h264'] settings:
17:22:49.930:     bitrate:     6000
17:22:49.930:     buffer size: 6000
17:22:49.930:     fps_num:     30
17:22:49.930:     fps_den:     1
17:22:49.930:     width:       1920
17:22:49.930:     height:      1080
17:22:49.930:     keyint:      250
17:22:49.930:     vfr:         off
17:22:49.930:     cbr:         on
17:22:49.945: libfdk_aac encoder created
17:22:49.945: libfdk_aac bitrate: 128, channels: 2
17:22:49.950: ==== Recording Start ===============================================
17:22:49.950: [ffmpeg muxer: 'simple_file_output'] Writing file '/media/HDD/Recordings/2015-09-01 17-22-49.mp4'...
17:22:58.262: [ffmpeg muxer: 'simple_file_output'] Output of file '/media/HDD/Recordings/2015-09-01 17-22-49.mp4' stopped
17:22:58.262: ==== Recording Stop ================================================
17:22:58.262: Output 'simple_file_output': stopping
17:22:58.262: Output 'simple_file_output': Total frames: 250
17:22:58.262: Output 'simple_file_output': Number of skipped frames: 0 (0%)
17:22:59.989: source 'Desktop Audio' destroyed
17:22:59.989: pulse-input: Stopped recording from 'alsa_output.usb-Logitech_Logitech_G930_Headset-00-Headset.analog-stereo.monitor'
17:22:59.989: pulse-input: Got 16304 packets with 601579 frames
17:23:00.019: source 'Mic/Aux' destroyed
17:23:00.019: pulse-input: Stopped recording from 'alsa_input.usb-Samson_Technologies_Samson_Meteor_Mic-00-Mic.analog-stereo'
17:23:00.019: pulse-input: Got 8139 packets with 600160 frames
17:23:00.037: source 'Scene' destroyed
17:23:00.038: source 'Screen Capture (XSHM)' destroyed
17:23:00.040: All scene data cleared
17:23:00.040: ------------------------------------------------
17:23:00.040: service 'default_service' destroyed
17:23:00.040: encoder 'simple_h264' destroyed
17:23:00.090: encoder 'simple_aac' destroyed
17:23:00.090: libfdk_aac encoder destroyed
17:23:00.090: output 'simple_stream' destroyed
17:23:00.090: output 'simple_file_output' destroyed
17:23:00.143: Freeing OBS context data
17:23:00.236: Number of memory leaks: 0
 

dodgepong

Administrator
Community Helper
The encoder preset works like this: ultrafast = uses the least amount of CPU, looks the worst, slow = uses extreme amounts of CPU, looks best. "veryfast" is the most balanced preset in terms of quality/CPU tradeoff.

As for the audio, I admit I don't know much about the Linux side. You're sure you've selected the audio device that your desktop is outputting to as the device to be captured?
 

Kurolox

New Member
Thanks for explain me how the encoder preset works. About the audio, I found the problem. Seems like my headset was configured as analog, when it's digital, making it able to output the sound directly to the headset but unable to be detected by any program. That was my fault and OBS don't have nothing to do with it. I already changed the config and it's working now perfectly.
 
Top