Log in

View Full Version : Yabc (Yet Another Bitrate Calculator)


SledgeHammer_999
10th October 2011, 15:15
Description:

Yabc (Yet Another Bitrate Calculator) is a standalone C++ bitrate calculator based on the source of the MeGUI bitrate calculator which is written in C#. The only dependencies of the calculation library is Boost.Foreach and Boost.Math. It should be totally cross-platform and flexible.

Location: http://gitorious.org/yabc

Instructions: Read the README

Status: UNSTABLE

As you can see I **tried** to rip the Bitrate Calculator from MeGUI but I did not succeed. In the main.cpp you will see that I have some test values and the results MeGUI gives me. When you run the code you'll see that I get totally different values from my code. So I want your help. Maybe I did not tranfer something correctly from C# to C++, or maybe I forget to set_*() some class value before doing CalculateByTotalSize().

You can fork and push merge requests, or you can discuss here. I don't care, I just want to solve this.

Thank you.

Selur
19th October 2011, 09:40
didn't check the code, but you might want to drop the dependency to boost (write the rounding yourself and use a normal for-loop instead of foreach) and post this in the Development forum not in the Encoding Gui forum,..