root@am62axx-sk:~# gst-launch-1.0 -v v4l2src device=/dev/video3 ! 'video/x-raw,format=(string)UYVY,width=3840,height=2160' ! ticolorconvert ! 'video/x-raw,format=(string)NV12,width=3840,height=2160' ! que ue ! v4l2h264enc output-io-mode=5 ! filesink location=test.mp4 Setting pipeline to PAUSED ... 0:00:00.154564615 1610 0x268b3060 WARN v4l2 gstv4l2object.c:4701:gst_v4l2_object_probe_caps: Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argum ent Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)UYVY, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetr y=(string)bt709 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)UYVY, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colo rimetry=(string)bt709 /GstPipeline:pipeline0/GstTIColorConvert:ticolorconvert0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1 0:00:00.158303675 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.158398100 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support 0:00:00.158539200 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.158601150 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support 0:00:00.158630835 1610 0x26887060 WARN GST_PADS gstpad.c:4351:gst_pad_peer_query: could not send sticky events /GstPipeline:pipeline0/GstTIColorConvert:ticolorconvert0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progress ive, colorimetry=(string)bt709 /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)UYVY, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, col orimetry=(string)bt709 0:00:00.216541890 1610 0x26887060 WARN v4l2bufferpool gstv4l2bufferpool.c:1397:gst_v4l2_buffer_pool_dqbuf: Driver should never set v4l2_buffer.field to ANY 0:00:00.217121705 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.217271955 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support 0:00:00.545858880 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.546018305 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support 0:00:00.546102620 1610 0x26887060 WARN basesrc gstbasesrc.c:3127:gst_base_src_loop: error: Internal data stream error. 0:00:00.546130430 1610 0x26887060 WARN basesrc gstbasesrc.c:3127:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Additional debug info: ../gstreamer-1.20.6/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Execution ended after 0:00:00.389535030 Setting pipeline to NULL ... 0:00:00.546686405 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.546762405 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support 0:00:00.546902720 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.546969010 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support 0:00:00.547113925 1610 0x26887060 WARN GST_CAPS gstpad.c:3235:gst_pad_query_accept_caps_default: caps: video/x-raw, format=(string)NV12, width=(int)3840, height=(int )2160, framerate=(fraction)120/1 were not compatible with: video/x-raw, format=(string)NV12, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=( string){ bt601, smpte240m, bt709, 1:3:5:1, 2:4:5:2, 2:4:5:3, 1:4:7:1, 2:4:7:1, 2:4:12:8, bt2020, 2:0:0:0 } 0:00:00.547181240 1610 0x26887060 WARN basetransform gstbasetransform.c:1371:gst_base_transform_setcaps: transform could not transform video/x-raw, format=(string)NV12, width=( int)3840, height=(int)2160, framerate=(fraction)120/1 in anything we support Freeing pipeline ...