Bug 11285 - Allow SqueezeCenter to downsample AIF using SoX.
: Allow SqueezeCenter to downsample AIF using SoX.
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Transcoding
: 7.3.0
: All All
: P4 enhancement (vote)
: 7.4.0
Assigned To: Alan Young
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-08 04:20 UTC by Alan Young
Modified: 2009-10-05 14:30 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Young 2009-03-08 04:20:24 UTC
This is similar to bug 10660. The problem with moving from flac to sox for AIFF is that one woudl lose the ability to seek in AIFF files.
Comment 1 Alan Young 2009-03-21 00:03:51 UTC
To be clear, the choice is (a) do nothing (continue to use flac) and retain seeking capability, (b) switch to sox and loose seeking but gain downsampling, (c) switch to a 'flac | sox' pipeline with both capabilities, (d) add seeking capabilities to the AIFF file-format handler in SC and switch to sox.

For me, (a) would be fine, as I only entered this bug to document the issue.
I think that (b) is bad because it is a regression.
I think that (c) is probably overkill but would be the easiest way to satisfy this enhancement request.
I think that (d) is not worth the programming effort.

For (c), the convert.conf entry would look like:

aif flc * *
	# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
	[flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -
Comment 2 Chris Owens 2009-03-23 09:42:36 UTC
Are you pretty sure that that (c) solution would work?  If so, why not check it in and see how people like it.

Otherwise, I think we have a concensus for (a) and see how the voting goes.
Comment 3 Alan Young 2009-03-25 09:58:02 UTC
Change 25693 implements option (c).
Comment 4 James Richardson 2009-10-05 14:30:48 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.