This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with VIDDEC2_process()

Other Parts Discussed in Thread: TMS320DM6467

Hello,

I  installed the dvsdk 1.4.02.33 environment and I rebuilt the examples provided by einfochips framework for the DVPB-HD based on TMS320dm6467 , so the audio-demos  work very well but the video ones no yet. When I tested the video-Decode, these messages are displayed:

DBG->videodecoder_API.c:545: Engine "decode" opened successfully

Engine opened

DBG->videodecoder_API.c:94: Evaluation version

DBG->videodecoder_API.c:117: Mutex Initialized

DBG->videodecoder.c:145: h264dec Video Decoder created

Video Decoder created

Start Processing

ERR->videodecoder_API.c:305: VIDDEC2_process() failed status:-1 ext: 0

Failed to Decode Frame 0

DBG->videodecoder_API.c:462: Mutex destroyed

DBG->videodecoder_API.c:509: Video decoder closed successfully

DBG->videodecoder_API.c:593: Engine closed successfully.

Also I tested the pre-build application provided with codec engine and located in: codec_engine_2_10_00_15 \codec_engine_2_10_00_15 \examples\apps\sanity_test\evmDM6467 and these messages are displayed:

pp-> Application started.

[DSP] @0x000001cc:[T:0x00000000] servers.video_copy.evmDM6467 - main> Welcome t.

CEapp-> Allocating contiguous buffer for 'input data' of size 1024...

CEapp-> Allocating contiguous buffer for 'encoded data' of size 1024...

CEapp-> Allocating contiguous buffer for 'output data' of size 1024...

App-> Processing frame 0...

App-> Processing frame 1...

App-> Processing frame 2...

App-> Processing frame 3...

App-> Processing frame 4...

App-> Finished encoding and decoding 4 frames

App-> Application finished successfully.

 

I can’t locate the problem where’s exactly.

If you can give me some advices to locate the problem that will be very grateful.

regards

 

 

 

 

 

  • I am not too familiar with einfochips framework for the DVPB-HD, but two things come to mind

    1) If you got this from eInfochips, I would ask them about compatibility with DVSKD 1.40 or maybe send them a log of the error and see if they could help.

    2) Not sure how log this einfochips framework has been around, but dvsdk 1.40 is quite old, maybe upgrading to dvsdk 2.0 may help.

  • thank you Mr Juan but the problem is resolved,

    I put wrong parameters in the VIDDEC2_PROCESS(), i corrected  them and all is ok the demo work perfectly.

    regards