use export GST_DEBUG=element_name:5 <br><br>What is your goal here ? You want an avi file having video width and height 1280x720 or 800x600 ? with frame rate 30 or 60 ? <br><br>And can you please tell us what is you sender application ? Is it some gstreamer pipeline ? <br>
<br><br><br><br><br><div class="gmail_quote">On Tue, Jul 20, 2010 at 10:29 AM, Prabhulinga Swamy B S <span dir="ltr">&lt;<a href="http://prabhulingaswamy.bs">prabhulingaswamy.bs</a>@<a href="http://globaledgesoft.com">globaledgesoft.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi,<br>
<br>
     I am setting the video caps of appsrc as,<br>
<br>
    appsrc is-live=true &quot;caps=video/x-h264,width=1280,height=720,framerate=60/1&quot; \<br>
<div class="im">        h264parse ! queue ! avimux ! queue ! filesink location=filename.avi<br>
<br>
</div>        To test the video file, I just set it as 60fps. I&#39;m having a count for<br>
        number of frames received. I&#39;m sure its 30fps. If i set video caps as 30fps<br>
        file take double the time, and if  I set it as 60fps, it plays as normal.<br>
<br>
        I set the GST_DEBUG=3 as a environment variable. Is it right ? I didn&#39;t get<br>
        any debug messages of gstreamer.<br>
        Or, let me know correct way of setting GST_DEBUG variable.<br>
<div class="im"><br>
<br>
With Regards,<br>
     Prabhu B S<br>
<br>
<br>
</div><div class="im">On 07/20/2010 12:44 PM, sudarshan bisht wrote:<br>
&gt;<br>
&gt; But if the frame rate is 60 then the file duration should be half  ,<br>
&gt; right ?<br>
&gt;<br>
&gt; Can you dump the file before giving it to avimux and check the number<br>
&gt; of frames ?<br>
&gt;<br>
&gt; On Tue, Jul 20, 2010 at 9:41 AM, Sandeep Prakash &lt;<a href="mailto:123sandy@gmail.com">123sandy@gmail.com</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:123sandy@gmail.com">123sandy@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;     Hi Prabhulinga,<br>
&gt;<br>
&gt;     &gt;From your ffmpeg command line<br>
&gt;<br>
&gt;      prabhu@prabhu:avi $ ffmpeg -v 5 -i sample.avi -f null -<br>
&gt;      Input #0, avi, from &#39;sample.avi&#39;:<br>
&gt;       Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s<br>
&gt;         Stream #0.0, 1/60: Video: h264, yuv420p, 1280x720, 1/120, 59.94<br>
&gt;      tbr, 60 tbn, 120 tbc<br>
&gt;      Output #0, null, to &#39;pipe:&#39;:<br>
&gt;         Stream #0.0, 1/90000: Video: rawvideo, yuv420p, 1280x720,<br>
&gt;      1001/60000, q=2-31, 200 kb/s, 90k tbn, 59.94 tbc<br>
&gt;      Stream mapping:<br>
&gt;       Stream #0.0 -&gt; #0.0<br>
&gt;       existing PPS referenced<br>
&gt;<br>
&gt;     we can also observe that the framerate is actually 60 (59.94 to be<br>
&gt;     exact)<br>
&gt;     and not 30<br>
&gt;     as you are saying. So somewhere the framerate is getting modified.<br>
&gt;     This<br>
&gt;     explains the<br>
&gt;     video duration getting awry.<br>
&gt;<br>
&gt;     Can you attach some logs that will show the caps at each element. Try<br>
&gt;     setting the<br>
&gt;     GST_DEBUG=3 env variable.<br>
&gt;<br>
&gt;     Also you can try to disable your frame completion logic and check<br>
&gt;     whats the<br>
&gt;     outcome.<br>
&gt;<br>
&gt;     Regards<br>
&gt;     Sandeep Prakash<br>
&gt;<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; Regards,<br>
&gt;<br>
&gt; Sudarshan Bisht<br>
<div><div></div><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>