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

2022-04-19 Thread Hendrik Leppkes
On Wed, Apr 20, 2022 at 6:11 AM Tong Wu wrote: > > Add D3D11_RESOURCE_MISC_SHARED flag for texture to make it shareable. > This can fix the green frames issue when mapping from d3d11va to opencl. > Sample command line: ffmpeg.exe -hwaccel d3d11va -hwaccel_output_format > d3d11 -i input.264 -vf > "

Re: [FFmpeg-devel] [PATCH] avformat/mov: Add support for still image AVIF parsing

2022-04-19 Thread Gyan Doshi
On 2022-04-20 02:49 am, Paul B Mahol wrote: On Tue, Apr 19, 2022 at 10:57 PM Vignesh Venkatasubramanian < vigneshv-at-google@ffmpeg.org> wrote: Add support for parsing AVIF still images. This patches supports AVIF still images that have exactly 1 item (i.e.) no alpha channel. Essentially

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

2022-04-19 Thread Tong Wu
Add D3D11_RESOURCE_MISC_SHARED flag for texture to make it shareable. This can fix the green frames issue when mapping from d3d11va to opencl. Sample command line: ffmpeg.exe -hwaccel d3d11va -hwaccel_output_format d3d11 -i input.264 -vf "hwmap=derive_device=opencl,format=opencl,hwdownload,format=n

Re: [FFmpeg-devel] [PATCH] avformat/mov: Add support for still image AVIF parsing

2022-04-19 Thread Paul B Mahol
On Tue, Apr 19, 2022 at 10:57 PM Vignesh Venkatasubramanian < vigneshv-at-google@ffmpeg.org> wrote: > Add support for parsing AVIF still images. This patches supports > AVIF still images that have exactly 1 item (i.e.) no alpha channel. > Essentially, we will have to parse the "iloc" box and p

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

2022-04-19 Thread Martin Storsjö
On Fri, 15 Apr 2022, Swinney, Jonathan wrote: This commit adds new code paths for vscale when filterSize is 2, 4, or 8. By using specialized code with unrolling to match the filterSize we can improve performance. | (seconds) | c6g | | | | | - | - | - | |

[FFmpeg-devel] [PATCH] avformat/mov: Add support for still image AVIF parsing

2022-04-19 Thread Vignesh Venkatasubramanian
Add support for parsing AVIF still images. This patches supports AVIF still images that have exactly 1 item (i.e.) no alpha channel. Essentially, we will have to parse the "iloc" box and populate the mov index. With this patch, we can decode still AVIF images like so: ffmpeg -i image.avif image.pn

Re: [FFmpeg-devel] [PATCH] avformat/mov: Add support for still image AVIF parsing

2022-04-19 Thread Vignesh Venkatasubramanian
On Tue, Apr 19, 2022 at 1:18 PM Paul B Mahol wrote: > > > > On Mon, Mar 28, 2022 at 9:12 PM Vignesh Venkatasubramanian > wrote: >> >> Add support for parsing AVIF still images. This patches supports >> AVIF still images that have exactly 1 item (i.e.) no alpha channel. >> Essentially, we will ha

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

2022-04-19 Thread Pierre-Anthony Lemieux
FYI. This is the qualification task for the GSOC project at [1]. [1] https://trac.ffmpeg.org/wiki/SponsoringPrograms/GSoC/2022#AddsupportforPart15totheJPEG2000decoder On Tue, Apr 19, 2022 at 1:17 AM caleb wrote: > > --- > This patch adds support for detecting Part 15 codeblocks to JPEG2000 > s

Re: [FFmpeg-devel] [PATCH 1/1] librtmp: use AVBPrint instead of char *

2022-04-19 Thread Martin Storsjö
On Tue, 19 Apr 2022, Marton Balint wrote: On Sat, 16 Apr 2022, Martin Storsjö wrote: On Fri, 15 Apr 2022, Tristan Matthews wrote: This avoids having to do one pass to calculate the full length to allocate followed by a second pass to actually append values. --- libavformat/librtmp.c

Re: [FFmpeg-devel] [PATCH] avformat/mov: Add support for still image AVIF parsing

