On Saturday 10 March 2007 15:17, Martin Dauskardt wrote:
> Hi Hans,
>
> now that I have a working ivtv-fb module I tried again to adapt the
> pvr350-plugin. I have still no picture, only OSD and sound. I guess
> the scaling and positioning of the video is wrong. But the
> rfc-mpeg.txt raises only questions.
>
> I replaced
> struct ivtvfb_ioctl_set_window and IVTVFB_IOCTL_SET_WINDOW
> against
> struct v4l2_rect and VIDIOC_S_FBUF
>
> Is this the right way?

No. You need to change the global alpha setting. By default the alpha 
setting is opaque (i.e. the OSD hides the MPEG output). You can set the 
global_alpha using VIDIOC_S_FMT: see the example code under #if 0 in 
ivtvtv.cpp. I hope that I'll have the time to fully document this today 
or tomorrow.

>
> What about the ivtvtv utility? Is it supposed to work with the
> current 1.0.0. ? 

Yes, it works.

> First test with unpatched code: again only small 
> vertical lines (which seem to contain video) on the left and right of
> the display.

For this test ivtvtv assumes that ivtv-fb isn't loaded, so the OSD is 
disabled. If you have ivtv-fb loaded, then you see exactly the effect 
you describe.

> Second test (I removed the #if 0/#endif in the section 
> with new framebuffer stuff): got only a green screen

Yes, that was intended :-). I've updated ivtvtv.cpp so that it now sets 
the global_alpha to 0 (transparent).

> Is there any working application right now which uses the decoder
> part of the new driver?

ivtvtv :-)

Regards,

        Hans

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to