Bug Report Local Recording Troubles

Micolithe

New Member
When my stream mode is set to File Output Only, no matter what I do the resulting mp4 file has a bitrate of about 350kbps and looks like absolute trash.

If I'm streaming to twitch at the same time the resulting local recording is a reasonable filesize for the options I picked (which is to say 850kbps)

My settings dialogs are as follows:
http://puu.sh/1FFdS
http://puu.sh/1FFej
http://puu.sh/1FFf8

(I do not normally stream at 15000 kbps because that would be insane)
 

Micolithe

New Member
Tried uppping it to match the bitrate just now, and did a short test recording. It didn't help. Still a really low bitrate with really bad compression on the recording.
 

Micolithe

New Member
I'm recording a flash game just to test stuff out.

Also sure.

Here's the OBS Log:
Code:
Open Broadcaster Software v0.461a - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD Phenom(tm) II X4 810 Processor
CPU Speed: 2608MHz
Physical Memory:  4095MB Total, 1804MB Free
stepping id: 2, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: ATI Radeon HD 5700 Series
  Video Adapter Dedicated Video Memory: 1063923712
  Video Adapter Shared System Memory: 1878618112
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1024x768
  Output resolution: 1024x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using text output
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1024, height: 768
    preset: veryfast
    CBR: no
    max bitrate: 1500
    buffer size: 1500
    quality: 10
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
Total frames rendered: 129, number of frames that lagged: 11 (8.53%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1024x768
  Output resolution: 1024x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1024, height: 768
    preset: veryfast
    CBR: no
    max bitrate: 1500
    buffer size: 1500
    quality: 10
------------------------------------------
Total frames rendered: 11591, number of frames that lagged: 509 (4.39%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1024x768
  Output resolution: 1024x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1024, height: 768
    preset: veryfast
    CBR: no
    max bitrate: 15000
    buffer size: 750
    quality: 10
------------------------------------------
Total frames rendered: 493, number of frames that lagged: 60 (12.17%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1024x768
  Output resolution: 1024x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
Using custom x264 settings: "--preset slow --crf 20"
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1024, height: 768
    preset: slow
    CBR: no
    max bitrate: 15000
    buffer size: 750
    quality: 10
------------------------------------------
Total frames rendered: 48, number of frames that lagged: 4 (8.33%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1024x768
  Output resolution: 1024x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
Using custom x264 settings: "--preset slow --crf 20"
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1024, height: 768
    preset: slow
    CBR: no
    max bitrate: 15000
    buffer size: 750
    quality: 10
------------------------------------------
Total frames rendered: 756, number of frames that lagged: 87 (11.51%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 30.295 ms] [avg calls per frame: 1] [children: 98.8%] [unaccounted: 1.2%]
| scene->Preprocess - [93.5%] [avg time: 28.332 ms] [avg calls per frame: 1]
| video encoding and uploading - [5.27%] [avg time: 1.598 ms] [avg calls per frame: 1] [children: 5.23%] [unaccounted: 0.0462%]
| | CopyResource - [0.033%] [avg time: 0.01 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0099%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [5.16%] [avg time: 1.564 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0231%] [avg time: 0.007 ms] [avg calls per frame: 0]
==============================================================

And for good measure here's my MediaInfo text file about the recording.
Code:
General
Complete name                            : C:\Users\Alexxx\Videos\XSplit Recordings\JustinTV - Micolithe Variety Hour\obsoutput (06).mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 848 KiB
Duration                                 : 14s 27ms
Overall bit rate                         : 496 Kbps
Encoded date                             : UTC 2012-12-26 22:42:59
Tagged date                              : UTC 2012-12-26 22:42:59
Writing application                      : Open Broadcaster Software v0.461a

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 14s 27ms
Bit rate                                 : 369 Kbps
Width                                    : 1 024 pixels
Height                                   : 768 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 29.015 fps
Minimum frame rate                       : 19.608 fps
Maximum frame rate                       : 31.250 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.016
Stream size                              : 631 KiB (74%)
Writing library                          : x264 core 125
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=120 / keyint_min=12 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=15000 / vbv_bufsize=750 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2012-12-26 22:42:59
Tagged date                              : UTC 2012-12-26 22:42:59

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 14s 17ms
Source duration                          : 13s 978ms
Bit rate mode                            : Constant
Nominal bit rate                         : 132 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Source stream size                       : 199 KiB (23%)
Title                                    : audioTrack
Encoded date                             : UTC 2012-12-26 22:42:59
Tagged date                              : UTC 2012-12-26 22:42:59
 

Micolithe

New Member
Read the whole log please

I tested this a bunch of times, check the very first recording in the OBS Log

max bitrate: 1500
buffer size: 1500
 

Micolithe

New Member
Code:
General
Complete name                            : C:\Users\Alexxx\Videos\XSplit Recordings\JustinTV - Micolithe Variety Hour\obsoutput (02).mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 1.14 MiB
Duration                                 : 23s 203ms
Overall bit rate                         : 412 Kbps
Encoded date                             : UTC 2012-12-27 00:53:24
Tagged date                              : UTC 2012-12-27 00:53:24
Writing application                      : Open Broadcaster Software v0.461a

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 23s 203ms
Bit rate                                 : 295 Kbps
Width                                    : 1 024 pixels
Height                                   : 768 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Variable
Frame rate                               : 29.738 fps
Minimum frame rate                       : 20.000 fps
Maximum frame rate                       : 31.250 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.013
Stream size                              : 836 KiB (72%)
Writing library                          : x264 core 125
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=120 / keyint_min=12 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=15000 / vbv_bufsize=15000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2012-12-27 00:53:24
Tagged date                              : UTC 2012-12-27 00:53:24

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 23s 193ms
Source duration                          : 23s 174ms
Bit rate mode                            : Constant
Nominal bit rate                         : 132 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Source stream size                       : 302 KiB (26%)
Title                                    : audioTrack
Encoded date                             : UTC 2012-12-27 00:53:24
Tagged date                              : UTC 2012-12-27 00:53:24

and the chunk of the OBS log that was appended to the logfile
Code:
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1024x768
  Output resolution: 1024x768
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1024, height: 768
    preset: veryfast
    CBR: no
    max bitrate: 15000
    buffer size: 15000
    quality: 10
------------------------------------------
Total frames rendered: 777, number of frames that lagged: 54 (6.95%) (it's okay for some frames to lag)
 

R1CH

Forum Admin
Developer
I guess your source isn't complex enough if x264 only needs 450kbps to encode it. Low motion games will usually exhibit this behavior. If you want to increase the quality, you'll need to override the base CRF of 22 in the advanced options box, eg try crf=15 or 12.
 

Micolithe

New Member
18 is what I use in MeGUI when encoding from AviSynth, so I'll try that and work my way down.

E: 18 didnt do anything, 15 didn't do anything, 12 was a marginal improvement, now I'm using crf=8 and it's finally spitting out a file with reasonable quality.
 
Top