gst-launch doesn't work, ioctl VIDIOC_ENUMSTD

cancel
Showing results for 
Search instead for 
Did you mean: 

gst-launch doesn't work, ioctl VIDIOC_ENUMSTD

214 Views
yibhan
Contributor III

Hi guys,

I have a problem when excute

"gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw, format=(string)UYVY, width=720, height=576,framerate=25/1(or, 50/1), interlace-mode=(string)progressive' ! imxv4l2sink"

device shows always the log : it just looks like infinite loop, it doesn't work

================================

"In MVC: mxc_v4l_ioctl

In MVC: mxc_v4l_do_ioctl c0485619

             case VIDIOC_ENUMSTD

In MVC: mxc_v4l_ioctl

In MVC: mxc_v4l_do_ioctl c0485619

             case VIDIOC_ENUMSTD

In MVC: mxc_v4l_ioctl

In MVC: mxc_v4l_do_ioctl c0485619

             case VIDIOC_ENUMSTD

=============================

but, when I excute :

./mxc_v4l2_overlay.out -iw 720 -ih 576 -ow 640 -oh 480 -m 3 -di /dev/video0 -fg", it works !!!

I want to know why infinite Ioctl function is called and fix gst-launch problem.

Please let me know what I should check it.

My camera:

BT656, PAL, progressive

 

 

Labels (1)
0 Kudos
3 Replies

206 Views
yibhan
Contributor III

Hi guys,

I have more comment. when I used USB camera, there is no problem to preview and below is command used:

"gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480' ! imxv4l2sink

Anybody know why my issue happens? 

0 Kudos

201 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello yibhan,

The issue with

MVC: mxc_v4l_do_ioctl c0485619

case VIDIOC_ENUMSTD

means that it haven´t found a camera or the video UYV is incorrect, the VIDIOC_ENUMSTD enumerated support video standard.

This does not happens when you have from usb because you change this line with xraw.

 

Regards

 

0 Kudos

193 Views
yibhan
Contributor III

Hi Bio,

Your answer may be helpful for me, and I have more questions,

I have checked camera working with ./mxc_v4l2_overlay.out, and it worked and below comand is :

./mxc_v4l2_overlay.out -iw 720 -ih 576 -ow 640 -oh 480 -m 3 -di /dev/video0 -fg

My question is if mxc_v4l2_overlay works and gstreamer dosen't work because of VIDIOC_ENUMSTD(?), where should I check in driver or other parts?

 

0 Kudos