What are the default webcam recording settings used in the KCW and KRecord?

Printer-friendly version
Audience / Tech Expertise: 

For KCW

KCW parameters are controlled using uiconf.

For example, the Webcam recording in KMC uses the following default values when no data is received:

keyFrame interval - 5;

width - 336,

height - 252,

framerate - 25,

bandwidth - 0,

quality -  85

The values you use depend on your network, camera, and other related components.

Important Note:  Webcam recordings are expected to be low-quality and the widgets are designed for low-quality and short (minutes) recordings. The better quality you configure and the longer the recording is, the more likely it is that the end-result will have gaps. You can set the bufferTime to a long value to avoid this problem, however the resulting recording will be delayed and not ready as soon as the recording is over (which is what expected in many use-cases).

For KRecord

The following describes the KRecord parameters:

  

Parameter Name

Explanation

Value used in KRecord

quality

An integer that specifies the required level of picture quality, as determined by the amount of compression being applied to each video frame. Acceptable values range from 1 (lowest quality, maximum compression) to 100 (highest quality, no compression).

85

bw

An integer that specifies the maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second. Used to specify that Flash video can use as much bandwidth as needed to maintain the value of frameQuality, pass 0.

0

w

Frame width

336

h

Frame height

252

fps

Frame Per Second

25

gop

Group Of Pictures

25

bufferTime

Used to compensate for bandwidth instability. When the bandwidth isn’t sufficient for the stream, the stream is stored in the buffer. The higher this parameter is, the more reliability there is that the stream will be passed without losing frames. On the other hand – the higher this parameter is, it may take longer until you are able to play the recording.

70