Encoding more than 1080p by gstreamer causes an exception


I have Apalis T30 board with linux image from Toradex 2.3 beta5.

I would like to encode a video from nv4l2src with nv_omx_h264enc. I can encode 1920x1080 video and less. When I try to start a pipeline for encoding a bigger video (e.g. 1920x1200), gstreamer throws “Floating point exception” during initialization. It seems to be caused by nv_omx_h264enc. It might be a problem of max allocation size of kmalloc? I tried to enhance it by recompile the kernel with MAX_ORDER=15, but it did not help.

My Error:
gst-launch-0.10 -e videotestsrc ! ‘video/x-raw-yuv,width=(int)1920,height=(int)1200,format=(fourcc)I420’ ! nv_omx_h264enc ! video/x-h264, stream-format=byte-stream ! rtph264pay ! udpsink host= port=50000
NvxLiteH264DecoderInit : Opening TVMR H264 block
NvxLiteH264DecoderInit : Opening TVMR H264 block
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
NvMMLiteOpen : Block : BlockType = 4
NvRmPowerModuleClockControl on MOD[29] INST[0]
NvRmModuleResetWithHold deassert MOD[29] INST[0]
NvMMLiteBlockCreate : Block : BlockType = 4
+NvxVideoEncoderSetNvMMAttributes-NvxVideoEncoderSetNvMMAttributesFloating point exception

Smaller resolution is Ok.

Have anybody any idea how to encode the video of bigger resolution than 1080p using gstreamer to h264 (I preffer the openmax encoder for the speed).
Is resolution of 1080p a limit of the system?

Thank you.