I am trying to test out the TI H264 video encoder for the OMAP.  I have managed 
to build the DVSDK and the GStreamer-TI plugins for my OMAP.

Now I am working on more general gstreamer issues, and (as a newbie to this 
package), I am flummuxed!

I wanted to create a video stream in YUV format and just test that I can get it 
generated and saved.  So, I used the following:

> gst-launch videotestsrc pattern=1 num-buffers=3600 !   "video/x-raw-yuv, 
> format=I420, width=720, height=480" ! filesink location=sample.yuv

But, when I run this, I get:

r...@overo:~/data/videos# gst-launch videotestsrc pattern=1 num-buffers=3600 !  
 "video/x-raw-yuv, format=I420, width=720, height=480" ! filesink location=sampl
e.yuv
WARNING: erroneous pipeline: could not link videotestsrc0 to filesink0

I removed the filter in the pipeline and it worked, but I don't think I have 
control over the format of the video this way.

r...@overo:~/data/videos# gst-launch videotestsrc pattern=1 num-buffers=3600 ! f
ilesink location=sample.yuv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 158029663081 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
r...@overo:~/data/videos# ls
davincieffect_ntsc_1.264  davincieffect_ntsc_1.m4v
davincieffect_ntsc_1.m2v  sample.yuv
r...@overo:~/data/videos# ls -l
total 676880
-rwxr--r-- 1 root root  19816460 Jan  1  2010 davincieffect_ntsc_1.264
-rwxr--r-- 1 root root  88925987 Jan  1  2010 davincieffect_ntsc_1.m2v
-rwxr--r-- 1 root root  30714281 Jan  1  2010 davincieffect_ntsc_1.m4v
-rw-r--r-- 1 root root 552960000 Dec 24 05:09 sample.yuv

So, what it the right way to filter the output of the testvideosrc?  Did I use 
the wrong syntax?

Thanks,

Charlie


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to