2022-04-19 Thread Paul B Mahol
On Mon, Mar 28, 2022 at 9:12 PM Vignesh Venkatasubramanian < vigneshv-at-google@ffmpeg.org> wrote: > Add support for parsing AVIF still images. This patches supports > AVIF still images that have exactly 1 item (i.e.) no alpha channel. > Essentially, we will have to parse the "iloc" box and po

Re: [FFmpeg-devel] [PATCH v2] avformat/mpegts: set data broadcast streams as such

2022-04-19 Thread Marton Balint
On Tue, 19 Apr 2022, Jan Ekström wrote: On Tue, Apr 19, 2022 at 1:13 PM Jan Ekström wrote: On Tue, Apr 19, 2022 at 3:00 AM Marton Balint wrote: > > > > On Thu, 14 Apr 2022, Jan Ekström wrote: > > > On Mon, Apr 11, 2022 at 1:50 PM Jan Ekström wrote: > >> > >> From: Jan Ekström > >> > >> A

[FFmpeg-devel] [PATCH v2] avcodec/libaomenc: Add unmet target level warning

2022-04-19 Thread Bohan Li
When target levels are set, this patch checks whether they are satisfied by libaom. If not, a warning is shown. Otherwise the output levels are also logged. This patch applies basically the same approach used for libvpx. Signed-off-by: Bohan Li --- libavcodec/libaomenc.c | 64 ++

[FFmpeg-devel] [PATCH] avcodec/libaomenc: Add unmet target level warning

2022-04-19 Thread Bohan Li
When target levels are set, this patch checks whether they are satisfied by libaom. If not, a warning is shown. Otherwise the output levels are also logged. This patch applies basically the same approach used for libvpx. Signed-off-by: Bohan Li --- libavcodec/libaomenc.c | 64 ++

Re: [FFmpeg-devel] [PATCH 1/2] avfilter: add colormap video filter

2022-04-19 Thread Paul B Mahol
Gonna apply soon. ___ 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 with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v2] avformat/mpegts: set data broadcast streams as such

2022-04-19 Thread Jan Ekström
On Tue, Apr 19, 2022 at 1:13 PM Jan Ekström wrote: > > On Tue, Apr 19, 2022 at 3:00 AM Marton Balint wrote: > > > > > > > > On Thu, 14 Apr 2022, Jan Ekström wrote: > > > > > On Mon, Apr 11, 2022 at 1:50 PM Jan Ekström wrote: > > >> > > >> From: Jan Ekström > > >> > > >> Additionally, they shoul

Re: [FFmpeg-devel] [PATCH] libavformat/rtsp: pkt_size option is not honored in rtsp

2022-04-19 Thread Tristan Matthews
On Wed, Apr 6, 2022 at 10:04 AM Zhao Zhili wrote: > > > 在 2022年4月6日,下午9:49,Yubo Xie 写道: > > > > Yes, I've removed it already. > > Sorry I missed that. LGTM. > Nice catch, I guess this bug only impacted using TCP as the media-transport? I'm guessing I only tested UDP at the time. Best, Tristan

Re: [FFmpeg-devel] [PATCH v2 1/5] lavfi: generalize colorspace coefficent helpers

2022-04-19 Thread Niklas Haas
Merging this series at the end of the week if I don't get any additional feedback. ___ 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...@ffmp

[FFmpeg-devel] [PATCH v2 5/5] lavfi: add vf_iccdetect for parsing ICC profiles

2022-04-19 Thread Niklas Haas
From: Niklas Haas This filter is designed to parse embedded ICC profiles and attempt extracting colorspace tags from them, updating the AVFrame metadata accordingly. This is intentionally made a separate filter, rather than being part of libavcodec itself, so that it's an opt-in behavior for the

[FFmpeg-devel] [PATCH v2 4/5] lavfi: add vf_iccgen for generating ICC profiles

