Hi,
I have modified Multimedia API sample 07 (video_convert) to implement a scaler + H265 encoder setup. All buffers are pitch linear, the converter scales from 1920x1080 to 1280x720, the input is IUV420M. Buffer handling between the capture plane of the converter and the output plane of the encoder is exactly the same as in the sample.
What I see is that only the first ~10 frames are encoded (output is fine), because the encoder’s output plane callback function is stoppped, so it never frees up the buffers. There are no errors, the application just hangs because of the deadlock situation.
Any idea what could cause this?
Thanks.
Detailed debug log:
[DEBUG] (NvV4l2Element.cpp:62) <conv0> :Opened, fd = 7
Failed to query video capabilities: Inappropriate ioctl for device
[DEBUG] (NvV4l2Element.cpp:62) <enc1> :Opened, fd = 8
[DEBUG] (NvV4l2Element.cpp:182) <conv0> :Set controls
[DEBUG] (NvVideoConverter.cpp:200) <conv0> :Setting output plane buffer layout to 0: success
[DEBUG] (NvV4l2ElementPlane.cpp:290) <conv0> :Output Plane:VIDIOC_S_FMT at capture plane successful
[DEBUG] (NvVideoConverter.cpp:143) <conv0> :Setting output plane format: success
[DEBUG] (NvV4l2Element.cpp:182) <conv0> :Set controls
[DEBUG] (NvVideoConverter.cpp:220) <conv0> :Setting capture plane buffer layout to 0: success
[DEBUG] (NvV4l2ElementPlane.cpp:290) <conv0> :Capture Plane:VIDIOC_S_FMT at capture plane successful
[DEBUG] (NvVideoConverter.cpp:114) <conv0> :Setting capture plane format: success
1920 1080 1280 720
[DEBUG] (NvV4l2ElementPlane.cpp:290) <enc1> :Capture Plane:VIDIOC_S_FMT at capture plane successful
NvMMLiteOpen : Block : BlockType = 8
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 8
[DEBUG] (NvV4l2ElementPlane.cpp:290) <enc1> :Output Plane:VIDIOC_S_FMT at capture plane successful
892744264
842091865
[DEBUG] (NvV4l2Element.cpp:182) <enc1> :Set controls
[DEBUG] (NvVideoEncoder.cpp:187) <enc1> :Setting encoder bitrate to 4000000: success
[DEBUG] (NvV4l2Element.cpp:182) <enc1> :Set controls
[DEBUG] (NvVideoEncoder.cpp:221) <enc1> :Setting encoder profile to 0: success
[DEBUG] (NvV4l2ElementPlane.cpp:509) <enc1> :Output Plane:Successfully set stream parameters
[DEBUG] (NvVideoEncoder.cpp:163) <enc1> :Setting framerate to 30/1: success
libv4l2_nvvidconv (0):(761) (INFO) : Allocating (10) OUTPUT PLANE BUFFERS Layout=0
[DEBUG] (NvV4l2ElementPlane.cpp:433) <conv0> :Output Plane:Reqbuf returned 10 buffers
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 0th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 0, Plane 0, fd = 1026
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 0, Plane 1, fd = 1026
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 0, Plane 2, fd = 1026
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 0, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 0, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 0, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 1th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 1, Plane 0, fd = 1027
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 1, Plane 1, fd = 1027
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 1, Plane 2, fd = 1027
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 1, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 1, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 1, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 2th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 2, Plane 0, fd = 1028
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 2, Plane 1, fd = 1028
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 2, Plane 2, fd = 1028
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 2, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 2, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 2, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 3th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 3, Plane 0, fd = 1029
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 3, Plane 1, fd = 1029
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 3, Plane 2, fd = 1029
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 3, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 3, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 3, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 4th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 4, Plane 0, fd = 1030
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 4, Plane 1, fd = 1030
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 4, Plane 2, fd = 1030
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 4, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 4, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 4, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 5th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 5, Plane 0, fd = 1031
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 5, Plane 1, fd = 1031
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 5, Plane 2, fd = 1031
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 5, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 5, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 5, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 6th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 6, Plane 0, fd = 1032
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 6, Plane 1, fd = 1032
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 6, Plane 2, fd = 1032
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 6, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 6, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 6, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 7th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 7, Plane 0, fd = 1033
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 7, Plane 1, fd = 1033
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 7, Plane 2, fd = 1033
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 7, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 7, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 7, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 8th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 8, Plane 0, fd = 1034
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 8, Plane 1, fd = 1034
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 8, Plane 2, fd = 1034
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 8, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 8, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 8, plane 2 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Output Plane:QueryBuf for 9th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 9, Plane 0, fd = 1035
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 9, Plane 1, fd = 1035
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Output Plane:ExportBuf successful for Buffer 9, Plane 2, fd = 1035
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 9, plane 0 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 9, plane 1 to
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 9, plane 2 to
libv4l2_nvvidconv (0):(771) (INFO) : Allocating (10) CAPTURE PLANE BUFFERS Layout=0
[DEBUG] (NvV4l2ElementPlane.cpp:433) <conv0> :Capture Plane:Reqbuf returned 10 buffers
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 0th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 0, Plane 0, fd = 1036
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 0, Plane 1, fd = 1036
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 0, Plane 2, fd = 1036
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 1th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 1, Plane 0, fd = 1037
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 1, Plane 1, fd = 1037
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 1, Plane 2, fd = 1037
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 2th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 2, Plane 0, fd = 1038
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 2, Plane 1, fd = 1038
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 2, Plane 2, fd = 1038
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 3th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 3, Plane 0, fd = 1039
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 3, Plane 1, fd = 1039
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 3, Plane 2, fd = 1039
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 4th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 4, Plane 0, fd = 1040
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 4, Plane 1, fd = 1040
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 4, Plane 2, fd = 1040
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 5th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 5, Plane 0, fd = 1041
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 5, Plane 1, fd = 1041
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 5, Plane 2, fd = 1041
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 6th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 6, Plane 0, fd = 1042
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 6, Plane 1, fd = 1042
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 6, Plane 2, fd = 1042
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 7th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 7, Plane 0, fd = 1043
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 7, Plane 1, fd = 1043
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 7, Plane 2, fd = 1043
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 8th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 8, Plane 0, fd = 1044
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 8, Plane 1, fd = 1044
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 8, Plane 2, fd = 1044
[DEBUG] (NvV4l2ElementPlane.cpp:542) <conv0> :Capture Plane:QueryBuf for 9th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 9, Plane 0, fd = 1045
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 9, Plane 1, fd = 1045
[DEBUG] (NvV4l2ElementPlane.cpp:580) <conv0> :Capture Plane:ExportBuf successful for Buffer 9, Plane 2, fd = 1045
[DEBUG] (NvV4l2ElementPlane.cpp:433) <enc1> :Output Plane:Reqbuf returned 6 buffers
[DEBUG] (NvV4l2ElementPlane.cpp:433) <enc1> :Capture Plane:Reqbuf returned 6 buffers
[DEBUG] (NvV4l2ElementPlane.cpp:542) <enc1> :Capture Plane:QueryBuf for 0th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <enc1> :Capture Plane:ExportBuf successful for Buffer 0, Plane 0, fd = 1046
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 0, plane 0 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <enc1> :Capture Plane:QueryBuf for 1th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <enc1> :Capture Plane:ExportBuf successful for Buffer 1, Plane 0, fd = 1047
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 1, plane 0 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <enc1> :Capture Plane:QueryBuf for 2th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <enc1> :Capture Plane:ExportBuf successful for Buffer 2, Plane 0, fd = 1048
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 2, plane 0 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <enc1> :Capture Plane:QueryBuf for 3th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <enc1> :Capture Plane:ExportBuf successful for Buffer 3, Plane 0, fd = 1049
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 3, plane 0 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <enc1> :Capture Plane:QueryBuf for 4th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <enc1> :Capture Plane:ExportBuf successful for Buffer 4, Plane 0, fd = 1050
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 4, plane 0 to
[DEBUG] (NvV4l2ElementPlane.cpp:542) <enc1> :Capture Plane:QueryBuf for 5th buffer successful
[DEBUG] (NvV4l2ElementPlane.cpp:580) <enc1> :Capture Plane:ExportBuf successful for Buffer 5, Plane 0, fd = 1051
[DEBUG] (NvBuffer.cpp:175) <Buffer> Mapped buffer 5, plane 0 to
[DEBUG] (NvV4l2ElementPlane.cpp:467) <conv0> :Output Plane:STREAMON successful
[DEBUG] (NvV4l2ElementPlane.cpp:467) <conv0> :Capture Plane:STREAMON successful
[DEBUG] (NvV4l2ElementPlane.cpp:467) <enc1> :Output Plane:STREAMON successful
[DEBUG] (NvV4l2ElementPlane.cpp:467) <enc1> :Capture Plane:STREAMON successful
[DEBUG] (NvV4l2ElementPlane.cpp:781) <conv0> :Capture Plane:Started DQ Thread
[DEBUG] (NvV4l2ElementPlane.cpp:781) <enc1> :Output Plane:Started DQ Thread
[DEBUG] (NvV4l2ElementPlane.cpp:781) <enc1> :Capture Plane:Started DQ Thread
[DEBUG] (NvV4l2ElementPlane.cpp:716) <conv0> :Capture Plane:Starting DQthread
[DEBUG] (NvV4l2ElementPlane.cpp:716) <enc1> :Capture Plane:Starting DQthread
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:716) <enc1> :Output Plane:Starting DQthread
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 6
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 7
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 8
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 9
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 0
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 1
===== NVENC blits (mode: 1) into block linear surfaces =====
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 1
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 2
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Output Plane:DQed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 0
ENC OUT DQ callback
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Capture Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:763) <enc1> :Output Plane:Exiting DQthread
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 1
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 2
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 3
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 3
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 4
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 4
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 5
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 5
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 6
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 0
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 6
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Output Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 7
[DEBUG] (NvV4l2ElementPlane.cpp:151) <enc1> :Capture Plane:DQed buffer 1
ENC CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <enc1> :Capture Plane:Qed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Capture Plane:DQed buffer 7
CONV CAP DQ callback
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 8
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 9
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 1
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 2
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 3
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 4
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 5
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 6
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 6
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 7
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 7
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 8
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 8
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 9
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 9
[DEBUG] (NvV4l2ElementPlane.cpp:151) <conv0> :Output Plane:DQed buffer 0
[DEBUG] (NvV4l2ElementPlane.cpp:257) <conv0> :Output Plane:Qed buffer 0