Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_d3d11va: enable D3D11_RESOURCE_MISC_SHARED for texture

2022-04-20 Thread Wu, Tong1
> -Original Message- > From: ffmpeg-devel On Behalf Of > Hendrik Leppkes > Sent: Wednesday, April 20, 2022 2:35 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_d3d11va: enable > D3D11_RESOURCE_MISC_SHARED for

Re: [FFmpeg-devel] [PATCH 1/2] swscale/aarch64: add hscale specializations

2022-04-20 Thread Martin Storsjö
On Sun, 17 Apr 2022, Martin Storsjö wrote: On Fri, 15 Apr 2022, Swinney, Jonathan wrote: This patch adds specializations for hscale for filterSize == 4 and 8 and converts the existing implementation for the X8 version. For the old code, now used for the X8 version, it improves the efficiency

[FFmpeg-devel] [PATCH] swscale: aarch64: Optimize the final summation in the hscale routine

2022-04-20 Thread Martin Storsjö
Before: Cortex A53 A72 A73 hscale_8_to_15_width8_neon: 8273.0 4602.5 4289.5 hscale_8_to_15_width16_neon: 12405.7 6803.0 6359.0 hscale_8_to_15_width32_neon: 21258.7 11491.7 11469.2 hscale_8_to_15_width40_neon: 25652.0 14173.7 12488.2 After: hscale

[FFmpeg-devel] [PATCH 1/3] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-04-20 Thread Dawid Kozinski
### 1. Genaral info ### The patch provided below contains an integration layer between ffmpeg framework and EVC codec implementation. In nutshell, it enables using EVC codec (encoding, decoding) by the means of ffmpeg API. I

[FFmpeg-devel] [PATCH 2/3] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-04-20 Thread Dawid Kozinski
- Added xeve encoder wrapper - Added xevd dencoder wrapper - Added documentation for xeve and xevd wrappers - Added parser for EVC format - Changes in project configuration file and libavcodec Makefile Signed-off-by: Dawid Kozinski --- configure | 10 + doc/decoders.texi

[FFmpeg-devel] [PATCH 3/3] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-04-20 Thread Dawid Kozinski
- Added muxer for EVC format (MP4, raw) - Added demuxer for EVC format (MP4) - Added evc extension to the list of extensions for ff_mov_demuxer Signed-off-by: Dawid Kozinski --- doc/muxers.texi | 6 ++ libavformat/Makefile | 2 + libavformat/allformats.c | 2 + libavformat/evc

Re: [FFmpeg-devel] [PATCH v9 1/6] libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and utf8toansi

2022-04-20 Thread Martin Storsjö
On Fri, 15 Apr 2022, Nil Admirari wrote: These functions are going to be used in libavformat/avisynth.c and fftools/cmdutils.c remove MAX_PATH limit. --- libavutil/wchar_filename.h | 51 ++ 1 file changed, 51 insertions(+) I looked through this patchset now,

Re: [FFmpeg-devel] [PATCH v9 2/6] libavformat/avisynth.c: Remove MAX_PATH limit

2022-04-20 Thread Martin Storsjö
On Fri, 15 Apr 2022, Nil Admirari wrote: --- libavformat/avisynth.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index 8ba2bdea..f7bea8c3 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -34,6 +

Re: [FFmpeg-devel] [PATCH v9 3/6] compat/w32dlfcn.h: Remove MAX_PATH limit and replace LoadLibraryExA with LoadLibraryExW

2022-04-20 Thread Martin Storsjö
On Fri, 15 Apr 2022, Nil Admirari wrote: --- compat/w32dlfcn.h | 78 ++- 1 file changed, 64 insertions(+), 14 deletions(-) diff --git a/compat/w32dlfcn.h b/compat/w32dlfcn.h index 52a94efa..0f41f50b 100644 --- a/compat/w32dlfcn.h +++ b/compat/w32dlfcn.

Re: [FFmpeg-devel] [PATCH v9 4/6] fftools/cmdutils.c: Remove MAX_PATH limit and replace fopen with av_fopen_utf8

2022-04-20 Thread Martin Storsjö
On Fri, 15 Apr 2022, Nil Admirari wrote: --- fftools/cmdutils.c | 38 +- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 5d7cdc3e..a66dbb22 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@

