[FFmpeg-devel] Create MISB Video

2019-02-20 Thread Francisco José Raga López
Hi Some time ago I developed an alternative opensource for analysis of MISB videos, https://github.com/All4Gis/QGISFMV and together with a colleague, a parser of MISB videos to extract the telemetry using ffmpeg in python. https://github.com/paretech/klvdata Now I would like to develop a

Re: [FFmpeg-devel] [PATCH] avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions

2019-02-20 Thread gxw
> 在 2019年2月21日,上午9:55,Shiyou Yin 写道: > >> -Original Message- >> From: ffmpeg-devel-boun...@ffmpeg.org >> >> [mailto:ffmpeg-devel-boun...@ffmpeg.org >> ] On Behalf Of gxw >> Sent: Tuesday, February 19,

[FFmpeg-devel] [PATCH] avformat/avformat.h: update the comment from deprecated to new API

2019-02-20 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/avformat.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fdaffa5bf4..12cc8387ed 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -36,15 +36,14 @@ *

[FFmpeg-devel] [PATCH v2 2/2] avformat/dashenc: Added comments

2019-02-20 Thread Karthick J
Added comments regarding usage of certain movflags in streaming mode. --- libavformat/dashenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index a0b44a0ec3..c5e882f4ae 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-02-20 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Li, Zhong > Sent: Thursday, February 21, 2019 2:01 PM > To: Rogozhkin, Dmitry V ; > ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder >

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-02-20 Thread Li, Zhong
> > @@ -90,6 +90,17 @@ static av_cold int qsv_decode_init(AVCodecContext > > *avctx) > >  } > >  #endif > > > > +#if CONFIG_VP9_QSV_DECODER > > +if (avctx->codec_id == AV_CODEC_ID_VP9) { > > +static const char *uid_vp9dec_hw = > > "a922394d8d87452f878c51f2fc9b4131"; > > Should not

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-20 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Thursday, February 21, 2019 5:32 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current > parser with MFXVideoDECODE_DecodeHeader() > > On

Re: [FFmpeg-devel] [PATCH v2 4/6] lavc/qsvdec: remove orignal parser code since not needed now

2019-02-20 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Thursday, February 21, 2019 5:23 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 4/6] lavc/qsvdec: remove orignal > parser code since not needed now > > On 20/02/2019 02:58,

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-02-20 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Thursday, February 21, 2019 8:23 AM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder > support > > 2019-02-20 3:58

[FFmpeg-devel] [PATCH 0/5] Clean up CUDA SDK usage and remove non-free requirement

2019-02-20 Thread Philip Langdale
I've been thinking about this for a while, but I only recently made the realisation that compiling cuda kernels to the ptx format does not introduce any non-free dependencies - the ptx files are an intermediate assembly code format that is actually compiled to binary form at runtime. With that

[FFmpeg-devel] [PATCH 2/5] avfilter/vf_yadif_cuda: Switch to using ffnvcodec

2019-02-20 Thread Philip Langdale
This change switches the vf_thumbnail_cuda filter from using the full cuda sdk to using the ffnvcodec headers and loader. Signed-off-by: Philip Langdale --- configure | 2 +- libavfilter/vf_yadif_cuda.c | 58 - 2 files changed, 32

[FFmpeg-devel] [PATCH 5/5] configure: Remove cuda_sdk dependency option

2019-02-20 Thread Philip Langdale
With all of our existing users of cuda_sdk switched over to ffnvcodec, we could remove cuda_sdk completely and say that we should no longer add code that requires the full sdk, and rather insist that such code only use ffnvcodec, and avoid any non-free complications. As discussed previously, the

[FFmpeg-devel] [PATCH 3/5] avfilter/vf_scale_cuda: Switch to using ffnvcodec

2019-02-20 Thread Philip Langdale
This change switches the vf_scale_cuda filter from using the full cuda sdk to using the ffnvcodec headers and loader. Most of the change is a direct mapping, but I also switched from using texture references to using texture objects. This is supposed to be the preferred way of using textures, and

[FFmpeg-devel] [PATCH 4/5] avfilter/vf_thumbnail_cuda: Switch to using ffnvcodec

2019-02-20 Thread Philip Langdale
This change switches the vf_thumbnail_cuda filter from using the full cuda sdk to using the ffnvcodec headers and loader. Most of the change is a direct mapping, but I also switched from using texture references to using texture objects. This is supposed to be the preferred way of using textures,

[FFmpeg-devel] [PATCH 1/5] configure: Add an explicit check and option for nvcc

