I am working on the Xv code for the x driver. I mostly
have it working and was playing video from mplayer &
xine using this last week. The code take the YV12 data
given to Xv and converts it to the YUV format needed
for the 350.
There are still some issues but doing this I was
playing back a recording using ~40% of my cpu whereas
playing using mplayer -vo x11 uses almost all of it.
At the moment the code is not very optimised and i
think there is room for improving this sinificantly.
The mpeg i'm playing back is from my digital tv card
and is widescreen format so needs shrinking to play
and hence comes in at an odd size so i'm currently
adding padding as well as re-formating it. I think
this can all be done in the driver with a new
interface to YUV playback that i'm working on. In fact
i think that the re-formating and the sizing can be
done with the ScatterGather array so we will need to
see if that is more efficient than doing the work in
code and moving things around memory.
There are still some issues to work out but I'm
pretty close. I think this is a better route than an
mplayer output option since you would still need to
sort out the X interaction etc.. I think I can
probably start playing around with local alpha stuff
as well so that we can play back smaller video's in a
window if we want.
It will probably be a week or 2 before I have
something ready since I have too many other things to
do at the moment.
As for the stuttering i am not sure. My 350 has a
broken encoder or tuner so my captured data is
terrible. It would be good to get the card repaired
but if i send it off i won't have any card to do the
development on.
John
> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:ivtv-devel-
> [EMAIL PROTECTED] On Behalf Of Chris
Kennedy
> Sent: 08 May 2005 18:32
> To: [email protected]
> Subject: Re: [ivtv-devel] YUV decoding & mplayer.
>
> This would be wonderful, really an mplayer output
for hm12 is all we need
> to
> get this going, and if anything it could just
initialize the decoder with
> some fake mpeg2 if really needed, but that could be
something later if
> really
> needed. I'm not working on it, really bad at all
this video format
> conversion
> in the uncompressed domain, so anyone who wants to
do it can, so looking
> forward
> to anything you can create :-).
>
> John Harvey may have more information on anything
else needing to be done,
> but
> I suspect it's really at the point where an mplayer
plugin converting to
> hm12 and input into the /dev/video48 device would
get it working. I think
> the stuttery problem may just be something buggy
right now, because it has
> worked smooth for me before, so if anything that's
just a small bug
> induced
> recently and should be easy to fix.
>
> Thanks,
> Chris
> On Sun, May 08, 2005 at 07:24:29PM +0000, Lucas
Meijer wrote:
> > Heya,
> >
> > Reading about the new YUV decoding advances, I'd
figure to take the risk
> > and install a .3 version of ivtv to play around
with the YUV stuff.
> >
> > after running yuv_setup.sh, cat /dev/video32 >
/dev/video48 seems to
> > work. it is very stuttery, but the images produces
look fine, and I can
> > still see X rendered ontop if I set the alpha to
be semitransparent. I
> > didn't have to start an mpeg2 decode first either.
> >
> > What's left between this and having mplayer (or
xine or whatever) output
> > to the pvr350 in YUV? IIRC the pvr350 wants the
hm12 format of YUV. In
> > mplayer there doesn't seem to be an output plugin
that is able to output
> > in this format.
> >
> > Is somebody already working on this? Chris, if I
or someone else would
> > make an output plugin for mplayer that outputs
hm12, would playing
> > non-mpeg2 content on the pvr350 finally be here,
or is there a gap I'm
> > missing?
> >
> > Bye, Lucas
> >
> >
> >
-------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy
Games.
> > Get your fingers limbered up and give it your best
shot. 4 great events,
> 4
> > opportunities to win big! Highest score wins.NEC
IT Guy Games. Play to
> > win an NEC 61 plasma display. Visit
http://www.necitguy.com/?r=20
> > _______________________________________________
> > ivtv-devel mailing list
> > [email protected]
> >
https://lists.sourceforge.net/lists/listinfo/ivtv-devel
>
> --
> ---
> Chris Kennedy / [EMAIL PROTECTED]
> Engineer KMOS-TV/KTBG-FM
> Broadcasting Services Department
> Central Missouri State University
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best
shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT
Guy Games. Play to
> win an NEC 61 plasma display. Visit
http://www.necitguy.com/?r=20
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/ivtv-devel
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel