Playing a video

To play a video on a Synaptics Astra evaluation kit:

  1. Install a pre-built image and connect to the board as described here

  2. Connect the screen to the HDMI TX port of the board and power on the board

  3. Connect the board to a local network with DHCP using the ethernet cable

  4. Download a demo video to the board:

    $ wget https://download.blender.org/durian/trailer/sintel_trailer-720p.mp4
    
  5. Play the video:

    $ export XDG_RUNTIME_DIR=/run/user/0
    $ export WAYLAND_DISPLAY=wayland-1
    $ gst-launch-1.0 filesrc location=sintel_trailer-720p.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! v4l2h264dec ! waylandsink fullscreen=true
    

Note

On SL1620 replace the v4l2h264dec decoder plugin with avdec_h264.

To learn about other multimedia demos refer to Multimedia.