Bug 10335 - convert.conf error with M4A bit limiting
: convert.conf error with M4A bit limiting
Status: CLOSED DUPLICATE of bug 10334
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 7.3.0
: All MacOS X 10.5
: -- normal (vote)
: 7.x
Assigned To: Spies Steven
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-15 08:31 UTC by James Richardson
Modified: 2012-02-27 17:33 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 James Richardson 2008-12-15 08:31:21 UTC
OK, so I got back to my original problem of M4A files ignoring the bitrate limiting. Doing some digging around I've now found out why. In convert.conf you have the line:

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

Spot the problem? There's an additional space between $QUALITY$ and $RESAMPLE$ and a missing space between $RESAMPLE$ and -v. The line should read:

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

With this change in place it actually works.
Comment 1 Spies Steven 2008-12-15 13:55:21 UTC
Looks to me like a couple of the lines in convert.conf can be cleaned up.  I suggest the following:

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

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

Alan, what do you think?
Comment 2 Spies Steven 2008-12-15 13:57:37 UTC

*** This bug has been marked as a duplicate of bug 10334 ***
Comment 3 Chris Owens 2009-07-31 10:33:29 UTC
Reduce number of active targets for SC
Comment 4 James Richardson 2012-02-27 17:33:32 UTC
Closing resolved bugs - if you feel this bug still exists please first re-test
with the latest SW/FW version.  If you are able to reproduce then feel free to
reopen and attach new logs / steps to reproduce.