On Thu, 2007-08-09 at 18:17 +0200, Stefan Scheffler wrote: > Hi, > > some cameras or phones produce avis's with audio in ulaw format > and since it came up again on irc, I've thrown together a decoder for > it. > > I had a pretty hard time finding sample files and only got one from > mplayers sample library, so it's not well tested but seems to work ok.
Hi, thanks for this contribute I've a concern and an observation regard this code. The corcern regards the ulaw_decode table in extract_ulaw.h: is this a rip from libquicktime sources? I'm wondering about (theorical?) copyright issues, transcode has plenty of those in past days and I never liked them. The observation is technical, I think that, given the code, ulaw support can be merged in existing avi/raw inport module, there is no need for a separate one. > Is it possible to create decoders with the nms already? Just > wondering because there don't seem to be any. yes it is possible with a few hacks. Some new import modules (x11, alsa, pv3, vag) are already internally designed for nms with a (thick?) wrapper code around to fit in oms. Bests, -- Francesco Romani // Ikitt [ Out of memory. ~ We wish to hold the whole sky, ~ But we never will. ]