<div dir="ltr">I'm trying to transcode a 4K RTP MPEG-TS and keep running into this issue.<div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><br></div><div>> INFO  videodecoder gstvideodecoder.c:1330:gst_video_decoder_sink_event_default:<video_decoder> upstream tags: taglist, video-codec=(string)"H.264\ \(Main\ Profile\)", minimum-bitrate=(uint)418000, maximum-bitrate=(uint)70234400, bitrate=(uint)28947228;</div><div>> WARN  nvenc gstnvbaseenc.c:1142:gst_nv_base_enc_set_format:<video_encoder> error: Requested stream size is larger than the maximum configured size</div><div>> INFO  GST_ERROR_SYSTEM gstelement.c:2145:gst_element_message_full_with_details:<video_encoder> posting message: Requested stream size is larger than the maximum configured size</div><div>> INFO  GST_ERROR_SYSTEM gstelement.c:2172:gst_element_message_full_with_details:<video_encoder> posted error message: Requested stream size is larger than the maximum configured size</div><div>> WARN  videoencoder gstvideoencoder.c:678:gst_video_encoder_setcaps:<video_encoder> rejected caps video/x-raw, format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(str</div><div>ing)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt2020, framerate=(fraction)50/1</div><div><br></div></blockquote>I tracked the error down down these lines but I'm not sure how to resolve: <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/blob/ac690978f29c7addb90908fe2d597e8f8e0ba2b8/sys/nvenc/gstnvh264enc.c#L506-512">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/blob/ac690978f29c7addb90908fe2d597e8f8e0ba2b8/sys/nvenc/gstnvh264enc.c#L506-512</a></div><div><br></div><div>Using gst-launch-1.0 and videotestsrc, I'm able to encode a 3840x2160 stream so I don't understand why the encoder complains about a maximum size in my dynamic pipeline.</div><div><br></div><div>"gst-launch-1.0 -v videotestsrc ! "video/x-raw,framerate=(fraction)50/1,width=(int)3840,height=(int)2160,format=(string)I420" ! nvh264enc ! filesink location=testsrc.mp4"</div><div><br></div><div>Thanks,</div><div>Sid</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br></div></div></div></div>