Hi ,how to make vlc activex under mingw?
Posted: 30 Sep 2006 05:30
I want to build vlc activex (axvlc.dll) under mingw by myself.
BTW:I don't wanna install vlc-0.8.5-win32.exe
after built, I put it in a CAB file through microsoft cabarc command. then I put the cab file under my web server.
when I want to stream media through IE ,I found it is ok to register and install axvlc.dll ,but failed to stream media file such as mp3.
the following is my test code :
/*************************/
html page:
...
function doGo()
{
var TargetUrl = "d:\\1.mp3";
var options = new Array(":vout-filter=deinterlace", ":deinterlace-mode=linear");
document.vlc.addTarget(TargetUrl, options, 4+8, -666);
};
...
/*************************/
config script before building axvlc.dll :
#! /bin/sh
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml -I/usr/local/include" \
LDFLAGS="-L/usr/win32/lib -L/usr/local/lib" \
./configure \
--disable-gtk \
--disable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-hal \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-real \
--enable-realrtsp \
--enable-activex \
--enable-release \
--enable-mostly-builtin \
--disable-kde --disable-qt \
--enable-wxwindows
can you tell me why not to stream media through axvlc.dll ? thanks a lot!
BTW:I don't wanna install vlc-0.8.5-win32.exe
after built, I put it in a CAB file through microsoft cabarc command. then I put the cab file under my web server.
when I want to stream media through IE ,I found it is ok to register and install axvlc.dll ,but failed to stream media file such as mp3.
the following is my test code :
/*************************/
html page:
...
function doGo()
{
var TargetUrl = "d:\\1.mp3";
var options = new Array(":vout-filter=deinterlace", ":deinterlace-mode=linear");
document.vlc.addTarget(TargetUrl, options, 4+8, -666);
};
...
/*************************/
config script before building axvlc.dll :
#! /bin/sh
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml -I/usr/local/include" \
LDFLAGS="-L/usr/win32/lib -L/usr/local/lib" \
./configure \
--disable-gtk \
--disable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-hal \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-real \
--enable-realrtsp \
--enable-activex \
--enable-release \
--enable-mostly-builtin \
--disable-kde --disable-qt \
--enable-wxwindows
can you tell me why not to stream media through axvlc.dll ? thanks a lot!