[Sumover-dev] [svn commit] r4463 - vic/branches/mpeg4/win32

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Jun 4 16:31:09 BST 2009


Author: piers
Date: Thu Jun  4 16:31:09 2009
New Revision: 4463

Modified:
   vic/branches/mpeg4/win32/build_install.txt

Log:
Updated instructions for new building of ffmpeg and x264

Modified: vic/branches/mpeg4/win32/build_install.txt
==============================================================================
--- vic/branches/mpeg4/win32/build_install.txt	(original)
+++ vic/branches/mpeg4/win32/build_install.txt	Thu Jun  4 16:31:09 2009
@@ -1,44 +1,52 @@
-Win32 build instruction written by Barz Hsu
-
-Get and install the following:
-- The latest version of mingw from http://www.mingw.org/
-- Get nasm from http://www.kernel.org/pub/software/devel/nasm/binaries/win32/nasm-0.98.39-win32.zip - rename nasmw.exe to nasm.exe install it in the PATH for X264 build (see below).
-
-# Make FFmpeg DLL under Mingw 
-* check out ffmpeg
-svn co -r 7110 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
-
-./configure  --prefix=/tmp/ffmpeg --enable-mingw32 --enable-memalign-hack --e
-nable-swscaler --enable-gpl --enable-shared --disable-static
-
-# Make X264 DLL under Mingw
-* check out x264
-svn co -r 600 svn://svn.videolan.org/x264/trunk x264 
-./configure --enable-shared
-
-* patch Makefile for generating DLL
-add the 3-6 lines in SONAME targe
-
-1: $(SONAME): .depend $(OBJS) $(OBJASM)
-2:        $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
-3: ifeq ($(SYS),MINGW)
-4:        $(CC) -shared -Wl,--output-def,libx264.def -o libx264.dll $(OBJS) $(OBJA
-SM)
-5:        lib /machine:i386 /def:libx264.def
-6: endif
-
-# Copy DLL and LIB files to win32/lib
-./copy_dll.sh
-
-# Build VIC using Visual studio as normal. 
-~                                                                                                                                           
-~                                                                                                                                           
-~                                                                                                                                           
-~                                                                                                                                           
-~                          
-~
-~                                                                               
-~                                                                               
-~                                                                               
-~                                                                               
-~                    
+Win32 build instruction written by Barz Hsu and updated by Piers 4 June 09
+
+Get and install the following:
+- The latest version of mingw from http://www.mingw.org/
+  o YOu will need win32api, w32runtime, utils, gcc
+- Get Yasm and copy it to a directory in your PATH (e.g. c:\Windows) and rename it yasm.exe
+  => http://www.tortall.net/projects/yasm/wiki/Download 
+
+# Get and Make FFmpeg DLL under Mingw 
+- Get ffmpeg-0.5 from:
+  => http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2
+- Untar and configure:
+
+tar xfj ffmpeg-0.5.tar.bz2 && cd ffmpeg-0.5
+./configure  --enable-memalign-hack --enable-swscale --enable-gpl --enable-shared --disable-static --enable-postproc --prefix=../win32 --bindir=../win32/l
+ib --enable-w32threads
+make install
+
+# Get and Make X264 DLL under Mingw
+- Get x264-snapshot-20090531-2245 snapshot:
+  => http://downloads.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20090531-2245.tar.bz2
+- Untar and configure:
+
+tar xfj x264-snapshot-20090531-2245.tar.bz2 && cd x264-snapshot-20090531-2245
+./configure --enable-shared --prefix=../win32
+  
+* patch Makefile for generating DLL
+add the 3-6 lines in SONAME target
+
+1: $(SONAME): .depend $(OBJS) $(OBJASM)
+2:        $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
+3: ifeq ($(SYS),MINGW)
+4:        $(CC) -shared -Wl,--output-def,libx264.def -o libx264.dll $(OBJS) $(OBJA
+SM)
+5:        lib /machine:i386 /def:libx264.def
+6: endif
+
+make install
+
+
+# Build VIC using Visual studio as normal. 
+~                                                                                                                                           
+~                                                                                                                                           
+~                                                                                                                                           
+~                                                                                                                                           
+~                          
+~
+~                                                                               
+~                                                                               
+~                                                                               
+~                                                                               
+~                    



More information about the Sumover-dev mailing list