On Wed, Jul 23, 2014 at 3:54 PM, Enrico <ebutera@xxxxxxxxxxxxxxxxxxxxx> wrote: > On Tue, Jul 22, 2014 at 6:32 PM, Laurent Pinchart > <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: >> Hi Enrico, >> >> On Tuesday 22 July 2014 18:26:52 Enrico wrote: >>> On Tue, Jul 22, 2014 at 6:04 PM, Laurent Pinchart wrote: >>> > Hi Enrico, >>> > >>> > You will need to upgrade media-ctl and yavta to versions that support >>> > interlaced formats. media-ctl has been moved to v4l-utils >>> > (http://git.linuxtv.org/cgit.cgi/v4l-utils.git/) and yavta is hosted at >>> > git://git.ideasonboard.org/yavta.git. You want to use the master branch >>> > for both trees. >>> >>> It seems that in v4l-utils there is no field support in media-ctl, am i >>> wrong? >> >> Oops, my bad, you're absolutely right. >> >>> I forgot to add that i'm using yavta master and media-ctl "field" >>> branch (from ideasonboard). >> >> Could you please try media-ctl from >> >> git://linuxtv.org/pinchartl/v4l-utils.git field >> >> The IOB repository is deprecated, although the version of media-ctl present >> there might work, I'd like to rule out that issue. >> >> The media-ctl output you've posted doesn't show field information, so you're >> probably running either the wrong media-ctl version or the wrong kernel >> version. > > You were right i was using the wrong binary, now the output is: > > ... > - entity 5: OMAP3 ISP CCDC (3 pads, 9 links) > type V4L2 subdev subtype Unknown flags 0 > device node name /dev/v4l-subdev2 > pad0: Sink > [fmt:UYVY2X8/720x625 field:interlaced] > ... > pad1: Source > [fmt:UYVY/720x624 field:interlaced > crop.bounds:(0,0)/720x624 > crop:(0,0)/720x624] > > ... > > - entity 16: tvp5150 1-005c (1 pad, 1 link) > type V4L2 subdev subtype Unknown flags 0 > device node name /dev/v4l-subdev8 > pad0: Source > [fmt:UYVY2X8/720x625 field:interlaced] > > > but i still get the same error: > > root@igep00x0:~/field# ./yavta -f UYVY -n4 -s 720x624 -c100 /dev/video2 > Device /dev/video2 opened. > Device `OMAP3 ISP CCDC output' on `media' is a video output (without > mplanes) device. > Video format set: UYVY (59565955) 720x624 (stride 1440) field none > buffer size 898560 > Video format: UYVY (59565955) 720x624 (stride 1440) field none buffer > size 898560 > 4 buffers requested. > length: 898560 offset: 0 timestamp type/source: mono/EoF > Buffer 0/0 mapped at address 0xb6d95000. > length: 898560 offset: 901120 timestamp type/source: mono/EoF > Buffer 1/0 mapped at address 0xb6cb9000. > length: 898560 offset: 1802240 timestamp type/source: mono/EoF > Buffer 2/0 mapped at address 0xb6bdd000. > length: 898560 offset: 2703360 timestamp type/source: mono/EoF > Buffer 3/0 mapped at address 0xb6b01000. > Unable to start streaming: Invalid argument (22). > 4 buffers released. Same error adding field parameter to yavta: ./yavta -f UYVY -n4 -s 720x624 -c100 --field interlaced /dev/video2 Enrico -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html