You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally, the PTS generated by kvssink is not monotonic (see the log snippet above). This in turn leads to failures submitting frames to KVS. This failure does not occur at all when the the original PTS of the RTSP stream is used (by setting the use-original-pts option for kvssink to true).
To Reproduce
We're emulating IP cameras so our streaming setup is a little involved. We have two machines, machine1 and machine2. Both machines host RTSP servers on port 8554.
On machine1:
We're streaming an H265 video to the local RTSP server on machine1 via ffmepg:
The RTSP stream relayed from machine should be available at rtsp://localhost:8554/stream_1. We use the following GStreamer pipeline to upload it to KVS:
I've just noticed that although using use-original-pts=true does not produce any 0x32000002 d errors, it generates a stream with an (incorrect) framerate of 500fps and a fragment duration of 0.1s.
@MushMal@disa6302 Do you have any pointers to help debug or mitigate this issue?
Logging
Log snippet with error:
Detailed logs:
kvs_pts.log
original_pts.log
Describe the bug
Occasionally, the PTS generated by
kvssink
is not monotonic (see the log snippet above). This in turn leads to failures submitting frames to KVS. This failure does not occur at all when the the original PTS of the RTSP stream is used (by setting theuse-original-pts
option forkvssink
totrue
).To Reproduce
We're emulating IP cameras so our streaming setup is a little involved. We have two machines,
machine1
andmachine2
. Both machines host RTSP servers on port 8554.On
machine1
:We're streaming an H265 video to the local RTSP server on
machine1
viaffmepg
:We then relay this local RTSP stream to
machine2
:Here is the ffrobe output of the H265 video:
It does not have any B-frames and the GOP is 1s.
On
machine2
:The RTSP stream relayed from
machine
should be available atrtsp://localhost:8554/stream_1
. We use the following GStreamer pipeline to upload it to KVS:Expected behavior
kvssink
should assign monotonically increasing PTS.SDK version number
3.4.1
Platform (please complete the following information):
ubuntu:22.04
The text was updated successfully, but these errors were encountered: