Hello,<br><br>In my company we faced the same problem with v4l2 a couple of years ago.<br>Antoine, if you need further code review you might want to check if the structure containing the image format is properly set to what the user needs, cause as you know we need to bargain with the driver to find something suitable for both.<br>
<br>I never checked this, but in my opinion the driver could be returning interlaced frames with bad sequence numbers. This is: let A an B be complete progressive images that when decomposed in interlaced images give you Aodd, Aeven, Bodd, Beven. maybe the driver is labeling with the sequence number of B the subimages Aeven and Bodd, and when composing the image you see both frames at the same time interlaced.<br>
<br>It's just a theory, but maybe it's worth to dump a couple of interlaced sequences to check.<br><br>For us the driver doing the funny thing was bttv too, and I've seen this effect in Multi-Media Hard Drives directly attached to TV, so my guess is that is more likely to be a confusion in the subimage labeling than a problem in the v4l2 code for VLC.<br>
<br>I would try with a webcam attached to USB and same image format (when possible) to see if the problem can be reproduced in different cards/drivers.<br><br>Best of luck.<br><br>Luis.<br><br><div class="gmail_quote">On Tue, Mar 31, 2009 at 3:34 AM, Antoine Cellerier <span dir="ltr"><<a href="mailto:dionoea@videolan.org">dionoea@videolan.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<div class="im"><br>
On Mon, Mar 30, 2009, Beyonlo wrote:<br>
> I have a interlaced analog SD camera connected a capture card<br>
> (bttv) and capturing via composite.<br>
> I'm using v4l2 and I have problems with flicker (interlaced<br>
> combing problem) with vlc 0.9.x when capturing in 320x240. But not is<br>
> possible has flicker when capturing 240 lines, because 240 lines get<br>
> only the even lines. If I getting 480 lines for example, flicker is<br>
> correct, because getting even and odd lines, with 16 ms delay, because<br>
> is needed two Fields to compose a 480 lines.<br>
> I tested too with v4l2 using mplayer and not have problem. I<br>
> tested too with vlc 0.8.6 with v4l and not have problem. Problem<br>
> happen only with VLC using v4l2.<br>
<br>
</div>Could you compile VLC with --disable-libv4l2 and test again? This will<br>
disable a wrapper lib around the kernel v4l2 API which has been known to<br>
cause issues. (Compiling 0.9.9 with or without that flag should also work,<br>
since libv4l2 use is now default disabled at runtime)<br>
<br>
If that doesn't fix anything, I'll try to investigate further.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
--<br>
Antoine Cellerier<br>
dionoea<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br>