annotate DOCS/tech/qt-libwine-howto.txt @ 8278:1cbee32a0627

if no have subwindow ... some menupoint is disabled:)
author pontscho
date Mon, 25 Nov 2002 16:52:12 +0000
parents 992675110ab8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8183
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
1 How to get win32 quicktime audio/video codec plugins support work?
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
2 ==================================================================
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
3
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
4 1. Get the latest wine source. Some leech urls:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
5 http://www.ibiblio.org/pub/Linux/ALPHA/wine/development/Wine-20021031.tar.gz
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
6 ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/Wine-20021031.tar.gz
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
7 ftp://ftp.fu-berlin.de/unix/linux/mirrors/sunsite.unc.edu/ALPHA/wine/development/Wine-20021031.tar.gz
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
8 ftp://orcus.progsoc.uts.edu.au/pub/Wine/development/Wine-20021031.tar.gz
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
9 Compile and install it:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
10 ./configure
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
11 make
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
12 make install
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
13
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
14 2. Get mplayer CVS (RTFM...), and compile this way:
8252
arpi
parents: 8183
diff changeset
15 ./configure --disable-win32 --enable-qtx-codecs
arpi
parents: 8183
diff changeset
16 (the --disable-win32 is VERY important!!!)
8183
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
17 make mplayer.exe.so
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
18
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
19 3. Get the quicktime DLLs & wine config pack:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
20 [ftp|http]://mplayerhq.hu/MPlayer/releases/qt-dotwine.tar.bz2
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
21 If you already have ~/.wine, backup it:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
22 mv ~/.wine ~/.wine.orig
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
23 Extract the tarball in your home dir:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
24 cd
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
25 tar -xjf qt-dotwine.tar.bz2
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
26
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
27 4. Launch mplayer with wine:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
28 wine z:/path/to/mplayer/main/mplayer.exe.so -- file.mov [options]
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
29
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
30 You can also create a wrapper script to emulate 'old' mplayer behaviour:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
31 Create a file called 'mplayer' with content:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
32 wine z:/path/to/mplayer/main/mplayer.exe.so -- $*
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
33 then: chmod +x mplayer
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
34
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
35 NOTES:
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
36 Note 1: when first time starting wine, it will create a FONT database, it
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
37 may take a while... don't worry, it won't be rebuild next time!
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
38
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
39 Note 2: wine/quicktime DLLs fork several processes/threads, they
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
40 somehow don't die at exit and keep eating your memory in the background,
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
41 so it's recommended to 'killall wine' after running mplayer this way...
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
42
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
43 Note 3: yes we all know this is messy hack, and we're working on a
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
44 cleaner solution, using the minimalist loader included in mplayer
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
45 instead of all the bloat coming with libwine.
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
46
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
47 Note 4: due to --disable-win32, you cannot use vfw/acm/dshow and quicktime
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
48 DLLs at the same time.
f3c7601d52d7 quicktime+libwine HOWTO
arpi
parents:
diff changeset
49