Hi,
I have HD camera connected to DM355 through the J30/J31 connector. I
have configured the vpfe driver to read from this device. Everything
works great in NTSC/PAL or VGA. I have a BT601(16 bit) interface.
My application layer reads the frame from the vpfe(using Q/DQBUF ioctl)
and converts it into a MPEG4 stream and then streams it using RTSP
protocol.
When I try to use a 1280x720 camera, the codec engine fails with the
following error.
CMEMK Error: Failed to find a pool which fits 3185664
CMEM Error: getPool: Failed to get a pool fitting a size 3185664
I have confirmed that the vpfe driver is working fine by saving the raw
yuv frames and playing them offline.
Here is my codec engine initialization,
params.size = sizeof(VIDENC1_Params);
params.encodingPreset = XDM_DEFAULT;
params.rateControlPreset = IVIDEO_STORAGE;
params.maxHeight = height;
params.maxWidth = width;
params.maxFrameRate = FRAMERATE;
params.maxBitRate = BITRATE < 0 ? 0 : BITRATE;
params.dataEndianness = XDM_BYTE;
params.maxInterFrameInterval = 0;
params.inputChromaFormat = XDM_YUV_422ILE; // pixelFormat;
params.inputContentType = IVIDEO_PROGRESSIVE;
params.reconChromaFormat = XDM_DEFAULT;
/* allocate and initialize video decoder on the engine */
enc = VIDENC1_create(ce, encoderName, ¶ms);
if (enc == NULL) {
goto end;
}
Has anyone succeeded in converted live HD video to MPEG 4ES streams ?
Thanks.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source