diff options
author | Marton Balint <cus@passwd.hu> | 2019-08-08 09:53:10 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-08-23 22:49:01 +0200 |
commit | 2fb550893f7564118ca59765ee5fd1acab819581 (patch) | |
tree | df1f308a1a746106a1951bf4edfecf41fd752222 /doc/muxers.texi | |
parent | 5c119bf189c3a8806991e6909f9dfc2686189e5e (diff) | |
download | ffmpeg-2fb550893f7564118ca59765ee5fd1acab819581.tar.gz |
avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmt
The packet counting based approach caused excessive sdt/pat/pmt for VBR, so
let's use a timestamp based approach instead similar to how we emit PCRs.
SDT/PAT/PMT period should be consistent for both VBR and CBR from now on.
Also change the type of sdt_period and pat_period to AV_OPT_TYPE_DURATION so no
floating point math is necessary.
Fixes ticket #3714.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r-- | doc/muxers.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index c27bfee4f5..20d31b279c 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1624,11 +1624,11 @@ Override the default PCR retransmission time in milliseconds. Default is 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. +@item pat_period @var{duration} +Maximum time in seconds between PAT/PMT tables. Default is @code{0.1}. -@item sdt_period @var{double} -Maximum time in seconds between SDT tables. +@item sdt_period @var{duration} +Maximum time in seconds between SDT tables. Default is @code{0.5}. @item tables_version @var{integer} Set PAT, PMT and SDT version (default @code{0}, valid values are from 0 to 31, inclusively). |