Re: [FFmpeg-devel] [PATCH v11 1/2] avformat/imf: Demuxer

2021-12-18 Thread Pierre-Anthony Lemieux
On Fri, Dec 17, 2021 at 1:46 PM Andreas Rheinhardt wrote: > > p...@sandflow.com: > > From: Pierre-Anthony Lemieux > > > > Signed-off-by: Pierre-Anthony Lemieux > > --- > > > > Notes: > > The IMF demuxer accepts as input an IMF CPL. The assets referenced by > > the CPL can be > > contain

[FFmpeg-devel] [PATCH v12 2/2] avformat/imf: Tests

2021-12-18 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Tests for the IMF demuxer. libavformat/Makefile| 1 + libavformat/tests/imf.c | 525 2 files changed, 526 insertions(+) create mode 100644 libavformat/tests/imf.c

[FFmpeg-devel] [PATCH v12 1/2] avformat/imf: Demuxer

2021-12-18 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The IMF demuxer accepts as input an IMF CPL. The assets referenced by the CPL can be contained in multiple deliveries, each defined by an ASSETMAP file: ffmpeg -assetmaps ,,... -i If -asset

[FFmpeg-devel] [PATCH] configure: fix metal detection and respect explicit disable

2021-12-18 Thread Aman Karmani
From: Aman Karmani Signed-off-by: Aman Karmani --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index d8b07c8e00..d9d41b2273 100755 --- a/configure +++ b/configure @@ -1758,6 +1758,7 @@ EXTERNAL_AUTODETECT_LIBRARY_LIST=" libxcb_xfixe

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mvdec: explicitly set duration

2021-12-18 Thread Peter Ross
On Sat, Dec 18, 2021 at 03:46:28PM -0500, John-Paul Stewart wrote: > Resolves a warning that duration is being innaccurately estimated based > on bitrate. > > Signed-off-by: John-Paul Stewart > --- > libavformat/mvdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/li

Re: [FFmpeg-devel] [PATCH v4 5/5] avfilter: add vf_yadif_videotoolbox

2021-12-18 Thread Pavel Koshevoy
On Sat, Dec 18, 2021 at 1:02 PM Aman Karmani wrote: > On Fri, Dec 17, 2021 at 1:38 PM Philip Langdale wrote: > > > On Fri, 17 Dec 2021 12:04:18 -0800 > > Aman Karmani wrote: > > > > > From: Aman Karmani > > > > > > deinterlaces CVPixelBuffers, i.e. AV_PIX_FMT_VIDEOTOOLBOX frames > > > > > > fo

[FFmpeg-devel] [PATCH] avformat/sdp: Fix use of uninitialised value

2021-12-18 Thread Andreas Rheinhardt
Fixes Coverity ticket #1495831. Regression since fe31708eaa10af42507b8db773d5af5a56e1aff4. Signed-off-by: Andreas Rheinhardt --- Will apply this tomorrow unless there are objections. libavformat/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/sdp.c b/libavf

[FFmpeg-devel] [PATCH 4/4] avcodec/h2645: Fix SEI->display matrix transformation

2021-12-18 Thread Andreas Rheinhardt
The earlier code did not account for the fact that av_display_rotation_set() wants the angle in the anticlockwise direction (despite what its documentation stated for a long time); furthermore, the H.2645 spec wants the flips applied first, whereas our code did it the other way around. This can be

[FFmpeg-devel] [PATCH 3/4] fftools/ffmpeg_filter: Avoid inserting hflip filter

2021-12-18 Thread Andreas Rheinhardt
The transpose filter has modes equivalent to "rotation by 90°/270°" followed by horizontal flips. Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_filter.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c

[FFmpeg-devel] [PATCH 2/4] fftools/ffmpeg_filter: Fix autorotation

2021-12-18 Thread Andreas Rheinhardt
In case of an orthogonal transformation av_display_rotation_get() returns the (anticlockwise) degree that the unit vector in x-direction gets rotated by; get_rotation in cmdutils.c makes a clockwise degree out of this. So if one inserts a transpose filter corresponding to this degree, then the x-ve

[FFmpeg-devel] [PATCH 1/4] avcodec/mjpegdec: Fix exif rotation->displaymatrix conversion

2021-12-18 Thread Andreas Rheinhardt
The cases in which there was flipping together with a rotation that is not a multiple of the identity were wrong. Signed-off-by: Andreas Rheinhardt --- This whole patchset relies on the mismatch in av_display_rotation_set() being solved by keeping the current behaviour and updating the documentat

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Daniel > Cantarín > Sent: Saturday, December 18, 2021 9:05 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] Politics > > > > > Then you have never seen anime translations where signage in the > > videos are translat

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Daniel Cantarín
> > Then you have never seen anime translations where signage in the > videos are translated. If the subtitles are off even by one frame in > such a case, you will see it, especially when the translated sign is > moving with the video, and one new subtitle event is generated for > every video fram

