Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv: derive QSV frames to D3D11VA frames

2022-05-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Saturday, May 7, 2022 7:25 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Wu, Tong1 > Subject: Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv: > derive QSV frames to D3D11VA frames > > On Sat, 2022-05-07 at

Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv: derive QSV frames to D3D11VA frames

2022-05-06 Thread Xiang, Haihao
On Sat, 2022-05-07 at 02:42 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Xiang, Haihao > > Sent: Saturday, May 7, 2022 4:36 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Wu, Tong1 > > Subject: Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv:

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

2022-05-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Saturday, May 7, 2022 6:32 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] av_fopen_utf8 and cross-DLL CRT object > sharing issue on Windows > > Soft Works: > > > > > >> -Original

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

2022-05-06 Thread Andreas Rheinhardt
Soft Works: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Martin Storsjö >> Sent: Wednesday, April 20, 2022 2:48 PM >> To: ffmpeg-devel@ffmpeg.org >> Subject: [FFmpeg-devel] av_fopen_utf8 and cross-DLL CRT object sharing >> issue on Windows >> >> Hi, >> >> I just

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

2022-05-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Martin Storsjö > Sent: Wednesday, April 20, 2022 2:48 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] av_fopen_utf8 and cross-DLL CRT object sharing > issue on Windows > > Hi, > > I just became aware of the

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

2022-05-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of nil- > admir...@mailo.com > Sent: Friday, May 6, 2022 6:08 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v11 1/6] > libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and > utf8toansi > > > > As a

Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv: derive QSV frames to D3D11VA frames

2022-05-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Saturday, May 7, 2022 4:36 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Wu, Tong1 > Subject: Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv: > derive QSV frames to D3D11VA frames > > On Fri, 2022-05-06

Re: [FFmpeg-devel] [PATCH v4 1/3] avutil/hwcontext_qsv: derive QSV frames to D3D11VA frames

2022-05-06 Thread Xiang, Haihao
On Fri, 2022-05-06 at 05:57 +, Tong Wu wrote: > Fixes: > $ ffmpeg.exe -y -hwaccel qsv -init_hw_device d3d11va=d3d11 \ > -init_hw_device qsv=qsv@d3d11 -c:v h264_qsv -i input.h264 \ > -vf "hwmap=derive_device=d3d11va,format=d3d11" -f null - > > Signed-off-by: Tong Wu > --- >

Re: [FFmpeg-devel] PATCH - libmad MP3 decoding support

2022-05-06 Thread Lynne
5 May 2022, 01:47 by da...@megapico.co.uk: >> Andreas Rheinhardt wrote: >> >> David Fletcher: >> > Following today's posts about help with submitting patches I realised I >> > sent the libmad patch yesterday in the wrong format. Apologies, I was >> > not familiar with the git format patches. >> >

Re: [FFmpeg-devel] [PATCH] avcodec/jpeg2000: Fast fail if HTJ2K codeblocks are present.

2022-05-06 Thread Pierre-Anthony Lemieux
LGTM On Thu, May 5, 2022 at 11:56 PM caleb wrote: > > --- > libavcodec/jpeg2000.h| 2 ++ > libavcodec/jpeg2000dec.c | 4 > 2 files changed, 6 insertions(+) > > diff --git a/libavcodec/jpeg2000.h b/libavcodec/jpeg2000.h > index d06313425e..e5ecb4cbf9 100644 > --- a/libavcodec/jpeg2000.h

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

2022-05-06 Thread nil-admirari
> > As a matter of fact, you are. Your alternative method implies > > ploughing > > through hundreds of C files normalising path handling across the > > entire application, > Almost everybody here knows that this isn't true. I do not. During the review of just this particular patchset it was

[FFmpeg-devel] [WIP] [PATCH] libavutil: add a limited XML parser

2022-05-06 Thread Nicolas George
Signed-off-by: Nicolas George --- libavutil/Makefile | 3 + libavutil/tests/xmlparser.c | 93 ++ libavutil/xmlparser.c | 644 libavutil/xmlparser.h | 58 4 files changed, 798 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH] lavu/common: fix PUT_UTF8() length

2022-05-06 Thread Nicolas George
Ensure the input is <= 31 bits because otherwise it would produce very invalid UTF-8. Document that the length can be up to 6 bytes, because that is what the code does. The FLAC encoder abuses UTF-8 to store 32-bits integers, limiting PUT_UTF8() to 21 bits might affect some real cases negatively.

Re: [FFmpeg-devel] [PATCH v2] avformat/avio: use av_match_name to match protocol whitelist

2022-05-06 Thread Leo Izen
On 4/29/22 12:01, Leo Izen wrote: 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 in accordance with the behavior described in the documentation. --- Could someone please take a quick look at this? Thanks, - Leo

Re: [FFmpeg-devel] [PATCH] lib*/version: Move library version functions into files of their own

2022-05-06 Thread Martin Storsjö
On Fri, 6 May 2022, Andreas Rheinhardt wrote: This avoids having to rebuild big files every time FFMPEG_VERSION changes (which it does with every commit). Signed-off-by: Andreas Rheinhardt --- Makefile | 4 ++- ffbuild/common.mak | 2 -- libavcodec/Makefile|

[FFmpeg-devel] [PATCH] lib*/version: Move library version functions into files of their own

2022-05-06 Thread Andreas Rheinhardt
This avoids having to rebuild big files every time FFMPEG_VERSION changes (which it does with every commit). Signed-off-by: Andreas Rheinhardt --- Makefile | 4 ++- ffbuild/common.mak | 2 -- libavcodec/Makefile| 1 + libavcodec/avcodec.c | 25

[FFmpeg-devel] [PATCH 2/2] tests/fate-run: Make AVCONV-tests honour -thread_type

2022-05-06 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- tests/fate-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index c0d65be6f4..7e3457b3ba 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -195,7 +195,7 @@ enc_dec_pcm(){ }

[FFmpeg-devel] [PATCH 1/2] fate/filter-video: Remove unnecessary dependency from filter-pp[1-6]

2022-05-06 Thread Andreas Rheinhardt
filter-pp and filter-pp7 are the only ones of the filter-pp* tests that use the file generated by fate-vsynth1-mpeg4-qprd. Also combine the dependency on this test for all the tests that need it. Signed-off-by: Andreas Rheinhardt --- tests/fate/filter-video.mak | 7 +++ 1 file changed, 3

[FFmpeg-devel] [PATCH] avcodec/jpeg2000: Fast fail if HTJ2K codeblocks are present.

2022-05-06 Thread caleb
--- libavcodec/jpeg2000.h| 2 ++ libavcodec/jpeg2000dec.c | 4 2 files changed, 6 insertions(+) diff --git a/libavcodec/jpeg2000.h b/libavcodec/jpeg2000.h index d06313425e..e5ecb4cbf9 100644 --- a/libavcodec/jpeg2000.h +++ b/libavcodec/jpeg2000.h @@ -110,6 +110,8 @@ enum