Tool/software: Linux
Hi,
In our project, we need the output streams as:1080P 60fps(H.264)+D1 30fps(H.264)+D1 15fps(MJPG)
We modify the code form IPNC 3.5 example and got the output, but in a while we got the error message as following and the system crash.
[m3video] Extended error 18400 for reqObjIndex 0
[m3video] 34918:WARN
[m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
[m3video] 34918:WARN
[m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
I modify the setting and the following is ok.
1. 1080P 30fps(H.264)+D1 30fps(H.264)+1080P 15fps(D1)
2. 1080P 30fps(H.264)+D1 30fps(H.264)+D1 15fps(H.264)
3.1080P 30fps(H.264)+D1 30fps(MJPG)
4.1080P 30fps(H.264)+D1 30fps(H.264)
but if set the streming have :D1(H.264)+D1(MJPG)
we will get the error message:
[m3video] Extended error 18400 for reqObjIndex 0
[m3video] 34918:WARN
[m3video] ENCLINK:ERROR in Enclink_h264EncodeFrameBatch.Status[-1] for IVAHD_0
[m3video] 34918:WARN
[m3video] ENC : IVAHDID : 0 ENCLINK:ERROR in EncLink_SubmitBatch.Status[-1]
I found some issues as following links:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/265927
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/584833/2147862
https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/478960/1725480
and try to modify the setting
1.
#define UTILS_ENCDEC_GET_BITBUF_SIZE(width,height,bitrate,framerate) \
(((width) * (height))/UTILS_ENCDEC_BITBUF_SCALING_FACTOR)
to
#define UTILS_ENCDEC_GET_BITBUF_SIZE(width,height,bitrate,framerate) \
(((width) * (height))*3/2)
2.
targetBitRate (MJPG) 1000*1000~17*1000
but can't fix the error.
Does any one know how to fix the error?
Thanks,