Re: [FFmpeg-devel] [PATCH v4 5/5] avfilter: add vf_yadif_videotoolbox

2021-12-18 Thread Aman Karmani
On Fri, Dec 17, 2021 at 1:38 PM Philip Langdale wrote: > On Fri, 17 Dec 2021 12:04:18 -0800 > Aman Karmani wrote: > > > From: Aman Karmani > > > > deinterlaces CVPixelBuffers, i.e. AV_PIX_FMT_VIDEOTOOLBOX frames > > > > for example, an interlaced mpeg2 video can be decoded by avcodec, > > uploa

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Hendrik > Leppkes > Sent: Saturday, December 18, 2021 7:31 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] Politics > > On Sat, Dec 18, 2021 at 7:16 PM Daniel Cantarín wrote: > > > > > This is a

Re: [FFmpeg-devel] [PATCH v5 1/6] lavu/frame: Add Dolby Vision metadata side data type

2021-12-18 Thread Hendrik Leppkes
On Wed, Dec 15, 2021 at 12:33 PM Hendrik Leppkes wrote: > > On Sun, Dec 12, 2021 at 12:56 PM Niklas Haas wrote: > > > > From: Niklas Haas > > > > Any more comments on this set? LGTM now, but others have also had > comments before. > I would prefer if this gets in soon before 5.0, so user-apps ca

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Hendrik Leppkes
On Sat, Dec 18, 2021 at 7:16 PM Daniel Cantarín wrote: > > > This is a very lax attitude towards a serious problem that > > everyone in the fansubbing community deals with. A frame > > of offset is unacceptable for such use-cases, and they have > > to deal with formats which made concessions t

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Daniel Cantarín
> This is a very lax attitude towards a serious problem that > everyone in the fansubbing community deals with. A frame > of offset is unacceptable for such use-cases, and they have > to deal with formats which made concessions to timebases > due to historical blunders. Please link to some such f

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Daniel Cantarín
>> as well as ATSC subtitles > > There are like 2 or 3 characters in each frame. Sometimes > they are shown as they are coming in, sometimes only > when a line is completed, sometimes needs to wait > for subsequent frames before emitting new characters. > This is really not a high-precision thing.

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Lynne
18 Dec 2021, 16:43 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Lynne >> Sent: Saturday, December 18, 2021 4:17 PM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] Politics >> >> 18 Dec 2021, 15:28 by softwo...@hot

Re: [FFmpeg-devel] [PATCH] avutil/display: fix inverted doc

2021-12-18 Thread Andreas Rheinhardt
Zhao Zhili: > --- > libavutil/display.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/display.h b/libavutil/display.h > index 515adad795..d87bf68425 100644 > --- a/libavutil/display.h > +++ b/libavutil/display.h > @@ -88,7 +88,7 @@ > double av_display_rotatio

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ass: Faster ff_ass_add_rect()

2021-12-18 Thread Andreas Rheinhardt
Michael Niedermayer: > On Fri, Dec 17, 2021 at 11:15:06PM +0100, Andreas Rheinhardt wrote: >> Michael Niedermayer: >>> Signed-off-by: Michael Niedermayer >>> --- >>> libavcodec/ass.c | 32 ++-- >>> libavcodec/ass.h | 7 +++ >>> 2 files changed, 33 insertions(+), 6

Re: [FFmpeg-devel] [PATCH v4 3/3] libavdevice/avfoundation.m: Allow to select devices by unique ID.

2021-12-18 Thread Romain Beauxis
> On Dec 17, 2021, at 3:51 PM, Marvin Scholz wrote: > > > > On 17 Dec 2021, at 16:12, Romain Beauxis wrote: > >> This is the third patch of a series of 3 that cleanup and enhance the >> avfoundation implementation for libavdevice. >> >> Changes: >> v2: None >> v3: >> * Switched unique ID t

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Lynne > Sent: Saturday, December 18, 2021 4:17 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] Politics > > 18 Dec 2021, 15:28 by softwo...@hotmail.com: > > > > > > >> -Original Message-

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Daniel Cantarín
I also am not accepting a hardcoded timebase of microseconds. Rounding really matters for subtitles, since presenting them a frame early or late is unacceptable That's simply not true. I don't accept or deny a hardcoded microseconds timebase; that's beyond my knowledge to judge. What I say is n

[FFmpeg-devel] [PATCH] avfilter: add anlmf filter

2021-12-18 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 4 ++-- libavfilter/Makefile | 1 + libavfilter/af_anlms.c | 22 +- libavfilter/allfilters.c | 1 + 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index da9

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Lynne
18 Dec 2021, 15:28 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Lynne >> Sent: Saturday, December 18, 2021 2:33 PM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] Politics >> >> Dec 18, 2021, 12:34 by softwo...@ho

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Lynne > Sent: Saturday, December 18, 2021 2:33 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] Politics > > Dec 18, 2021, 12:34 by softwo...@hotmail.com: > > > > > > >> -Original Message-

