videotestsrc

OS : ubuntu12.04 32bit

Digi ESP for Embedded Linux
Version: 2.0 for Digi Embedded Linux 5.9.2.1
Build id: 20120709 DEL-5.9.2.1

A sound is output by the following command.
$ gst-launch-0.10 audiotestsrc ! alsasink

How should I do VIDEO?
$ gst-launch-0.10 videotestsrc ! ???

You have an old version of DEL.

Latest is 5.9.6.x and you can update to 5.9.6.x only from 5.9.3.
Download it from
http://ftp1.digi.com/support/documentation/CC_i.MX53_Updates.htm

Sorry, I was DEL-5.9.7.1.

Digi ESP for Embedded Linux
Version: 2.0 for Digi Embedded Linux 5.9.7.1
Build id: 20130211 DEL-5.9.7.1

How should I do VIDEO?
$ gst-launch-0.10 videotestsrc ! ???

What exactly are you trying to do? Capture? Stream? Playback?
for example to stream:

[1] Streaming between two ConnectCores MX5X

Client:

CAPS=‘application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264’
gst-launch -v udpsrc port=5000 caps=“$CAPS” ! rtph264depay ! ffdec_h264 ! autovideosink sync=false

Server:

IPADDR=127.0.0.1 (or client IP)
gst-launch -v mfw_v4lsrc device=/dev/video0 ! ‘video/x-raw-yuv,width=640,height=480,
framerate=30/1,format=(fourcc)UYVY’ ! mfw_ipucsc ! ‘video/x-raw-yuv,width=640,height=480,
framerate=30/1,format=(fourcc)I420’ ! queue ! mfw_vpuencoder codec-type=2 ! queue !
rtph264pay ! udpsink host=${IPADDR} port=5000

To capture from RGB565 configured sensors:
gst-launch v4l2src device=/dev/video0 ! ‘video/x-raw-rgb,width=640,height=480,framerate=30/1’ ! mfw_v4lsink

And from YUV422 configured sensors:
gst-launch v4l2src device=/dev/video0 ! ‘video/x-raw-yuv,width=640,height=480,framerate=30/1,format=(fourcc)UYVY’ ! mfw_v4lsink

To capture from the primary camera device and display it in the LCD screen:
gst-launch mfw_v4lsrc device=/dev/video1 ! mfw_v4lsink

there those and many more examples of using gst-launch in DEL online help, just do search for gst-launch

thank you !
I try these.

I was not able to do these.
I want to play mp4 file.

$ gst-launch-0.10 filesrc location=xxxx.mp4 ! ???

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:

gst-launch playbin2 uri=file:///root/big_buck_bunny_480p_h264.mov

complete audio and video playback pipeline:

gst-launch filesrc location=big_buck_bunny_480p_h264.mov ! ‘video/quicktime’ ! aiurdemux

name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! mfw_vpudecoder ! mfw_v4lsink demux. !
queue max-size-buffers=0 max-size-time=0 ! faad ! audioconvert ! ‘audio/x-raw-int, channels=2’ !
alsasink

This is all copy & paste from online help, please take a look for more info and example directly in to the multimedia chapter or even gstreamer documentation:
http://linux.about.com/library/cmd/blcmdl1_gst-launch.htm

Thank you.

I tried it in various ways.
This is simple and works well.

$ gst-launch filesrc location=xxxx.mp4 ! qtdemux name=demux
demux. ! queue ! mfw_vpudecoder ! autovideosink \
demux. ! queue ! mfw_aacdecoder ! autoaudiosink

and

$ gst-launch videotestsrc ! autovideosink

Thank you !

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

Is any setting insufficient?
frame buffer etc…

There was a typo.

Audio worked normally.

gst-launch-0.10 audiotestsrc ! autoaudiosink

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

DEL_5.9.3DVD oolchain\del_toolchain\packages\gst-fsl-plugin

DEL_5.9.3DVD oolchain\del_toolchain\packages\gst-*

Makefile.in contains build options , there are also patches folders there.

I installed follows.

gstreamer-0.10.36.tar.gz
gst-plugins-base-0.10.36.tar.gz
gst-plugins-good-0.10.31.tar.gz
gst-plugins-bad-0.10.23.tar.gz
gst-plugins-ugly-0.10.19.tar.gz
gst-ffmpeg-0.10.13.tar.gz

Is gst-fsl-plugin necessary too?
Can I obtain the latest version?
And, can I obtain the latest patches?

Or do I not have any problem in a version of the DVD?

My DVD is “Revision 5.9 , August 2012”.

DVD with DEL 5.9.3 is here:
http://ftp1.digi.com/support/developmentsoftware/40003013_A.iso

There might be newer vesrions available directly from freescale.