Re: [FFmpeg-devel] [PATCH v9 5/6] fftools: Enable long path support on Windows (fixes #8885)

2022-04-20 Thread Martin Storsjö
On Fri, 15 Apr 2022, Nil Admirari wrote: --- fftools/Makefile | 5 + fftools/fftools.manifest | 10 ++ fftools/manifest.rc | 3 +++ 3 files changed, 18 insertions(+) create mode 100644 fftools/fftools.manifest create mode 100644 fftools/manifest.rc I think the change he

Re: [FFmpeg-devel] [PATCH v9 6/6] fftools: Use UTF-8 on Windows

2022-04-20 Thread Martin Storsjö
On Fri, 15 Apr 2022, Nil Admirari wrote: --- fftools/fftools.manifest | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fftools/fftools.manifest b/fftools/fftools.manifest index 30b7d8fe..d1ac1e4e 100644 --- a/fftools/fftools.manifest +++ b/fftools/fftools.manifest @@ -3,8 +3

Re: [FFmpeg-devel] [PATCH] avcodec/openh264: return (DE|EN)CODER_NOT_FOUND if version check fails

2022-04-20 Thread Martin Storsjö
On Fri, 18 Feb 2022, Andreas Schneider wrote: Signed-off-by: Andreas Schneider --- libavcodec/libopenh264dec.c | 2 +- libavcodec/libopenh264enc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libopenh264dec.c b/libavcodec/libopenh264dec.c index 7f5e85402a..97d

[FFmpeg-devel] [PATCH 1/3] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-04-20 Thread Dawid Kozinski
### 1. Genaral info ### The patch provided below contains an integration layer between ffmpeg framework and EVC codec implementation. In nutshell, it enables using EVC codec (encoding, decoding) by the means of ffmpeg API. I

[FFmpeg-devel] [PATCH 2/3] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-04-20 Thread Dawid Kozinski
- Added xeve encoder wrapper - Added xevd dencoder wrapper - Added documentation for xeve and xevd wrappers - Added parser for EVC format - Changes in project configuration file and libavcodec Makefile Signed-off-by: Dawid Kozinski --- configure | 10 + doc/decoders.texi

[FFmpeg-devel] [PATCH 3/3] Provided support for MPEG-5 EVC (Essential Video Coding) codec

2022-04-20 Thread Dawid Kozinski
- Added muxer for EVC format (MP4, raw) - Added demuxer for EVC format (MP4) - Added evc extension to the list of extensions for ff_mov_demuxer Signed-off-by: Dawid Kozinski --- doc/muxers.texi | 6 ++ libavformat/Makefile | 2 + libavformat/allformats.c | 2 + libavformat/evc

[FFmpeg-devel] av_fopen_utf8 and cross-DLL CRT object sharing issue on Windows

2022-04-20 Thread Martin Storsjö
Hi, I just became aware of the av_fopen_utf8 function - which was introduced to fix path name translations on Windows - actually has a notable design flaw. Background: On Windows, a process can contain more than one C runtime (CRT); the system comes with two shared ones (UCRT and msvcrt.dl

[FFmpeg-devel] Bug report

2022-04-20 Thread Dan Rose
I tried to submit this on the bug tracker, but it never sent a verification email so posting here. The `-protocol_whitelist ALL` option appears to be broken. I expect it to allow any protocol as per documentation https://ffmpeg.org/ffmpeg-protocols.html#Protocol-Options > Set a ","-separated li

Re: [FFmpeg-devel] [PATCH] libavformat/mov.c: Added configuration flag to skip cover art atom while opening mov parser

2022-04-20 Thread Derek Buitenhuis
On 4/20/2022 12:39 PM, Malviya, Janpriya wrote: > Hello ffmpeg dev team, > Please look in attached patch. while integrating FFmpeg we require to add > "skip_cover_page" options to skip cover art atom from parsing for M4A / MP4 > streams. By default values set as 0 ( False ) so it will not impact

Re: [FFmpeg-devel] [PATCH v2 5/5] avcodec/x86/hevc_mc: add qpel_h64_8_avx512icl

2022-04-20 Thread Xiang, Haihao
On Thu, 2022-04-14 at 11:23 +, Wu Jianhua wrote: > Ping! > Wu Jianhua: > > Henrik Gramner: > > > Sent: Friday, March 11, 2022 10:51 PM > > > To: FFmpeg development discussions and patches > > devel at ffmpeg.org> > > > Subject: Re: [FFmpeg-devel] [PATCH v2 5/5] avcodec/x86/hevc_mc: add > > > q

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: fix timecode with high frame rate content

2022-04-20 Thread Marton Balint
On Mon, 11 Apr 2022, Marton Balint wrote: On Mon, 11 Apr 2022, Anton Khirnov wrote: Quoting Marton Balint (2022-04-10 20:11:59) 60 fps content have "Number of Frames" set to 30 in the tmcd atom, but the frame duration / timescale reflects the original video frame rate. Therefore we

Re: [FFmpeg-devel] [PATCH] avformat/rtmpproto: send proper status for response to play command

2022-04-20 Thread Marton Balint
On Thu, 14 Apr 2022, Marton Balint wrote: This fixes referencing the uninitialized filename variable. Fixes ticket #9711. Will apply tomorrow. Regards, Marton Signed-off-by: Marton Balint --- libavformat/rtmpproto.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletion

Re: [FFmpeg-devel] [PATCH] avutil/cpu: #define _GNU_SOURCE before including any standard headers

2022-04-20 Thread Marton Balint
On Thu, 14 Apr 2022, Marton Balint wrote: Otherwise its effect might not work causing CPU_COUNT to not get defined. Fixes cpu count detection to actually use sched_getaffinity if available. Will apply tomorrow. Regards, Marton Signed-off-by: Marton Balint --- libavutil/cpu.c | 16

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add an option to choose sub stream by language

2022-04-20 Thread Michael Niedermayer
On Tue, Apr 19, 2022 at 02:58:29AM +0200, James Darnley wrote: > --- > doc/filters.texi | 5 + > libavfilter/vf_subtitles.c | 23 --- > 2 files changed, 25 insertions(+), 3 deletions(-) > > diff --git a/doc/filters.texi b/doc/filters.texi > index a161754233..cfb

Re: [FFmpeg-devel] Bug report

2022-04-20 Thread Leo Izen
On 4/20/22 08:56, Dan Rose wrote: I tried to submit this on the bug tracker, but it never sent a verification email so posting here. The `-protocol_whitelist ALL` option appears to be broken. I expect it to allow any protocol as per documentation https://ffmpeg.org/ffmpeg-protocols.html#Pro

[FFmpeg-devel] [PATCH] avformat/avio: use av_match_name to match protocol lists

2022-04-20 Thread Leo Izen
This swaps av_match_list to av_match_name inside ffurl_connect, which allows ALL to be treated as a valid value on the whitelist or blacklist in accordance with the behavior described in the documentation. --- libavformat/avio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH 1/2] doc/ffplay: put keystrokes to decrease and increase volume on the same line

2022-04-20 Thread Stefano Sabatini
Fix trac issue http://trac.ffmpeg.org/ticket/7832 --- doc/ffplay.texi | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/ffplay.texi b/doc/ffplay.texi index 0f090128f2..5dd860b846 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.texi @@ -214,8 +214,6 @@ Pause. Toggle mute. @item 9, 0 -Decre

[FFmpeg-devel] [PATCH 2/2] doc/ffprobe: clarify that the input file is not optional

2022-04-20 Thread Stefano Sabatini
Fix trac issue http://trac.ffmpeg.org/ticket/9562 --- doc/ffprobe.texi | 2 +- fftools/ffprobe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 59a397a225..c61b8979b1 100644 --- a/doc/ffprobe.texi +++ b/doc/ffprobe.texi @@ -12,7 +1

[FFmpeg-devel] [PATCH] avformat/oggparsevorbis: Ignore duration of the first packet

2022-04-20 Thread Guangyu Sun
The decoded Data is not returned from the first frame; it must be used to 'prime' the decode engine. The duration of the first packet should be ignored also by the container, to make sure the total duration is trimmed correctly. This commit fixes #6367. dd if=/dev/zero of=./silence.raw count=1 bs

Re: [FFmpeg-devel] [PATCH 1/2] doc/ffplay: put keystrokes to decrease and increase volume on the same line

2022-04-20 Thread Gyan Doshi
Will apply. On 2022-04-21 03:13 am, Stefano Sabatini wrote: Fix trac issue http://trac.ffmpeg.org/ticket/7832 --- doc/ffplay.texi | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/ffplay.texi b/doc/ffplay.texi index 0f090128f2..5dd860b846 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.t

Re: [FFmpeg-devel] [PATCH 2/2] doc/ffprobe: clarify that the input file is not optional

2022-04-20 Thread Gyan Doshi
Will apply. On 2022-04-21 03:13 am, Stefano Sabatini wrote: Fix trac issue http://trac.ffmpeg.org/ticket/9562 --- doc/ffprobe.texi | 2 +- fftools/ffprobe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index 59a397a225..c61b8979b