<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On 4 Mar 2013, at 07:07, thanh nhan thanh nhan <<a href="mailto:nhanndt_87@yahoo.com">nhanndt_87@yahoo.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:12pt"><div>Dear libav-user list admin,</div><div>I wanna post the following message on thi mailing list:</div>
<div> </div><div><em>I am developing pcm decoding using ffmpeg libraries in Linux. I successfully built my program. The problem is the executable file size is very big ( ~ 63Mb) even though i just used few functions on audio decoding. I wanna downsize the executable file as much as possible. I think the problem is on the linking process. I made the Makefile with:</em></div>
<div><span class="tab"><em>     "g++ -L/usr/lib64 -L/usr/local/lib -g -o x2pcm main.o util.o -lavformat -lavcodec -lavutil -lswresample -lvorbis -lx264 -lmp3lame -logg -lvorbisenc -lvpx -lpthread -lz"</em></span></div>
<div><span class="tab"><em>Is there any suggestion for me to solve this problem?</em></span></div><div><span class="tab"><em>Thanks in advance!</em></span></div><div><span class="tab"><em></em></span> </div><div><span class="tab">Regards,</span></div>
</div></div></blockquote><blockquote type="cite"><div><span>______________________________</span><br></div></blockquote><br><div>What is the size you get when linking without the -g option? Also, are you using static or shared libraries, and why are you linking in video libraries if you're only doing decoding?</div>
<div><br></div><div>R</div></body></html>