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.

How to connect video input file to EVM-DM6437

Hi all,

I have an application running on EVM-DM6437 and now I’d like to start with test procedure.

So I realized that it would be much easier if I’m able to play the video stream from the file instead of video input port.  Problem is that I never did that and I don’t have any idea how big job it’s going to be.

If someone faced with similar problem or if there is any tutorial/example how to do it please mail me.

Thanks in advance!

  • You could start out with using standard C i/o (i.e. fopen, fclose, etc.) to open a raw video stream from your host pc which would probably be the easiest route, however this can be exteremely slow as the bandwidth on the emulation connection is limited, particularly if you are using the on board or XDS510 based emulation.

    Another option would be using the Ethernet port to load the raw video stream though this would require more work to get setup and would require some CPU overhead for the TCP/IP stack, for an example of this you could take a look at the demo included with the EVM, though it is fairly complex, for what you are trying you could use similar network functionality.

    With the video drivers already in place it could end up being easier just using the video ports on the board as they operate at high speed with minimal CPU overhead, though using them does mean that you will be getting varying video streams as opposed to a consistent repeatable file. For temporary repeatability you could use the video port to capture a series of frames and save them to DDR to be operated on, or you could use the same method of saving frames and than using C i/o to save them to the PC.