AVI format error ... ¿¿¿video source is the problem?????

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

AVI format error ... ¿¿¿video source is the problem?????

ldac

    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? ...

    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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: AVI format error ... ¿¿¿video source is the problem?????

Stefan Sauer
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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel