The identity plugin not being called per frame?

pisymbol . pisymbol at gmail.com
Thu Aug 1 15:12:15 UTC 2019


Here is a short log of a pipeline starting and stopping:

Available Sensor modes :
4104 x 3046 FR=30.000000 CF=0x1009208a10 SensorModeType=4
CSIPixelBitDepth=12 DynPixelBitDepth=12

NvCameraSrc: Trying To Set Default Camera Resolution. Selected
sensorModeIndex = 0 WxH = 4104x3046 FrameRate = 30.000000 ...


Available Sensor modes :
4104 x 3046 FR=30.000000 CF=0x1009208a10 SensorModeType=4
CSIPixelBitDepth=12 DynPixelBitDepth=12

NvCameraSrc: Trying To Set Default Camera Resolution. Selected
sensorModeIndex = 0 WxH = 4104x3046 FrameRate = 30.000000 ...

Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block :
BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block :
BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
NvH264MSEncSetCommonStreamAttribute: LevelIdc conformance violation
===== MSENC blits (mode: 1) into tiled surfaces =====
===== MSENC blits (mode: 1) into tiled surfaces =====
2019-08-01 11:01:40,635 INFO: Stop recording...
2019-08-01 11:01:40,672 DEBUG: Stopping recorder pipeline...
[21, 17]

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?

But it's not...

$ ffprobe -v fatal -count_frames -select_streams v:0 -show_entries
stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1  capture.mkv
18
$ ffprobe -v fatal -count_frames -select_streams v:1 -show_entries
stream=nb_read_frames -of default=nokey=1:noprint_wrappers=1 capture.mkv
14

What am I missing?

The pertinent pipeline bits are:

nvcamearsrc ! identity name=tapX ...

Why are the number of frames LESS than the number of times "handoff" was
called?

-aps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190801/8a542e89/attachment.html>


More information about the gstreamer-devel mailing list