cross compile vlc with plugin live555 for windows xp problem
Posted: 18 May 2011 14:42
Hello,
I want to cross vlc with modify live555 source code.
I can cross compile vlc for windows on Ubuntu 10.10 success.
I download live555 source code from http://ftp.riken.go.jp/pub/FreeBSD/port ... iles/nork/
and compile success.
Before compile live555 I had been modify MPEG2TransportFileServerMediaSubsession.cpp below..
old code
modify
Then I use some command to compile live555 below list...
$./genMakefiles linux
$./make
it is success
then I copy live folder to /usr/win32/live.com
$sudo mv /usr/win32/live.com /usr/win32/live.com.ok
$sudo cp live /usr/win32/live.com
Now I had been replace live.com to new version and the version is work ok.
I change dir to vlc-1.1.9 that is vlc-1.1.9 source code.
I use some command to compile vlc below...
$make clean
$./bootstrap
bootstrap message
-----------------------------
$extras/package/win32/configure-mingw.sh
the command will use two script file that configure-mingw.sh with configure-common.sh.
I post them below
configure-mingw.sh
----------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
configure-common file
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
The configure message below
-------------------------------------------------------------------------------------------
Now I am configure success. I use make command to make vlc.
$make
Before I modify live.com then compile is success.
After I replace live.com then compile is fail.
I get a lot of error message below..
----------------------------------------------------------------------------------------------
Thank
I want to cross vlc with modify live555 source code.
I can cross compile vlc for windows on Ubuntu 10.10 success.
I download live555 source code from http://ftp.riken.go.jp/pub/FreeBSD/port ... iles/nork/
and compile success.
Before compile live555 I had been modify MPEG2TransportFileServerMediaSubsession.cpp below..
old code
Code: Select all
RTPSink* MPEG2TransportFileServerMediaSubsession
::createNewRTPSink(Groupsock* rtpGroupsock,
unsigned char /*rtpPayloadTypeIfDynamic*/,
FramedSource* /*inputSource*/) {
return SimpleRTPSink::createNew(envir(), rtpGroupsock,
33, 90000, "video", "MP2T",
1, True, False /*no 'M' bit*/);
}
Code: Select all
RTPSink* MPEG2TransportFileServerMediaSubsession
::createNewRTPSink(Groupsock* rtpGroupsock,
unsigned char rtpPayloadTypeIfDynamic,
FramedSource* /*inputSource*/) {
return SimpleRTPSink::createNew(envir(), rtpGroupsock,
rtpPayloadTypeIfDynamic, 90000, "video", "MP2T",
1, True, False /*no 'M' bit*/);
}
$./genMakefiles linux
$./make
it is success
then I copy live folder to /usr/win32/live.com
$sudo mv /usr/win32/live.com /usr/win32/live.com.ok
$sudo cp live /usr/win32/live.com
Now I had been replace live.com to new version and the version is work ok.
I change dir to vlc-1.1.9 that is vlc-1.1.9 source code.
I use some command to compile vlc below...
$make clean
$./bootstrap
bootstrap message
-----------------------------
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:

-----------------------------To fix this, please be sure before you start the playback to:

- Open: Tools -> Messages.
- Set Verbosity to 2
- Start playback to reproduce your issue
- Save text in a file or copy into clipboard
- Then paste the full resulting log here between [code]and[/code] (or use Pastebin.com if it's too long)
$extras/package/win32/configure-mingw.sh
the command will use two script file that configure-mingw.sh with configure-common.sh.
I post them below
configure-mingw.sh
----------------------------------------------------------------------------------------
Code: Select all
#!/bin/sh
root=$(echo $0|sed 's#extras/package/win32/configure-mingw.sh##')./
echo ${root} > printfroot
export CONTRIB_DIR="$1"
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
CONFIGURE="${root}configure" \
CONFIGOPTS="--host=i586-mingw32msvc --build=i386-linux
--enable-mkv --enable-taglib --enable-debug --enable-projectm" \
sh ${root}extras/package/win32/configure-common.sh
configure-common file
------------------------------------------------------------------------------------------
Code: Select all
[ -z $CONTRIB_DIR ] && export CONTRIB_DIR=/usr/win32
$CONFIGURE \
--with-contrib \
--enable-update-check \
--enable-lua \
--enable-faad \
--enable-flac \
--enable-theora \
--enable-twolame \
--enable-quicktime \
--enable-real \
--enable-avcodec --enable-merge-ffmpeg \
--enable-dca \
--enable-mpc \
--enable-libass \
--enable-x264 \
--enable-schroedinger \
--enable-realrtsp \
--enable-live555 \
--with-live555-tree=/usr/win32/live.com \
--enable-dvdread \
--enable-shout \
--enable-goom \
--enable-caca \
--enable-portaudio \
--enable-sdl \
--enable-qt4 \
--enable-sse --enable-mmx \
--enable-libcddb \
--enable-zvbi --disable-telx \
--enable-sqlite \
--enable-media-library \
--disable-dirac \
--disable-upnp \
--with-peflags \
$CONFIGOPTS
The configure message below
-------------------------------------------------------------------------------------------
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:

-------------------------------------------------------------------------------------------To fix this, please be sure before you start the playback to:

- Open: Tools -> Messages.
- Set Verbosity to 2
- Start playback to reproduce your issue
- Save text in a file or copy into clipboard
- Then paste the full resulting log here between [code]and[/code] (or use Pastebin.com if it's too long)
Now I am configure success. I use make command to make vlc.
$make
Before I modify live.com then compile is success.
After I replace live.com then compile is fail.
I get a lot of error message below..
----------------------------------------------------------------------------------------------
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:

----------------------------------------------------------------------------------------------To fix this, please be sure before you start the playback to:

- Open: Tools -> Messages.
- Set Verbosity to 2
- Start playback to reproduce your issue
- Save text in a file or copy into clipboard
- Then paste the full resulting log here between [code]and[/code] (or use Pastebin.com if it's too long)
Thank