...
- Format your newly created partition with ext3 file system
- Create a folder for mounting your new partition at /ext_hdd
- Mount your newly created hard disk partition to /ext_hdd
$ mkdir /ext_hdd $ mount /dev/hdb1 /ext_hdd |
---|
STEP 5: Copy a video file to your file system to be used for emulator video playback.
- Pre-requisite to the step is assumed that /ext_hdd is already mounted with the external hard disk partition on your emulator VM
- Copy your video file from your host machine to /ext_hdd folder on the emulator VM
- Note: The following command is performed from your Host Machine
$ scp <file_name> root@<your_emulator_vm_ip>:/ext_hdd |
---|
Usage Instructions
Logging into your VM
As described in the previous section, you can log in to your emulator VM from your Host Machine using the ssh command.
Testing Westeros compositor using test application
RDK emulator supports westeros compositor and renderer module as westeros-renderer-gl. Do the following to check westeros animation using westeros_test command line utility.
- After logging in to the Emulator via ssh, kill the already running compositor application via below command
Code Block |
---|
|
$ killall westeros |
- Restart the Emulator VM
- Run following commands in terminal for manual starting the westeros compositor application
Code Block |
---|
|
$ mkdir -p /run/user/0
$ export XDG_RUNTIME_DIR=/run/user/0/
$ westeros --renderer <renderer module> --display <socket-name> &
$ westeros --renderer /usr/lib/libwesteros_render_gl.so.0.0.0 --display WPE &
$ gdisplay start
$ export WAYLAND_DISPLAY=WPE
for Dunfell Emulator
---------------------
$ mkdir -p /run/user/0
$ export XDG_RUNTIME_DIR=/run/user/0/
Add the below line in westeros-init.sh
export LD_PRELOAD=/usr/lib/libwesteros_gl.so.0.0.0
$ westeros --renderer /usr/lib/libwesteros_render_gl.so.0.0.0 --display WPE &
Run the commands
westeros-init.sh
westeors_test
|
westeros compositor will launch
Testing Westeros_compositor
to test westeros compositor with simple egl test apliaction
run westeros_test- Run westeros_test application in another window as given below
Code Block |
---|
|
# After Launching westeros compositor in emulator
$ export XDG_RUNTIME_DIR=/run/user/0/
$ export WAYLAND_DISPLAY=WPE
$ westeros_test
(or)
$ westeros_test --display WPE |
Testing Videosink on Westeros Compositor
Code Block |
---|
|
$ export XDG_RUNTIME_DIR=/run/user/0/
$ export WAYLAND_DISPLAY=WPE
#Check the plugin in image
$ gst-inspect-1.0 westerossink
# To play the video and render on westeros compositor
$ gst-launch-1.0 playbin uri=http://localhost:50050/received_spts1.ts videosink=westerossink |