Hello
I am trying to encode my camera stream to h264 and h265. While encoding to h264 has no problem, it failed to encode h265.
I am using tx2 with jp4.3
gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)20/1’ ! nvvidconv ! nvv4l2h264enc insert-sps-pps=true ! h264parse ! rtph264pay config-interval=1 ! udpsink host=127.0.0.1 port=5000
It works without a problem.
gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! ‘video/x-raw(memory:NVMM), width=5742, height=3648, format=(string)NV12, framerate=(fraction)20/1’ ! nvvidconv ! nvv4l2h265enc insert-sps-pps=true ! h265parse ! rtph265pay config-interval=1 ! udpsink host=127.0.0.1 port=5000
It gave these errors.
tvmrVideoEncoderBitsAvailable_MSENC: ucode ERROR = 144
NvVideoEncTransferOutputBufferToBlock: DoWork failed line# 667
NvVideoEnc: NvVideoEncTransferOutputBufferToBlock TransferBufferToBlock failed Line=678
Do you know what would be the problem?