nvh264enc - Requested stream size is larger than the maximum configured size

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

nvh264enc - Requested stream size is larger than the maximum configured size

Sid Sethupathi
I'm trying to transcode a 4K RTP MPEG-TS and keep running into this issue.

> 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;
> WARN  nvenc gstnvbaseenc.c:1142:gst_nv_base_enc_set_format:<video_encoder> error: Requested stream size is larger than the maximum configured size
> 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
> 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
> 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
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

I tracked the error down down these lines but I'm not sure how to resolve: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/blob/ac690978f29c7addb90908fe2d597e8f8e0ba2b8/sys/nvenc/gstnvh264enc.c#L506-512

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.

"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"

Thanks,
Sid


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel