Re: [FFmpeg-devel] [PATCH] ffmpeg_qsv: use -hwaccel_device to specify a device for VAAPI backend

2020-09-03 Thread Rogozhkin, Dmitry V
On Thu, 2020-09-03 at 12:59 +0800, myp...@gmail.com wrote: > On Thu, Sep 3, 2020 at 9:21 AM Xiang, Haihao > wrote: > > > > On Wed, 2020-09-02 at 14:04 +, Soft Works wrote: > > > > -Original Message- > > > > From: ffmpeg-devel On Behalf > > > > Of > > > > Rogozhkin, Dmitry V > > > > S

Re: [FFmpeg-devel] [PATCH 3/5] avcodec: add MobiClip video decoder

2020-09-03 Thread Paul B Mahol
On 9/1/20, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile |1 + > libavcodec/allcodecs.c |1 + > libavcodec/codec_desc.c |7 + > libavcodec/codec_id.h |1 + > libavcodec/mobiclip.c | 1427 +++ > 5 files c

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/moflex.c | 360 +++ > 3 files changed, 362 insertions(+) > create mode 100644 libavformat/moflex.c > > diff --git a/lib

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Paul B Mahol
On 9/3/20, Andreas Rheinhardt wrote: > Paul B Mahol: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/Makefile | 1 + >> libavformat/allformats.c | 1 + >> libavformat/moflex.c | 360 +++ >> 3 files changed, 362 insertions(+) >> create mode 10

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Andreas Rheinhardt
Paul B Mahol: > On 9/3/20, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> Signed-off-by: Paul B Mahol >>> --- >>> libavformat/Makefile | 1 + >>> libavformat/allformats.c | 1 + >>> libavformat/moflex.c | 360 +++ >>> 3 files changed, 362 insertion

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Paul B Mahol
On 9/3/20, Andreas Rheinhardt wrote: > Paul B Mahol: >> On 9/3/20, Andreas Rheinhardt wrote: >>> Paul B Mahol: Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/moflex.c | 360

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Andreas Rheinhardt
Paul B Mahol: > On 9/3/20, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> On 9/3/20, Andreas Rheinhardt wrote: Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/moflex.c | 360

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Paul B Mahol
On 9/3/20, Andreas Rheinhardt wrote: > Paul B Mahol: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/Makefile | 1 + >> libavformat/allformats.c | 1 + >> libavformat/moflex.c | 360 +++ >> 3 files changed, 362 insertions(+) >> create mode 10

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Andreas Rheinhardt
Paul B Mahol: > On 9/3/20, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> Signed-off-by: Paul B Mahol >>> --- >>> libavformat/Makefile | 1 + >>> libavformat/allformats.c | 1 + >>> libavformat/moflex.c | 360 +++ >>> 3 files changed, 362 insertion

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Paul B Mahol
On 9/3/20, Andreas Rheinhardt wrote: > Paul B Mahol: >> On 9/3/20, Andreas Rheinhardt wrote: >>> Paul B Mahol: Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/moflex.c | 360

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Paul B Mahol
On 9/3/20, Andreas Rheinhardt wrote: > Paul B Mahol: >> On 9/3/20, Andreas Rheinhardt wrote: >>> Paul B Mahol: Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/moflex.c | 360

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Andreas Rheinhardt
Paul B Mahol: > On 9/3/20, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> On 9/3/20, Andreas Rheinhardt wrote: Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/moflex.c | 360

Re: [FFmpeg-devel] [PATCH 4/5] avformat: add moflex demuxer

2020-09-03 Thread Andreas Rheinhardt
Paul B Mahol: > On 9/3/20, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> On 9/3/20, Andreas Rheinhardt wrote: Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/moflex.c | 360

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mov: Fix return type used for av_seek in mfra code

2020-09-03 Thread Derek Buitenhuis
On 01/09/2020 16:03, Derek Buitenhuis wrote: > It should be a 64-bit integer, otherwise it overflows and fails > on files greater than 2GB on some systems like x86_64 Linux. > > Signed-off-by: Derek Buitenhuis > --- > libavformat/mov.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Pin

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mov: Fix return type used for av_seek in mfra code

2020-09-03 Thread Paul B Mahol
On 9/1/20, Derek Buitenhuis wrote: > It should be a 64-bit integer, otherwise it overflows and fails > on files greater than 2GB on some systems like x86_64 Linux. > > Signed-off-by: Derek Buitenhuis > --- > libavformat/mov.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[FFmpeg-devel] [PATCH] tests: fix warning ISO C90 forbids mixed declarations and code

