Videodecoder invalidating pts after seeking

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Videodecoder invalidating pts after seeking

I am seeing a weird behavior in seeking in videodecoder.

I am using the below pipeline:

"filesrc location=input.avi ! avidemux ! video/x-h264 ! queue ! h264parse !
omxh264dec ! nvvidconv ! video/x-raw, format=GRAY8 ! appsink name=sinkDec
sync=false max-buffers=50 drop=false"

If I perform two consecutive seeks with some wait in between. then the
frames I pull from the appsink have incorrect pts.
One thing I notice is that this happens only if the first seek I performed
is closer to the end of the file.

I have also validated the above problem from the logs.
When this problem occurs, the videodecoder show below logs:

decreasing timestamp (0:01:18.000000000 < 0:01:19.960000000)
invalidating PTS

Can someone help me out why the deocder is invalidating the pts ??

Sent from:
gstreamer-devel mailing list
[hidden email]