Stream without "enable-frame-type-reporting=1 " does not works

Hi,
i have a gst pipeline:

            str = g_strdup_printf(
                    "( appsrc  name=mysrc  ! h264parse ! nvv4l2decoder enable-frame-type-reporting=1 ! nvvidconv ! video/x-raw(memory:NVMM), width=%d, height=%d, format=NV12 ! nvv4l2h264enc control-rate=1 bitrate=%d peak-bitrate=%d ! video/x-h264, profile=baseline  ! rtph264pay pt=96 name=pay0 "
                    ")", data->width, data->height, bitrate, peak_bitrate);

it works only if : enable-frame-type-reporting=1
( i know that my camera have SEI warnings … so i think that i must enable-frame-type-reporting for log somethings…)

the log:

NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
NvMMLiteNVMEDIADecSetAttribute:: Error status reporting set to 1
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
FrameType = P
nActiveRefFrames = 0
Frame 0
H264: Profile = 66, Level = 0
FrameType = P
nActiveRefFrames = 1
Frame 1
FrameType = P
nActiveRefFrames = 1
Frame 2
FrameType = P
nActiveRefFrames = 1
Frame 3
FrameType = P
nActiveRefFrames = 1
Frame 4
FrameType = P
nActiveRefFrames = 1
Frame 5
FrameType = P
nActiveRefFrames = 1
Frame 6

how i can redirect the output to some file or disable gststream output. because i want to see another log printing ?

Hi,
Looks like it is GDR stream. For decoding this kind of stream, the property have to be enabled. We have the note in
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/accelerated_gstreamer.html#wwpID0E0220HA

Note
To decode H264/H265 GDR streams you must enable error reporting by setting the property enable-frame-type-reporting to true.
This pipeline is an example:
gst-launch-1.0 filesrc \
location=<filename_h264.mp4> ! \
qtdemux ! queue ! h264parse ! nvv4l2decoder \
enable-frame-type-reporting=1 ! nv3dsink -e

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.