[MPlayer-dev-eng] Re: [PATCH] DXR2 video output

Alban Bedel albeu at free.fr
Mon May 13 22:07:08 CEST 2002


Hi Tobias Diedrich,

on Mon, 13 May 2002 19:44:54 +0200 you wrote:

> Alban Bedel wrote:
> 
> > I got a dxr2 this weekend and tested your patch. First I saw that your patch depend
> > on another patch that you send to the dxr2 driver list, so put I these parts inside
> > #if 0 blocks. I removed the included encoder, added many options and overlay
> > support.
> 
> I changed this to #ifdef DXR2_AUDIO_FREQ_24 and a link to the patch.
> Also the freq_id is now directly set to the dxr2 values.
> (I initially copied it from ao_mpegpes, where it is the value for the
> corresponding header field in the stream, but the dxr2 seems to like
> only 0 here, and the frequency is set using the ioctl...)

Ok, I applied your patch and added volume setting support. Also dvd subtitles
_should_ work (I added VFCAPS_SPU) but I can't really check it (no dvd drive):
 
> > I also tried to add support for hw audio decoding but failed. Either the sound or
> > the video was always choppy :(
> 
> How do you do the audio passthrough ?
> I looked but it seemed to me there is no support for that yet ?

It was a big hack, in short I added in mplayer.c another "audio decoding" for 
hw decoding. It only take a packet and send it as is to the audio device. But
as I write before it never work good. I think the card need a near perfect
interlaving. I will try to continue this, but I think we must first plan a good common
thing for all hw audio decoder.

But now I'll try to add osd support :)
	Albeu



More information about the MPlayer-dev-eng mailing list