Videodecoder invalidating pts after seeking
shubhamr
rastogishubham20 at gmail.com
Tue Apr 17 09:42:02 UTC 2018
Hi,
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:
videodecoder
gstvideodecoder.c:2737:gst_video_decoder_prepare_finish_frame:<omxh264dec-omxh264dec0>
decreasing timestamp (0:01:18.000000000 < 0:01:19.960000000)
videodecoder
gstvideodecoder.c:2700:gst_video_decoder_prepare_finish_frame:<omxh264dec-omxh264dec0>
invalidating PTS
Can someone help me out why the deocder is invalidating the pts ??
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list