[Ffmpeg-devel] [PATCH]A fully VC++ 6.0 builded h264 decoder project using ffmpeg'code(project file)

simon_st.john simon_st.john
Wed Jan 24 16:12:47 CET 2007


 I'm so sorry that I've never known this convention before.I have compressed it by tar now.I committed it because I can't add the new vc++ project subdirectory to the existing ffmpeg directory. I'd list the build step here instead of in the comments of the previous rar file:1.Decomposed this .tar.gz to the ./ffmpeg/libavcodec/,it would be
" ./ffmpeg/libavcodec/h264_msvc_build/"(Because I can't create a patch compose of newly added empty directory.),
then copy the config.h to ./ffmpeg.2.You can decomment the HAVE_MMX macro in the config.h
 to indicate the decoder to using the avcodec.dll to support the SIMD optimized code,
if you keep comment it ,you can get a fully msvc builded ffmpeg-h264decoder now
and don't need the avcodec.dll anymore.3.Or if you want use the full SIMD extended capacity of ffmpeg,
compile the ffmpeg under the MinGW+gcc to get the .dll, using the configure option
"# ./configure --enable-mingw32 --enable-memalign-hack --enable-shared --disable-static"
4.Use my commented config.h instead of the auto generated ones,or commented it youself if you used other configure option.
5.Then "# make"
6.Copy the just compiled avcodec-51.dll,avutil-49.dll,avformat-51.dll to the directory"./ffmpeg/libavcodec/h264_msvc_build/bin"--just for the .exe to find the .dll.
7.Now you can build the msvc project and do what you want.
8.You need a CIF format h264 encoded file to be the input, and assign it to the program.  
?2007-01-24?Michael Niedermayer <michaelni at gmx.at> ???
Hi On Wed, Jan 24, 2007 at 04:02:27PM +0800, simon_st.john wrote: > please do not send rar compressed stuff to the list files should either be uncompressed, or compressed with gzip/bzip2 (or another free software compressor) if and only if they are large [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Let us carefully observe those good qualities wherein our enemies excel us and endeavor to excel them, by avoiding what is faulty, and imitating what is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_msvc_build.tar.gz
Type: application/x-gzip-compressed
Size: 8834 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070124/1ce8a7f4/attachment.bin>



More information about the ffmpeg-devel mailing list