mlmurray Wrote:
> I use mplayer to play m4a files through SlimServer. Here's my line('s)
> in slimserver-convert.conf:
>
> mov mp3 * *
> [mplayer] -novideo -ao pcm:file=/dev/fd/4 $FILE$ 4>&1
> 1>/dev/null | $lame$ --silent -q $QUALITY$ -b $BITRATE$ - -Thanks, that was a
> big push in the right direction, and actually played
both AAC and ALAC files once I changes $lame$ to [lame]. I made a few
tweaks to it based on a few other lines I have come up with in my conf
files. Here is what I have currently in working for me with good
quality playback and low server load.
Code:
--------------------
mov mp3 * *
[mplayer] -novideo -vc dummy -vo null -cache 128 -af
volume=3,resample=44100:0:1,channels=2 -ao pcm:file=/dev/fd/4 $FILE$ 4>&1 1>&2
2>/dev/null | [lame] --silent -q $QUALITY$ -b $BITRATE$ - -
--------------------
I redirected the standard stdout to stderr so I could still see what
mplayer was doing, you could use the -really-quiet option if you didn't
want to see it, or leave 1>/dev/null as in the original example.
> Mplayer sure is one flexible piece of software! That it is, it now does all
> my transcoding, Windows Media, Real Audio,
Apple AAC and ALAC!
--Tom Malsbury
--
malsbury
------------------------------------------------------------------------
malsbury's Profile: http://forums.slimdevices.com/member.php?userid=57
View this thread: http://forums.slimdevices.com/showthread.php?t=18828
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix