To run the build script on Ubuntu 10.10, install the following packages in a terminal window:
sudo apt-get install git automake autoconf libtool intltool g++ yasm swig libmp3lame-dev libgavl-dev libsamplerate-dev libxml2-dev ladspa-sdk libjack-dev libsox-dev libsdl-dev libgtk2.0-dev liboil-dev libsoup2.4-dev libqt4-dev libexif-dev libtheora-dev libvdpau-dev libvorbis-dev python-dev
Here is a list of Fedora 14 packages.
sudo yum groupinstall "Development Tools"
sudo yum install yasm gavl-devel libsamplerate-devel libxml2-devel ladspa-devel jack-audio-connection-kit-devel sox-devel SDL-devel gtk2-devel qt-devel libexif-devel libtheora-devel libvorbis-devel libvdpau-devel libsoup-devel liboil-devel python-devel
Configure the build
The script optionally uses a configuration file, which by default, is build-melted.conf within the current directory. If the configuration file exists, it contains the same configuration variables that are at the top of the script but perhaps with different values that override the defaults in the script. Also, you can supply a configuration file name using the -c option when running the script. However, you can also simply edit the variables at the top of the script as needed. More information about specific options is pending.
Run the script
First make sure the directory "melted" does not already exist in your home directory. If it does, remove it or move it out of the way (unless you are re-running the build-melted.sh script to update an existing build). Then, in a terminal window:
script to ~/melted)
chmod +x build-melted.sh
The script gets the source for and builds:
Deploy the build
To run the build on a fresh install of Ubuntu 10.10 install the following packages:
sudo apt-get install libmp3lame0 libgavl1 libsox1b libswfdec-0.7-1 libqt4-gui libexif12 libvdpau1
Copy the files from the build directory or extract an archive into $HOME.
Run the build
Then, run start-melted-server. Wait a couple of seconds to let the server start. Next, run start-melted-client.
Configure the runtime environment
- Edit etc/start-melted.conf to set the MLT profile to use.
- Edit etc/melted.conf to include any MVCP commands to initialize the units within melted or set the root directory of assets.
- Edit etc/rugen.conf to set the server's address if you are running the melted client on a separate machine.
Update the build
Whenever you feel the need to update the build, simply re-run the build-melted.sh script. Look for the result in a newly dated directory within ~/melted. If you feel you do not need the older versions you can simply delete the old dated directory.
Add OpenShot to this environment
sudo apt-get install bzr
bzr branch lp:openshot
cp ../src/mlt/src/swig/python/_mlt.so openshot/openshot
cp ../src/mlt/src/swig/python/mlt.py openshot/openshot
Finally, download the start-openshot script to ~/melted/<date> and make it executable. You can export simple (not a lot of filters) OpenShot projects as XML and use the XML file as a clip within melted.
Use this environment to run melt and ffmpeg
See the contents of bin/ for other commands such as ffmpeg, ffplay, ffprobe, and mvcp-client.