negative DTS delays

frankw frankw0408 at gmail.com
Wed Feb 18 11:16:39 PST 2015


I am using following simple pipeline to transcode a ts file from mpeg video
to x264 encoded, the encoding process ran fine, as well as playing encoded
ts file with VLC, no issue. But when I try to check the DTS delay (DTS -
STC) of the transcoded stream, I got large variations and lot of negative
numbers, some period even goes to around minus 800ms around. This looks to
me to have violated the decoder buffer model and will eventually cause
decoder buffer underflow, in turn cause video glitches (surprisingly the VLC
s/w player handles this pretty well...).

Does anyone notice this? Is this a mpegtsmux issue, or something else I've
missed? 

gst-launch-1.0 -v filesrc location=...ts ! tsdemux ! video/mpeg ! mpeg2dec !
x264enc ! mpegtsmux ! filesink location=trans.ts

Thanks!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/negative-DTS-delays-tp4670800.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list