[Ffmpeg-devel] compressed v4l2 images

ramiro at lisha.ufsc.br ramiro
Tue Feb 6 01:32:29 CET 2007


I have a webcam running the zc0301 driver. On the VIDIOC_S_FMT ioctl call,
it always sets the pixel format to V4L2_PIX_FMT_JPEG.

The current code doesn't take into account when the pixel format is
changed on that call.
Also, it doesn't support the compressed JPEG stream even if the pixel
format is changed according to the result of the ioctl. What's the best
way to make it support compressed JPEG?

Just check for compressed and set appropriate codec_id?

Ramiro Polla

More information about the ffmpeg-devel mailing list