Page 1 of 1

Possible error of bitrates?

Posted: Tue Mar 19, 2019 9:59 pm
by rholm
Hi,

I am running some conditional values, but according to the log the output looks incorrect

For the video I get an error: "%i_v_bitrate%<=600" is "497692<=600" - My bitrate is actually below 600 but it seems like being identified as 497692?
Some for audio: "%i_a_bitrate%<=128" is "62687<=128" - Same here, bitrate is below 128 but is noted as extremely high.

Am I doing something wrong or is it a bug?

THanks!

Re: Possible error of bitrates?

Posted: Wed Mar 20, 2019 9:59 am
by emcodem
Hi,

The bitrate values are presented in bit per second. Obviously you expect them to be presented in Kbit/s, so all you need to do is to divide by 1k, e.g.
%i_v_bitrate%/1000<=600

cheers,
emcodem

Re: Possible error of bitrates?

Posted: Wed Mar 20, 2019 11:25 am
by rholm
Ah, that makes sense, will try that!

Thanks!!!