Frames are not output correctly
Jeff Shanab
jshanab at jfs-tech.com
Fri Jun 3 22:54:53 UTC 2022
I have seen a lot of issues with IPCameras I work with a ton of IP cameras.
But I currently use a different library. Not GStreamer. (I have only played
with it)
This looks like the case when some I frames are dropped or incomplete
Now the rtspsrc at the beginning of the pipeline may be running udp which
would make it more susceptible to any programming or network delays.
" RTSP supports transport over TCP or UDP in unicast or multicast mode. By
default rtspsrc will negotiate a connection in the following order: UDP
unicast/UDP multicast/TCP. The order cannot be changed but the allowed
protocols can be controlled with the property."
I do not remember the property to disable udp so it uses tcp.
but nowadays, imho, tcp works a lot better.
the guys who say udp has lower overhead and therefore helps in
bandwidth constrained cases was jpeg or audio 10 years ago.
TCP now has fast retransmit and it is not uncommon for a single IFrame
to need a few hundred packets. Miss one and you get what I call
"Vangoughing"
enjoy
On Fri, Jun 3, 2022 at 11:41 AM Bilel Bghiel via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:
> Hello
>
> I'm currently using the following setup:
>
> 9 IP camera's:
> RTSPsrc - rtph264depay - h264parse - tee
>
> VideoWriter
> Input-selector - tee - avdec264 - <video editing stuff > - videorate -
> avenc_flv - flvmux - RTMPsink OR filesink
>
> I have 9 camera's which are all connected to the videowriter
> input-selector. This works fine. Now when switching the camera's the screen
> seems to freeze, only changing the pixels where they are different.
>
> Demo: https://www.youtube.com/watch?v=GJU1eRMgKt0
> (e.g: 0:26, 0:35)
>
> I've been playing around with I-frame settings on the camera's. Which I
> now set to 1. But still I get the results as seen in the video. Has anybody
> ever seen this before? And know how to fix this?
>
> Thanks in advance
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220603/4e103572/attachment.htm>
More information about the gstreamer-devel
mailing list