Question / Help Unable to ignore bitrate setting with ffmpeg

Trig

New Member
This has been bothering me for a long time, I am recording utvideo + flac with OBS-FFMPEG in an .avi container. I can't just let ffmpeg use it's default settings for audio/video bitrates I have to actually set a bitrate. Now, when ffmpeg outputs the files it seems to ignore the video bitrate with utvideo but flac still tags the audio track with the used bitrate.

OBS:
FLAC Bitrate: 999kb/s
Utvideo Bitrate: 9999999

MPC-HC properties:
Video: ULH0 1280x720 30fps 64935kbps [V: utvideo, yuv420p, 1280x720, 64935 kb/s]
Audio: FLAC (framed) 44100Hz stereo 1411kbps [A: flac, 44100 Hz, stereo, s16, 999 kb/s]

Why can't this setting just be set to default somehow, It's confusing for many users and it seems not to actually do anything as far as I can tell with lossless codecs. I had no idea what bitrate to use for utvideo for the longest time but it just ignores the setting completely.
 

Dibowac12341478N

New Member
Hmm, try using 2000 Bit-Rate and see if it works, if not try to go higher but the limit i suggest you to keep is 8000 Bit-Rate.

[07-10-2017_14_00]
 

Sapiens

Forum Moderator
@Dibowac12341478N That suggestion doesn't even remotely make sense given the context.

@Trig The vast majority of users have no need for advanced FFmpeg output. This also seems like an issue with passing the correct commands to FFmpeg, not any type of failure in OBS. Is there a reason you can't use the local recording preset for lossless?
 

Dibowac12341478N

New Member
@Dibowac12341478N That suggestion doesn't even remotely make sense given the context.

@Trig The vast majority of users have no need for advanced FFmpeg output. This also seems like an issue with passing the correct commands to FFmpeg, not any type of failure in OBS. Is there a reason you can't use the local recording preset for lossless?

Well then, I suppose that what I said, might not help, then.

[07-10-2017_23_29]
 

Trig

New Member
@Trig The vast majority of users have no need for advanced FFmpeg output. This also seems like an issue with passing the correct commands to FFmpeg, not any type of failure in OBS. Is there a reason you can't use the local recording preset for lossless?

Yes, OBS standard recording doesn't let me use utvideo or another good lossless codec that plays nicely with editing software. And not passing the correct commands to ffmpeg does seem like an OBS issue to me...

Edit: This is the case even with the codec installed as well.
 

Sapiens

Forum Moderator
Out of curiosity why do you need to pass a bitrate value for a lossless codec? Is the output clearly not already lossless? I would assume the codec would use whatever bitrate was necessary and MPC-HC's MediaInfo support is just reporting the average.
 

Trig

New Member
Out of curiosity why do you need to pass a bitrate value for a lossless codec? Is the output clearly not already lossless? I would assume the codec would use whatever bitrate was necessary and MPC-HC's MediaInfo support is just reporting the average.
I do not want to pass a bitrate value, but I can't set it to nothing or even 0 in OBS this is my issue.
 

Osiris

Active Member
If you are using a lossless codec with ffmpeg output, it more then likely will just ignore any bitrate value.
 

Trig

New Member
If you are using a lossless codec with ffmpeg output, it more then likely will just ignore any bitrate value.
Yes I know, but the problem is it's still required to enter a bitrate for no reason and it still flags the track as such. Why doesn't OBS let me leave it empty, FFMPEG allows for this.
 
Top