cancel
Showing results for 
Search instead for 
Did you mean: 

The location of the variable for using a video file in a sample project.

JBang.1
Associate

I noticed that the "video_SampleVideo2_216x216_bin_start" variable is not declared in the TouchGFX Designer-generated video playback example. Instead, it is being used in the "VideoDatabase.hpp" file as 'extern const uint8_t video_SampleVideo2_216x216_bin_start[];'. I'm curious where this variable is defined.

If possible, could you please provide a detailed explanation of where and how this variable is defined?

1 REPLY 1
Romain DIELEMAN
ST Employee

Hi,

You can find more information on video files in a TouchGFX project in this article. Basically "video_SampleVideo2_216x216_bin_start" is just a symbolic information of what was generated by the TouchGFX video converter tool which is integrated in the build tool-chain. Don't know the details of the video converter itself though sorry :grinning_face_with_sweat: nor know if we can share much about it. I'll ask.

/Romain