Question / Help Recording with OBS

Muspel

New Member
Hi,

I'm trying to record full hd gameplay videos for youtube but I'm having some problems finding the perfect setting for me. Maybe my pc isn't good enough? because the only way to have 60fps on my game and "perfect" record is with x264 cpu preset ultrafast. Even with superfast my fps goes from 60 to 50-40 no matter the settings I tried everything.

I did some research before posting I tried no buff bitrate, 1k bitrate, crf 18-25, high profile, etc. But in the end, the only way that I can play with 60 fps and have a record that looks smooth with 60fps and 0 lag, 0 stuttering, etc.

So, what's the problem? well with ultrafast even if I set my bitrate to 12k like Youtube recommend, they still compress a lot my quality and the "smooth" video result into a good video with a lot of blur when big things happen on screen and that's fucking annoying.

Maybe is because the ultrafast? I'm not sure but that's the only way that I can play like when I'm not recording and recording a decent quality.

My pc:

cpu i5 2500k 3.3ghz
vga HD7850 2gb
8gb ram
hd sata blue 500gb

I know I don't have some super pc, but I can play every single game full hd at 60fps with no problem at all and I'm not trying to record some new games, even with normal games with settings at low, but maybe OBS needs something better that's why I'm here to know if my pc is crap or my settings are crap.

CBR, CFR, encode in full range, process priority class ..... tried everything, need some help here pls! I want to record full hd 60fps and some normal games like League of Legend, Dota 2, Counter strike, they are not BIG games and I think that my pc is fine just for that kind of games.
 

Muspel

New Member
So, with my pc the only good quality I can get is ultrafast?

That's one of the guides that I saw before, I tried excatly that with crf 15 ultrafast as you said and the result is pretty much great, but I suppose that Youtube will make the same thing, I know that there is always some quality loss but if you match every aspect the quality loss will be almost nothing.

Recording with 1000kb won't be a problem when rendering with Premiere Pro or Vegas pro? Youtube want 12k bitrates for 1080p 60fps.

My gpu can't help my cpu to do some shit? I'm not sure if Youtube make some blur and quality loss for my settings, maybe with a better pc and settings the results is the same, probably not.
 

Harold

Active Member
The thing is, if you follow the guide properly, it's not actually using 1000kbit.
At 1080p60, ultrafast, it's actually using close to 40,000kbit in spite of what the settings show.

I wouldn't recommend using vegas or premiere for your final pre-youtube encode either. They both use the mainconcept h264 encoder, which in benchmarks, has a worse quality per bitrate ratio. I'd recommend encoding lossless out of those and using handbrake at crf 15 with the slowest sounding preset you can tolerate. (placebo, veryslow are the two slowest)

I also don't recommend saving directly to mp4 (implied by your suggestion of premiere/vegas). You have a non-graceful shutdown of the encoder and the entire file is useless. Save to flv first, then remux to mp4 if your editing software doesn't support flv.

You are, however running on an older i5 which may not actually have the oomf to keep up, however it rates higher than most chips I see people complaining about not being able to do 1080p60 with.
http://www.cpubenchmark.net/compare.php?cmp[]=804&cmp[]=2284&cmp[]=2275
 

Muspel

New Member
I really appreciate your help, you're awesome!.

Still I'm newbie recorder/video editor so I'm not 100% sure what is encoding lossless and then using handbrake at crf 15 (I know handbrake just by name when I was looking for information about OBS).

Why you don't recommend any of them? Youtube want videos with h264 as far as I know. With Adobe Premiere I was always doing a .mp4 file and with Vegas pro .avi (because I can't use h264 with mp4, don't know why).

Now that I saw the properties of my files, you're right they have a huge bitrate, more than 20k or 30k.

So what you're saying is that first record my clips with OBS with the settings you told me, what's encoding lossless out of those? I can do that with Handbrake? I need to edit my clips too, they're not ready for upload.

I don't really understand the last part about making a .flv, with Premiere or Vegas? I'm not sure how to change it to mp4 after creating a flv.
 

Harold

Active Member
Handbrake's h264 encoder is based on x264 (which is what OBS uses internally) and gives a better quality per bitrate than mainconcept.

Record with flv out of OBS with the crf-based bitrate selection, remux to mp4 following https://obsproject.com/forum/resources/how-to-convert-flvs-to-mp4-fast-without-re-encoding.78/ (I recommend the ffmpeg method, it works more consistently), then do your editing in vegas or premiere. Once done with the editing, export as a lossless file (using a video format such as lagarith or huffyuv, guides for that are found on forums like doom9) instead of h264 there, then use handbrake to do your final encode for upload to youtube, using a crf of 15.
 

Muspel

New Member
So if I understand, will be something like this:

1) Record with OBS but exporting into .flv not mp4.
2) Change .flv to .mp4 with ffmpeg.
3) Edit with Vegas or Premiere
4) Export as lossless file like Lagarith (I have that codec already installed)
5) Handbrake encode with crf=15.

The final file will be a .mp4?

Both of my softwares have some kind of problem, Premiere have sync problems, YOUTUBE: The video you uploaded may have audio/video sync issues. Please refer to this article for advice on how to correct this issue should it arise.

I don't see much on the videos but it's annoying.

Vegas export a darker video, even if I change it to RGB with levels, the result is something more gray and with less colors.

Thanks for your time again!
 

Harold

Active Member
The final file out of handbrake will be either mp4 or mkv, depending on which you choose out of handbrake. I'm pretty sure youtube can handle either container.

Handbrake should also not generate the sync issues that premiere does. It handles audio and video processing differently enough.
 

Muspel

New Member
I'm not sure what's the problem but I still have that sync problem even with Vegas Pro now, I'm doing something wrong.

I did everything and the result maybe is quite better? not sure I need to test a little more, like the settings for Handbrake to render/export,

Checked: Web optimized

x264 preset: Fast

x264 Tune: None (maybe animation?)

H.264 Level: 4.0 (maybe 4.1, 4.2 or 5.1? I don't know what's the difference)

Contant Quality RF: 15

About the sync problem I'm not sure if I'm recording with that problem or if it's from another clips like an intro from After Effects. I exported from Handbrake as mp4, "the clip" after ffmpeg and editing with Vegas Pro is about 50GB and after Handbrake 1,25GB awesome! but it's good? maybe I went too pussy with the settings.

Next clip I'll do it with Adobe Premiere, Vegas pro is still making my screen all gray for no reason even if I change the level filters to computer RGB or studio RGB.
 

Harold

Active Member
Low CRF number (18 or lower) and slow-sounding preset coming out of handbrake or ffmpeg will give low filesizes compared to the web-enabled presets coming out of vegas and premiere, sometimes with better picture quality.

There's an x264 codec that can be used in vegas and premiere (x264vfw) that gives similar results to ffmpeg and handbrake on the video side, but the quality results using CRF based bitrate selection usually speak for themselves (VERY loudly).

I've seen files go from 85GB to under 800mb because of CRF based bitrate selection.
 

Muspel

New Member
I suppose I need to play a little with the settings and test them to find my peak for my hardware.

I'm not really sure why but the final clip it's ok on windows media but when I try to watch it with VLC it's like 2PFS per second, unwatchable but the clip it's ok on Youtube so I don't know shit why is that.

Well I think it's all for now if I found a new problem or something I'll be here again! you're the fucking best man! a lot of help from you I really appreciate your time!
 
Top