UCM-iMX95 Yocto Linux: Video Playback

From Compulab Mediawiki
Revision as of 15:58, 9 January 2025 by Igor (talk | contribs) (Created page with "=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 optio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Admolition note.png 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