Difference between revisions of "Savvy"
|Line 146:||Line 146:|
| Normalize homepage
| Normalize homepage
Revision as of 21:43, 22 November 2004
Savvy stands for Savvy Audio file Via Video clip Yanker
Savvy can extract clips from a recording of the Get the Clip broadcast of VIVA Plus(tm) and save them as MP3 files.
- Accepts a VDR recording a source
- Recognises the interpret an title of the clip through OCR
- Synchronise the rcognition with the HTML page oof the broadcast
- ID3 tag creation
- Volume normalisation
- normalize (optional)
For MPlayer see mplayer-plugin
To install libmpeg2
cd $SOURCEDIR tar -xvzf mpeg2dec-<VERSION>.tar.gz cd mpeg2dec-<VERSION> ./configure --prefix=/usr/local make make install
cd $SOURCEDIR tar -jxvf normalize-<VERSION>.tar.bz2 cd normalize-<VERSION> ./configure --prefix=/usr/local make make install
To compile savvy with libmpeg2 version 0.4.0 (mpeg2dec-0.4.0) the sources have to be patched.
The patch can be found here.
cd $SOURCEDIR tar -xvzf savvy-<VERSION>.tgz cd savvy.<VERSION> zcat savvy.0.12b.diff.gz | patch -p1
In src/video.c line 602 has to be altered
- case -1: + case STATE_BUFFER:
Now, savvy should compile without errors
chmod 777 compile ./compile
Tip: It's important to decompress savvy in parallel to mpeg2dec-0.4.0, otherwise compile is to be adjusted
# Set this according to your folder containing the (compiled) libmpeg mpeg2decFolder=../mpeg2dec-0.4.0 ^^^^^^^^^^^^^^^^^
Savvy is best started from within the reccmds.conf
Start savvy : /usr/local/bin/savvy.sh Stop savvy? : killall savvy
For testing purposes one should make use of the commandline.
Settings are stored in settings. But there is not much to alter.
#Temporary data path (~double the size of the capture file is needed!) #Warning: Currently no spaces or other special characters allowed! #Note: remember the last "/"! ./tmp/ ^^^^^^ # # #MP3 Data path (The folder, where resulting files should be created) #Warning: Currently no spaces or other special characters allowed! #Note: remember the last "/"! ./mp3/ ^^^^^^
|-v[vvv]||Verbose output (You may add multiple v's)|
|-indy||Don't use track list "./gettheclip.html"|
|-t||Shows the track list|
|-a||Create a special audio stream|
|-w||Interprete AudioStream as wave file|
|-nd||Don't delete temporate files|
|-nn||Don't run "normalize"|
|-sc||Save cut infos after checking to "./cutfile"|
|-lc||Load and execute cutfile "./cutfile"|
|||http://www.mp3dev.org||Lame, a mp3 encoder|
|||http://libmpeg2.sourceforge.net||Mpeg2dec (libmpeg2) homepage|