<!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 am still trying to fix my "high speed avis" when displaying them. I
have followed Arnaut's instructions (thanks a lot) and that seems to be
the problem, but it has not been completely fixed.<br>
<br>
&nbsp;&nbsp;&nbsp; Using a webcam in my PC, and executing this pipeline the resulting
AVI file is 'high-speed' (I record 15 "real life" seconds that are
displayed in a video of 10 seconds lentgh):<br>
<br>
<i>gst-launch-0.10 v4l2src num-buffers=200 ! <br>
'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
!<br>
x264enc ! queue ! avimux ! filesink location=webcamtest.avi</i><br>
<br>
but just adding <i><b>videorate</b></i> before the encoder element (<i>x264enc</i>),
it is displayed properly. Fine.<br>
<br>
&nbsp;&nbsp;&nbsp; But in the board where I need to record the AVI file, when I add
the <i>videorate</i> element, the pipeline hangs up (never finishes
although it has the num-buffers property)!! <br>
<br>
<i>gst-launch-0.10 mfw_v4lsrc capture-width=640 capture-height=480
num-buffers=200 !<br>
video/x-raw-yuv,format=\(fourcc\)I420,width=640,height=480,framerate=\(fraction\)25/1
! <b>videorate</b> !<br>
mfw_vpuencoder width=640 height=480 codec-type=std_avc qp=25
iinterval=25 ! h264parse ! <br>
queue ! avimux ! filesink location=board.avi<br>
</i><br>
&nbsp;&nbsp;&nbsp; Why??? How videorate works???<br>
<br>
&nbsp;&nbsp;&nbsp; Thanks a lot.<br>
&nbsp;&nbsp;&nbsp; All the best.<br>
&nbsp;&nbsp;&nbsp; LD.<br>
<br>
<br>
</body>
</html>