Thanks for quick response...
I actually was getting some other error which was on the same line so i thought of it being error because of it.
aneways, thanks for help... it was just my mistake.
By the way,
I tried following code.
But I am getting continuosly err -5 .
// TSize lInputPictureSize(640,480);
// TSize lInputPictureSize(352,288);
lUncompressedVideoFormat.iDataFormat = EYuvRawData;
TYuvCoefficients lCoef = EYuvRange1;
TYuvSamplingPattern lPattern = EYuv420Chroma3;
TYuvDataLayout lDataLayout = EYuvDataPlanar;
lYuvFormat.iCoefficients = lCoef;
lYuvFormat.iPattern = lPattern;
lYuvFormat.iDataLayout = lDataLayout;
lYuvFormat.iRgb2YuvMatrix = NULL;
lYuvFormat.iYuv2RgbMatrix = NULL;
lYuvFormat.iAspectRatioNum = 1;
lYuvFormat.iAspectRatioDenom = 1;
lUncompressedVideoFormat.iYuvFormat = lYuvFormat;
LOG(_L("Set input formate err = %d "),err2);
if(err2 != KErrNone) break;
and hence I am not able to initialize my H.264 encoder.
I had set
TBuf8<60> lMime(_L8("video/H264; profile-level-id=42900B"));
TBuf8<60> lMime(_L8("video/H264; profile-level-id=42800A"));
one by one for trial to find out proper encoder but in not even single case,
I got any success.
Can anyone please help me?