[FFmpeg-devel] libavformat/mpegtsenc: fix incorrect PCR with multiple programs [v2]
Andreas Håkon
andreas.hakon at protonmail.com
Sun Jul 28 22:14:32 EEST 2019
Hi Michael,
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, 28 de July de 2019 16:39, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Sat, Jul 27, 2019 at 08:41:02PM +0000, Andreas Håkon wrote:
>
> > Hi,
> > This newversion fixes all the problems commented in
> > https://patchwork.ffmpeg.org/patch/14036/
> > Now, it works with/without video streams.
> > Regards.
> > A.H.
>
> This causes the stream from ticket/3714 to become noticably bigger
>
> ./ffmpeg -i 3714/FFmpeg\ Sample_cut.ts -vcodec copy -acodec copy -pat_period 1 -sdt_period 1 this_was_less_than_2560000.ts
>
> -rw-r----- 1 michael michael 2700056 Jul 28 16:12 this_was_less_than_2560000.ts
>
> before:
> -rw-r----- 1 michael michael 2559808 Jul 28 16:13 this_was_less_than_2560000.ts
> -rw-r----- 1 michael michael 2560000 Jun 11 2014 3714/FFmpeg Sample_cut.ts
>
> sample should be here: https://trac.ffmpeg.org/raw-attachment/ticket/3714/FFmpeg Sample_cut.ts
>
> [...]
OMG!
Thank you Michael for finding this mistake... I missed a previous code block.
A new fixed version is here:
https://patchwork.ffmpeg.org/patch/14109/
And this new version pass the check with the file "FFmpeg Sample_cut.ts". Identical file size output.
Regards.
A.H.
---
More information about the ffmpeg-devel
mailing list