training_extensions icon indicating copy to clipboard operation
training_extensions copied to clipboard

Add codec option to webcam source

Open leoll2 opened this issue 1 year ago • 2 comments

Add a new configuration option codec to the webcam source type. Users can use this setting to control what codec is used by the backend to read data from the camera. This is useful because not all webcams support the same codecs, moreover the codec can affect the quality of the image (due to compression).

Allow the most common codecs supported by OpenCV (MJPG, XVID, DIVX, H264, MP4V, YUY2, ...). A list can be found here.

leoll2 avatar Oct 22 '25 09:10 leoll2

The backend part is ready, UI part should be implemented

warrkan avatar Oct 22 '25 11:10 warrkan

After internal discussion, it was decided to not expose this option in the UI for now. Codec parameter can be still (optionally) provided through the REST API.

leoll2 avatar Jan 02 '26 10:01 leoll2