GUI Guider video in MCU flash memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GUI Guider video in MCU flash memory

Jump to solution
571 Views
KaiW
Contributor II

Hello there!

 

At the moment, I am working on a user interface with the RT595 MCU and the lvgl library. The GUI Guider is really helping in that regard and I was able to put together a lot of stuff thanks to that.

Now, that the basic stuff is almost ready, we want to have some stuff that is a little bit more fancy and are thinking about using short videos for transitions etc.

I am able to play a video in the corresponding widget in GUI Guider, but there does not seem to be convenient option to port videos to c files like you can do with images. The main idea in the demos and documentation seems to be that you have a filesystem with external flash and write some wrappers for basic file operations to use the video files.

As we have no filesystem in place right now and would have enough internal flash to hold some short videos, we would like to just store and use the videos just like we do with simple images.

Is there a convenient way to do this?

I already thought of Animation images, but the compression would be much worse there.

 

Best Regards,

Kai.

 

 

0 Kudos
Reply
1 Solution
552 Views
WenbinYuan
NXP Employee
NXP Employee

Hi @KaiW,

You can quickly convert videos to image groups within GUI Guider and then import them as the source for animation image widget.

convert_video.png
In my testing, after selecting the appropriate resolution, frame rate, and animation image configuration, there was no significant loss in quality.

If the results from this processing still do not meet your needs, you may need to integrate video processing yourself. Refer to: FFmpeg Support

Hope this helps.

Best Regards,
Wenbin

View solution in original post

3 Replies
535 Views
KaiW
Contributor II

Hi Wenbin,

 

thank you for the quick answer.

 

Unfortunately, when I try to use the convert video button on a .h264 file, then it gets stuck in the process and is looping forever.

I was able to reproduce this with my own video as well as the demo.h264 from the video player demo in GUI Guider and different settings for the frame rate and size of the video. The same behavior occurs on my Ubuntu environment and a colleagues Windows 11.

Screenshot from 2026-04-08 12-20-49.png

I waited for a reasonable amount of time in this screen and also observed no unusual CPU or GPU load while this was running, so I am pretty sure its just stuck.

Any idea, what could be the problem here?

 

Best regards,

Kai.

 

P.S.: My colleague and me are using the most recent version of GUI Guider (1.10.1-GA)

0 Kudos
Reply
498 Views
WenbinYuan
NXP Employee
NXP Employee

Hi @KaiW,

I apologize for not providing specific details about the video processing. The video converter in the GUI Guider currently only supports the mp4 format, which is different from using the video widget directly, which needs h264 file.

In the future, we will clearly indicate these limitations in the tools.


Best Regards,

Wenbin

553 Views
WenbinYuan
NXP Employee
NXP Employee

Hi @KaiW,

You can quickly convert videos to image groups within GUI Guider and then import them as the source for animation image widget.

convert_video.png
In my testing, after selecting the appropriate resolution, frame rate, and animation image configuration, there was no significant loss in quality.

If the results from this processing still do not meet your needs, you may need to integrate video processing yourself. Refer to: FFmpeg Support

Hope this helps.

Best Regards,
Wenbin