schiegl;358280 Wrote:
>
> - automatically resample+transcode(*) hd-audio files, but only if the
> player does not support the high sample frequency, in my case for the
> SBR from 88.2 -> 44.1
> ...
> (*) to mp3 using lame. this is ok for ambient listing + you don't have
> to resample those tracks manually and manage two copies. For "active"
> listing the transporter plays them unaltered.
Using lame for downsampling flac is clearly not ideal. I expect this to
be changed as soon as someone can come up with a working transcoder
pipeline that can do flac->flac with downsampling while retaining all
the other functionality.
I expect that we will use sox for this, but we need a more up-to-date
build of sox, including with FLAC support (not there by default). This
won't happen in time for 7.3. You could probably construct your own
flac->wav pipeline today with the current sox functionality. I have not
tested this but at a guess the following should work (although I can
foresee a number of problems - it might be necessary to tie down all
the output stream characteristics => 44100/16/2):
Code:
--------------------
flc wav * *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] $RESAMPLE$ -t wav - -t wav -
--------------------
You would probably need to disable the flc-flc-transcode line in the
normal convert.conf file.
If you have a flac-capable sox version around then you could try:
Code:
--------------------
flc flc transcode *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -dcs $START$ $END$ -- $FILE$ | [flac-capable-sox] $RESAMPLE$ -t
wav - -t flc -
--------------------
Alan.
--
awy
------------------------------------------------------------------------
awy's Profile: http://forums.slimdevices.com/member.php?userid=7480
View this thread: http://forums.slimdevices.com/showthread.php?t=54862
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta