From 5717cd80dcb825efcbcb0b936a02b755cd2d5f62 Mon Sep 17 00:00:00 2001 From: Vishwanath Dixit Date: Mon, 7 May 2018 15:27:51 +0530 Subject: avformat/movenc: creating producer reference time (PRFT) box The producer reference time box supplies relative wall-clock times at which movie fragments, or files containing movie fragments (such as segments) were produced. The box is mainly useful in live streaming use cases. A media player can parse the box and utilize the time fields to measure and improve the latency during real time playout. --- doc/muxers.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/muxers.texi') diff --git a/doc/muxers.texi b/doc/muxers.texi index 80c65420ba..33f1f7bbaf 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1344,6 +1344,16 @@ be negative. This enables the initial sample to have DTS/CTS of zero, and reduces the need for edit lists for some cases such as video tracks with B-frames. Additionally, eases conformance with the DASH-IF interoperability guidelines. +@item -write_prft +Write producer time reference box (PRFT) with a specified time source for the +NTP field in the PRFT box. Set value as @samp{wallclock} to specify timesource +as wallclock time and @samp{pts} to specify timesource as input packets' PTS +values. + +Setting value to @samp{pts} is applicable only for a live encoding use case, +where PTS values are set as as wallclock time at the source. For example, an +encoding use case with decklink capture source where @option{video_pts} and +@option{audio_pts} are set to @samp{abs_wallclock}. @end table @subsection Example -- cgit v1.2.3