2019-02-20 Thread Philip Langdale
The use of nvcc to compile cuda kernels is distinct from the use of cuda sdk libraries and linking against those libraries. We have previously not bothered to distinguish these two cases because all the filters that used cuda kernels also used the sdk. In the following changes, I'm going to remove

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix hang while seek on a kind of fragmented mp4.

2019-02-20 Thread C.H.Liu
There was a quick solution at aa25198f1b925a464bdfa83a98476f08d26c9209, which luckily works for #7572. To reproduce issue, you can switch to the commit just before it. As we discussed, #7572 has a deeper reason. We missed the last ‘sidx’ and ‘moof’ boxes. This patch try to fix AV_NOPTS_VALUE in

Re: [FFmpeg-devel] [PATCH] avutil/mem: Mark DECLARE_ASM_ALIGNED as visibility("hidden") for __GNUC__

2019-02-20 Thread Fāng-ruì Sòng
> Why is it a good idea to remove them from the linker command line? In short, it improves portability. I'm not suggesting removing -Bsymbolic or --version-script from the ffmpeg build system. I mean users will no longer have to specify the two options to link ffmpeg object files into their own

Re: [FFmpeg-devel] [PATCH] avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions

2019-02-20 Thread Shiyou Yin
>-Original Message- >From: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] >On Behalf Of gxw >Sent: Tuesday, February 19, 2019 11:02 AM >To: ffmpeg-devel@ffmpeg.org >Cc: gxw >Subject: [FFmpeg-devel] [PATCH] avcodec/mips: [loongson] mmi optimizations for >VP9 put

Re: [FFmpeg-devel] [PATCH] avutil/mem: Mark DECLARE_ASM_ALIGNED as visibility("hidden") for __GNUC__

2019-02-20 Thread Fāng-ruì Sòng
Sorry if this doesn't attach to the correct thread as I didn't subscribe to this list and don't know the Message-ID of the thread. > The word "also" indicates here that this should be an independent patch. I added `#if defined(__GNUC__) && !(defined(_WIN32) || defined(__CYGWIN__))`, not `#if

Re: [FFmpeg-devel] dav1d support

2019-02-20 Thread Lou Logan
On Wed, Feb 20, 2019, at 3:39 PM, Patel, Dhaval R wrote: > > Does anyone aware about targeted dates for Release 4.2 ? No, but if it follows the trend of the last 5 releases it will be about 6 months from the last release, so my guess is in May or June.

Re: [FFmpeg-devel] GSoC mentored project: derain filter

2019-02-20 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Liu Steven > Sent: Wednesday, February 20, 2019 7:18 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Thilo Borgmann ; Liu Steven > > Subject: Re: [FFmpeg-devel]

Re: [FFmpeg-devel] dav1d support

2019-02-20 Thread Patel, Dhaval R
Thanks for your reply James. Does anyone aware about targeted dates for Release 4.2 ? Thanks, Dhaval -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of James Almer Sent: Wednesday, February 20, 2019 2:58 PM To: ffmpeg-devel@ffmpeg.org Subject:

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 3:58 GMT+01:00, Zhong Li : > And it is necessary for adding new qsv decoders such as > MJPEG and VP9 since current parser can't provide > enough information. Just curious: What information is missing? Carl Eugen ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 3:58 GMT+01:00, Zhong Li : > VP9 decoder is supported on Intel kabyLake+ platforms with MSDK Version > 1.19+ > diff --git a/Changelog b/Changelog > index f289812bfc..141ffd9610 100644 > --- a/Changelog > +++ b/Changelog > @@ -20,6 +20,7 @@ version : > - libaribb24 based ARIB STD-B24

Re: [FFmpeg-devel] [PATCH] avutil/mem: Mark DECLARE_ASM_ALIGNED as visibility("hidden") for __GNUC__

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 10:13 GMT+01:00, Fāng-ruì Sòng : > Inline asm code assumes these DECLARE_ASM_ALIGNED declared global > constants are non-preemptive, e.g. > > libavcodec/x86/cabac.h > "lea"MANGLE(ff_h264_cabac_tables)", %0 \n\t" > > On ELF platforms, if -Wl,-Bsymbolic >

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix hang while seek on a kind of fragmented mp4.

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 16:54 GMT+01:00, Charles Liu : > 1. organize fragmented information according to the tracks. > 2. do NOT skip the last boxes of fragmented info. > > ticket #7572 How can I reproduce the hang with current FFmpeg git head? Carl Eugen ___

Re: [FFmpeg-devel] dav1d support

2019-02-20 Thread James Almer
On 2/20/2019 7:53 PM, Patel, Dhaval R wrote: > Hi all, > > We are trying to get dav1d in our software stack, I see ffmpeg plugin for > dav1d is there in master branch, but not yet in any stable release. > > Is there a plan of including it in next stable release ? any release ? If > yes, what's

Re: [FFmpeg-devel] [FFmpeg-cvslog] Merge commit '28a8b5413b64b831dfb8650208bccd8b78360484'

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 23:47 GMT+01:00, James Almer : > On 2/20/2019 7:28 PM, Carl Eugen Hoyos wrote: >> 2019-02-20 19:46 GMT+01:00, James Almer : >>> ffmpeg | branch: master | James Almer | Wed Feb 20 >>> 15:42:01 2019 -0300| [e4e04dce1fab81bcdef82e60184d50c73d212c6a] | >>> committer: >>> James Almer >>>

[FFmpeg-devel] dav1d support

2019-02-20 Thread Patel, Dhaval R
Hi all, We are trying to get dav1d in our software stack, I see ffmpeg plugin for dav1d is there in master branch, but not yet in any stable release. Is there a plan of including it in next stable release ? any release ? If yes, what's date release is targeted for ? Thanks, Dhaval

Re: [FFmpeg-devel] [FFmpeg-cvslog] Merge commit '28a8b5413b64b831dfb8650208bccd8b78360484'

2019-02-20 Thread James Almer
On 2/20/2019 7:28 PM, Carl Eugen Hoyos wrote: > 2019-02-20 19:46 GMT+01:00, James Almer : >> ffmpeg | branch: master | James Almer | Wed Feb 20 >> 15:42:01 2019 -0300| [e4e04dce1fab81bcdef82e60184d50c73d212c6a] | committer: >> James Almer >> >> Merge commit

Re: [FFmpeg-devel] Proposal: Homebrew tap for FFmpeg

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 20:56 GMT+01:00, Lou Logan : > On Wed, Feb 6, 2019, at 11:48 AM, Werner Robitza wrote: >> >> I propose that FFmpeg maintains its own ffmpeg formula under its >> GitHub organization at github.com/ffmpeg/homebrew-ffmpeg (or similar). >> This will ensure that there's one formula users will

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-20 Thread Carl Eugen Hoyos
2019-02-10 16:42 GMT+01:00, Tomas Härdin : > lör 2019-02-09 klockan 13:10 + skrev Matthew Fearnley: >> - Improve block choices by counting 0-bytes in the entropy score >> - Make histogram use uint16_t type, to allow byte counts from 16*16 >> (current block size) up to 255*255 (maximum allowed

Re: [FFmpeg-devel] [FFmpeg-cvslog] Merge commit '28a8b5413b64b831dfb8650208bccd8b78360484'

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 19:46 GMT+01:00, James Almer : > ffmpeg | branch: master | James Almer | Wed Feb 20 > 15:42:01 2019 -0300| [e4e04dce1fab81bcdef82e60184d50c73d212c6a] | committer: > James Almer > > Merge commit '28a8b5413b64b831dfb8650208bccd8b78360484' > > * commit

Re: [FFmpeg-devel] [PATCH] avcodec/h264_direct: Fix overflow in POC comparission

2019-02-20 Thread Michael Niedermayer
On Thu, Feb 14, 2019 at 12:06:04AM +0100, Michael Niedermayer wrote: > Fixes: runtime error: signed integer overflow: 2147421862 - -33624063 cannot > be represented in type 'int' > Fixes: > 12885/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5733516975800320 > > Found-by:

Re: [FFmpeg-devel] [FFmpeg-cvslog] Merge commit '90adbf4abf336f8042aecdf1e18fdf76a96304b1'

2019-02-20 Thread Carl Eugen Hoyos
2019-02-20 18:49 GMT+01:00, James Almer : > ffmpeg | branch: master | James Almer | Wed Feb 20 > 14:47:13 2019 -0300| [0c126431f9b290f5651ec62f45627632d94c51ea] | committer: > James Almer > > Merge commit '90adbf4abf336f8042aecdf1e18fdf76a96304b1' > > * commit

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: Add option to force a specific decode format

2019-02-20 Thread Mark Thompson
On 18/02/2019 05:05, Fu, Linjie wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Fu, Linjie >> Sent: Friday, November 16, 2018 16:37 >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Subject: Re:

Re: [FFmpeg-devel] [PATCH v5] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-02-20 Thread Mark Thompson
On 20/02/2019 10:17, Wang, Shaofei wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of >> Mark Thompson >> Sent: Saturday, February 16, 2019 8:12 PM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH v5] Improved the

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-20 Thread Mark Thompson
On 20/02/2019 02:58, Zhong Li wrote: > Using MSDK parser can improve qsv decoder pass rate in some cases (E.g: > sps declares a wrong level_idc, smaller than it should be). > And it is necessary for adding new qsv decoders such as MJPEG and VP9 > since current parser can't provide enough

Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-20 Thread Mark Thompson
On 20/02/2019 10:33, Jing SUN wrote: > This implements app controlled frame skipping > in vaapi encoding. To make a frame skipped, > allocate its frame side data of the newly > added AV_FRAME_DATA_SKIP_FRAME type and set > its value to 1. > > Signed-off-by: Jing SUN > --- >

