Please see Multimedia chapter of the Digi Embedded Linux help. it has many examples of what you are trying to do.
Gplay is a command line application provided by Freescale that accepts a filename as parameter and will automatically chose the best codecs to play it with. For this, it uses the playbin element introduced in the next section. Gplay is the recommended way to reproduce media, although on occasions it can fail to play specific files. In such cases the gstreamer pipeline has to be manually created using gst-launch as explained in .
gplay big_buck_bunny_480p_h264.mov
further down:
If you need more control you can use the gst-launch application directly which allows to create flexible pipelines using all available elements. Some examples follow.
The playbin2 element will automatically select elements for your pipeline:
I excluded GStreamer from configuration.
I build GStreamer from a source and, I installed it in /usr.
Audio worked normally.
gst-launch-0.10 audiotestsrc ! autovideosink
Video did not display it.
gst-launch-0.10 videotestsrc ! autovideosink
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Resource not found.
Additional debug info:
gstautovideosink.c(313): gst_auto_video_sink_find_best (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0:
Failed to find a usable video sink
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
intervideosink does not work, too.
gst-launch videotestsrc ! intervideosink
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
what options did you use to configure and build gstreamer?
on the DVD you can find exactly ho digi builds the gstreamer and all of it plugins:
DEL_5.9.3DVD oolchain\del_toolchain\packages\gstreamer\Makefile.in