Re: ADV7180 Capture with i.MX53

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 7, 2019 at 10:07 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> On Mon, Oct 7, 2019 at 9:51 PM Steve Longerbeam <slongerbeam@xxxxxxxxx> wrote:
>
> > Ah progress. Try:
> >
> > v4l2-ctl -d0 --set-fmt-video=field=interlaced
>
> Yes, with this hint I can run:
>
> # v4l2-ctl -d0 --set-fmt-video=field=interlaced
> # v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=x.raw --stream-count=1
>
> And it seems to accept the capture of a frame.
>
> Without passing field=interlaced, I used to get:
>
> # v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=x.raw --stream-count=1
> [  163.838944] ipu1_csi0: capture format not valid
>
> So now I need to see if I can get Gstreamer to accept a pipeline like:
>
> gst-lauch-1.0 v4l2src ! kmssink

Even though the one-frame capture via v4l2-ctl seems to work:
 # v4l2-ctl -d0 --set-fmt-video=field=interlaced
 # v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=x.raw
--stream-count=1

, Gstreamer is still not happy:

# gst-launch-1.0 v4l2src ! kmssink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device
'/dev/video0' does not support progressive interlacing
Additional debug info:
../../../gst-plugins-good-1.14.4/sys/v4l2/gstv4l2object.c(3813):
gst_v4l2_object_set_format_full ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Device wants interleaved interlacing
Execution ended after 0:00:00.022400639
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux