v4l2r icon indicating copy to clipboard operation
v4l2r copied to clipboard

Support for VIDIOC_S_CTRL?

Open mfreeborn opened this issue 1 year ago • 2 comments

I'm trying to implement an H264 encoder in Rust, which takes YUV420 format frames from a Raspberry Pi camera and converts it to H264. Essentially I'm trying to replicate this functionality: https://github.com/raspberrypi/libcamera-apps/blob/eca5a3c5eada4b3caa52a7ed33eafd4eb0be78c7/encoder/h264_encoder.cpp#L41

Have I interpreted the v4l2r::ioctl module correctly in that it doesn't support VIDIOC_S_CTRL to do things such as set the H264 profile and level etc?

I otherwise have a working pipeline based on the v4l2r::encoder::Encoder which is really great.

mfreeborn avatar Jan 22 '23 15:01 mfreeborn