MP4 Playback

The following code block provides an example of playing back an MP4 video file, in this case, the H.264 video stream is decoded via the gst-omx plug-in.
gst-launch-1.0 -v filesrc location=1080p_h264_aac.mp4  ! qtdemux name=demux demux.audio_0 ! queue ! avdec_aac ! audioconvert ! alsasink device=hw:0,2 demux.video_0 ! queue ! h264parse ! omxh264dec  ! video convert ! video/x-raw,width=1920,height=1080 ! kmssink driver-name=starfive force-modesetting=1
The following diagram shows the MP4 playback workflow.
Figure 1. GStreamer MP4 Playback Workflow