Log in

View Full Version : AviSource doesn't like avi's from Avidemux


DarkZell666
7th May 2007, 12:25
I'm pretty sure the problem lies with avidemux, but I'll post here just in case I get some extra insight of what's going on.

I used avidemux to cut an xvid+mp3 avi file (I wanted the first 2000 frames for atest). The source file plays ok with AviSource(), but with the resulting file, AviSource says this :

"No compatible ACM codec to decode 0x0055 audio stream to PCM".

My question is : what on earth is that 0x0055 code ? I'm aware that since the source avi file plays ok, avidemux should be using the same code (just copying it over to the output file). Does the 0x0055 code actually exist ? In which case AviSource doesn't recognize it ? Or does avidemux use an obscure unused or undocumented code ?

Better: I have the fraunhoffer mp3 acm decoder installed (just like everyone should have by default in winxp). Could the problem be with the codec itself, not reporting it supports decoding code 0x0055 ?

Any input would be appreciated, I just hexcompared both files and couldn't find any 0x0055 value at a reasonable place to match the code from the source file ...

techreactor
7th May 2007, 12:31
See similar thread here (http://forum.doom9.org/showthread.php?t=94760)

DarkZell666
7th May 2007, 12:33
See similar thread here (http://forum.doom9.org/showthread.php?t=94760)

Oh my thx a lot :o

Edit: actually, after reading the thread, I came to the conclusion that : fraunhoffer mp3 acm decoder doesn't handle code 0x0055 if wBitsPerSample is different from 0, and that avisynth 2.5.7 (which I'm using) should workaround this specific problem on it's own (thx squid_80). Actually, I opened the file with vdub's hexeditor, and guess what ? wBitsPerSample was 0 already =)

So something fishy's going on ...