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