Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-06-06 Thread Stefano Sabatini
On date Saturday 2017-05-27 00:07:38 +0200, Michael Niedermayer encoded: > On Wed, May 24, 2017 at 10:31:10AM +0200, Stefano Sabatini wrote: [...] > > mpegvideo_enc.c |6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > 0fa1dff6e9dbb5122cbea81ba56eb1892a0bb398 > > 0003-lavc-mpe

Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-26 Thread Michael Niedermayer
On Wed, May 24, 2017 at 10:31:10AM +0200, Stefano Sabatini wrote: > On date Tuesday 2017-05-23 15:07:31 +0200, Moritz Barsnick encoded: > > On Tue, May 23, 2017 at 12:28:48 +0200, Stefano Sabatini wrote: > > > -if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO) { > > > +if (s->codec_id != A

Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-24 Thread Stefano Sabatini
On date Tuesday 2017-05-23 15:07:31 +0200, Moritz Barsnick encoded: > On Tue, May 23, 2017 at 12:28:48 +0200, Stefano Sabatini wrote: > > -if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO) { > > +if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO && > > +s->strict_std_compliance >= FF_C

Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-23 Thread Moritz Barsnick
On Tue, May 23, 2017 at 12:28:48 +0200, Stefano Sabatini wrote: > -if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO) { > +if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO && > +s->strict_std_compliance >= FF_COMPLIANCE_NORMAL) { > av_log(avctx, AV_LOG_ERROR, > -

Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-23 Thread Steven Liu
2017-05-23 18:28 GMT+08:00 Stefano Sabatini : > Forcing low_delay can be useful, even if not officially supported. > --- > libavcodec/mpegvideo_enc.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c > index db241

[FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-23 Thread Stefano Sabatini
Forcing low_delay can be useful, even if not officially supported. --- libavcodec/mpegvideo_enc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index db241c8..1123788 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/li