Emanoil Kotsev wrote:
> 
> 
> 
> 
> 
> --- On Tue, 3/17/09, [email protected] 
> <[email protected]> wrote:
> 
> 
>> Did you experiment with width=320:height=240 because
>> everything works
>> below the 640x480 resolution also the fps=30 or fps=5
>> options, everything
>> stops working at correctly after the 640x480 the software
> 
> The usual question is it a bug or is it a feature?! I never read about yv12 
> and uvc exactly. As I said the topic is very interesting.
> 
>> scaling is just
>> a trick like a zoom its not the real resolution :-)
> 
> yes, tricky zoom :-)
> 
> The problem is by applying the width/height options at the wrong place
> 
> I read the relevant places in the doc and found few notes on using the -vf 
> scale option depending on if the card has a hardware scaling support or sw 
> should be used
> 
> now try this
> 
>   mplayer -ontop -framedrop -cache 8192 -stop-xscreensaver \
>                 -tv driver=v4l2:device=/dev/video0:fps=25:outfmt=yv12 \
>                 -vf scale=800:600  -sws 4 -vo xv tv://
> 
> -sws is just to play with - I didn't notice any significant difference
> 
> I'm not using gl but you can try changing the -vo to gl2 and apply the 
> widht/height params to the -tv option and tell me if it works, I just got 
> curious.
> I think also to have read something about different width/hight combinations 
> supported  1280/1024/5fps or 640/480/30fps but don't remember where or 
> related to what exactly.
> I really don't expect that much from the cheep hardware built in the board of 
> this notebook here.

Well, it seems to be a real bug:

http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/2009-March/036823.html

I did some mailing last week om the mencoder and mplayer mailinglist and
irc channels and the above patch seem to be the result, so over a few
more days I can do some more testing.

But the scale think does work and show a fake higher resolution but this
is not the real hardware resolution.

Just to let you all know after more then 10 days i finally compiled a
command that works to get in sync audio and video with an other v4l2
devices (usb composite1 grabber).

The winning command is:
$ mencoder tv:// -tv
driver=v4l2:device=/dev/video0:input=1:norm=PAL-BG:adevice=/dev/dsp1:immediatemode=0:audiorate=48000:amode=1:width=720:height=576
-oac pcm -ovc lavc -lavcopts vcodec=dvvideo:threads=4 -mc 0 -noskip -of
lavf -lavfopts format=dv -o output2.dv

Best regards,

Jelle de Jong
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to