[MPlayer-users] hwac3 passthrough behavior in mplayer-1.0pre6

Heiko Baumann schatzmeister2000 at web.de
Fri Mar 25 16:53:11 CET 2005


i've tried mplayer-1.0pre6 these days and now i am back to pre5. the reason is that i want to start player with "one" syntax for all video/audio files. the exact problem is that pre6 uses exactly the interface i give with -ao, even for hwac3.

some examples

mplayer -ao alsa -ac hwac3, <file>
plays ac3 files fine but with non-ac3 files no sound comes out of my sp/dif (however mplayer seems to play it)

mplayer -ao alsa:device=iec958 -ac hwac3, <file>
plays non-ac3 files via sp/dif but hwac3 passthrough with ac3 files does not work (however mplayer seems to play the file)

mplayer -ao alsa,alsa:device=iec958 -ac hwac3, <file>
plays ac3 files via sp/dif (hwac3 passthrough) but no non-ac3 files (however....)

i've tried a lot more combinations but no one works

with mplayer-1.0pre5 i just use this syntax an it plays non-ac3 files and ac3 files without problems.

mplayer -ao alsa:device=iec958 -ac hwac3, <file>

the changelog for pre6 say this:

ALSA audio output driver always uses specified device, even for hwac3

so i guess from version pre5 -> pre6 mplayer behavior has changed. maybe in pre5 it automatically selects the right audio output for hwac3. and in pre6 it always uses the one given via -ao. but why? isnt it a good idea to automaticaly select the right output device? sure, there should be a way to force the output device. but there also should be a way to let mplayer decide which device is best for hwac3!?

or is there a way to get the same behavior with pre6?

i need it because i use mplayer with freevo which uses a fix syntax to call mplayer.

my box is a via epia-m 10000 (snd_via82xx). but i guess this is not important for this problem....


More information about the MPlayer-users mailing list