<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">I am trying to encode RGB pixels in memory into the H264 format to be streamed out.</p>
<p style="margin-top:0;margin-bottom:0">So I need the encoding to be in memory rather than in a file.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">So far the examples I have seen require streams created by calling "<span>avformat_new_stream" which seems to</span></p>
<p style="margin-top:0;margin-bottom:0"><span>only support files.</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Is there a memory buffer alternative?</span></p>
</div>
</body>
</html>