UCM-iMX95 Yocto Linux: Video Playback
Gstreamer
Yocto Linux uses Gstreamer as a default multimedia framework. Here are some useful Gstreamer features:
Execute the following command to check all the source options:
gst-inspect-1.0 | grep source
Execute the following command to check all the sink options:
gst-inspect-1.0 | grep sink
Video Playback
The operation below requires root access. |
The i.MX95 SoC features 4K@60fps H.264/H.265 VPU decoder.
Before starting video playback, please, ensure that the display is connected to the board.
The following commands can be used to start video playback (1.mov is a media file):
- gst-play
gst-play /path/to/1.mov
- gplay-1.0
gplay-1.0 /path/to/1.mov
- gst-launch
This method is for advanced users. Please study this document before the start: i.MX8GStreamerUserGuide.pdf
gst-launch-1.0 -v filesrc location=/path/to/1.mov ! qtdemux name=d.video_0 ! h264parse ! avdec_h264 ! autovideosink