Very simple and quick.
What you're going to do is build a static only version of AoTuV tuned libvorbis and install to /usr/local
(it can be removed afterwards
The you'll install the build deps for vorbis-tools, after which removing the libvorbis-dev package.
Finally you get the vorbis-tools source, build and install to usr/local with checkinstall - the oggenc will have built-in encoding support using the tuned libvorbis
Code:
sudo apt-get build-dep vorbis-tools
Also install checkinstall if not already
Code:
sudo apt-get install checkinstall
After done open synaptic, search libvorbis and remove the libvorbis-dev package.
(not 100% nessasary but i'd do this - if any other -devs are removed a record will be in synaptics history - re-install afterwards as desired
Might as well do this all in one folder, so make a folder in your home directory, I used ogg_build. Take your tuned source, place it in the folder and cd to it in a terminal.
Ex.
doug@doug-laptop:~/ogg_build/aotuv-b5.7_20090301$
Make sure the configure file is executable, either r. click on properties - permissions or
Then a simple configure (if you want to use the Cflags as in prior post do so
Code:
./configure --disable-shared && make
Then just use make install
If good
Code:
cd .. && apt-get source vorbis-tools
Then cd to the vorbis-tools folder (will guess it's vorbis-tools-1.2.0 on lucid
Code:
./configure && make
Code:
sudo checkinstall --backup=no --deldoc=yes --deldesc=yes \
--delspec=yes --default --pkgversion 1.2.1
(blue is to make a number higher than lucid package
That's it - took me longer to write then it should take you to do.
Test your oggenc, if all is well I'd cd back to the vorbis source and run sudo make uninstall
Quick example - oggenc encode wav to ogg no options
doug@doug-laptop:~$ oggenc '/home/doug/Music/luckynight.wav' -o /home/doug/Music/luckynight2.ogg
Opening with wav module: WAV file reader
Encoding "/home/doug/Music/luckynight.wav" to
"/home/doug/Music/luckynight2.ogg"
at quality 3.00
[ 99.1%] [ 0m00s remaining] |
Done encoding file "/home/doug/Music/luckynight2.ogg"
File length: 1m 00.0s
Elapsed time: 0m 02.7s
Rate: 22.3522
Average bitrate: 106.9 kb/s
see screen for mediainfo
EDit: anything that uses oggenc will also encode w/ the tuned - soundkonverter is one ex.
Bookmarks