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.

fwrite on Video M3

I am integrating a custom encoder on IPNC RDK. The encoder is able to process frames in real time, but the decoded frames turn out be just black frames. So I am debugging the issue. I want to ensure that the encoder gets proper frames at the input. For this I would like to use fwrite() to dump the frames on M3 Video  side. While this is compiling, it fails to dump frames. Is there  any other method to dump frames on M3 Video? Why fwrite() is not working? I have no problems  dumping frames on A8 side. Pls answer.

Best Regards

JK

  • Hello,

    I notified the IPNC team for help here.

    Best Regards,

    Margarita

  • Hi,

    You can do file operations only on A8 and neither on M3 nor DSP.

    So you can modify the use case to route the frames to A8 then  save them to file.

    If it is only for debug purpose then save the frame from memory location to a fine in CCS.

    regards,

    Anand

  • Hi Anand,

    Yes, for debugging purpose only.

    My H.264  encoded stream has some problem. After decoding using Codec Visa , the first frame (IDR) has lot of noise in it. But the second frame ( a P frame) is relatively better. What could be the issue?

    Best Regards

    JK

  • Attached the complete  bit stream

  • Hi Anand,

    I wanted to debug on M3 side using CCS, basically wanted  to dump the input frames to encoder on Video M3.

    Can you point out some documents, which explains , how this can be  done?

    Best Regards

    JK