<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Tue, 26 Mar 2013 20:06:49 +0800<br>From: shawroop_ymca123@yahoo.co.in<br>To: x264-devel@videolan.org<br>CC: shawroopymca123@gmail.com<br>Subject: [x264-devel] How to Feed ARGB RAW input To x264 Encoder<br><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Hi Friend's<br>       I am using x264 Encoder in my application .I am getting raw ARGB Data as input from some source .i want  to encode that data using x264 Encoder .i know the some of the attribute of my input like height,width, framerate etc.  <br><br> <br>int iframe_size = x264_encoder_encode(    m_pEncoder, <br>                                                                &m_nals, <br>                                   
                             &i_nals, <br>                                                                &m_pic_in, <br>                                                                &m_pic_out);    //number of output NAL<br><br><br>how to Fill the   <b>m_pic_in</b> and <b>m_pic_out  </b>structure using ARGB data
 <br><br><br><br></td></tr></tbody></table><br>_______________________________________________
x264-devel mailing list
x264-devel@videolan.org
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br><br><br>That's very basic question. You should read some documentation at least for the basics. <br>In order to feed this data to x264, you need to convert it to YUV420 format. For this, you may use swscale API coming along with ffmpeg. There are some others as well.<br><br>Good luck.<br><br></div>                                        </div></body>
</html>