PDA

View Full Version : convert.conf



danco
2005-09-03, 10:56
I give below the beginning of my convert.conf file. Unless I have
done something silly, it is the version that comes with the current
SlimServer.

Note that the commented out lines of the destination format say that
Squeezebox currently supports mp3, aif and wav. This ought to be
changed to distinguish between SB1, for which this holds, and SB2
which also supports flac.

Is there any significance in the order in which (non-commented) lines appear?


# $Id: convert.conf 3588 2005-07-01 04:35:45Z michael $
# configuration file for transcoding
# first line is the source format, destination format and the
destination device. Asterisk matches all
# second line is the command line for the conversion

# First line format:
# <source_format> <dest_format> <destination_device_type>
<destination_device_id>
#
# <source_format>: Source music format: mp3, mov, ogg, wav, etc...
# <dest_format> : Destination music format: Generally mp3, or
# possibly aif or others depending on the types
# your player supports. SliMP3 supports only
# MP3. Squeezebox currently supports mp3, aif
# and wav.
--
Daniel Cohen

kdf
2005-09-03, 12:32
On 3-Sep-05, at 10:56 AM, Daniel Cohen wrote:

> I give below the beginning of my convert.conf file. Unless I have done
> something silly, it is the version that comes with the current
> SlimServer.
>
> Note that the commented out lines of the destination format say that
> Squeezebox currently supports mp3, aif and wav. This ought to be
> changed to distinguish between SB1, for which this holds, and SB2
> which also supports flac.
>
good point.

> Is there any significance in the order in which (non-commented) lines
> appear?
>
nope, they are just comments and are ignored by the server.
-kdf

danco
2005-09-03, 14:35
On 3/9/05 at 12:32 -0700, kdf wrote
>
>>Is there any significance in the order in which (non-commented) lines appear?
>>
>nope, they are just comments and are ignored by the server.

I did say "non-commented" lines, so you can't mean that reply!

Specifically, I was wondering about whether such things as the fact that

flac mp3 * *

appears before

flac flac * *

was more than just a convenience in listing, did it give one
conversion priority over the other.
--
Daniel Cohen

Triode
2005-09-04, 03:09
> Specifically, I was wondering about whether such things as the fact that
>
> flac mp3 * *
>
> appears before
>
> flac flac * *
>
> was more than just a convenience in listing, did it give one conversion priority over the other.

No because each player has an order of preference for the format it would prefer to stream with - in the case of SB2 it is now:
'flc','aif','wav','mp3'. Hence flc is preferred to mp3.

The only order dependancy I know if is if there are two sets of lines with the same four keys: flc flc * * etc - in which case I
think the last one overrights the previous one..

danco
2005-09-04, 04:05
On 4/9/05 at 11:09 +0100, Triode wrote
>>Specifically, I was wondering about whether such things as the fact that
>>
>>flac mp3 * *
>>
>>appears before
>>
>>flac flac * *
>>
>>was more than just a convenience in listing, did it give one
>>conversion priority over the other.
>
>No because each player has an order of preference for the format it
>would prefer to stream with - in the case of SB2 it is now:
>'flc','aif','wav','mp3'. Hence flc is preferred to mp3.


Thanks, that's what I needed to know.

>
>The only order dependancy I know if is if there are two sets of
>lines with the same four keys: flc flc * * etc - in which case I
>think the last one overrights the previous one..

This must be a rare situation, but a definitive answer might still be useful.

--
Daniel Cohen

kdf
2005-09-04, 10:14
On 3-Sep-05, at 2:35 PM, Daniel Cohen wrote:

> On 3/9/05 at 12:32 -0700, kdf wrote
>>
>>> Is there any significance in the order in which (non-commented)
>>> lines appear?
>>>
>> nope, they are just comments and are ignored by the server.
>
> I did say "non-commented" lines, so you can't mean that reply!
>
sorry, no they dont really matter then either. As long as the
conversion line appears after the conversion types :)
each device will supply a list of supported formats in order of
preference. the server then looks for the first to last for a match.

-kdf