2024-08-19 07:55 PM
Hi,
I am using the TouchGFX video widget to play custom videos on the STM32H747I-DISCO development board. I am able to play videos by placing them in the assets/videos folder and modifying Screen1View.cpp as described in the MJPEG Video . The video playback works as expected on this board, as shown in the the image below.
However, when using non-ST development boards, such as the Riverdi-RVT101HVSNWC00-B and my custom development board, I encounter issues. The video widget does not display the video, even though it works in the simulator with TouchGFX. The screen remains blank.
Could you please advise on how to resolve the issue of using the video widget to play videos on development boards other than the official ST boards?
2024-08-20 05:43 AM
Hello @ChungEN ,
There are a couple of steps that you need to take before rendering videos. I assume the MCU you are using is capable of video decoding (or at least, hardware decoders are accessible).
Firstly, you need to follow the steps in Enable Video Decoding. Then, apply the related settings based on Hardware decoding or Software decoding that is explained here
Please follow the documentations, and let me know the progress
Best regards,
2024-08-25 07:32 PM
Hello @Mohammad MORADI ESFAHANIASL ,
I followed the steps and am using a custom development board with the MCU STM32H743BGTx.
The TouchGFX framebuffer is set to single buffer, and video decoding is set to hardware/direct to framebuffer, so there is no need to create a videoTaskFunc() in the RTOS.
This setting works with the Riverdi-RVT101HVSNWC00-B, but it doesn't work on the custom development board. Strangely, if I set video decoding to "Disable," the TouchGFX screen displays correctly on the monitor. However, when set to "Hardware," the screen turns completely black.How can I do to my custom development board?
2024-08-28 05:13 AM
Hello @ChungEN,
Is it possible to share your project? Or at least, please share the TouchGFXHAL (both .cpp and .hpp) and TouchGFXGeneratedHAL both (.cpp and .hpp)
Kind regards,
2024-08-28 05:33 PM