Question / Help FFmpeg custom recording failure

creazu

New Member
Hi.
First off I'd like to thank anyone who participates in coding this amazing program.
I would like to know if someone can help me with some particular things.
Now let me explain my issue. I use Sony Vegas to edit videos and I record Fortnite from OBS, I've tried multiple encoding outputs and I always end up with bad frames whilst EDITING on Vegas, overall it's perfect when I render but scanning through footage and editing is horrible. I believe it has something to do with how Vegas handles compression on videos.
Now here's where it gets weird. I "convert" the OBS video to use in Vegas and it's UNBELIEVABLE! 100mbps, 240fps @ 1920x1080 and I have 0 buffering or skipped frames in Vegas. This is why it's weird.
They're both .MP4 h.264/mpeg4 AVC but the writing application for OBS is Lavf57.84.100
My conversion software uses Lavf51.12.1. There are some other differences in the encoding process as you can see below: (the right side is the one I want to replicate)

Untitled.jpg


My question is, in the custom FFmpeg settings how exactly can I replicate the settings of my converted version?
I've tried to change cabac and rframes by using cabac=0 ref=1 but I'm getting this in my logs "Failed to set cabac=0" etc etc. Am I entering these incorrectly or is OBS just ignoring it? I feel like my conversion software is using a way old version of FFmpeg and that may be why it runs well in Vegas.
If you're interested I can record a video of what I mean exactly, but I think I've explained myself properly :P
Thank you so much for any replies.
 

creazu

New Member
A log won't show the issues I'm having.
It's not an issue with OBS, I need help with configuring OBS to match another encoded video.
The links you posted don't help unfortunately.
I need someone who knows how to use the ffmpeg area of OBS.
 

creazu

New Member
Because I'm an idiot and can't figure out the parameters can you please tell me what to write so I can just copy and paste it?
I want:
1 Ref frame
NO CABAC
1 ReFrames
GOP M=1, N=12

please! <3
Okay, now I know why it won't work... when I chose any nvenc x264 it doesnt accept the parameters.. when i change it just to "default encoder libx264" then it works... it's a shame because I need to use nvenc to use obs.
All I want is for cabac to be disabled:/
 

creazu

New Member
Just reduce bitrate/quality you are recording with. And forget about the Custom FFmpeg Output.
I have a 9900k and a 1080ti there is no reason to lower my quality.
Also I have files that I edit with that are over 150mbps and have 240fps and they run smooth.
But anything encoded with OBS doesn't work well with my editing software, even if it's 20mbps 480x360 resolution.
Reason being is that CABAC is enabled, if I could disable it without custom ffmpeg I would, but I can't.
Even with custom ffmpeg when using Nvenc it ignores the settings.
Is there no possible way to disable CABAC?
 

Suslik V

Active Member
For hardware encoder? No. Right now it's not possible.
150Mbit/s ? Use MPEG2 then, it should be smooth as always.

Edit: probably you don't know how...
 
Top