Marcus Metzler <mocm@xxxxxxxxxxxxxx> writes: > since we are not experts concerning the variuos MPEG settings and did /me too. > So if this is going to be done for V4L2, maybe we could start on this > list. A good start for a parameter list would probably be the .par > files for mpegenc. videodev2.h has some dummy stuff in right now, see below. I'm waiting for someone which knows more about mpeg than me to come with something reasonable (hint, hint). Gerd /* * C O M P R E S S I O N P A R A M E T E R S */ #if 0 /* ### generic compression settings don't work, there is too much * ### codec-specific stuff. Maybe reuse that for MPEG codec settings * ### later ... */ struct v4l2_compression { __u32 quality; __u32 keyframerate; __u32 pframerate; __u32 reserved[5]; }; #endif [ ... ] #if 0 #define VIDIOC_G_COMP _IOR ('V', 6, struct v4l2_compression) #define VIDIOC_S_COMP _IOW ('V', 7, struct v4l2_compression) #endif