Ok, i tested with 2896x2896 and 2898x2898 on tx2 and behavior is different in:
2896x2896 working well, exit nicely with ^C, produces output file some about 35kB after 12 sec of run
2898x2898 seems like working, does not exit after ^C(stucks at exit flow), produces empty output file
the output of 2896x2896 run :
$ GST_DEBUG=3 gst-launch-1.0 videotestsrc num-buffers=30 is-live=true pattern=18 ! video/x-raw,width=2896,height=2896,framerate=1/1 ! nvvidconv ! omxh264enc ! qtmux ! filesink location=~/Desktop/download
0:00:00.029105708 9364 0x4f2560 WARN omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/ubuntu/.config:/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
0:00:00.053506634 9364 0x53a9e0 FIXME default gstutils.c:3766:gst_pad_create_stream_id_internal:videotestsrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Setting pipeline to PLAYING …
New clock: GstSystemClock
0:00:00.054737798 9364 0x53a9e0 FIXME videoencoder gstvideoencoder.c:606:gst_video_encoder_setcaps: GstVideoEncoder::reset() is deprecated
Framerate set to : 1 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
0:00:00.055760353 9364 0x53a9e0 WARN omxvideoenc gstomxvideoenc.c:1860:gst_omx_video_enc_set_format: Error setting temporal_tradeoff 0 : Vendor specific error (0x00000001)
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
===== MSENC blits (mode: 1) into tiled surfaces =====
0:00:00.207208709 9364 0x7f78003450 WARN qtmux gstqtmux.c:3951:gst_qt_mux_video_sink_set_caps: no codec_data in h264 caps
0:00:00.207247557 9364 0x7f78003450 WARN qtmux gstqtmux.c:4116:gst_qt_mux_video_sink_set_caps: pad video_0 refused caps video/x-h264, alignment=(string)au, profile=(string)baseline, level=(string)4, stream-format=(string)avc, width=(int)2896, height=(int)2896, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1
0:00:00.207349829 9364 0x7f78003450 WARN qtmux gstqtmux.c:3951:gst_qt_mux_video_sink_set_caps: no codec_data in h264 caps
0:00:00.207369445 9364 0x7f78003450 WARN qtmux gstqtmux.c:4116:gst_qt_mux_video_sink_set_caps: pad video_0 refused caps video/x-h264, alignment=(string)au, profile=(string)baseline, level=(string)4, stream-format=(string)avc, width=(int)2896, height=(int)2896, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1
0:00:00.207401188 9364 0x7f78003450 WARN GST_PADS gstpad.c:4092:gst_pad_peer_query:omxh264enc-omxh264enc0:src could not send sticky events
0:00:00.207895586 9364 0x7f78003450 FIXME basesink gstbasesink.c:3126:gst_base_sink_default_event: stream-start event without group-id. Consider implementing group-id handling in the upstream elements
^Chandling interrupt.
Interrupt: Stopping pipeline …
Execution ended after 0:00:26.125301487
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
the output of 2898x2898 run :
GST_DEBUG=3 gst-launch-1.0 videotestsrc num-buffers=30 is-live=true pattern=18 ! video/x-raw,width=2898,height=2898,framerate=1/1 ! nvvidconv ! omxh264enc ! qtmux ! filesink location=~/Desktop/download
0:00:00.028867980 9385 0x4f2560 WARN omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/ubuntu/.config:/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
0:00:00.061618346 9385 0x53a9e0 FIXME default gstutils.c:3766:gst_pad_create_stream_id_internal:videotestsrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Setting pipeline to PLAYING …
New clock: GstSystemClock
0:00:00.062950628 9385 0x53a9e0 FIXME videoencoder gstvideoencoder.c:606:gst_video_encoder_setcaps: GstVideoEncoder::reset() is deprecated
Framerate set to : 1 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
0:00:00.064155744 9385 0x53a9e0 WARN omxvideoenc gstomxvideoenc.c:1860:gst_omx_video_enc_set_format: Error setting temporal_tradeoff 0 : Vendor specific error (0x00000001)
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
===== MSENC blits (mode: 1) into tiled surfaces =====
^Chandling interrupt.
Interrupt: Stopping pipeline …
Execution ended after 0:00:18.797352005
Setting pipeline to PAUSED …
Setting pipeline to READY …
^C