Run pipeline with a video with too much resolution

Hi,
I’m trying to run a pipeline with a video recorded with a 20 MP camera and I get the following error:

Error String : 
Resolution          : 5504x3680
Max Supported (wxh) : 4096x4096
Resolution not supported on this GPUError Code : 801
2024-02-27 11:56:03,356 [ERROR][root]    ERROR: [gst-resource-error-quark: Failed to process frame. (1)] gstv4l2videodec.c(1804): gst_v4l2_video_dec_handle_frame (): /GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstURIDecodeBin:nvurisrc_bin_src_elem/GstDecodeBin:decodebin0/nvv4l2decoder:nvv4l2decoder0:
Maybe be due to not enough memory or failing driver
2024-02-27 11:56:03,357 [ERROR][root]    ERROR: [gst-stream-error-quark: Internal data stream error. (1)] matroska-demux.c(5732): gst_matroska_demux_loop (): /GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstURIDecodeBin:nvurisrc_bin_src_elem/GstDecodeBin:decodebin0/GstMatroskaDemux:matroskademux0:
streaming stopped, reason error (-5)

Changing the video resolution to the max specified is not an option because we need it for the model inference.

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
• The pipeline being used

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

It seems that the video resolution exceeds the limit.

If you use GPU, please refer to this table.

If you use Jetson, please refer to this