Skip to content

[QUESTION] kvssink keeps dropping frames from an rtsp source #1008

Answered by jdelapla
floatingpurr asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, so I went through the logs and as suspected it is a timestamp corruption issue.

2023-05-09 09:18:27 [140627329136192] DEBUG - Dropping frame with flag: 1536, PTS: 208075878, DTS: 18446744073709551615 for YourStreamName

The DTS value is a max int value. If this is not correctable by the source then you can edit this line in the kvssink:

(GST_BUFFER_FLAG_IS_SET(buf, GST_BUFFER_FLAG_HEADER) && (!GST_BUFFER_PTS_IS_VALID(buf) || !GST_BUFFER_DTS_IS_VALID(buf)));

And remove the check on the DTS.

so this line should now be something like:

                        (GST_BUFFER_FLAG…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jdelapla
Comment options

Comment options

You must be logged in to vote
1 reply
@jdelapla
Comment options

Comment options

You must be logged in to vote
3 replies
@jdelapla
Comment options

Answer selected by floatingpurr
@floatingpurr
Comment options

@jdelapla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Timestamp Issues related to time/timestamp/indexing
3 participants
Converted from issue

This discussion was converted from issue #1007 on May 02, 2023 03:10.