I want to use h264 transcoding stream and i need to compile VLC 8.6c with h264 support.
I need o use old api with my VC project . My aim is to stream web cam with h264. VLC 8.6c binary doesnt support h264 and it turns h264 streaming into mpeg2 streaming. So i tough it is better me to compile VLC 8.6c with h264.. It is nice to know if there is already compiled version with h264 from you guys
Here is what i ve done;
I downloaded Cygwin with all necessary libraries and tools from http://wiki.videolan.org/Win32CompileCygwin
I downloaded contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2 and extract it into C:\cygwin\usr\win32
Code: Select all
CONTRIB_TREE=/usr/win32
PATH=${CONTRIB_TREE}/bin:$PATH
./bootstrap &&
CPPFLAGS="-I/usr/include/mingw -I/cygdrive -I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml"
LDFLAGS=-"L${CONTRIB_TREE}/lib"
PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig
./configure --host=i686-pc-mingw32 --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk --enable-nls --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora --with-wx-config-path=${CONTRIB_TREE}/bin --with-freetype-config-path=${CONTRIB_TREE}/bin --with-fribidi-config-path=${CONTRIB_TREE}/bin --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com [b]--enable-x264[/b] --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin --with-xml2-config-path=${CONTRIB_TREE}/bin --with-dvdnav-config-path=${CONTRIB_TREE}/bin --disable-cddax --disable-vcdx --disable-mad --enable-goom --enable-twolame --disable-gnomevfs --disable-optimizations --enable-debug
when i call bootstrap it erased configure script I just copy it again in the folder ..
Anyway when the configure is running down ..
error: libiconv is needed for VLC to work properly .. I checked but libiconv was in the /usr/win32/lib.. Thought i install cygwin with this option.. What might be wrong ? Is it about my flags?
Thank you