<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello Sir <br> <br> Please provide me some e-link or tutorial for x264 encoder as i want to know the mediatype and return media type from it .<br>how to set mediatypes and how to fill videoinfo header etc.<br><br><br><br>regard's<br>chetan<br><br>--- On <b>Fri, 29/3/13, Dolevo Jay <i><cmst@live.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; 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: Friday, 29 March, 2013, 2:38 PM<br><br><div id="yiv394275329">
<style><!--
#yiv394275329 .yiv394275329hmmessage P
{
margin:0px;padding:0px;}
#yiv394275329 body.yiv394275329hmmessage
{
font-size:12pt;font-family:Calibri;}
--></style>
<div><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="yiv394275329SkyDrivePlaceholder"></div><hr id="yiv394275329stopSpelling">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="yiv394275329ecxyiv774417448">
<style><!--
#yiv394275329 .yiv394275329ExternalClass #yiv394275329ecxyiv774417448 .yiv394275329ecxyiv774417448hmmessage P {
padding:0px;}
#yiv394275329 .yiv394275329ExternalClass #yiv394275329ecxyiv774417448 body.yiv394275329ecxyiv774417448hmmessage {
font-size:12pt;font-family:Calibri;}
--></style>
<div><div dir="ltr"><br><br><div><div id="yiv394275329ecxyiv774417448SkyDrivePlaceholder"></div><hr id="yiv394275329ecxyiv774417448stopSpelling">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="yiv394275329ecxplainMail">_______________________________________________<br>x264-devel mailing list<br><a rel="nofollow">x264-devel@videolan.org</a><br><a rel="nofollow" target="_blank" href="http://mailman.videolan.org/listinfo/x264-devel">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></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>x264-devel mailing list<br><a ymailto="mailto:x264-devel@videolan.org" href="/mc/compose?to=x264-devel@videolan.org">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></table>