Re: [FFmpeg-devel] [PATCH v2] avformat/mpegts: reduce buffering during initialization

2019-03-06 Thread Marton Balint
On Wed, 6 Mar 2019, Andriy Gelman wrote: From: Andriy Gelman Reduces buffering latency with low bitrate streams, where 8192 bytes can mean several seconds. --- libavformat/mpegts.c | 60 +++- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH v2] avformat/mpegts: reduce buffering during initialization

2019-03-06 Thread Andriy Gelman
> Would it be an alternative to add an option that allows to force > the packet size? I like the idea. I guess the options are: 1. Set packet size + Use old version (fixed 8192 buffer) to estimate parameter if not set by user. 2. Set packet size + Use new version (adaptive buffer) to estimate para

Re: [FFmpeg-devel] [PATCH v2] avformat/mpegts: reduce buffering during initialization

2019-03-05 Thread Carl Eugen Hoyos
2019-03-06 7:01 GMT+01:00, Andriy Gelman : > From: Andriy Gelman > > Reduces buffering latency with low bitrate streams, where > 8192 bytes can mean several seconds. Would it be an alternative to add an option that allows to force the packet size? Carl Eugen _

[FFmpeg-devel] [PATCH v2] avformat/mpegts: reduce buffering during initialization

2019-03-05 Thread Andriy Gelman
From: Andriy Gelman Reduces buffering latency with low bitrate streams, where 8192 bytes can mean several seconds. --- libavformat/mpegts.c | 60 +++- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts