[vlc-devel] drop-late-frames behaviour

Rémi Denis-Courmont remi at remlab.net
Wed Apr 4 10:14:36 CEST 2012


   Hello,

On Wed, 4 Apr 2012 09:58:14 +0200, PROMONET Michel
<michel.promonet at thalesgroup.com> wrote:
> I will try to take times to look in src/input/*. 
> I was wondering it was elaborate in modules/demux/mpeg/h264.c or
> modules/packaetizer/h264.c but I did not catch the links between
> manipulated structure and the picture_t in
src/video_output/video_output.c.

In general, the PTS and DTS come from the demuxer (in this case RTP), then
can be mangled by the packetizer, the decoder, filters and output, etc. I
don't know H.264 specifically but my educated guess is that the PTS comes
from the RTP timestamp, and the DTS is inferred by the packetizer since RTP
does not provide any DTS.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list