thanks for the feedbacks , below some answers and v2 is upcoming.
On Thu, Mar 29, 2018 at 1:03 AM, Mark Thompson wrote:
> On 27/03/18 23:07, Maxym Dmytrychenko wrote:
> > On Tue, Mar 27, 2018 at 12:47 AM, Mark Thompson wrote:
> >
> >> On 26/03/18 21:18, Maxym
On 27/03/18 23:07, Maxym Dmytrychenko wrote:
> On Tue, Mar 27, 2018 at 12:47 AM, Mark Thompson wrote:
>
>> On 26/03/18 21:18, Maxym Dmytrychenko wrote:
>>> Starting from API 1.25 helps to improve performance of the simultaneous
>> encode,
>>> 1:N scenario, like:
>>>
>>> ./avconv
> > > a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index
> > > f6b1a0d67..a8b446c5b
> > > 100644
> > > --- a/libavcodec/qsvenc.c
> > > +++ b/libavcodec/qsvenc.c
> > > @@ -135,7 +135,7 @@ static void dump_video_param(AVCodecContext
> > > *avctx, QSVEncContext *q, #if QSV_HAVE_CO2
> > >
On Tue, Mar 27, 2018 at 11:55 AM, Li, Zhong wrote:
> > diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h index
> > 975c8de44..516994a64 100644
> > --- a/libavcodec/qsv_internal.h
> > +++ b/libavcodec/qsv_internal.h
> > @@ -36,6 +36,9 @@
> >
On Tue, Mar 27, 2018 at 12:47 AM, Mark Thompson wrote:
> On 26/03/18 21:18, Maxym Dmytrychenko wrote:
> > Starting from API 1.25 helps to improve performance of the simultaneous
> encode,
> > 1:N scenario, like:
> >
> > ./avconv -y -hwaccel qsv -c:v h264_qsv -r 3/1001 -i
> >
> diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h index
> 975c8de44..516994a64 100644
> --- a/libavcodec/qsv_internal.h
> +++ b/libavcodec/qsv_internal.h
> @@ -36,6 +36,9 @@
> (MFX_VERSION_MAJOR > (MAJOR) || \
> MFX_VERSION_MAJOR == (MAJOR) &&
On 26/03/18 21:18, Maxym Dmytrychenko wrote:
> Starting from API 1.25 helps to improve performance of the simultaneous
> encode,
> 1:N scenario, like:
>
> ./avconv -y -hwaccel qsv -c:v h264_qsv -r 3/1001 -i
> ~/bbb_sunflower_1080p_60fps_normal.mp4 -vframes 600 -an \
> -filter_complex
On 26/03/2018 22:18, Maxym Dmytrychenko wrote:
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index f31172de2..b45216291 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -332,7 +332,6 @@ static int qsv_decode(AVCodecContext *avctx, QSVContext *q,
av_freep();