Re: [FFmpeg-devel] [PATCH 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-21 Thread lance . lmwang
On Wed, Oct 21, 2020 at 03:41:00PM -0400, Devin Heitmueller wrote: > On Wed, Oct 21, 2020 at 9:48 AM wrote: > > > > From: Limin Wang > > > > now first_pts assume dts will start from zero, if it's not true(copyts is > > enable), > > too many null packet will be inserted for cbr output. > > > >

Re: [FFmpeg-devel] [PATCH 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-21 Thread Devin Heitmueller
On Wed, Oct 21, 2020 at 9:48 AM wrote: > > From: Limin Wang > > now first_pts assume dts will start from zero, if it's not true(copyts is > enable), > too many null packet will be inserted for cbr output. > > Please test with below command, you'll get huge test.ts without the patch: > ./ffmpeg

[FFmpeg-devel] [PATCH 2/3] avformat/mpegtsenc: make first_pcr sync with the first valid dts

2020-10-21 Thread lance . lmwang
From: Limin Wang now first_pts assume dts will start from zero, if it's not true(copyts is enable), too many null packet will be inserted for cbr output. Please test with below command, you'll get huge test.ts without the patch: ./ffmpeg -y -copyts -i ../fate-suite/mpegts/loewe.ts -c:v