Re: [FFmpeg-devel] [PATCH v2 4/6] lavc/qsvdec: remove orignal parser code since not needed now

2019-02-20 Thread Mark Thompson
On 20/02/2019 02:58, Zhong Li wrote: > Signed-off-by: Zhong Li > --- > configure | 10 +- > libavcodec/qsvdec.c | 16 +--- > libavcodec/qsvdec.h | 2 -- > 3 files changed, 6 insertions(+), 22 deletions(-) You can't remove this, it's still needed - the stream

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-20 Thread Michael Niedermayer
On Sat, Feb 09, 2019 at 01:10:20PM +, Matthew Fearnley wrote: > - Improve block choices by counting 0-bytes in the entropy score > - Make histogram use uint16_t type, to allow byte counts from 16*16 > (current block size) up to 255*255 (maximum allowed 8bpp block size) > - Make sure score

Re: [FFmpeg-devel] [PATCH v2] lavf/jacosubdec: compute subtitle duration correctly

2019-02-20 Thread Michael Niedermayer
On Tue, Feb 19, 2019 at 10:29:40AM +0100, Paul B Mahol wrote: > On 2/19/19, Adam Sampson wrote: > > When a JACOsub subtitle has two timestamps, they represent its start and > > end times (http://unicorn.us.com/jacosub/jscripts.html#l_times); the > > duration is the difference between the two, not

Re: [FFmpeg-devel] Proposal: Homebrew tap for FFmpeg

2019-02-20 Thread Lou Logan
On Wed, Feb 6, 2019, at 11:48 AM, Werner Robitza wrote: > > I propose that FFmpeg maintains its own ffmpeg formula under its > GitHub organization at github.com/ffmpeg/homebrew-ffmpeg (or similar). > This will ensure that there's one formula users will discover when > they look for an alternative

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-02-20 Thread Rogozhkin, Dmitry V
On Wed, 2019-02-20 at 10:58 +0800, Zhong Li wrote: > VP9 decoder is supported on Intel kabyLake+ platforms with MSDK > Version 1.19+ > > Signed-off-by: Zhong Li > --- >  Changelog |  1 + >  configure |  1 + >  libavcodec/allcodecs.c|  1 + >  libavcodec/qsv.c   

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself for tonemap_opencl

2019-02-20 Thread Michael Niedermayer
On Tue, Feb 19, 2019 at 12:20:07AM +, Song, Ruiling wrote: > > -Original Message- > > From: Song, Ruiling > > Sent: Wednesday, February 13, 2019 9:29 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Song, Ruiling > > Subject: [PATCH] MAINTAINERS: add myself for tonemap_opencl > > > >

Re: [FFmpeg-devel] [PATCH v2 5/6] lavc/qsvdec: Add mjpeg decoder support

2019-02-20 Thread Rogozhkin, Dmitry V
On Wed, 2019-02-20 at 10:58 +0800, Zhong Li wrote: > Signed-off-by: Zhong Li > --- >  Changelog |  1 + >  configure |  1 + >  libavcodec/Makefile   |  1 + >  libavcodec/allcodecs.c|  1 + >  libavcodec/qsvdec_other.c | 28 +++- >  5

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-20 Thread Rogozhkin, Dmitry V
On Wed, 2019-02-20 at 10:58 +0800, Zhong Li wrote: > Using MSDK parser can improve qsv decoder pass rate in some cases > (E.g: > sps declares a wrong level_idc, smaller than it should be). > And it is necessary for adding new qsv decoders such as MJPEG and VP9 > since current parser can't provide

[FFmpeg-devel] [PATCH] avutil/mem: Mark DECLARE_ASM_ALIGNED as visibility("hidden") for __GNUC__

2019-02-20 Thread Fāng-ruì Sòng
Inline asm code assumes these DECLARE_ASM_ALIGNED declared global constants are non-preemptive, e.g. libavcodec/x86/cabac.h "lea"MANGLE(ff_h264_cabac_tables)", %0 \n\t" On ELF platforms, if -Wl,-Bsymbolic -Wl,--version-script,libavcodec/libavcodec.ver are removed from the linker

[FFmpeg-devel] [PATCH] avformat/mov: fix hang while seek on a kind of fragmented mp4.

2019-02-20 Thread Charles Liu
1. organize fragmented information according to the tracks. 2. do NOT skip the last boxes of fragmented info. ticket #7572 Signed-off-by: Charles Liu --- libavformat/isom.h | 10 +- libavformat/mov.c | 375 ++--- 2 files changed, 185 insertions(+), 200

[FFmpeg-devel] [PATCH] http: Do not try to make a new request when seeking past the end of the file

2019-02-20 Thread Vittorio Giovara
From: Justin Ruggles This avoids making invalid HTTP Range requests for a byte range past the known end of the file during a seek. Those requests generally return a HTTP response of 416 Range Not Satisfiable, which causes an error response. Reference: https://tools.ietf.org/html/rfc7233

Re: [FFmpeg-devel] GSoC mentored project: derain filter

2019-02-20 Thread Liu Steven
> 在 2019年2月20日,下午6:35,孟学苇 写道: > > Hi Dev-Community, > > > > > I am Iris Meng from China. I’m a PhD student in Institute of Digital Media, > Peking University. I wish to contribute as a GSoC applicant this year. > > I am interested in Deep Learning. I want to add a derain filter in

[FFmpeg-devel] GSoC mentored project: derain filter

2019-02-20 Thread 孟学苇
Hi Dev-Community, I am Iris Meng from China. I’m a PhD student in Institute of Digital Media, Peking University. I wish to contribute as a GSoC applicant this year. I am interested in Deep Learning. I want to add a derain filter in ffmpeg. If you have any suggestion or question, we can

Re: [FFmpeg-devel] [PATCH v5] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-02-20 Thread Wang, Shaofei
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Saturday, February 16, 2019 8:12 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v5] Improved the performance of 1 > decode + N filter graphs and

