On Thu, Aug 2, 2012 at 12:23 AM, Andre Renaud <
an...@bluewatersys.com> wrote:
> Hi,
> I'm working with the PandaBoard using libDCE + ffmpeg to do H264 video
> decoding, and I'm not having a lot of luck - VIDDEC3_process is
> consistently returning -1, and extended error is set to 0x401
> (implying I'm getting XDM_INSUFFICIENTDATA). However I can't quite see
fwiw, this error is probably meaning you have something not formatted
as the codec expects in the incoming bitstream. It is expecting whole
frames (or slices) in bytestream format, not just arbitrary amount of
input. As Nicolas suggests, you probably want to have a look at the
parse code in omapdrmtest (see viddec3test.c and util/demux.c)
Also, fwiw, you probably need more output buffers when you get a bit
further, to have correct results.. at least if it is not a pure
I-frame stream. The codec is still using the output buffers as
reference frames until they are unlocked (show up in freeBufID[]
array).
BR,
-R