[FFmpeg-devel] How to load libavformat.dll and libavcodec.dll an using them

forumhelp forum helpforum2011 at hotmail.com
Wed Jan 11 11:33:08 CET 2012


Hello,

I downloaded the ffmpeg source code and the build dev from www.zeranoe.com for windows, and I try to compile the example 
doc\examples\encoding_decoding.c
in windows using MinGW, but the makefile describes only how to compile in Linux.
Since
 you are able to build ffmpeg under windows, what are the gcc commmand 
to compile the file using "lib\libavformat.dll.a" and others?

I know that in ubuntu I use this:
gcc -o encoding_decoding.c -Wall -c encoding_decoding.c -lavformat -lavcodec

but how to specify the path to the libraries in windows
My folder hierarchi
Encoder
encoding_decoding.c
include
libavformat
libavutil
libavcodec
.
.
lib
libavformat.dll.a
libavcodec.dll.a
.
.

Thanks in advance
Zouhair 		 	   		  


More information about the ffmpeg-devel mailing list