Video Playback - VIA Technologies VAB-950 Quick Start Manual

Hide thumbs Also See for VAB-950:
Table of Contents

Advertisement

Use the fastboot.exe to set the display device by using the following commands:
D:\platform-tools>fastboot.exe oem display dsi
D:\platform-tools>fastboot.exe oem display hdmi
Use the following command to check the current display device. In the example below, the current display
device is the LCD panel output.
D:\platform-tools>fastboot.exe getvar all
(bootloader) display: dsi
(bootloader) is-userspace: no
(bootloader) max-download-size: 0x4000000
(bootloader) version: 0.5
all: Done!!
Finished. Total time: 0.009s
Power off the VIA VAB-950 and set the two OS image jumpers (J7 and J5) back to the normal mode setting.
Unplug the Micro USB cable, and then power on the VIA VAB-950.
When the boot process has completed, the LCD panel output will be set as the display device.
Note:
The default display device is HDMI output. After changing the display device, you must restart the VIA VAB-950.
To control the LCD backlight, use the following commands:
root@aiv8385-linux:~# cd /sys/devices/platform/backlight_lcd0/backlight/backlight_lcd0/
root@aiv8385-linux:~# cat max_brightness
16
root@aiv8385-linux:~# echo 16 > brightness
Note:
There are only 17 levels (0~16) for the LCD backlight control.

3.6 Video Playback

The VIA VAB-950 supports H.265 and H.264 video decoding up to 1080p@30fps/40Mbps.
To playback video, use the following command:
root@aiv8385-linux:~# gst-launch-1.0 playbin flags=0x42 audio-sink="alsasink device=hw:0,28"
video-sink="mtkmdp width=1280 height=640 ! video/x-raw,format=I420 ! mtkwaylandsink"
uri="file:///mnt/test.mp4"
VIA VAB-950 Yocto 3.1 EVK Quick Start Guide
OS image jumpers diagram
10

Advertisement

Table of Contents
loading

Table of Contents