[FFmpeg-devel] [PATCH v2 5/6] lavc/qsvdec: Add mjpeg decoder support

2019-02-20 Thread Zhong Li
Signed-off-by: Zhong Li --- Changelog | 1 + configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 1 + libavcodec/qsvdec_other.c | 28 +++- 5 files changed, 31 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH v2 4/6] lavc/qsvdec: remove orignal parser code since not needed now

2019-02-20 Thread Zhong Li
Signed-off-by: Zhong Li --- configure | 10 +- libavcodec/qsvdec.c | 16 +--- libavcodec/qsvdec.h | 2 -- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/configure b/configure index bf40c1dcb9..eaa56c07cf 100755 --- a/configure +++ b/configure @@

[FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-02-20 Thread Zhong Li
VP9 decoder is supported on Intel kabyLake+ platforms with MSDK Version 1.19+ Signed-off-by: Zhong Li --- Changelog | 1 + configure | 1 + libavcodec/allcodecs.c| 1 + libavcodec/qsv.c | 5 + libavcodec/qsvdec_other.c | 46

[FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-20 Thread Zhong Li
Using MSDK parser can improve qsv decoder pass rate in some cases (E.g: sps declares a wrong level_idc, smaller than it should be). And it is necessary for adding new qsv decoders such as MJPEG and VP9 since current parser can't provide enough information. Actually using

[FFmpeg-devel] [PATCH v2 2/6] lavc/qsv: make function qsv_map_fourcc() can be called externally

2019-02-20 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsv.c | 4 ++-- libavcodec/qsv_internal.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 224bc00ce4..711fd3df1e 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -158,7 +158,7

[FFmpeg-devel] [PATCH v2 0/6] Refact qsv decoder parser and add new decoders

2019-02-20 Thread Zhong Li
Replace current parser with MFXVideoDECODE_DecodeHeader(), and add MJPEG/VP9 decoders. Zhong Li (6): lavc/qsv: add function ff_qsv_map_picstruct() lavc/qsv: make function qsv_map_fourcc() can be called externally lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

[FFmpeg-devel] [PATCH v2 1/6] lavc/qsv: add function ff_qsv_map_picstruct()

2019-02-20 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsv.c | 18 ++ libavcodec/qsv_internal.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index bb0d79588c..224bc00ce4 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -196,6

[FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-20 Thread Jing SUN
This implements app controlled frame skipping in vaapi encoding. To make a frame skipped, allocate its frame side data of the newly added AV_FRAME_DATA_SKIP_FRAME type and set its value to 1. Signed-off-by: Jing SUN --- libavcodec/vaapi_encode.c | 112