-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.MingGW
40 lines (29 loc) · 1.46 KB
/
README.MingGW
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
For compiling the windows version of DVBcut, you need
- MingGW and MSYS
- QT-3 for windows (http://qtwin.sourceforge.net/qt3-win32). The files
must be located in ../qt-3 (relative to this file).
Optionally for 2sec-audio playback one needs
- libraries libmad.a, liba52.a (from package a52dec) and libao.a
installed under /usr/local. These can easily be built/installed from
source packages by doing the usual "./configure; make; make install",
libao needs to be V0.8.8 or newer and "./configure --disable-shared"
to get a static library.
Newer DVBcut versions (>v0.5.4) also require
- libmpeg2.a (from mpeg2dec) installed under /usr/local (which also
compiles easily from source).
After adapting the path to your mingw installation in ./import/stdlib.h
simply launch "./mingw.sh" to compile DVBcut.
For playing video, you will need MPlayer 1.0rc1 for Windows
(http://www.mplayerhq.hu). You will also need the DirectX header
files for mingw (http://www.videolan.org/vlc/dx7headers.tgz).
Note: If you want to be able to play files >2.4G, replace off_t with
off64_t in all MPlayer sources and use _lseeki64() instead of lseek()
in stream_files.c.
Compile MPlayer with
./configure --disable-gui --charset=noconv --enable-directx
make
make install
Precompiled mplayer binaries with large file support (and other stuff)
can be downloaded from http://oss.netfarm.it/mplayer-win32.php.
Precompiled DVBcut binaries for Windows are available at
http://www.glasstetter.net/dvbcut/.