Personal tools

VisionSOM-STM32MP1 demo: Difference between revisions

From SomLabs Wiki

Jump to: navigation, search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageHeader|VisionSOM-STM32MP1 demo}}
{{PageHeader|VisionSOM-STM32MP1 demo}}


The SomlabsDemo application for VisionSOM-STM32MP1 module and VisionCB-STD-STM32MP1 board presents the capability of displaying a video file and graphical interface build using the Qt framework. The demo application utilizes the GStreamer library for video playback support.
The SomlabsDemo application for VisionSOM-STM32MP1 module and VisionCB-STM32MP1-STD board presents the capability of displaying a video file and graphical interface build using the Qt framework. The demo application utilizes the GStreamer library for video playback support.
 
{{#evu:https://www.youtube.com/watch?v=U5vzcORNeYY
|alignment=center
}}


<youtube>U5vzcORNeYY</youtube>


The application displays the video file given as an argument and controls the LED connected to the PA11 pin that is configured as a PWM output. The LED is turned on/off by the button and the slider is used for brightness control. The LED is controlled using the ''/sys/class/leds'' subsystem.
The application displays the video file given as an argument and controls the LED connected to the PA11 pin that is configured as a PWM output. The LED is turned on/off by the button and the slider is used for brightness control. The LED is controlled using the ''/sys/class/leds'' subsystem.
Line 12: Line 15:


<pre>
<pre>
./SomlabsDemo -platform wayland-egl /home/root/example_video_file.m4v
./SomlabsDemo -platform wayland-egl /home/root/example_video_file.mp4
</pre>
</pre>
The example video file is available on the SoMLabs FTP: [http://ftp.somlabs.com/VisionSOM-STM32MP1/SoMLabs-STM32MP1-vdemo-2020-05.mp4 SoMLabs-STM32MP1-vdemo-2020-05.mp4]

Latest revision as of 09:08, 2 June 2020

VisionSOM-STM32MP1 demo


The SomlabsDemo application for VisionSOM-STM32MP1 module and VisionCB-STM32MP1-STD board presents the capability of displaying a video file and graphical interface build using the Qt framework. The demo application utilizes the GStreamer library for video playback support.

{{#evu:https://www.youtube.com/watch?v=U5vzcORNeYY |alignment=center }}


The application displays the video file given as an argument and controls the LED connected to the PA11 pin that is configured as a PWM output. The LED is turned on/off by the button and the slider is used for brightness control. The LED is controlled using the /sys/class/leds subsystem.

The demo binary file can be download here: SomlabsDemo_MP1.zip and run using command:

./SomlabsDemo -platform wayland-egl /home/root/example_video_file.mp4

The example video file is available on the SoMLabs FTP: SoMLabs-STM32MP1-vdemo-2020-05.mp4