<?xml  version="1.0" ?><html>
<head>
<title></title>
</head>
<body>
<div align="left"><font face="Arial"><span style="font-size:10pt">Thanks Ross for your answer,</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">&#160;&#160; I know this is more related to MPlayer (because it's done correctly in MPlayer), but I 
would like to save the stream I receive as .BMP files. For that purpose, I'm using 
libavcodec to decode the MP4V stream.</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">&#160;&#160; </span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">&#160; My problem is more a ffmpeg (libavcodec) problem than a protocol problem.</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">I've tried to decode the stream from </span></font><font face="Arial" color="#7f0000"><span style="font-size:10pt">openRTSP, 
and I-frame are decoded correctly.</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">However, P and B frame are not.</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">I don't really know how to configure the avcontext object to decode the stream 
correctly. I'm not sure you've done it in MPlayer, but if you did, please tell me what 
you did. </span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Thanks for all,</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Cyril</span></font></div>
<div align="left"><br/></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">On 11 Oct 2004 at 13:31, Ross Finlayson wrote:</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; The RTP payload format for &quot;video/MP4V-ES&quot; (defined in RFC 3016) is very </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; simple: MPEG-4 video frame data is packed simply into RTP packets, with no </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; extra headers (apart from the usual 12-byte RTP header).</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; In the LIVE.COM code, incoming RTP packets of this type are handled by the </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; &quot;MPEG4ESVideoRTPSource&quot; class.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; That is correct.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; Another (simpler) thing you could do is just run &quot;openRTSP&quot; (see </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; &lt;http://www.live.com/openRTSP/&gt;) on the stream (assuming that it has a </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; &quot;rtsp://&quot; URL).&#160; This will output a file that contains just the raw MPEG-4 </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; video data - which is what you were trying to do.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Ross Finlayson</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;LIVE.COM</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;http://www.live.com/&gt;</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; _______________________________________________</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; live-devel mailing list</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; live-devel@lists.live.com</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">&gt; http://lists.live.com/mailman/listinfo/live-devel</span></font></div>
<div align="left"><br/>
</div>
<div align="left"></div>
</body>
</html>