<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
&nbsp;&nbsp;&nbsp; Hi all,<br>
<br>
I have two questions:<br>
<br>
1.- I asked about how get a good AVI file, and Jyoti pointed me
(thanks) about the need of sending an EOS message to the pipeline
before stopping it. Developers told me to pass -e to gst-launch to stop
with CTRL+C sending the EOS ... but when I do gst-lauch-0.10 -e, it
says "Error initializing: Unknown option -e". How do you do that?<br>
<br>
2.- Using this pipeline I save an AVI file:<br>
<br>
<i>gst-launch-0.10 mfw_v4lsrc capture-width=640 capture-height=480
num-buffers=250 !<br>
video/x-raw-yuv,framerate=25/1,width=640,height=480,format=\(fourcc\)I420
!<br>
mfw_vpuencoder width=640 height=480 codec-type=std_avc qp=25
iinterval=25 !<br>
h264parse ! queue ! avimux ! filesink location=test.avi<br>
</i><br>
I get 250 buffers, and I force to 25 fps, so the file (I have checked
it) has a lenght of 10 seconds. But the "real time" that I record
(recording a chronometer) is more than 25 seconds. How can I check the
real frame rate that the source element or the encoder are giving??? Is
there some way to check that??? (removing the cap between the source
and the encoder, it happens exactly the same). It could be some problem
with the gstreamer clock???<br>
<br>
&nbsp;&nbsp;&nbsp; THANK YOU VERY MUCH.<br>
&nbsp;&nbsp;&nbsp; All the best.<br>
&nbsp;&nbsp;&nbsp; LD.<br>
<br>
<br>
<br>
</body>
</html>