2026-02-09 3:23 PM
Hi All,
Im trying to play a video on my custom device board based on the STM32H750B-DK paired with 128MB SDRAM hooked-up to an 1024x600px LCD.
When i preload a video into the videoWidget in touchgfx designer and flash it to the board the video plays fine and smooth at 25FPS.
Im using hardware decoding, double buffered.
Now id like to playback some dynamic content that i will load into the SDRAM that placed at the base of the SDRAM (32-bit aligned).
MPU is setup.
i set the video widget to the data in SDRAM
video.setVideoData(bufferSDRAM, bufferSDRMALenght);But when I start the video player I do see the video but the image is jittering around and not stable.
its like every second (guessing here, could be random) frame is slightly offset a bit down and to the right.
Ive also tried a chunked data reader using a custom reader object which serves chunks by copying parts from SDRAM to a smaller buffer in internal ram.
This created a smooth playback without the jitter but the video playback randomly stops. Either in the first run/loop or after several playback loops (3-7 loops, random).
Im using touchgfx 4.25.
Has anybody tried what im doing or got pointers what to look into to have stable video playback from dynamic content?
If information is missing please let me know.
Thanks
Marco
2026-02-16 1:21 AM
Hello @Marco Nehmelman ,
Do you have cache enabled? If yes, have you made sure to flush it?