Log in

View Full Version : compiling ac3enc.dll


liquid217
16th March 2006, 16:21
While reading the cvs log of ac3enc.c on the ffmpeg site, I noticed that there has been some improvements to the ac3 encoder used in ffmpeg. (note the May 5th, 2005 entry (http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/ac3enc.c?cvsroot=FFMpeg)
Knowing that ac3enc.dll was taken from the ffmpeg project, I want to recompile this new code and create a new ac3enc.dll for use in BeSweet/Belight. I downloaded the entire cvs repository, and even recompiled the ffmpeg binary using mingw/msys. Unfortunantly, I am at a loss at how to recompile the ac3enc.dll. I downloaded the BS_AC3enc_src file from dsp_guru's site, included what I thought was the needed source files and header files from the ffmpeg repository and tried running 'gcc BS_AC3.c', but to no avail. Is this the proper steps to compile this, or am I totally missing the target?
If anyone would like to take a stab at this, I would be more than happy to provide the CVS package. Thanks

Inc
16th March 2006, 20:19
Before investigating that much time for building a separate dll, do test your resulted ffmpeg.exe binary on a wav file and let ffmpeg encode it to AC3.
And such a test only makes sense IF you got a SAP which refused to play common ac3enc generated ac3 files. ;)

BTW: To me it seems that the volume bug is still in there as no fix is mentioned related to that.