Skip to main content
JBang.1
Visitor II
March 17, 2023
Question

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

  • March 17, 2023
  • 1 reply
  • 683 views

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?

This topic has been closed for replies.

1 reply

Romain DIELEMAN
ST Employee
March 17, 2023

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