Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mpeg2] Re: Porting to v4l 2



Andrew de Quincey wrote:
> 
> On Thu, 2003-01-16 at 22:34, Klaus Schmidinger wrote:
> > Andrew de Quincey wrote:
> > >
> > > > > * Support on-the-fly configuration in v4l 2 (possibly v4l 1 if I have
> > > > > the time)
> > > > >
> > > > > Reason: I need to have the driver running in the same machines as the
> > > > > dvb-kernel DVB driver which is v4l2...
> > > >
> > > > I don't know if this is a related problem, but maybe, while you're at it,
> > > > you could fix this: every time I record a Transport Stream from my Kfir card
> > > > I have to reload the driver, otherwise the next recording will have severe
> > > > artefacts at the bottom quarter of the picture. When recording PS/PES it works
> > > > fine without driver reloads - but I do need TS.
> 
> When you reload the driver, do you have to reload the firmware, or do
> you set "loaded=1" so it just uses whatever is already there?

I used to do

rmmod kfir
rmmod saa7113
insmod saa7113.o
insmod kfir.o vidinput=0 vidrate=3000000 debug=0 streamtype=4

but now I tried

rmmod kfir
rmmod saa7113
insmod saa7113.o
insmod kfir.o vidinput=0 vidrate=3000000 debug=0 streamtype=4 loaded=1

(with the added "loaded=1") and it fixes things just the same - just faster!
However, the original proglem ist still there, though...

> Incidentally, I've just noticed there are two sets of firmware for the
> kfir... the exact one used depends on what type of stream you request:
> 
> vtv:  program
> vtv1: system
> vtv2: transport
> 
> The second set provides the same functionality, but is called "vtv8,
> vtv18, vtv28". There is code in the driver to switch between them,
> controlled by this variable "DVB_MODE". However, DVB_MODE is ALWAYS set
> to 0, so only the first set is used... anyone??

IIRC I did try to use different variations here, but to no avail...

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________




Home | Main Index | Thread Index