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.

Question about mcfw vdec function

Hi, we study about McFW.

We've make test program that display and playback video data in which stored local disk.

But we have something problem. if we push the video data to vdec module as can as possible, it sometime

display wrong channel. For example, we push the data to ch0 decoder channel  it displayed ch2. At last we start

playback video data, it seem to be take turn both video data(ch0,ch2).

Also we check buffer number before request data buffer come from vdec module. So it wait until number of buffer is

more one.

So what is the cause this problem.

And there is second question we want to ask.

Before we call Vdec_requestBitstreamBuffer, we set params at struct VDEC_BUF_REQUEST_S.

what means VDEC_BUF_REQUEST_S.numBufs is?

if you need more infomation about this question, we write replay right.

thanx 

  • What is the DVRRDK release you are using. You may not be setting correct value for channelNumber.

    Refer /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_vdec_vdis_bits_rd.c for example usage.

    Jae Kwon Lee1 said:
    what means VDEC_BUF_REQUEST_S.numBufs is?

    It means number of empty buffers you are requesting.