[FFmpeg-devel] [PATCH 4/4] avcodec: [loongarch] Optimize vc1dsp with LASX.

2021-12-18 Thread Hao Chen
./ffmpeg -i 11_wmv3_720p_24fps_7Mbps.wmv -f rawvideo -y /dev/null -an before:131fps after :229fps --- libavcodec/loongarch/Makefile|2 + libavcodec/loongarch/vc1dsp_init_loongarch.c | 67 ++ libavcodec/loongarch/vc1dsp_lasx.c | 1005 ++ libavcodec/lo

[FFmpeg-devel] [PATCH 1/4] avcodec: [loongarch] Optimize vp8_lpf/mc with LSX.

2021-12-18 Thread Hao Chen
From: yuanhecai ./ffmpeg -i ../9_vp8_1080p_30fps_2Mbps.webm -f rawvideo -y /dev/null -an before: 210fps after : 585fps --- libavcodec/loongarch/Makefile| 3 + libavcodec/loongarch/vp8_lpf_lsx.c | 591 libavcodec/loongarch/vp8_mc_lsx.c| 951 +++

[FFmpeg-devel] Optimize VP8,VP9,WMV3 decoding for loongarch.

2021-12-18 Thread Hao Chen
./ffmpeg -i ../9_vp8_1080p_30fps_2Mbps.webm -f rawvideo -y /dev/null -an before: 210fps after : 585fps ffmpeg -i ../10_vp9_1080p_30fps_3Mbps.webm -f rawvideo -y /dev/null -an before:170fps after :294fps ./ffmpeg -i 11_wmv3_720p_24fps_7Mbps.wmv -f rawvideo -y /dev/null -an before:131fps after :229fp

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ass: Faster ff_ass_add_rect()

2021-12-18 Thread Michael Niedermayer
On Fri, Dec 17, 2021 at 11:15:06PM +0100, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/ass.c | 32 ++-- > > libavcodec/ass.h | 7 +++ > > 2 files changed, 33 insertions(+), 6 deletions(-) > > > > d

Re: [FFmpeg-devel] [PATCH 000/279 v2] New channel layout API

2021-12-18 Thread Michael Niedermayer
On Sat, Dec 18, 2021 at 02:36:12PM +0100, Michael Niedermayer wrote: > On Fri, Dec 17, 2021 at 07:04:08PM +0100, Marton Balint wrote: > > > > > > On Fri, 17 Dec 2021, Michael Niedermayer wrote: > > > > > On Fri, Dec 17, 2021 at 01:04:19AM +0100, Marton Balint wrote: > > > > > > > > > > > > On

Re: [FFmpeg-devel] [PATCH 000/279 v2] New channel layout API

2021-12-18 Thread Michael Niedermayer
On Fri, Dec 17, 2021 at 07:04:08PM +0100, Marton Balint wrote: > > > On Fri, 17 Dec 2021, Michael Niedermayer wrote: > > > On Fri, Dec 17, 2021 at 01:04:19AM +0100, Marton Balint wrote: > > > > > > > > > On Thu, 16 Dec 2021, James Almer wrote: > > > > > > > Resending the first two patches onl

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Lynne
Dec 18, 2021, 12:34 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Paul B >> Mahol >> Sent: Saturday, December 18, 2021 11:27 AM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] Politics >> >> On Wed, Dec 15, 2021 at

[FFmpeg-devel] opw mail spam

2021-12-18 Thread Michael Niedermayer
Hi all ive disabled the opw at ffmpeg mail alias reason noone sent anything usefull there since years and its lots of spam also very few people where left listening to it so had someone sent something there it might not have reached the right person if we need a new such alias in the future ill c

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Paul B > Mahol > Sent: Saturday, December 18, 2021 11:27 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] Politics > > On Wed, Dec 15, 2021 at 2:34 PM Soft Works wrote: > [..] > > > > Once for

[FFmpeg-devel] [PATCH 2/2] avformat/wvenc: Make init function out of write_header

2021-12-18 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/wvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/wvenc.c b/libavformat/wvenc.c index 9a42f71440..0dca2f7996 100644 --- a/libavformat/wvenc.c +++ b/libavformat/wvenc.c @@ -30,7 +30,7 @@ typedef struct WvMu

[FFmpeg-devel] [PATCH 1/2] avformat/crcenc: Make init function out of write_header

2021-12-18 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/crcenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/crcenc.c b/libavformat/crcenc.c index c58fbd6c88..9f40dd4ec0 100644 --- a/libavformat/crcenc.c +++ b/libavformat/crcenc.c @@ -28,7 +28,7 @@ typedef struct

Re: [FFmpeg-devel] Politics

2021-12-18 Thread Paul B Mahol
On Wed, Dec 15, 2021 at 2:34 PM Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Paul B > > Mahol > > Sent: Wednesday, December 15, 2021 10:34 AM > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] Politics > > > > On Tue, D