This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I was wondering if the latest h.264 platinum encoder (v2.00.00.09) will be available on DM6467 ? If yes, when would it be available ? Thank you.
Actually, i noticed strange results using the v1.20.02.00 when the video becomes more complex (i use a live cam shooting tree with leafs). The encoding process returns a video frame type 3 (IDR) and size 0 while i asked for a P-frame and after that the encoder task hangs up.
Ronan
Ronan,
Is your query regarding the DM6467 codecs or the DM365 codecs? I am asking this because the Platinum series of codecs are developed for DM365 only, not DM6467.
Regards,
Kapil
Hi Kapil,
My query concerns DM6467. I have read that 720p & 1080i/p version would be merged in a single version soon. The issue i have noticed with v1.20.00.20 happens after a call to XDM_SETPARAMS. I try to change the bitrate dynamically before first frame (I-picture) of GOP and sometimes the following P-picture are skipped and encoding task hangs up. I do not see what i have missed. May be in my configuration ? Or may be a bitrate regulation problem ?
Thank you.
DSP/BIOS v5.33.06
gen tools v6.1.7
CE v2.25.05.16
HD-VICP v1.01.017
params->METype = 0;
params->ScalingMatType = 0;
params->ScalingFactor = 0;
params->videncParams.inputChromaFormat = XDM_YUV_420SP;
params->EntropyCodingMode = 1;
params->videncParams.rateControlPreset = IVIDEO_LOW_DELAY;
params->videncParams.encodingPreset = 0;
params->videncParams.maxBitRate = 10000000;
params->videncParams.maxFrameRate = 30000;
params->videncParams.maxHeight = 720;
params->videncParams.maxWidth = 1280;
params->videncParams.dataEndianness = XDM_LE_32;
params->videncParams.maxInterFrameInterval = 0;
params->videncParams.inputContentType = IVIDEO_PROGRESSIVE;
params->videncParams.reconChromaFormat = XDM_CHROMA_NA;
/* Set common parameters */
dynpar->QPISlice = 26;
dynpar->QPSlice = 32;
dynpar->RateCtrlQpMax = 51;
dynpar->RateCtrlQpMin = 0;
dynpar->NumRowsInSlice = 0;
dynpar->ChromaQPOffset = 0;
dynpar->SecChromaQPOffset = 0;
dynpar->LfDisableIdc = 0;
dynpar->LFAlphaC0Offset = 0;
dynpar->LFBetaOffset = 0;
dynpar->videncDynamicParams.inputWidth = 352;
dynpar->videncDynamicParams.inputHeight = 288;
dynpar->videncDynamicParams.captureWidth = 0;
dynpar->videncDynamicParams.targetBitRate = 1000000;
dynpar->videncDynamicParams.targetFrameRate = 25000;
dynpar->videncDynamicParams.refFrameRate = 25000;
dynpar->videncDynamicParams.generateHeader = XDM_ENCODE_AU;
dynpar->videncDynamicParams.intraFrameInterval = 25;
dynpar->videncDynamicParams.interFrameInterval = 0;
dynpar->videncDynamicParams.forceFrame = IVIDEO_NA_FRAME;
dynpar->videncDynamicParams.mbDataFlag = 0;
Ronan
Ronan,
I wanted to seek some clarification before I can dig further into your usage scenario.
1. What do you mean when you say, "I asked for a P frame" (your initial post on this topic) - "The encoding process returns a video frame type 3 (IDR) and size 0 while i asked for a P-frame and after that the encoder task hangs up?
2. In a subsequent post, you have mentioned that you call Control with SETPARAMS to change the bit-rate dynamically before the first I picture. Is this first I picture of the stream or is that in between you are trying to change the bit rate and then forcing an I_FRAME out of the encoder? Can you elaborate on the exact sequence of execution?
Regards,
Anirban