Please give me clarification on the below for my web cam capture and send over internet application?
1. I read that the UMC's H264 encoder needs YUV input buffer in the GetFrame method. What kind of YUV is needed out of the commonly known formats such as I420, YV12, UYVY, YVYU etc?
2. I referred the EncodeStream method towards the end of IPP UMC reference manual. It seems to encode a number of frames given as a parameter from the input YUV buffer. Is this always the correct approach? Can we encode each buffer by buffer as captured by the Webcam?
In other words, is it advantageous to construct an big chunk of input buffer and encode in one shot instead of encoding each frame by frame and send over internet?
3. There is one bit rate parameter to be given in the H264EncoderParams.info.bitrate variable. What is the value that need to be filled in here? I have a guess - Is it calculated as the frame size * bits per pixel*frame rate? Please confirm.