Skip to main content
FToma.1
Visitor II
September 20, 2022
Solved

Video widget on portrait mode

  • September 20, 2022
  • 4 replies
  • 2403 views

Hello,

I use a custom board based on STM32H750 (as Discovery board) with a 800*480 TFT (24 bit).

I try using the Video widget with the sample_video_1_medium_480*272 but in portait mode it show bad image, not understandable.

Next I try a custom video with 480*320 resolution: now i see the rows and columns are inverted.

For the first video I think there is also a problem with number of rows (272) since is not divisible for 32.

If I change setting in Touchgfx designer with landscape, both 2 video are correct.

I need to work in portait mode: I have to modify something in the program or try to rotate the video before compile?

Thanks.

toma Fabio

This topic has been closed for replies.

4 replies

Osman SOYKURT
Technical Moderator
September 22, 2022

Hello FToma.1,

This issue is known, the video widget and the portrait mode are not natively compatible with TouchGFX Designer.

/Osman

Osman SOYKURTST Software Developer | TouchGFX
Associate
November 28, 2024

Hi Osman,

We tried following that workaround closely and did not succeed. We used the latest 4.24.2 version and we're going to try the 4.20.0 version you were using when you detailed your workaround.

Do you know if this workaround is supposed to still work with the more recent versions of TouchGFX?

 

Also, considering the workaround seems to be pretty agnostic to the hardware being used, is it safe to assume that it should work with any type of hardware, MCU, etc.?

 

thank you

PS: We have a ticket open with ST but we haven't heard anything yet. Sorry to revive this post.

 

Osman SOYKURT
Technical Moderator
December 5, 2024

Hello @sm1981 ,

The workaround suggested is a mistake, looks like it has not been tested on hardware but only on simulator, my apologies for the inconvenience.

I'm deleting the "workaround" since it's totally wrong.

Let me know the open ticket number, I'll make sure to help you.

Osman SOYKURTST Software Developer | TouchGFX
Associate
December 5, 2024

Hi @Osman SOYKURT 

the forums won't let me reply to your private message for some reason.

Our open ticket is: 00220578

sm1981_0-1733413634361.png

thank you

Associate
October 1, 2025

In the changelog of Version 4.25.0, i see 

Added support for video playback in rotated display.

but I can not get the video widget to work on the rotated display. Should that work with 4.25.0 onwards?

This is rather annoying, since the whole TouchGFX Project (all Screens) must be designed with the 90 degrees rotation. 

Thanks for an update on this issue!

Osman SOYKURT
Osman SOYKURTBest answer
Technical Moderator
October 3, 2025
Osman SOYKURTST Software Developer | TouchGFX