2020-09-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/checkasm/vf_hflip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/vf_hflip.c b/tests/checkasm/vf_hflip.c index 48ebf85..2d6fdec 100644 --- a/tests/checkasm/vf_hflip.c +++ b/tests/checkasm/vf_hflip.c @@ -40

Re: [FFmpeg-devel] request to upload sample

2020-09-03 Thread Paul B Mahol
On 9/1/20, Paul B Mahol wrote: > Hi. > > Please upload this file to FATE servers. > > http://trac.ffmpeg.org/raw-attachment/ticket/8872/200828-005.wav > > Will add chapter/cue test later. > Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org htt

Re: [FFmpeg-devel] [PATCH] [GSoC v3 1/7] avformat/abr: Adaptive Bitrate support

2020-09-03 Thread Steven Liu
> 在 2020年8月23日,20:23,Hongcheng Zhong 写道: > > From: spartazhc > > Add abr module for hls/dash. > > Signed-off-by: spartazhc > > v1 fixed: > 1. add an "ff" prefix to the protocol name to mark it internal. > 2. use 1.2f for float constant 1.2. > 3. simplify abr_seek for we just need AVSEEK_SI

Re: [FFmpeg-devel] [PATCH] [GSoC v3 6/7] avformat/hls add metadata "abr_initial" for ffplay

2020-09-03 Thread Steven Liu
> 在 2020年8月23日,20:23,Hongcheng Zhong 写道: > > From: spartazhc > > Add an AVDictionary option "abr_initial", which could be used to send > message to ffplay. Currently, the first entry "abr_init_duration" is > added. > > Signed-off-by: spartazhc > --- > doc/demuxers.texi | 3 +++ > libavforma

Re: [FFmpeg-devel] [PATCH] [GSoC v3 5/7] ffplay: add an option to enable abr

2020-09-03 Thread Steven Liu
> 在 2020年8月23日,20:23,Hongcheng Zhong 写道: > > From: spartazhc > > Add abr option, ffplay can play hls using abr by: > ffplay -i http://xxx/master.m3u8 -abr > > Structure ABRList is added to save stream type and index, it is > used to allow packet_queue_put function to put pkt which from same

[FFmpeg-devel] [PATCH 2/2] Add mutithread function for dnn_backend_native_layer_conv2d.c

2020-09-03 Thread xujunzz
From: Xu Jun Use pthread to multithread dnn_execute_layer_conv2d. Can be tested with command "./ffmpeg_g -i input.png -vf \ format=yuvj420p,dnn_processing=dnn_backend=native:model= \ espcn.model:input=x:output=y:options=conv2d_threads=23 \ -y sr_native.jpg -benchmark" before patch: utime=11.238

[FFmpeg-devel] [PATCH 1/2] dnn_backend_native.c: parse options in native backend

2020-09-03 Thread xujunzz
From: Xu Jun Signed-off-by: Xu Jun --- libavfilter/dnn/dnn_backend_native.c | 22 -- libavfilter/dnn/dnn_backend_native.h | 13 + 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_native.c b/libavfilter/dnn/dnn_backend_n

Re: [FFmpeg-devel] [aarch64] yuv2planeX - unroll outer loop by 4 to increase performance by 6.3%

2020-09-03 Thread Sebastian Pop
On Wed, Aug 19, 2020 at 6:55 AM Michael Niedermayer wrote: > faster is better obviously, so if its tested with odd sizes and arm > developers had a chance to comment. it should be ok Hi, I'm looking for feedback from ARM maintainers on the attached patch. Ok to commit the patch? Thanks, Sebast

[FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Paul B Mahol
get_unary() takes at minimum only 1 bit. Signed-off-by: Paul B Mahol --- As this is important fix, will apply in next 5 minutes. I kindly ask authors of various timeouts changes to kindly test their changes more carefully. --- libavcodec/dxtory.c | 10 +- 1 file changed, 5 insertions(+

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Nicolas George
Paul B Mahol (12020-09-03): > get_unary() takes at minimum only 1 bit. > > Signed-off-by: Paul B Mahol > --- > > As this is important fix, will apply in next 5 minutes. Five minutes, for an important fix of a commit that was there for eighteen months? Please. Like any other fix, wait for revie

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread James Almer
On 9/3/2020 2:03 PM, Paul B Mahol wrote: > get_unary() takes at minimum only 1 bit. > > Signed-off-by: Paul B Mahol > --- > > As this is important fix, will apply in next 5 minutes. > I kindly ask authors of various timeouts changes to kindly > test their changes more carefully. That change is

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Paul B Mahol
On 9/3/20, Nicolas George wrote: > Paul B Mahol (12020-09-03): >> get_unary() takes at minimum only 1 bit. >> >> Signed-off-by: Paul B Mahol >> --- >> >> As this is important fix, will apply in next 5 minutes. > > Five minutes, for an important fix of a commit that was there for > eighteen months

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Nicolas George
Paul B Mahol (12020-09-03): > I wondered will you get bait Was this the only reason you threatened to commit without review? -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https:

[FFmpeg-devel] [PATCH] avformat/dashdec: only limit DASH manifest size according to AVBprint limits

2020-09-03 Thread Jan Ekström
Currently the API is internally limited to unsigned integers, so if we limit the file size as well as the amount to read to UINT_MAX - 1, we do not require additional limiting to be performed on the values. This change is based on the fact that initially the 8*1024 value added in 96d70694aea64616c

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mov: Fix return type used for av_seek in mfra code

2020-09-03 Thread Derek Buitenhuis
On 03/09/2020 14:47, Paul B Mahol wrote: > Of course LGTM. Pushed. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org

[FFmpeg-devel] [PATCH] avformat/yuv4mpegenc: simplify writing the header

2020-09-03 Thread James Almer
Actually write it in yuv4_write_header() instead of with the first packet. Signed-off-by: James Almer --- libavformat/yuv4mpegenc.c | 35 ++- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/libavformat/yuv4mpegenc.c b/libavformat/yuv4mpegenc.c inde

Re: [FFmpeg-devel] [PATCH] avformat/yuv4mpegenc: simplify writing the header

2020-09-03 Thread Paul B Mahol
On 9/3/20, James Almer wrote: > Actually write it in yuv4_write_header() instead of with the first > packet. > > Signed-off-by: James Almer > --- > libavformat/yuv4mpegenc.c | 35 ++- > 1 file changed, 14 insertions(+), 21 deletions(-) > Nice catch, LGTM > diff

Re: [FFmpeg-devel] [PATCH v3] avformat: add mca demuxer

2020-09-03 Thread Paul B Mahol
On 9/3/20, liush...@aosc.io wrote: > From: Zixing Liu > > Signed-off-by: liushuyu > --- > Changelog| 1 + > doc/general.texi | 2 + > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/mca.c| 228 ++

Re: [FFmpeg-devel] [PATCH] avformat/yuv4mpegenc: simplify writing the header

2020-09-03 Thread James Almer
On 9/3/2020 4:16 PM, Paul B Mahol wrote: > On 9/3/20, James Almer wrote: >> Actually write it in yuv4_write_header() instead of with the first >> packet. >> >> Signed-off-by: James Almer >> --- >> libavformat/yuv4mpegenc.c | 35 ++- >> 1 file changed, 14 insertion

Re: [FFmpeg-devel] [PATCH 2/2] Add mutithread function for dnn_backend_native_layer_conv2d.c

2020-09-03 Thread Michael Niedermayer
On Thu, Sep 03, 2020 at 11:57:24PM +0800, xuju...@sjtu.edu.cn wrote: > From: Xu Jun > > Use pthread to multithread dnn_execute_layer_conv2d. > Can be tested with command "./ffmpeg_g -i input.png -vf \ > format=yuvj420p,dnn_processing=dnn_backend=native:model= \ > espcn.model:input=x:output=y:opti

Re: [FFmpeg-devel] [PATCH v3] avformat: add mca demuxer

2020-09-03 Thread Carl Eugen Hoyos
Am Do., 3. Sept. 2020 um 01:17 Uhr schrieb : > +static int probe(const AVProbeData *p) > +{ > +if (AV_RL32(p->buf) == MKTAG('M', 'A', 'D', 'P') && > +AV_RL16(p->buf + 4) <= 0xff) > +return AVPROBE_SCORE_MAX / 3 * 2; > +return 0; > +} > +if (version <= 4) { > +/

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Michael Niedermayer
On Thu, Sep 03, 2020 at 07:03:23PM +0200, Paul B Mahol wrote: > get_unary() takes at minimum only 1 bit. > > Signed-off-by: Paul B Mahol > --- > > As this is important fix, will apply in next 5 minutes. > I kindly ask authors of various timeouts changes to kindly > test their changes more carefu

Re: [FFmpeg-devel] [PATCH v3] avformat: add mca demuxer

2020-09-03 Thread liushuyu
On 2020-09-03 13:31, Paul B Mahol wrote: On 9/3/20, liush...@aosc.io wrote: From: Zixing Liu Signed-off-by: liushuyu --- Changelog| 1 + doc/general.texi | 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/mca.c| 228 ++

Re: [FFmpeg-devel] [PATCH v3] avformat: add mca demuxer

2020-09-03 Thread liushuyu
On 2020-09-03 14:17, Carl Eugen Hoyos wrote: Am Do., 3. Sept. 2020 um 01:17 Uhr schrieb : +static int probe(const AVProbeData *p) +{ +if (AV_RL32(p->buf) == MKTAG('M', 'A', 'D', 'P') && +AV_RL16(p->buf + 4) <= 0xff) +return AVPROBE_SCORE_MAX / 3 * 2; +return 0; +} +

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Paul B Mahol
On 9/3/20, Michael Niedermayer wrote: > On Thu, Sep 03, 2020 at 07:03:23PM +0200, Paul B Mahol wrote: >> get_unary() takes at minimum only 1 bit. >> >> Signed-off-by: Paul B Mahol >> --- >> >> As this is important fix, will apply in next 5 minutes. >> I kindly ask authors of various timeouts chan

[FFmpeg-devel] [PATCH 1/3] avcodec/dxtory: unbreak decoding after 6e1a167c556

2020-09-03 Thread Paul B Mahol
get_unary() takes at minimum only 1 bit. Signed-off-by: Paul B Mahol --- libavcodec/dxtory.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c index bc19f27951..3cd95afe80 100644 --- a/libavcodec/dxtory.c +++ b/libavcodec/dxt

[FFmpeg-devel] [PATCH 3/3] avcodec/dxtory: add missed rgb555/rgb565 formats for vflip case

2020-09-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/dxtory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c index 9e7ba3e94d..3eac0bfb3c 100644 --- a/libavcodec/dxtory.c +++ b/libavcodec/dxtory.c @@ -62,6 +62,8 @@ static void do_vflip(AVCodecContext *avctx,

[FFmpeg-devel] [PATCH v4 0/1] avformat: add mca demuxer

2020-09-03 Thread liushuyu
From: liushuyu This patch adds the MCA demuxer to FFmpeg. MCA is a format used by Capcom in some of their games, the audio format is always ADPCM_THP_LE in these files. This MCA demuxer implementation currently supports MCA version 1-5 and can partially handle some of the version 5 files with m

[FFmpeg-devel] [PATCH v4 1/1] avformat: add mca demuxer

2020-09-03 Thread liushuyu
From: Zixing Liu Signed-off-by: liushuyu --- Changelog| 1 + doc/general.texi | 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/mca.c| 226 +++ libavformat/version.h| 2 +- 6 files

[FFmpeg-devel] [PATCH 2/3] avcodec/dxtory: support subsample formats with non-aligned dimensions

2020-09-03 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/dxtory.c | 185 1 file changed, 171 insertions(+), 14 deletions(-) diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c index 3cd95afe80..9e7ba3e94d 100644 --- a/libavcodec/dxtory.c +++ b/libavcodec/dxtory.

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_h265: fix max_transform_hierarchy_depth_inter/intra

2020-09-03 Thread Linjie Fu
On Thu, Sep 3, 2020 at 1:32 PM Xiang, Haihao wrote: > > On Mon, 2020-04-13 at 13:06 +, Fu, Linjie wrote: > > > From: ffmpeg-devel On Behalf Of > > > Mark Thompson > > > Sent: Monday, April 13, 2020 20:20 > > > To: ffmpeg-devel@ffmpeg.org > > > Subject: Re: [FFmpeg-devel] [PATCH] lavc/vaapi_en

Re: [FFmpeg-devel] [PATCH v4 1/2] libavcodec/webp: add support for animated WebP decoding

2020-09-03 Thread Lynne
Aug 28, 2020, 06:23 by jo...@pex.com: > Fixes: 4907 > > Adds support for decoding of animated WebP. > > The WebP parser now splits the input stream into packets containing one frame. > > The WebP decoder adds the animation related features according to the specs: > https://developers.google.com/sp