Hi Amout,<br><br>Thank you for your answer!<br><br>I&#39;ve just looked at the debug messages, and found what you mentioned. Below are the part of log.<br>By the way, can you explain how I can watch the video in normal speed? Does it mean that ffmpeg duplciates frames to satisfy the frame rate what it belives?<br>
<br>Regards,<br>Justin<br><br><b>-------------------------------------------------------------------------------------------<br></b>gstffmpegdec.c:714:gst_ffmpegdec_setcaps:&lt;ffdec_mpeg40&gt; forcing 25/1 framerate<br><br>
gstffmpegdec.c:744:gst_ffmpegdec_setcaps:&lt;ffdec_mpeg40&gt; Using framerate from codec<b><br></b>.<br>.<br>ffmpeg gstffmpegdec.c:1130:gst_ffmpegdec_negotiate:&lt;ffdec_mpeg40&gt; Renegotiating video from 0x0@ -1/-1 fps to 640x480@ -1/0 fps<br>
<br>ffmpeg gstffmpegcodecmap.c:1724:gst_ffmpeg_codectype_to_video_caps: context:0x9c81c00, codec_id:13, encode:0, codec:(nil)<br><br>ffmpeg gstffmpegcodecmap.c:186:gst_ff_vid_caps_new: context:0x9c81c00, codec_id:13, mimetype:video/x-raw-yuv<br>
<br>gstffmpegcodecmap.c:1602:gst_ffmpeg_pixfmt_to_caps: caps for pix_fmt=0: video/x-raw-yuv, width=(int)640, height=(int)480, framerate=(fraction)100/1, format=(fourcc)I420<br><b>-------------------------------------------------------------------------------------------<br>
</b><br><br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 1:12 AM, Arnout Vandecappelle <span dir="ltr">&lt;<a href="mailto:arnout@mind.be">arnout@mind.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Monday 20 July 2009 18:11:26 joh wrote:<br>
&gt; I&#39;ve investigated source code, but I coudn&#39;t find where the 100/1 came<br>
&gt; from. The truth is that rtspsrc doesn&#39;t even care about &quot;a=framerate...&quot;<br>
&gt; field to create cap, and it seems like not a mandatory attribute.<br>
&gt;<br>
&gt; Anybody can tell me what how mp4vdepay or ffdec_mpeg4 sets frame rate?<br>
<br>
</div> I think it&#39;s the framerate that is set by the MPEG4 stream itself.  Try<br>
running with --gst-debug=ffmpeg:5 and look for &#39;Using framerate from codec&#39;.<br>
If that is there, it means the MPEG4 stream specifies a framerate of 100fps.<br>
I had something similar with Sony&#39;s MPEG4 cameras.  It would surprise me that<br>
Axis does things the wrong way, but it is possible I guess...<br>
<br>
 Regards,<br>
 Arnout<br>
<br>
--<br>
<font color="#888888">Arnout Vandecappelle                               arnout at mind be<br>
Senior Embedded Software Architect                 +32-16-286540<br>
Essensium/Mind                                     <a href="http://www.mind.be" target="_blank">http://www.mind.be</a><br>
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven<br>
LinkedIn profile: <a href="http://www.linkedin.com/in/arnoutvandecappelle" target="_blank">http://www.linkedin.com/in/arnoutvandecappelle</a><br>
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933<br>
<br>
------------------------------------------------------------------------------<br>
</font><div><div></div><div class="h5">_______________________________________________<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>