Hi everyone,
Another post from me ![]()
I tried the official AI annotated video with RTSP
Issue
When using the dgstreams.VideoStreamerGizmo, only the very first frame is streamed.
After that the stream freezes and no new frames are pushed to the RTSP server.
The only difference from the example Notebook is that I am NOT using:
with degirum_tools.MediaServer():
I already run MediaMTX as a Docker container, with a listener on:
"rtsp://localhost:8554/live" so Iām skipping the embedded MediaServer and pushing frames directly to MediaMTX.
What happens
- Pipeline starts normally
- First frame is processed and streamed
- Streaming then hangs indefinitely
- Tried enabling
allow_drop=Trueā no change
Working test
If I forward the same RTSP input through ffmpeg, MediaMTX accepts frames perfectly:
ffmpeg \
-rtsp_transport tcp \
-fflags nobuffer -flags low_delay \
-i "rtsp://..." \
-c copy -muxdelay 0 -muxpreload 0 \
-f rtsp -rtsp_transport tcp \
"rtsp://localhost:8554/live"
So MediaMTX is working and reachable.
Question
Could someone verify whether this is:
- a misconfiguration on my side, or
- a possible bug in
degirum_tools.VideoStreamerGizmo?
Why would ffmpeg stream correctly while the VideoStreamerGizmo freezes after the first frame?
Any insights or debugging pointers appreciated!
Thanks ![]()