Mailing List archive

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

[mpeg2] kfir+dxr3 and ugly driver code



Hello guys,

Thanks for all the support.
I now have managed to capture a stream with my card.
(Although I still get the ADSP initialization failure.
 But I believe ADSP is audio stuff, and I dont need audio yet).

Playing the stream I get from the card is tricky.
Only 'mplayer' managed to play it.

Strangely enough, the stream is not accepted by my 
hardware decoder! (creative labs dxr3, sigma designs Hollywood+ chipset).

Has someone succeeded in getting it to work with dxr3 player?
What settings should I use?

I now use:
vidinmode=0 vidoutmode=1 vidsize=0x26 vidrate=300000


Lastly, I want to express my doubts about the driver code.
It looks really shabby, as if it was created by
'trial and error' instead of proper engineering.

What really bothers me, is the lavish use of 'Sleep()'.
It takes a long time to load the module, during which
the system is completely frozen.
The sleeps are everywhere, sometimes with a comment 'critical' next to it.

Surely, initializing an mpeg encoder could be done more cleanly without
the lavish use of sleep operations?


   Bram




-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram@sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------



Home | Main Index | Thread Index