I don't guarantee this translation is correct. Because my English skill is bad and I am not Potplayer's developer.
1. Preparing Compiler
You use MPC-BE's compiler(http://dev.mpc-next.ru/index.php/topic,1829.0.html, http://117.52.4.235/beta/msys_be_20131017.7z ) or MPC-HC's compiler(http://xhmikosr.1f0.de/tools/MSYS_MinGW-w64_GCC_482_x86-x64.7z, http://117.52.4.235/beta/MSYS_MinGW-w64_GCC_482_x86-x64.7z). You unpack this file and execute msys.bat. And to check gcc's execution, you enter gcc -v. Next, you make directory in msys.bat's folder.
ex)mkdir Workspace
cd Workspace
2. Preparing Source
You can download FFmpeg in http://www.ffmpeg.org/download.html. And you can also download Libav in http://www.libav.org/download.html The file you download moves the folder that we made in the first chapter. You unpack by entering tar -xvzf COMPRESSIONS FILE'S NAME. If contents are FFmpeg, you change this folder's name into ffmpeg, if contents are Libav, you change that folder's name into libav. Beacuse the unpacked folders' names contain kinds of hash code.
3. Compiling
Compiling in original source folder is ok. But the folder will be contaminated by many different files. So I recommend you to make new folder.
----------------------
mkdir ffmpeg_dll
cd ffmpeg_dll
../ffmpeg/configure
make [-jTHE NUMBER OF CPU]
gcc -I. -I../ffmpeg -c -O2 AdditionalFunc.c
dllwrap -Wl,--enable-stdcall-fixup --export-all-symbols -s -o FFmpeg.dll \
AdditionalFunc.o \
libavcodec/libavcodec.a \
libavutil/libavutil.a \
-lws2_32 -lz -lbz2 -lpthread
strip FFmpeg.dll
----------------------
You copy the created file into Potplayer's Module/FFmpeg.
Libav is also done by similar means, you refer to the attachment.
END!!
Ps. AdditionalFunc.c is in the attachment
FFmpegCompile.zip
첫댓글 I understood korean well by translation tool though.
Thank you anyway ^^