Hi there, I have a question about how to stream video to the h264 decoder.
We have 2 DM368EVM revG's now and I'm writing encoded video out the EMIF port on one into an external FPGA. The FPGA transmits the encoded video over GigE to a second FPGA. From the second FPGA, I read the video into a buffer through EMIF.
I've modified the file read calls in Loader_prime and Loader_readData to instead, copy the buffer I'm reading video into through EMIF into the ring buffer.
I managed to get video streaming through from end to end this morning, which was great to finally see!
The main issue is that the latency that I'm seeing is rather horrendous. I believe it has to do with the request for a 2MB buffer of encoded video by the decoder as input with the call to Loader_Prime. At 1MBps bit rate, I'm seeing around 15 seconds of latency end to end.
Is there a way to cut down the size of the buffer? Or is there some other configuration that needs to be done in order to reduce the latency in the stream? The ideal situation would be that as the frames are read in through EMIF, the decoder is able to grab them immediately and begin decoding...
Thanks!
Derek