SledgeHammer_999
1st July 2012, 14:23
I need the help of the gurus obviously.
Let's say you do your magic and calculate the video bitrate to set in the encoder taking into account various aspects of the input files and desired results. Let's also assume that you come up with a fractional number. eg 580.370531 kbit/s
x264 takes an integer value for the bitrate(and probably other encoders too). So the above number should become 580(after rounding) or 581(after rounding up)?
Why I ask this?
Consider this->http://forum.doom9.org/showthread.php?t=162740
Yesterday night I sat down and stepped through every calculation and was able to locate the mistakes I made in porting the code logic from C# to C++. Anyway, now I am able to get the same values for Bits Per Pixel and Q Estimate that Megui outputs. But for bitrate it isn't the same. megui reports 581 and I get the above number. So I assumed that it rounds up. Is this considered an ok approach?
Let's say you do your magic and calculate the video bitrate to set in the encoder taking into account various aspects of the input files and desired results. Let's also assume that you come up with a fractional number. eg 580.370531 kbit/s
x264 takes an integer value for the bitrate(and probably other encoders too). So the above number should become 580(after rounding) or 581(after rounding up)?
Why I ask this?
Consider this->http://forum.doom9.org/showthread.php?t=162740
Yesterday night I sat down and stepped through every calculation and was able to locate the mistakes I made in porting the code logic from C# to C++. Anyway, now I am able to get the same values for Bits Per Pixel and Q Estimate that Megui outputs. But for bitrate it isn't the same. megui reports 581 and I get the above number. So I assumed that it rounds up. Is this considered an ok approach?