Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd March 2004, 12:56 | #21 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
Thank you very much for providing this binary, although you obviously are rather a Linux fan than Windows...
Now I'll have to check if this ffmpeg version is also able to encode MPEG-2 video: No matter which bitrate parameters I tried for the EXE included in ffmpegGUI 0.3, it always assumed "2 kbps". But that will be another thread, I'd propose. |
23rd March 2004, 18:53 | #22 | Link |
h4x0r5 0n teh yu0r pC?
Join Date: Nov 2003
Posts: 156
|
Hmm...how about a build of ac3enc.dll for Besweet, with this new code (patched ac3enc.c)? The source of the plugin is available at DspGuru's page, it's just compile. Unfortunately, I haven't managed to compile it successfully yet. So, a build would be very, very apreciated.
BTW: today I downloaded latest FFmpeg's CVS snapshot, and ac3enc.c had some changes. Probably the changes were already commited. |
24th March 2004, 13:15 | #25 | Link |
audio programmer @ random
Join Date: Feb 2003
Posts: 29
|
Greetings All,
My school does all programming on a SPARC running on Solaris. As such I have never compiled a dll. Therefore I would be happy to provide compiles but need some time to learn the ins and outs of dynamic link libraries(and I need to buy VC++ ). But I am working on it. |
1st April 2004, 05:54 | #26 | Link |
audio programmer @ random
Join Date: Feb 2003
Posts: 29
|
Recompile
I have downloaded the latest ac3enc.c off of the new CVS servers and recompiled ffmpeg 0.4.8 with the latest and greatest ac3enc. I had to edit it by hand to get it to compile (I uploaded my source that I edited with it).
@DSPGuru...would it be alright if I did recompile ac3enc as a BeSweet dll? I would note that no one should complain to you about it if there are probs (That is of course contingent on the fact that I can find my old VC6 cd.) Lastly, will BeSweet resolve symbols in a dll compiled with MinGW? The site has directions on interoperability here: http://www.mingw.org/mingwfaq.shtml#faq-msvcdll Finally, the new binaries can be found here: http://www.cbu.edu/~nwebb/ac3.html |
2nd April 2004, 14:57 | #27 | Link |
BeSweet Author
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
|
try out v1.5b26.
__________________
FAQs : BeSweet, Audio :readfaq: Homepage : DSPguru's Webpage http://dspguru.notrace.dk/cs.gif Guides : Multilingual Guides of my tools http://dspguru.notrace.dk/1zhelp.gif |
2nd April 2004, 17:02 | #30 | Link |
audio programmer @ random
Join Date: Feb 2003
Posts: 29
|
Wow thanks! I apriciate it
__________________
FFmpeg binaries w/ latest Ac3 enc |
5th April 2004, 10:16 | #34 | Link |
Registered User
Join Date: Mar 2004
Posts: 4
|
Did a few quick test with the AC3->AC3 convertion. Looks like it scales the audio the right way now and normalize it correctly
BTW when you get those overflows in the log file as it was before the audio not only clips but it wraps du to the float to short (int) conversion and generate massive distorsion as a result instead of just clipping DSPguru_API void Standard( float* buffer,int size) { static unsigned char frame[AC3_MAX_CODED_FRAME_SIZE]; static short samples[6*AC3_FRAME_SIZE]; int ret, i,j=0; // process the block from BeSweet for(i=0;i!=size;i++) { /* L C R SL SR (+LFE) */ ****----> samples[i]=(short)(32767*buffer[i]); } ret = AC3_encode_frame(ctx, frame,i, samples); // return the block to BeSweet BS_Output(frame,ret); } buffer[i] must not be lower than -1.0 and not greater than 1.0 or it will wrap with massive distorsion as a result. But as long as one normalize and it work as it looks like now there should not be a problem Just be aware that if you get a overflow warning in the log file. Hope this might shed some light cheers |
6th April 2004, 11:54 | #38 | Link |
Registered User
Join Date: Dec 2003
Posts: 4
|
if you have massive issues, try using sonic foundry soft encode. its dead for quite a while, but you might be able to find a copy for $2 at a flea market or ebay. i got my CD from the annual boy scouts flea market we have here !
|
6th April 2004, 15:00 | #40 | Link |
h4x0r5 0n teh yu0r pC?
Join Date: Nov 2003
Posts: 156
|
This was why DSPGuru removed ac3enc support from Besweet, guys...
People start complaining about things that have nothing to do with Besweet or DSPGuru. If you think ac3enc should be fixed, please tell these issues to the ffmpeg guys, not here. Regards |
Thread Tools | Search this Thread |
Display Modes | |
|
|