Question / Help FFmpeg Video encoder setting

Xprim

New Member
Hey guys,

My recording option is set to use ffmpeg, mp4, libx264. The following options: fast-pskip=0 preset=medium works well.
Now I'd like to change the ref & bframes options but none of these commands change anything: ref=9 bframes=5 or refs=9 bf=5. Why is that? And how to change the abr mode to the cbr?

Also tried to put ffmpeg command line format yet still the same.

Thanks in advance,
cheers
 

Xprim

New Member
I agree and I know, but I wanted to change it because sometimes I record in 720p. Can you tell me what command I need to insert when I'm using ffmpeg?
Same thing with the bframes. Do you know how to change it?
I'm used to use ffmpeg and x264 to encode using scripts, gui programs etc but I'm stuck with OBS to set specific parameters :/
thx for your time.
 

Xprim

New Member


You see, I tried all command I'm aware of right after "preset=fast", in front of even between etc no luck everytime :/
 

Suslik V

Active Member
Don't know how you want to use this, but the string, that has no real meaning, should look like this:
Code:
preset=slower crf=38 x264-params=bframes=0:no-cabac=1
the options right after the "x264-params" just overwrites preset settings that was set before this key (look at the string). Thus video encoded without bframes allowed and cabac disabled. Edit: in your case, you can try "fast_pskip=0" istead of "bframes=0", for parameters names - just look at the string that NAL type 6 has in each mp4 file of your current recording MediaInfo of the file - Encoding settings string.
 
Last edited:

Xprim

New Member
Hey,
My string work as I wish and all I needed was yours "x264-params=bframes=X:XXXXXX" The missing thing I didn't have was the "=" right after params.
Thx to you I can now configure my settings as desired!
I know it overides and I also know Mediainfo ;)
Anyway, many thx for your help. Really appreciated! Hope this will help people in my situation.
You're the best
 
Top