diff options
author | Marton Balint <cus@passwd.hu> | 2019-08-13 00:32:11 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-08-23 23:49:01 +0300 |
commit | 8bf732cda69bb93be200f8f7e56ee97dd44ad334 (patch) | |
tree | b1aea10887967df680877f971dcad79dbf559e99 /doc | |
parent | 6f499ae3904be8ee6c64eebfed08dc7b02057848 (diff) |
avformat/mpegtsenc: add support for setting PCR interval for VBR streams
Also document the algorithm for the default PCR interval.
Fixes ticket #8061.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/muxers.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 019eee6145..c27bfee4f5 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1619,8 +1619,10 @@ is @code{-1}, which results in shifting timestamps so that they start from 0. Omit the PES packet length for video packets. Default is @code{1} (true). @item pcr_period @var{integer} -Override the default PCR retransmission time in milliseconds. Ignored if -variable muxrate is selected. Default is @code{20}. +Override the default PCR retransmission time in milliseconds. Default is +@code{-1} which means that the PCR interval will be determined automatically: +20 ms is used for CBR streams, the highest multiple of the frame duration which +is less than 100 ms is used for VBR streams. @item pat_period @var{double} Maximum time in seconds between PAT/PMT tables. |