Skip to main content
Luca G.
Associate III
October 5, 2020
Question

TouchGFX and video play

  • October 5, 2020
  • 0 replies
  • 762 views

Dear all,

I'm developing an application with a STM32750N8 and I'm using TouchGFX for the GUI. 

I am using a 4.3 "RGB (parallel) display with 480x272 resolution but I will also need to use a 7" 1280x720 (parallel RGB) display.

Since I have to play videos, I took the example and the MJPEGReader.cpp file (and other required files) from the STM32F769I_EVAL\Demonstrations\TouchGFX project in the ST repository examples, and readjusted it to make it work in my project.

I managed to play a video (I used the ones from the same project where there is a plane taking off) but the colors are not right.

I tried to debug but in my opinion the colors come wrong directly from ST's LibJPEG library.

Below is the video image with incorrect colors:

0693W000004IcQFQA0.jpg

I noticed that the MJPEGReader.cpp file uses the HW decoder that the STM32F750N8 shouldn't have (I'm using the software decoder embedded in the same file).

What could be the problem? Is ST's LibJPEG library configured wrong? Where can I find a guide for configuring the LibJPEG library?

Thanks in advance.

This topic has been closed for replies.