From: Eric W. <er...@de...> - 2006-12-25 12:27:30
|
Dear : I have a DirectFB video provider which decodes and outputs upon a=20 proprietory hardware. The decoding and outputing are done=20 at the same time. In Xine, is it possible for me to write an output plugin to use this = proprietory hardware=20 for decoding and outputing at the same time ? or is it possible to = re-use this=20 DirectFB video provider as could as possible ? (I am able to reach it's = most source code.) Best Regards, Eric Wang |
From: Miguel F. <mfr...@gm...> - 2007-01-06 14:10:37
|
On 12/25/06, Eric Wang <er...@de...> wrote: > I have a DirectFB video provider which decodes and outputs upon a > proprietory hardware. The decoding and outputing are done > at the same time. > > In Xine, is it possible for me to write an output plugin to use this > proprietory hardware > for decoding and outputing at the same time ? or is it possible to re-use > this > DirectFB video provider as could as possible ? (I am able to reach it's most > source code.) in xine, video output drivers have no access to encoded stream. at the same time, video decoders have no idea of the right time to display a frame, subtitle/overlay blending etc. so at very least you need to create both a decoder and a video out driver. they might be kind of dummy, though. miguel |
From: Eric W. <er...@de...> - 2007-01-09 02:21:55
|
Dear Miguel : > so at very least you need to create both a decoder and a video out > driver. they might be kind of dummy, though. How about the pause/ fast-forward/ fast-rewind/ ... operations ? Are they controlled before decoding and in such a way that the combo driver (decoder+ video-out) need only to keep decoding/outputing as long as the input is available ? Is the foovideo.c a good place to start with ? Best Regards, Eric Wang ----- Original Message ----- From: "Miguel Freitas" <mfr...@gm...> To: "Eric Wang" <er...@de...> Cc: "xine-devel" <xin...@li...> Sent: Saturday, January 06, 2007 10:10 PM Subject: Re: [xine-devel] How to re-use DirectFB's decoder in Xine ? > On 12/25/06, Eric Wang <er...@de...> wrote: >> I have a DirectFB video provider which decodes and outputs upon a >> proprietory hardware. The decoding and outputing are done >> at the same time. >> >> In Xine, is it possible for me to write an output plugin to use this >> proprietory hardware >> for decoding and outputing at the same time ? or is it possible to re-use >> this >> DirectFB video provider as could as possible ? (I am able to reach it's >> most >> source code.) > > in xine, video output drivers have no access to encoded stream. at the > same time, video decoders have no idea of the right time to display a > frame, subtitle/overlay blending etc. > > so at very least you need to create both a decoder and a video out > driver. they might be kind of dummy, though. > > miguel > |
From: Mark A. <mar...@gm...> - 2007-01-09 10:19:51
|
> > so at very least you need to create both a decoder and a video out > > driver. they might be kind of dummy, though. > > Is the foovideo.c a good place to start with ? You might want to have a quick look at http://sourceforge.net/projects/cle266mpegdec The project is a library that provides hardware accelerated MPEG decoding on the VIA CLE266 chip. What may be of interest to you is xineplug_decode_cle266 which is a Xine decoder plugin for it which works in conjunction with the DirectFB output plugins. The way it works is that it gets Xine's frame buffers to be allocated in video memory (via a change to the output plugin) meaning that they can be used directly by the hardware decoder. Not sure how it relates to the platform you're working on though. Cheers, Mark |