mat wrote:
the first time I try to execute it (VIDENC1_process) it always fails with an extended error code of 0xA000. This error code means XDM_FATLERROR (as if there are non-fatal errors with codec engine)
oh, there are :-) it all depends on the codec...
Also, is there anyway to make the codec start over from scratch? The reason I have to delete and re-create it is when I start recording video to an avi file, it will only play back if the first frame in the file has some information that it seems to only create when I first start the algorithm. I have tried forcing an I frame as the first frame, and it is not enough, it still is missing some kind of first frame header information. I have also tried XDM_RESET and XDM_FLUSH and they don't seem to actually do anything.
what you are missing is a VOL header, not every I-frame caries the information needed to decode the stream, it's in the VOL object. you might be able to force the coded to generate a VOL header, check the codec specs. (you might also scan for and save the VOL header on the 1st encoded frame and re-use it later...) _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
