Hi,
I designed our application based on MCVIP of av_capture framework. (UDWorks reference design)
Alg_vidEnc is ok and the recorded bitstream file (h264) can be decode by VLC or other player on windows without any warning.
I tried to design the decode_tsk to decode the bitstream file(h264).
There is no error message output from ALG_vidDecRun(), but Alg_vidDec doesn't work well.
The following message is one of our decoding cases. The input image is 704x480@h264 frame.
The size of first frame is "19787" bytes. After decoding by the Alg_vidDec, the runStatus.bytesUsed always is 115 bytes (if it is any Keyframe and start code is "00 00 00 01 27").
It doest not be a same small value and the decoded result is bad.
[output message] Creating ALG_vidDec (codec=0, width=720, height=480) |
[Alg_vidDec initial parameters] vidDecCreatePrm.codec = ALG_VID_CODEC_H264; |
[source] static int DECODE_decode(int inDataSize)
|