<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'>Without seeing what sort of code you use, nobody can help you. Please post your code segment.<br><br>Regards<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 28 Mar 2013 21:20:54 +0800<br>From: shawroop_ymca123@yahoo.co.in<br>To: x264-devel@videolan.org<br>Subject: Re: [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 <br><br> I am trying to use sws_scale from ffmpeg as suggest by you for conversion from ARGB to YUV format .i download the ffmpeg-20130327-git-81e85bc-win32-dev.7z from ffmpeg<br><br>include the header file and lib "swscale.lib swresample.lib" but compilor unable to resolve the related function of swcale.lib . i am getting the following error<br><br>1>ffmpeg.obj : error LNK2019: unresolved external symbol "struct SwsContext * __cdecl sws_getContext(int,int,enum PixelFormat,int,int,enum PixelFormat,int,struct SwsFilter *,struct SwsFilter *,double const *)" (?sws_getContext@@YAPAUSwsContext@@HHW4PixelFormat@@HH0HPAUSwsFilter@@1PBN@Z) referenced in function _wmain<br>1>C:\Users\chetan\Desktop\New folder\ffmpeg\Debug\ffmpegtest.exe : fatal error LNK1120: 1 unresolved externals<br><br><br><br><br>Que.If there is another way to
convert RGB to yuv Please suggest <br><br><br>regard's<br>chetan<br><br><br><br><br>--- On <b>Tue, 26/3/13, Dolevo Jay <i><cmst@live.com></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);padding-left:5px;"><br>From: Dolevo Jay <cmst@live.com><br>Subject: Re: [x264-devel] How to Feed ARGB RAW input To x264 Encoder<br>To: "Mailing list for x264 developers" <x264-devel@videolan.org><br>Date: Tuesday, 26 March, 2013, 9:13 PM<br><br><div id="ecxyiv774417448">
<style><!--
.ExternalClass #ecxyiv774417448 .ecxyiv774417448hmmessage P {
padding:0px;
}
.ExternalClass #ecxyiv774417448 body.ecxyiv774417448hmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div><div dir="ltr"><br><br><div><div id="ecxyiv774417448SkyDrivePlaceholder"></div><hr id="ecxyiv774417448stopSpelling">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 rel="nofollow" target="_blank" href="http://mailman.videolan.org/listinfo/x264-devel">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></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="ecxplainMail">_______________________________________________<br>x264-devel mailing list<br><a href="http:///mc/compose?to=x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a><br><a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br></div></blockquote></td></tr></tbody></table><br>_______________________________________________
x264-devel mailing list
x264-devel@videolan.org
http://mailman.videolan.org/listinfo/x264-devel</div> </div></body>
</html>