<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 1, 2019 at 11:12 AM pisymbol . <<a href="mailto:pisymbol@gmail.com">pisymbol@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Here is a short log of a pipeline starting and stopping:</div><div><br>Available Sensor modes :<br>4104 x 3046 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=12 DynPixelBitDepth=12<br><br>NvCameraSrc: Trying To Set Default Camera Resolution. Selected sensorModeIndex = 0 WxH = 4104x3046 FrameRate = 30.000000 ...<br><br><br>Available Sensor modes :<br>4104 x 3046 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=12 DynPixelBitDepth=12<br><br>NvCameraSrc: Trying To Set Default Camera Resolution. Selected sensorModeIndex = 0 WxH = 4104x3046 FrameRate = 30.000000 ...<br><br>Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4<br>===== MSENC =====<br>NvMMLiteBlockCreate : Block : BlockType = 4<br>NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation<br>NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation<br>Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4<br>===== MSENC =====<br>NvMMLiteBlockCreate : Block : BlockType = 4<br>NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation<br>NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation<br>===== MSENC blits (mode: 1) into tiled surfaces =====<br>===== MSENC blits (mode: 1) into tiled surfaces =====<br>2019-08-01 11:01:40,635 INFO: Stop recording...<br>2019-08-01 11:01:40,672 DEBUG: Stopping recorder pipeline...<br>[21, 17]</div><div><br></div><div>The above is the number of numbers the "handoff" callback was called for the recording. It should be the total number of frames in the stream that landed on the filesystem, right?</div><div><br></div><div>But it's not...</div><div><br></div><div>$ ffprobe -v fatal -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1  capture.mkv</div><div>18</div><div>$ ffprobe -v fatal -count_frames -select_streams v:1 -show_entries stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 capture.mkv</div><div>14</div><div><br></div><div>What am I missing?</div><div><br></div><div>The pertinent pipeline bits are:</div><div><br></div><div>nvcamearsrc ! identity name=tapX ...</div><div><br></div>Why are the number of frames LESS than the number of times "handoff" was called?<br><div><br></div></div></blockquote><div><br></div><div>Is there a way to tell if a GstBuffer is actually frame data? (assuming an element is sending buffers that are NOT frame data???)<br></div><div><br></div><div>-aps<br></div></div></div>