Remedial | News | Documentation | Download

Source

To compile remedial from source:

tar xzf remedial-0.2.22.tar.gz
cd remedial-0.2.22
./autogen.sh # (Note: IMPORTANT!)
make
make install

Note that there is a problem with recent avifile releases, where the header files to not match the actual definitions of functions in the library. For remedial to compile, you'll have to edit /usr/include/avifile/aviplay.h and change the following:

IAviPlayer* CreateAviPlayer(const char* filename, int bitdepth,
                            const char* subfile = 0, unsigned int flags = 0,
			    // vcodec & acodec are going to be supported
			    const char* vcodec = 0, const char* acodec = 0);

to

IAviPlayer* CreateAviPlayer(const char* filename, int bitdepth,
                            const char* subfile = 0, unsigned long flags = 0,
			    // vcodec & acodec are going to be supported
			    const char* vcodec = 0, const char* acodec = 0);

Usage

Once installed, remedial can simply be run from the command line by typing:

remedial

It looks for its configuration file in two places:

At this stage, the remedial.xml config file does nothing more than assign streams to the preset buttons. The sample remedial.xml file can be found here.

remedial can also be given the location or file of a WMA stream on the command line. If launched like this, remedial will automatically begin to play the stream when it starts. Eg:

remedial mms://media4.abc.net.au/network1

If you want your browser to automatically launch remedial when you click on an ASX or WMA link, do the following:

You may also have to repeat the above procedures for MIME types of application/mplayer2 and video/x-ms-video.

Strange problems

Occasionally I've found that upon installing remedial on a new machine, its user-interface is stretched horizontally. This appears to be due to qt configuration settings from other applications. A quick, but possibly disasterous, workaround (depending on how much you customise your qt settings) is to remove your .qt directory and its contents.


Author: Paul Dwerryhouse
Date: December 11th, 2003