2022-04-19 Thread Niklas Haas
From: Niklas Haas This filter is designed to specifically cover the task of generating ICC profiles (and attaching them to output frames) on demand. Other tasks, such as ICC profile loading/stripping, or ICC profile application, are better left to separate filters (or included into e.g. vf_setpar

[FFmpeg-devel] [PATCH v2 3/5] lavfi: add ICC profile support via lcms2

2022-04-19 Thread Niklas Haas
From: Niklas Haas This introduces an optional dependency on lcms2 into FFmpeg. lcms2 is a widely used library for ICC profile handling, which apart from being used in almost all major image processing programs and video players, has also been deployed in browsers. As such, it's both widely availa

[FFmpeg-devel] [PATCH v2 2/5] lavfi: add ff_detect_color_primaries helper

2022-04-19 Thread Niklas Haas
From: Niklas Haas Related to #9673, this helper exists to facilitate "guessing" the right primary tags from a given set of raw primary coefficients. The cutoff value of 0.001 was chosen by experimentation. The smallest "false positive" delta observed in practice was 0.023329, while the largest "

[FFmpeg-devel] [PATCH v2 1/5] lavfi: generalize colorspace coefficent helpers

2022-04-19 Thread Niklas Haas
From: Niklas Haas These are needed beyond just vf_colorspace, so give them a new home in colorspace.h. In addition to moving code around, also merge the white point and primary coefficients into a single struct to slightly increase the convenience and shrink the size of the new API by avoiding t

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/dshow: silence warnings about unused variable

2022-04-19 Thread James Almer
On 4/19/2022 3:05 AM, Roger Pack wrote: On Wed, Apr 13, 2022 at 10:15 AM James Almer wrote: Use av_unused instead of wrapping the declaration under the DSHOWDEBUG check in case future changes make use of it. Signed-off-by: James Almer --- libavdevice/dshow.c | 2 +- 1 file changed, 1 inse

Re: [FFmpeg-devel] [FFmpeg-cvslog] doc: install css files along html docs

2022-04-19 Thread Timo Rothenpieler
This broke all fate instances that have htmlpages enabled, as this broke "make install" whenever building out of the source tree - the html files are generated and exist in the build tree, but the css files don't. Should be fixed now ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2] avformat/mpegts: set data broadcast streams as such

2022-04-19 Thread Jan Ekström
On Tue, Apr 19, 2022 at 3:00 AM Marton Balint wrote: > > > > On Thu, 14 Apr 2022, Jan Ekström wrote: > > > On Mon, Apr 11, 2022 at 1:50 PM Jan Ekström wrote: > >> > >> From: Jan Ekström > >> > >> Additionally, they should not be probed, as this is essentially > >> various types of binary data. >

Re: [FFmpeg-devel] [FFmpeg-cvslog] doc: install css files along html docs

2022-04-19 Thread Martin Storsjö
On Mon, 18 Apr 2022, Timo Rothenpieler wrote: ffmpeg | branch: master | Timo Rothenpieler | Thu Apr 7 20:11:24 2022 +0200| [d5687236aba6fd31dd4369c290df9a5b1192e43e] | committer: Timo Rothenpieler doc: install css files along html docs http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=comm

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

2022-04-19 Thread caleb
--- This patch adds support for detecting Part 15 codeblocks to JPEG2000 specified in (Rec. ITU-T T.814 | ISO/IEC 15444-15). The decoder on detecting Part 15 codeblocks now fails gracefully with a AVERROR_PATCHWELCOME return code libavcodec/jpeg2000.h| 2 ++ libavcodec/jpeg2000dec.c | 9 ++

[FFmpeg-devel] [PATCH] avdevice/dshow: reuse unused variables.

2022-04-19 Thread Diederick Niehorster
Fix for f125c504d8fece6420bb97767f9e72414c26312a, requested_sample_rate and such should be used. Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 1e69620880..5946a

Re: [FFmpeg-devel] [PATCH 4/4] avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirements

2022-04-19 Thread Paul B Mahol
patch set probably ok ___ 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 with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/dshow: remove unused variables

2022-04-19 Thread Diederick C. Niehorster
On Tue, Apr 19, 2022 at 8:10 AM Roger Pack wrote: > > LGTM. Not LGTM, see below > On Wed, Apr 13, 2022 at 10:15 AM James Almer wrote: > > > > Remnant from f125c504d8fece6420bb97767f9e72414c26312a > > > > Signed-off-by: James Almer > > --- > > libavdevice/dshow.c | 8 > > 1 file chang