After passing the file name to Mplayer.sh - the file name gets treated
as many separate files separated by blanks. Mplayer.sh needs to be
updated. However Mplayer.sh was needed because of problems in shutting
mplayer down - latest version of mplayer does not have that problem so
you could try the following.
If you have Mplayer pre8 (or a version built after Feb 2006) replace
(or comment out) the WMA lines for pre7 by the following.
Code:
--------------------
#
# WMA for mplayer pre8 or later
wma wav * *
[mplayer] -really-quiet -vc null -vo null -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/4
$FILE$ 4>&1 1>/dev/null
wma mp3 * *
[mplayer] -really-quiet -vc null -vo null -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/4
$FILE$ 4>&1 1>/dev/null | [lame] --silent -r -x -q $QUALITY$ -b $BITRATE$ - -
wma flc * *
[mplayer] -really-quiet -vc null -vo null -cache 128 -af
volume=0,resample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/4
$FILE$ 4>&1 1>/dev/null | [flac] -cs --totally-silent --endian=little
--channels=2 --sign=signed --bps=16 --sample-rate=44100 --compression-level-0 -
--------------------
When testing you could replace the "-really-quiet" by "-v" but there
will be very little output as most is redirected to /dev/null.
If you see the following message in the log - ignore it - it is
"normal".
Code:
--------------------
MPlayer interrupted by signal 13 in module: play_audio
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
--------------------
--
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=25117
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix