[MPlayer-users] mpeg -> dxr3 hwac3 sound

Jaroslav Tulach jst at seznam.cz
Tue Nov 12 09:27:02 CET 2002


Hi.
I would like to play mpeg2 file thru my dxr3 card. Video works fine, but 
audio always prints "Audio: no sound!". Btw. playing DVD works, even 
with sound. Here is the command I use

mplayer -vo dxr3:noprebuf -ao oss:/dev/em8300_ma -ac hwac3

with argument X.mpg or -dvd 1 (for DVDs). My version of mplayer is build 
from CVS, so should be really uptodate.

I did a bit of digging and found out that when playing the mpeg file the 
  audio format is 80 (0x50) and when playing DVDs the format is 8192 
(0x200). hwac3 seems to be available just for 0x200, for 0x50 there are 
only:

mp3
ffmp2
mad

and that is why no audio output is selected. Fine, but now I need help:


User level: Which options to pass to mplayer to play also 0x80? Is there 
a program that could process mpeg streams and change the audio format 
from 0x80 to 0x200 on a fly? How do I make it work with mplayer? Or is 
there something I should setup on dxr3 card (probably belongs to 
dxr3.sf.net, but this forum might know the answer as well).


Developer level: If user level fails I might be able to code something. 
What would be necessary to change and in which source files to have 
format 0x80 to 0x200 conversion? Easy/straighforward/hard/unknown level?

Thanks in advance for explanation/help.
-jst





More information about the MPlayer-users mailing list