Phil Leigh;366822 Wrote: 
> You did put this into convert.conf, didn't you? - the hashes comment out
> the lines:
> 
> #mp3 mp3 transcode *
> # IFB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
> # [lame] --silent -q $QUALITY$ -v $BITRATE$ $RESAMPLE$ --mp3input
> $FILE$ -
> 
> 
> this diables the MP3/Lame convert for non standard bit rates...


Yes, the business bit of the file below:-

# specific combinations match before wildcards

mov mp3 * *
        # FRB:{BITRATE=-B %B}
        [mov123] $FILE$ | [lame] --resample 44100 --silent -q $QUALITY$ 
$RESAMPLE$-v $BITRATE$ -r --big-endian - -

alc mp3 * *
        # FB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [alac] $FILE$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ -v $BITRATE$ -
-

ogg mp3 * *
        # IFB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [sox] -t ogg $FILE$ -t wav -w - | [lame] --silent -q $QUALITY$
$RESAMPLE$ -v $BITRATE$ - -

wav mp3 * *
        # IFB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [lame] --silent -q $QUALITY$ $RESAMPLE$ -v $BITRATE$ $FILE$ -

aif mp3 * *
        # IFB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [lame] --silent -q $QUALITY$ $RESAMPLE$ -v $BITRATE$ $FILE$ -

flc mp3 * *
        # FB:{BITRATE=-B
%B}T:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=--resample %D}
        [flac] -dcs $START$ $END$ -- $FILE$ | [lame] --silent -q $QUALITY$
$RESAMPLE$ -v $BITRATE$ - -

wma mp3 * *
        # F:{PATH=%f}R:{PATH=%F}B:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [wmadec] -w $PATH$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ -v
$BITRATE$ - -

mpc mp3 * *
        # IRB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [mppdec] --silent --prev --gain 3 - - | [lame] --silent -q $QUALITY$
$RESAMPLE$ -v $BITRATE$ - -

ape mp3 * *
        # FB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
        [mac] $FILE$ - -d | [lame] --resample 44100 $-x$ --silent -q $QUALITY$
$RESAMPLE$ -v $BITRATE$ - -

wvp mp3 * *
        # FB:{BITRATE=-B
%B}T:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=--resample %D}
        [wvunpack] $FILE$ -wq $START$ $END$ -o - | [lame] --silent -q
$QUALITY$ $RESAMPLE$ -v $BITRATE$ - -

mp3 mp3 * *
        -

# Non-mp3 starts here
aif aif * *
        -

wav wav * *
        -

flc wav * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -dcs --force-raw-format --endian=little --sign=signed $START$
$END$ -- $FILE$

ogg ogg * *
        -

ogg aif * *
        [sox] -t ogg $FILE$ -t raw -r 44100 -c 2 -w -s $-x$ -

wma wav * *
        # F:{PATH=%f}R:{PATH=%F}
        [wmadec] -r 44100 -b 16 -n 2 $PATH$ 

mpc wav * *
        # IR
        [mppdec] --raw-le --silent --prev --gain 2 - -

ape wav * *
        # F
        [mac] $FILE$ - -d

mpc aif * *
        # IR
        [mppdec] --raw-be --silent --prev --gain 2 - -

alc wav * *
        # F
        [alac] -r $FILE$

wvp wav * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [wvunpack] $FILE$ -rq $START$ $END$ -o -

## you can comment this out if you want to use LAME to transcode
AAC/MOV files to MP3.
mov aif * *
        # FR
        [mov123] $FILE$

wma wma * *
        -

# FLAC output starts here 

#mp3 flc * *
#       [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs
--totally-silent --compression-level-0 -

flc flc * *
        -

aif flc * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -cs --totally-silent --compression-level-0 $START$ $END$ --
$FILE$
        
wav flc * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [flac] -cs --totally-silent --compression-level-0 $START$ $END$ --
$FILE$

ogg flc * *
        # IFRD:{RESAMPLE=-r %d}
        [sox] $RESAMPLE$ -t ogg $FILE$ -t wav - | [flac] -cs
--compression-level-0 --totally-silent -

wma flc * *
        # F:{PATH=%f}R:{PATH=%F}
        [wmadec] -w $PATH$ | [flac] -cs --totally-silent --compression-level-0
-

mpc flc * *
        # IR
        [mppdec] --silent --prev --gain 2 - - | [flac] -cs --totally-silent
--compression-level-0 -

ape flc * *
        # F
        [mac] $FILE$ - -d | [flac] -cs --totally-silent --compression-level-0
-

mov flc * *
        # FR
        [mov123] $FILE$ | [flac] -cs --totally-silent --compression-level-0
--endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -

alc flc * *
        # F
        [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 -

wvp flc * *
        # FT:{START=--skip=%t}U:{END=--until=%v}
        [wvunpack] $FILE$ -wq $START$ $END$ -o - | [flac] -cs --totally-silent
--compression-level-0 -

# special case for smart bitrates on mp3 input
#mp3 mp3 transcode *
# IFB:{BITRATE=-B %B}D:{RESAMPLE=--resample %D}
# [lame] --silent -q $QUALITY$ -v $BITRATE$ $RESAMPLE$ --mp3input
$FILE$ -

flc flc transcode *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -t wav - -t flac $RESAMPLE$


# This example transcodes MP3s to MP3s, if the target machine has the 
# given MAC address. This rule will take precedence over the
# previous rule because it's more specific. 
#mp3 mp3 squeezebox 00:02:dd:34:e9:62
# ./brute_filter $FILE$ -


-- 
MadScientist
------------------------------------------------------------------------
MadScientist's Profile: http://forums.slimdevices.com/member.php?userid=5827
View this thread: http://forums.slimdevices.com/showthread.php?t=55371

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to