Stream format not found, dropping the frame

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) : Jetson Nano
• DeepStream Version : 6.0.1
• JetPack Version (valid for Jetson only) : 4.6.1
• TensorRT Version : 8.2.1
• NVIDIA GPU Driver Version (valid for GPU only) :
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hi.

I am trying to build UDP Sender and UDP Receiver. Sender does an inference (Pgie). Codes are attached:
factoryreceiverv2-hw-probeli.py (2.3 KB)
factorysenderv2-hw-probeli.py (10.0 KB)

when i try to run program, i receive this output :

(venv) nvidia@nvidia-desktop:~/Desktop/eklenecek/probeli$ python3 factoryreceiverv2-hw-probeli.py
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame

What can i do ?

Thank you.

Could you play the video sended from your sender with VLC or other players?

Yes, I can play the video. Usable and playable. I was getting this error because I misplaced the video. I fixed it and now I can see the video, Thank you.

But now i can’t see bounding boxes. Inference is happening but there is no bounding boxes. I added nvdsosd plugin but it is the same. Updated codes are like this :

factorysenderv2-hw-probeli.py (10.0 KB)
factoryreceiverv2-hw-probeli.py (2.5 KB)

How can i fix this ? If you can help i would be very happy.

Maybe your model didn’t detect any object. You can add probe function to check it,
https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/blob/master/apps/deepstream-test1/deepstream_test_1.py#L37

Same model works with this pipeline (draws bboxes) :

gst-launch-1.0 filesrc location=/home/nvidia/Desktop/eklenecek/people.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=1080 ! nvinfer config-file-path=/home/nvidia/Desktop/kod/bu/son.txt ! nvvideoconvert ! nvdsosd ! nvvideoconvert ! nv3dsink

same config file, same model, same video. I couldn’t understand why my python code acts different.

You code didn’t add and link OSD.

    # pipeline.add(osd)
    # videoconvert1.link(osd)

I am truly sorry, i sent you the wrong files. This is the files that i mentioned (i noticed that i added osd both receiver and sender, but when i unlink the receiver’ osd the result was the same ):

factoryreceiverv2-hw-probeli.py (2.5 KB)

factorysenderv2-hw-probeli.py (15.8 KB)

I also can’t get frame number, my pgie_src_pad_buffer_probe does not work. Can you look at it too ?

Thank you very much.

I really need help with this, please. I am working on it for ~35 hours in total.

Theoretically speaking,this has nothing to do with your receiver. You have verified with pipeline that it is good.
Have you verified it with changing the udpsink to nv3dsink or filesink in your sender code?
Or you can give us your video, models and config file. We can try to reproduce in our env.

Okay, that would be great !

config-file :
son.txt (2.5 KB)

labels file :
labelspeople.txt (17 Bytes)

model :
resnet34_peoplenet_pruned_int8.etlt (8.5 MB)

video :

If you can find why this code can’t draw bounding boxes and why my probe does not work, that would be really awesome, thank you very much !

There is a problem with the way your streamux plugin links. We suggest you refer to our demo code first:
https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/blob/master/apps/deepstream-test1/deepstream_test_1.py#L218

    h264parser.link(decoder)

    sinkpad = streammux.get_request_pad("sink_0")
    if not sinkpad:
        sys.stderr.write(" Unable to get the sink pad of streammux \n")
    srcpad = decoder.get_static_pad("src")
    if not srcpad:
        sys.stderr.write(" Unable to get source pad of decoder \n")
    srcpad.link(sinkpad)
    streammux.link(pgie)

Correctly connecting streammux FIXED IT,

THANK YOU

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