[FFmpeg-devel] [PATCH 5/6] avformat/mpegtsenc: fix PCR generation intervals
Andreas Håkon
andreas.hakon at protonmail.com
Fri Aug 9 10:48:13 EEST 2019
Hi Marton,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, 8 de August de 2019 23:27, Marton Balint <cus at passwd.hu> wrote:
> PCR generation was based on counting packets for both CBR and VBR streams.
> Couting packets might have worked for CBR streams (when muxrate was specified)
> but it only took into account the packets of a service (or the packets of the
> PCR stream lately), so even that was problematic for multi program streams.
>
> The new code works on actual PCR for CBR and packet DTS values for VBR streams,
> so the default 20ms PCR retransmission time is now respected for both CBR and
> VBR.
>
> The accuracy of PCR packets for CBR streams was greatly improved by preemtively
> sending them at PCR intervals even if sending the payload of another stream
> is in progress.
>
> Signed-off-by: Marton Balint cus at passwd.hu
[...]
This new version LGTM.
Regards.
A.H.
---
More information about the ffmpeg-devel
mailing list