[MPlayer-dev-eng] [PATCH] new pvr demuxer support

Benjamin Zores ben at geexbox.org
Sat Jul 8 13:53:05 CEST 2006


Hi there,

Here is a patch for adding support in libmpdemux of PVR cards.
PVR cards are also known as IVTV (using the ivtv driver).
These cards have h/w MPEG1/2 encoder/decoder.

This patch allows reading stream from ivtv encoder.
Even if the name is PVR (for personal video recorder), it doesn't support
fancy feature like time-shifting atm (but i'll do so afterwards).
The "pvr" denomination is also used by xine and the cards themselves
(WinTV PVR-150/250/350 ...).

For information purpose, the ivtv driver was using a proprietary API
due to the lack of support of h/w mpeg encoding/decoding in V4L(2) specs at the time
it was first written.
Now, the latest version of the driver use a V4L2 compliant API for most of card control
but still make use of some proprietary IVTV calls for codec settings.

This demuxer then requires V4L2 support for working.
When new ivtv drivers will be updated to fully support V4L2, i'll update the demuxer.

At the moment, the ivtv driver doesn't add ivtv.h public header in /usr/include at make install
and so, I had to add ivtv.h to MPlayer tree.
This header will be shared by ivtv vo driver when i'll take time to add it.

If nobody complains about this demuxer, i'd like to commit it asap.
(and yes, man pages/doc will be updated, but in a further patch).

Ben

-- 
"My life, and by extension everyone else's is meaningless."
Bender, Futurama
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-pvr.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060708/a384db30/attachment.txt>


More information about the MPlayer-dev-eng mailing list