ioctl(VIDIOC_G_FMT): Invalid argument Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument#525 Closed Same issue as above - works once per boot... Small fix to avoid reboot: Then rerun your ffmpeg stream. ...
In v4l2::getDeviceModes, VIDIOC_ENUM_FMT and VIDIOC_ENUM_FRAMESIZES are succeeding, but then in getDeviceModeFramerates the first IOCTL of VIDIOC_ENUM_FRAMEINTERVALS for each sets errno 22 "Invalid Argument". The webcam's pretty old. I'm not sure if this is just a legacy driver issue ...
So you might not be able to use the demosaic as a capture or output device. This might be the reason why you are getting this error. Not sure if that would work but what if you add the TPG IP as pass-through?
### IOCTL g_fmt_cap ### IOCTL s_power ### PowerDown ### IOCTL init ### IOCTL dev_init ### Init Mode ### Soft Reset ###ERROR: unrecognized std! 0 (PAL=ff, NTSC=b000m 0x1fce580 WARN ### IOCTL enum_framesize ### IOCTL g_parm ### IOCTL s_parm ###imx...
Hi, I get this error on kernel 3.0.36+: VIDIOC_DQBUF error 22, Invalid Argument when I run the following example code (provided by @TIS-Edgar at #11) for capturing images: https://gist.github.com/10f04501f49b6b3bf75e After debugging, app...