Ktt20/pitx software guide, 1 command line examples – Kontron KTT20-pITX User Manual
Page 37
KTD-S0045-D
Page 33
Linux® BSP
KTT20/pITX Software Guide
ATTENTION
The VC1 video codec and AAC audio codec are not supported
(for AAC non-accelerated software decoding can be used).
Exception: The gst-launch tool can handle AAC audio streams.
Only three methods ('sinks' in gstreamer terminology) are supported:
S
nv_gl_eglimagesink
or
nvxvimagesink
(DVI
®
monitor)
S
nv_omx_videosink
(LVDS panel)
The operating system contains some installed packages
S
libgstreamer0.10-0
S
gnome-media
but not the 'gstreamer-tools' (necessary for usage of 'gst-launch'). Add this package with
(sudo)
apt-get install gstreamer0.10-tools
You can get more information with the command line instructions
gst-inspect-0.10 | grep sink
gst-inspect-0.10 | grep decode
Note: The gst-launch player supports video files with AAC audio content (e.g. big_buck_bunny_...
.mov).
Another command line tool named
gstreamer-properties
allows the video and audio configuration for
applications which uses the gstreamer interface (e.g. Totem Movie Player).
9.2.1
Command Line Examples
For smooth video output you must pass several arguments otherwise the program generates dropouts.
S
Playing H.264 video on a DVI
®
monitor:
nvgstplayer -i
S
Playing DivX video with MP3 audio stream on a LVDS panel:
nvgstplayer -i
S
Playing H.264 video with AAC audio stream on a DVI
®
monitor:
gst-launch-0.10 filesrc location=
nv_omx_h264dec ! nvxvimagesink q. ! queue ! faad ! alsasink
S
Playing H.264 video with AAC audio stream on a LVDS panel:
gst-launch-0.10 filesrc location=
nv_omx_h264dec ! nv_omx_videosink q. ! queue ! faad ! alsasink
You can create a shell script for example 'video.sh':
#!/bin/sh
gst-launch-0.10 filesrc location=$1 ! qtdemux name=q ! queue ! nv_omx_h264dec ! nvxvimagesink q. ! queue ! faad ! alsasink
and call it with
./video.sh