I am trying to decode an asf wrapped MPEG4 file using decraw but the images I keep getting are, well, I dont know how to describe it. The first several raster lines are fine, but then the image becomes garbled. Here I have posted a copy of the original asf video on my website, as well as a copy of one of the decoded images.
A bitmap conversion of the file (hexedited form the pnm)
The original pnm as it was decoded from the asf file
The asf file (MPEG4)
It appears that the camera I am pulling the MPEG4 from encodes it in a format, possibly proprietary, that libxvidcore does not support. Its amazing I got any sort of image out at all.
The format is Microsoft ISO MPEG-4 Video Codec V1, using the FourCC MP4S. So yes, definitely proprietary.
Which of course makes it completely useless for anything other than viewing it in a web browser. I was hoping to extract the frames for use in an application. I do appreciate knowing the specific codec though, perhaps i can find some way to decode it.
ffmpeg can decode it. I know this for a fact, because mplayer used it on the file you sent, and it worked.
libavifile probably can decode it, as I think it can use ffmpeg's codecs.
libxvidcore is not a good choice because it is specifically for the xvid codec. Libraries like libavifile try to pack up as many codecs as possible.
sweet jesus Im back in business then :) I could kiss you cornedbee, just not on the lips cuz that would be gay :D