In Zerano web site at <a href="http://ffmpeg.zeranoe.com/builds/">http://ffmpeg.zeranoe.com/builds/</a> i can see two type of 32 bits builds: Static and Shared. in description of shared build has written:<br>"builds provide each library as a separate .dll file (libavcodec, 
libavformat, libavfilter, libavdevice, libswscale), and small .exe files
 that depend on those libraries for each program.
                ".<br>Do i have to use 32 bit build(shared) then? Or i should use static one?<br><br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 4:38 PM, Matthew Einhorn <span dir="ltr"><<a href="mailto:moiein2000@gmail.com">moiein2000@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Wed, Jul 6, 2011 at 2:16 AM, Amir Rouhi-Rmit <<a href="mailto:amir.rouhi@rmit.edu.au">amir.rouhi@rmit.edu.au</a>> wrote:<br>

> I am using DEV  C++ developer under windows. Here i cant find any .lib files<br>
> like old borland c compilers.<br>
> What i have done step by step is:<br>
><br>
> Open ffmpeg.c file in DEV C++ compiler.<br>
> Set Include directory from tools/compiler options/ directories to<br>
> ffmpeg/libavcodec.<br>
> (There is a another setting place for libraries which i dont know i should<br>
> set it to which directory.)<br>
> Compile the program.<br>
><br>
> I get some compiler error such as:<br>
> "Line 30 In file include c:\.......libavutil\avutil.h"<br>
> Whats your advice?<br>
><br>
> On Wed, Jul 6, 2011 at 1:39 PM, Matthew Einhorn <<a href="mailto:moiein2000@gmail.com">moiein2000@gmail.com</a>><br>
> wrote:<br>
>><br>
>> On Tue, Jul 5, 2011 at 11:15 PM, Amir Rouhi-Rmit <<a href="mailto:amir.rouhi@rmit.edu.au">amir.rouhi@rmit.edu.au</a>><br>
>> wrote:<br>
>> > Please help me, I use DEV c++ compiler in windows platform. I build a<br>
>> > project in this compiler and add utils.c (with al its headers and<br>
>> > functions)<br>
>> > to the project, but when i want to compile the program, it does not<br>
>> > recognise all the header files used in utils.c  such as #include<br>
>> > "avformat.h". It seems that i have a problem in including new library<br>
>> > files<br>
>> > or in linking. Even i add the libavecodec path for new header files<br>
>> > location<br>
>> > but still does not recognise them.<br>
>> ><br>
>> > On Tue, Jul 5, 2011 at 4:37 PM, Clément Bœsch <<a href="mailto:ubitux@gmail.com">ubitux@gmail.com</a>> wrote:<br>
>> >><br>
>> >> On Tue, Jul 05, 2011 at 04:27:16PM +1000, Amir Rouhi-Rmit wrote:<br>
>> >> > I found dump_format() function (not av_dump_format() ) among ffmpeg<br>
>> >> > source<br>
>> >> > codes :  dump_format(ic, 0, is->filename, 0);<br>
>> >><br>
>> >> You are not up to date then…<br>
>> >><br>
>> >> > but i would be pleased if you let me know how can i find a tutorial<br>
>> >> > which<br>
>> >> > shows how can i use the function ? and which header should be<br>
>> >> > included?<br>
>> >> ><br>
>> >><br>
>> >> av_dump_format() is just a printing function. It is defined in<br>
>> >> libavformat/utils.c. You can look into this file how where it finds the<br>
>> >> various information it prints.<br>
>> >><br>
>> >> If you need some examples on how to use the API, look at the ffmpeg.c,<br>
>> >> ffplay.c and ffprobe.c. Also, doc/examples contains various codes that<br>
>> >> might help you.<br>
>> >><br>
>> >> Note: please do not top post, it is considered rude.<br>
>> >><br>
>> >> [...]<br>
>> >><br>
>> >> --<br>
>> >> Clément B.<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Libav-user mailing list<br>
>> >> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
>> >> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Amir H. Rouhi<br>
>> > PhD Student/ CSIT RMIT University<br>
>> > Room: 14-09-04<br>
>> > <a href="mailto:rouhi_amirhossein@student.rmit.edu.au">rouhi_amirhossein@student.rmit.edu.au</a><br>
>> > <a href="mailto:amir.rouhi@rmit.edu.au">amir.rouhi@rmit.edu.au</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Libav-user mailing list<br>
>> > <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
>> > <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
>> ><br>
>> ><br>
>><br>
>> Please don't top post.<br>
>><br>
>> A couple of reasons why it might not work is that you have to wrap all<br>
>> the ffmpeg includes in a extern "C"  declaration. Also, assuming that<br>
>> you didn't build ffmpeg yourself, did you link dynamically or<br>
>> statically? And if statically, did you link to the .lib files? You<br>
>> should include some kind of error massage, otherwise it's hard to know<br>
>> what's going wrong.<br>
>><br>
>> Matt<br>
>> _______________________________________________<br>
>> Libav-user mailing list<br>
>> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
>> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>
><br>
><br>
> --<br>
> Amir H. Rouhi<br>
> PhD Student/ CSIT RMIT University<br>
> Room: 14-09-04<br>
> <a href="mailto:rouhi_amirhossein@student.rmit.edu.au">rouhi_amirhossein@student.rmit.edu.au</a><br>
> <a href="mailto:amir.rouhi@rmit.edu.au">amir.rouhi@rmit.edu.au</a><br>
><br>
><br>
> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>
><br>
<br>
</div></div>I'm pretty sure that won't work. You cannot compile the files in c++.<br>
You should use one of the precompiled DLL builds (look at the download<br>
link on the ffmpeg page) and link to the required functions in the<br>
dll.This way you can call and incorporate the ffmpeg functions into<br>
your application. I haven't use DEV c++ however, only MSVC++.<br>
<br>
For example, the zeranoe builds will include the header files for most<br>
fffmpeg supported function which you could then call once you load the<br>
dll library dynamically, or statically if you link to the included<br>
.lib files (and of course you have to include the headers into your<br>
project).<br>
<div><div></div><div class="h5"><br>
Matt<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Amir H. Rouhi</div>
<div>PhD Student/ CSIT RMIT University</div>
<div>Room: 14-09-04</div>
<div><a href="mailto:rouhi_amirhossein@student.rmit.edu.au" target="_blank">rouhi_amirhossein@student.rmit.edu.au</a></div>
<div><a href="mailto:amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a></div>
<div> </div><br>