播放视频

To play a video on a Synaptics Astra evaluation kit:
要在Synaptics Astra评估套件上播放视频,请执行以下操作:

  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
    将屏幕连接到主板的HDMI TX端口,并将板卡上电。

  3. Connect the board to a local network with DHCP using the ethernet cable
    使用以太网线将主板连接到支持DHCP的本地网络。

  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 ! av1parse ! v4l2av1dec ! waylandsink fullscreen=true
    

To learn about other multimedia demos refer to Multimedia.
想了解其他多媒体演示,请参阅 多媒体