<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hi all,<br>
<br>
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 <i>avimux</i>, it is
the video source!<br>
<br>
Look at these two pipelines, the first one records an INVALID avi
file, <i>test1.avi</i>, (at least VLC or Windows Media Player can not
handle them), but the second one is fine (<i>test2.avi</i>)!!<br>
<i><br>
gst-launch-0.10 <b>videotestsrc is-live=true</b> !
'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
! xvidenc ! queue ! avimux ! filesink location=<u>test1.avi</u><br>
<br>
gst-launch-0.10 <b>videotestsrc num-buffers=500</b> !
'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
! xvidenc ! queue ! avimux ! filesink location=<u>test2.avi</u></i><br>
<br>
Why? What's happen? Any explanation? How can I record an .AVI file
from a v4lsrc for example? ...<br>
<br>
Thanks in advance.<br>
Regards,<br>
LD.<br>
</body>
</html>