Hi Jürgen,
basicall you have to add some code the the script to handle the particular extension of the flac files.
So 2 steps:
1. add the extension to vomp.conf to be handled with a script
2. add something to e.g. test.sh to call mencoder with your file (just look e.g. how wav files are handled) - maybe simply add a function
and insert somewhere at around line 353ff:
For testing call test.sh with the name of a flac file and pipe the output to some player (e.g. xine).
Regards
Andreas
basicall you have to add some code the the script to handle the particular extension of the flac files.
So 2 steps:
1. add the extension to vomp.conf to be handled with a script
2. add something to e.g. test.sh to call mencoder with your file (just look e.g. how wav files are handled) - maybe simply add a function
Code Select
handleFlac() {
mencoder ....alotofoptions -o $FIFO "$1" 2>/dev/null &
MPID=$!
}
and insert somewhere at around line 353ff:
Code Select
flac|FLAC)
createFifo
handleFlac "$1"
startReader
waitFkt
;;
For testing call test.sh with the name of a flac file and pipe the output to some player (e.g. xine).
Regards
Andreas