[gst-devel] AVI format error ... ¿¿¿video source is the problem?????

Stefan Kost ensonic at hora-obscura.de
Mon May 11 11:09:51 CEST 2009


ldac schrieb:
>
>     Hi all,
>
> yesterday I posted a message because I have problems to save an .AVI
> file. Today I have found something surprisingly (at least for me!). My
> new conclussion is that the "guilty" is not the /avimux/, it is the
> video source!
>
>     Look at these two pipelines, the first one records an INVALID avi
> file, /test1.avi/, (at least VLC or Windows Media Player can not
> handle them), but the second one is fine (/test2.avi/)!!
> /
> gst-launch-0.10 *videotestsrc is-live=true* !
> 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
> ! xvidenc ! queue ! avimux ! filesink location=_test1.avi_
>
> gst-launch-0.10 *videotestsrc num-buffers=500* !
> 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
> ! xvidenc ! queue ! avimux ! filesink location=_test2.avi_/
>
>     Why? What's happen? Any explanation? How can I record an .AVI file
> from a v4lsrc for example? ...
You got the explanation. For Ctrl-launch use the new -e flag. In your
application use gst_element_send_event(pipeline,gst_event_new_eos());

Stefan

>
>     Thanks in advance.
>     Regards,
>     LD.
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list