On Fri, Feb 23, 2018 at 2:37 PM, Devin Heitmueller
<dheitmuel...@kernellabs.com> wrote:
> On Fri, Feb 23, 2018 at 2:30 PM, Federico Allegretti
> <allegf...@gmail.com> wrote:
>> i noticed that my pinnacle 300i could accept full resolution settings:
>> v4l2-ctl --set-fmt-video=width=720,height=576
>>
>> only the first time the command is fired.
>>
>> after that, evey time i try to set that resolution with the same
>> command, i get instead only the half vertical resolution:
>> v4l2-ctl --get-fmt-video
>> Format Video Capture:
>>     Width/Height      : 720/288
>>     Pixel Format      : 'YU12'
>>     Field             : Bottom
>>     Bytes per Line    : 720
>>     Size Image        : 311040
>>     Colorspace        : SMPTE 170M
>>     Transfer Function : Default
>>     YCbCr/HSV Encoding: Default
>>     Quantization      : Default
>>     Flags             :

Also, looks like the field format is set to bottom, which would
explain why you're only getting half the lines.  You probably need to
set the field type to interlaced in your --set-fmt-video arguments
(although I don't have the exact syntax right in front of me).

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

Reply via email to