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.

DM365 display

Hello,

I have problems with programming the display video on dm365.First I ran the "decode" example in DVSDK code, it worked well.

Then I program my application. Because my input data come from internet, it is char string not a file. I decode the string data with decoder parameter
forceChromaFormat = XDM_YUV_420SP; and it seems the decoder work fine. Then I get my decoded data, it also char string. When I want to display it on the screen,
I find the output on screen not the original color of video. It seems filter with green color on screen.

The method I write with display is as following:
1. I create an Buffer_handler with referenced.
2. I set the Buffer's ptr to the char string.
3. I set the Buffer's using bytes.
4. Then I put the Buffer to the display buffer. 

Can some one tell me where the problems is?
Or what I need to be careful with?

Regards,

Peter

  • Hello,

    Have you tried saving the decoded output buffer into a file (instead of feeding to display) and then verifying the video with YUV player to ensure that decoder is able to decode your clips?  Typically the clips i stream over the network contains some rtp payloader information in it and you need to depay those rtp payloads before passing the bit stream to decoder. Typically decoder only understands the raw elementary stream.

    Thanks

    Brijesh