Question / Help My stream feels slow and sluggish...

Kurolox

New Member
Hello!

Yesterday I finally got optic fiber, so I have a good upload speed for stream. Trying to set things up for my streaming, I found that every configuration feels slow, like with fps drops. I'm not really sure about why.

Here's the last log: https://gist.github.com/6297ad538775fc70c637

Code:
10:24:22 AM.392: Processor: 8 logical cores
10:24:22 AM.392: Processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
10:24:22 AM.392: Physical Memory: 16010MB Total
10:24:22 AM.392: Kernel Version: Linux 4.2.5-1-ARCH
10:24:22 AM.392: Distribution: "Arch Linux" Unknown
10:24:22 AM.412: OBS 0.12.0 (linux)
10:24:22 AM.412: ---------------------------------
10:24:22 AM.412: ---------------------------------
10:24:22 AM.412: audio settings reset:
10:24:22 AM.412:     samples per sec: 44100
10:24:22 AM.412:     speakers:        2
10:24:22 AM.412:     buffering (ms):  1000
10:24:22 AM.458: OpenGL version: 3.2.0 NVIDIA 355.11
10:24:22 AM.458:
10:24:22 AM.464: ---------------------------------
10:24:22 AM.464: video settings reset:
10:24:22 AM.464:     base resolution:   1920x1080
10:24:22 AM.464:     output resolution: 1920x1080
10:24:22 AM.464:     fps:               60/1
10:24:22 AM.464:     format:            NV12
10:24:22 AM.466: ---------------------------------
10:24:22 AM.466: Loading module: image-source.so
10:24:22 AM.467: ---------------------------------
10:24:22 AM.469: Loading module: linux-capture.so
10:24:22 AM.470: ---------------------------------
10:24:22 AM.472: Loading module: linux-decklink.so
10:24:22 AM.473: No blackmagic support
10:24:22 AM.473: Failed to start search for DeckLink devices
10:24:22 AM.473: ---------------------------------
10:24:22 AM.476: Loading module: linux-jack.so
10:24:22 AM.476: ---------------------------------
10:24:22 AM.476: Loading module: linux-pulseaudio.so
10:24:22 AM.476: ---------------------------------
10:24:22 AM.478: Loading module: linux-v4l2.so
10:24:22 AM.478: ---------------------------------
10:24:22 AM.478: Loading module: obs-ffmpeg.so
10:24:22 AM.478: ---------------------------------
10:24:22 AM.479: Loading module: obs-filters.so
10:24:22 AM.479: ---------------------------------
10:24:22 AM.479: Loading module: obs-libfdk.so
10:24:22 AM.479: ---------------------------------
10:24:22 AM.479: Loading module: obs-outputs.so
10:24:22 AM.479: ---------------------------------
10:24:22 AM.480: Loading module: obs-x264.so
10:24:22 AM.480: ---------------------------------
10:24:22 AM.480: Loading module: rtmp-services.so
10:24:22 AM.480: ---------------------------------
10:24:22 AM.480: Loading module: text-freetype2.so
10:24:22 AM.480: =====================================================================
10:24:22 AM.480: output 'adv_stream' (rtmp_output) created
10:24:22 AM.481: output 'adv_file_output' (ffmpeg_muxer) created
10:24:22 AM.481: encoder 'recording_h264' (obs_x264) created
10:24:22 AM.481: encoder 'streaming_h264' (obs_x264) created
10:24:22 AM.481: AAC encoder bitrate mapping:
10:24:22 AM.481:      32 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:      64 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:      96 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:     128 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:     160 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:     192 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:     224 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:     256 kbit/s: 'libfdk AAC Encoder' (libfdk_aac)
10:24:22 AM.481:     288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
10:24:22 AM.481:     320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
10:24:22 AM.481: encoder 'adv_aac0' (libfdk_aac) created
10:24:22 AM.481: encoder 'adv_aac1' (libfdk_aac) created
10:24:22 AM.481: encoder 'adv_aac2' (libfdk_aac) created
10:24:22 AM.481: encoder 'adv_aac3' (libfdk_aac) created
10:24:22 AM.481: service 'default_service' (rtmp_common) created
10:24:22 AM.481: All scene data cleared
10:24:22 AM.481: ------------------------------------------------
10:24:22 AM.485: pulse-input: Server name: 'pulseaudio 7.1'
10:24:22 AM.485: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
10:24:22 AM.485: pulse-input: Started recording from 'alsa_output.usb-Samson_Technologies_Samson_Meteor_Mic-00.analog-stereo.monitor'
10:24:22 AM.485: source 'Desktop Audio' (pulse_output_capture) created
10:24:22 AM.486: pulse-input: Server name: 'pulseaudio 7.1'
10:24:22 AM.486: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
10:24:22 AM.486: pulse-input: Started recording from 'alsa_input.usb-Samson_Technologies_Samson_Meteor_Mic-00.iec958-stereo'
10:24:22 AM.486: source 'Mic/Aux' (pulse_input_capture) created
10:24:22 AM.486: source 'Scene' (scene) created
10:24:22 AM.487: xshm-input: Geometry 1920x1080 @ 1280,0
10:24:22 AM.487: source 'Screen Capture (XSHM)' (xshm_input) created
10:24:22 AM.504: xcompcap: XCompositeNameWindowPixmap failed: BadMatch (invalid parameter attributes)
10:24:22 AM.504: source 'Window Capture (Xcomposite)' (xcomposite_input) created
10:24:22 AM.536: == Profiler Results =============================
10:24:22 AM.536: run_program_init: 212.669 ms
10:24:22 AM.536:  ┣OBSApp::AppInit: 0.933 ms
10:24:22 AM.536:  ┃ ┗OBSApp::InitLocale: 0.417 ms
10:24:22 AM.536:  ┗OBSApp::OBSInit: 153.48 ms
10:24:22 AM.536:    ┣obs_startup: 0.671 ms
10:24:22 AM.536:    ┗OBSBasic::OBSInit: 123.552 ms
10:24:22 AM.536:      ┣OBSBasic::InitBasicConfig: 0.338 ms
10:24:22 AM.536:      ┣OBSBasic::ResetAudio: 0.079 ms
10:24:22 AM.536:      ┣OBSBasic::ResetVideo: 52.166 ms
10:24:22 AM.536:      ┣OBSBasic::InitOBSCallbacks: 0.006 ms
10:24:22 AM.536:      ┣OBSBasic::InitHotkeys: 0.033 ms
10:24:22 AM.536:      ┣obs_load_all_modules: 15.773 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(image-source.so): 0.004 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(linux-capture.so): 1.655 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(linux-decklink.so): 0.208 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(linux-jack.so): 0.005 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(linux-v4l2.so): 0.002 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0.01 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(obs-filters.so): 0.006 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(obs-outputs.so): 0.001 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
10:24:22 AM.536:      ┃ ┣obs_init_module(rtmp-services.so): 0.074 ms
10:24:22 AM.536:      ┃ ┗obs_init_module(text-freetype2.so): 0.019 ms
10:24:22 AM.536:      ┣OBSBasic::ResetOutputs: 0.325 ms
10:24:22 AM.536:      ┣OBSBasic::CreateHotkeys: 0.015 ms
10:24:22 AM.536:      ┣OBSBasic::InitService: 0.045 ms
10:24:22 AM.536:      ┣OBSBasic::InitPrimitives: 0.109 ms
10:24:22 AM.536:      ┗OBSBasic::Load: 26.875 ms
10:24:22 AM.536: =================================================
10:24:23 AM.065: 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.
10:24:23 AM.070: Update check: last known remote version is 0.4.0
10:24:23 AM.090: Audio line 'Mic/Aux' audio data no longer getting cut off.
10:24:25 AM.932: ---------------------------------
10:24:25 AM.932: [x264 encoder: 'streaming_h264'] preset: medium
10:24:25 AM.932: [x264 encoder: 'streaming_h264'] profile: main
10:24:25 AM.932: [x264 encoder: 'streaming_h264'] settings:
10:24:25 AM.932:     bitrate:     2500
10:24:25 AM.932:     buffer size: 2500
10:24:25 AM.932:     crf:         0 (0 when CBR is enabled)
10:24:25 AM.932:     fps_num:     60
10:24:25 AM.932:     fps_den:     1
10:24:25 AM.932:     width:       1280
10:24:25 AM.932:     height:      720
10:24:25 AM.932:     keyint:      120
10:24:25 AM.932:     vfr:         off
10:24:25 AM.932:     cbr:         on
10:24:25 AM.964: libfdk_aac encoder created
10:24:25 AM.964: libfdk_aac bitrate: 128, channels: 2
10:24:25 AM.964: Output 'adv_stream': 10 second delay active, preserve on disconnect is on
10:24:35 AM.939: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-cdg.twitch.tv/app...
10:24:37 AM.202: [rtmp stream: 'adv_stream'] Connection to rtmp://live-cdg.twitch.tv/app successful
10:24:37 AM.203: ==== Streaming Start ===============================================
10:25:40 AM.541: xcompcap: XCompositeNameWindowPixmap failed: BadMatch (invalid parameter attributes)
10:25:52 AM.953: [rtmp stream: 'adv_stream'] User stopped the stream
10:25:52 AM.954: Output 'adv_stream': stopping
10:25:52 AM.954: Output 'adv_stream': Total frames: 4597
10:25:52 AM.954: Output 'adv_stream': Number of skipped frames: 3544 (77.0938%)
10:25:53 AM.211: libfdk_aac encoder destroyed

And here is the streaming upload from the log.

http://www.twitch.tv/kurolox/v/24666684

  • CPU: Intel i7 2600 Non-k
  • GPU: Nvidia GTX 770 OC
  • RAM: 16 GB DDR3 1866
  • Motherboard: Gigabyte Z77X-D3H
  • Tower: BitFenix Comrade blanca
  • PSU: Nox Urano VX 750
  • Cooler: Cooler Master Hyper TX3 Evo
  • Internet: 300 Mbps down / 30 Mbps up
  • SSD: SSD Kingston V300 120 GiB
    • HDD:2x Seagate 7200 1 TiB
 

Gol D. Ace

Member
Set the preset back to veryfast and try again. Your CPU clearly can't handle medium at 1080p 60 FPS or 720p 60 FPS.

Also 1080p 60 FPS will look like shit on twitch because you can't use the necessary bitrate for it.
(720p 60 FPS can be ok but depends on the game and cpu you have).

720p 30 FPS is recommended when streaming for twitch because of their bitrate limitations.
 
Top