I’m trying to run a pipeline containing a very large frame of a size 4320x1080, if I try to run a pipeline with a width of 4096 everything works fine:
gst-launch-1.0 \ videotestsrc pattern=checkers-1 num-buffers=100 ! \ 'video/x-raw, width=4096, height=1080' ! \ nvvidconv ! \ 'video/x-raw(memory:NVMM), width=4096' ! \ nvv4l2h265enc bitrate=20000000 ! \ h265parse ! \ qtmux ! \ filesink location='pipeline_test.mp4'
This produces a perfect checkerboard pattern, however, trying to increase the resolution to 4320 fails.
1. If the videotestsrc is changed to output 4320 without downscaling to 4096 the pipeline looks like this
gst-launch-1.0 \ videotestsrc pattern=checkers-1 num-buffers=100 ! \ 'video/x-raw, width=4320, height=1080' ! \ nvvidconv ! \ nvv4l2h265enc bitrate=20000000 ! \ h265parse ! \ qtmux ! \ filesink location='pipeline_test.mp4'
which produces these errors:
tvmrVideoEncoderBitsAvailable_MSENC: ucode ERROR = 144 NvVideoEncTransferOutputBufferToBlock: DoWork failed line# 667 NvVideoEnc: NvVideoEncTransferOutputBufferToBlock TransferBufferToBlock failed Line=678
2. If I add downscaling after the nvvidconv element (width=4096) then something strange happens, the output is still with a width of 4320, but with strange artifacts:
What I would like is to get either an output of 4320 to work, or to downscale to 4096 without getting artifacts.
Thanks for the help.