[FFmpeg-devel] [PATCH] lavf/srt: fix build fail when used the libsrt 1.4.1

2020-07-11 Thread Jun Zhao
From: Jun Zhao libsrt 1.4.1 changed the: SRTO_SMOOTHER -> SRTO_CONGESTION SRTO_STRICTENC -> SRTO_ENFORCEDENCRYPTION SRTO_TSBPDDELAY -> SRTO_LATENCY and removed the front of deprecated option, it's lead to build fail fix #8760 Signed-off-by: Jun Zhao --- libavformat/libsrt.c | 8 1

Re: [FFmpeg-devel] [PATCH v08 2/3] fbtile tile/detile, hwcontext_drm detile NonLinear

2020-07-11 Thread C Hanish Menon
Hi Lynne, On Sat, 11 Jul, 2020, 20:31 C Hanish Menon, wrote: > Hi Lynne, > > On Sat, Jul 11, 2020 at 5:20 PM Lynne wrote: > >> Jul 11, 2020, 08:52 by hanish...@gmail.com: >> >> > ** fbtile cpu based framebuffer tile/detile helpers >> > >> > Add helper routines which can be used to tile/detile f

Re: [FFmpeg-devel] [PATCH v8 3/3] avdevice/decklink_dec: export timecode with s12m side data

2020-07-11 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavdevice/decklink_dec.cpp | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp > index a499972..146f56f 100644 > --- a/libavdevice

Re: [FFmpeg-devel] [PATCH] tools/coverity: override av_dict_set

2020-07-11 Thread Timo Rothenpieler
On 11.07.2020 22:17, Andreas Rheinhardt wrote: Timo Rothenpieler: Coverity thinks av_dict_set frees the key and value parameter, because it has the (rarely used) option to do so, and it's not smart enough to figure out it depends on the flags parameter. So lets provide a custom implementation th

Re: [FFmpeg-devel] Bug in FFMPEG video filter TINTERLACE needs fixing

2020-07-11 Thread Ben Hutchinson
I was assuming it started from 1, because in the NTSC video standard (which is of course where the concept of interlaced video originated), the first field is called field 1. Field 1 contains the first full line of displayed video (though technically field 2 contains the first image data, one line

Re: [FFmpeg-devel] [PATCH v8 3/3] avdevice/decklink_dec: export timecode with s12m side data

2020-07-11 Thread Marton Balint
On Sun, 12 Jul 2020, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec.cpp | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index a499972..146f56f 100644 --- a/l

[FFmpeg-devel] [PATCH] checkasm/vf_blend: use the correct depth parameters to initialize the blend modes

2020-07-11 Thread James Almer
This effectively enables the tests that until now were just running the C version alone. Signed-off-by: James Almer --- tests/checkasm/vf_blend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c index a7578fec39..bdd21d4986

Re: [FFmpeg-devel] [PATCH v7 3/3] avdevice/decklink_dec: export timecode with s12m side data

2020-07-11 Thread lance . lmwang
On Sat, Jul 11, 2020 at 07:13:31PM +0200, Marton Balint wrote: > > > On Fri, 10 Jul 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavdevice/decklink_dec.cpp | 16 > > 1 file changed, 16 insertions(+) > > > > diff --

[FFmpeg-devel] [PATCH v8 3/3] avdevice/decklink_dec: export timecode with s12m side data

2020-07-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec.cpp | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index a499972..146f56f 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklink

[FFmpeg-devel] [PATCH 2/2] swscale/tests/swscale: Initialize res to a non random error code

2020-07-11 Thread Michael Niedermayer
Regression since: 3adffab073bc59af39035168ac72bc9ffde3 -1 is consistent what other error paths return Signed-off-by: Michael Niedermayer --- libswscale/tests/swscale.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscal

[FFmpeg-devel] [PATCH 1/2] swscale/tests/swscale: Fix incorrect return code check

2020-07-11 Thread Michael Niedermayer
Regression since: 3adffab073bc59af39035168ac72bc9ffde3 Signed-off-by: Michael Niedermayer --- libswscale/tests/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c index 693f439bf5..58870fdb78 100644 --- a/libsw

Re: [FFmpeg-devel] [PATCH 1/1] MAINTAINERS: add myself and gpg fingerprint

2020-07-11 Thread Michael Niedermayer
On Tue, Jul 07, 2020 at 03:26:38PM +, Zane van Iperen wrote: > Signed-off-by: Zane van Iperen > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) will apply this soon unless i hear objections thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FA

Re: [FFmpeg-devel] [PATCH] tools/coverity: override av_dict_set

2020-07-11 Thread Andreas Rheinhardt
Timo Rothenpieler: > Coverity thinks av_dict_set frees the key and value parameter, because > it has the (rarely used) option to do so, and it's not smart enough to > figure out it depends on the flags parameter. > So lets provide a custom implementation that does not free them. > --- > tools/cove

[FFmpeg-devel] [PATCH] tools/coverity: override av_dict_set

2020-07-11 Thread Timo Rothenpieler
Coverity thinks av_dict_set frees the key and value parameter, because it has the (rarely used) option to do so, and it's not smart enough to figure out it depends on the flags parameter. So lets provide a custom implementation that does not free them. --- tools/coverity.c | 9 + 1 file ch

Re: [FFmpeg-devel] [PATCH v2 2/2] lavf/udp: fix the commets for defalt UDP socket recvbuf size

2020-07-11 Thread Nicolas George
Marton Balint (12020-07-11): > LGTM, thanks. Whoever pushes, fix the typo in the commit message please. Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/ma

Re: [FFmpeg-devel] [PATCH v7 3/3] avdevice/decklink_dec: export timecode with s12m side data

2020-07-11 Thread Marton Balint
On Fri, 10 Jul 2020, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec.cpp | 16 1 file changed, 16 insertions(+) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index a499972..8adc00b 100644 --- a

Re: [FFmpeg-devel] [PATCH v2 2/2] lavf/udp: fix the commets for defalt UDP socket recvbuf size

2020-07-11 Thread Marton Balint
On Sat, 11 Jul 2020, Jun Zhao wrote: From: Jun Zhao 15d160cc0b2 increased the UDP socket receiving buffer size (64K ->384K), but missed to update this comments. Signed-off-by: Jun Zhao --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.

[FFmpeg-devel] [PATCH] avformat/mov: fix atom type to string conversion

2020-07-11 Thread Zhao Zhili
The conversion was endian-dependent, and it may contain non-printable characters. --- libavformat/mov.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index da438e4e2c..ba05223cd0 100644 --- a/libavformat/mov.c +++ b/libavformat/m

Re: [FFmpeg-devel] [PATCH] libavfilter/glslang: Remove unused header

2020-07-11 Thread Lynne
Jul 10, 2020, 16:53 by bclayton-at-google@ffmpeg.org: > The include was not used, and revision.h has > been removed from glslang master. > See: https://github.com/KhronosGroup/glslang/pull/2277 > Thanks, pushed. ___ ffmpeg-devel mailing list ffmpe

Re: [FFmpeg-devel] [PATCH v08 2/3] fbtile tile/detile, hwcontext_drm detile NonLinear

2020-07-11 Thread Lynne
Jul 11, 2020, 08:52 by hanish...@gmail.com: > ** fbtile cpu based framebuffer tile/detile helpers > > Add helper routines which can be used to tile/detile framebuffer > layouts between linear and specified tile layout, using the cpu. > > Currently it supports Legacy Intel Tile-X, Legacy Intel Tile

Re: [FFmpeg-devel] [PATCH v06 2/5] fbtile helperRoutines cpu based framebuffer detiling

2020-07-11 Thread C Hanish Menon
Hi Mark, On Mon, Jul 6, 2020 at 4:18 AM Mark Thompson wrote: > On 04/07/2020 14:17, hanishkvc wrote: > > Add helper routines which can be used to detile tiled framebuffer > > layouts into a linear layout, using the cpu. > > > > Currently it supports Legacy Intel Tile-X, Legacy Intel Tile-Y and >

Re: [FFmpeg-devel] [PATCH v08 2/3] fbtile tile/detile, hwcontext_drm detile NonLinear

2020-07-11 Thread C Hanish Menon
Hi Lynne, On Sat, Jul 11, 2020 at 5:20 PM Lynne wrote: > Jul 11, 2020, 08:52 by hanish...@gmail.com: > > > ** fbtile cpu based framebuffer tile/detile helpers > > > > Add helper routines which can be used to tile/detile framebuffer > > layouts between linear and specified tile layout, using the

[FFmpeg-devel] [PATCH 3/3 v2] x86/vf_blend: fix warnings about trailing empty parameters

2020-07-11 Thread James Almer
Signed-off-by: James Almer --- Now generating the same output as before. The checkasm test needs to be fixed. libavfilter/x86/vf_blend.asm | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/libavfilter/x86/vf_blend.asm b/libavfilter/x86/vf_b

Re: [FFmpeg-devel] [PATCH 3/3] x86/vf_blend: fix warnings about trailing empty parameters

2020-07-11 Thread James Almer
On 7/10/2020 6:54 PM, Henrik Gramner wrote: > On Thu, Jul 9, 2020 at 4:54 PM James Almer wrote: >> @@ -38,7 +38,7 @@ pb_255: times 16 db 255 >> >> SECTION .text >> >> -%macro BLEND_INIT 2-3 >> +%macro BLEND_INIT 2 >> %if ARCH_X86_64 >> cglobal blend_%1, 6, 9, %2, top, top_linesize, bottom, bott

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_tinterlace: fix mergex2, first frame is always considered odd

2020-07-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_tinterlace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index d145e35520..542b66898e 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@

Re: [FFmpeg-devel] [PATCH v2 1/2] lavfi/setpts: fix setpts/asetpts option dump error

2020-07-11 Thread Paul B Mahol
ok On 7/11/20, Jun Zhao wrote: > From: Jun Zhao > > fix the command ffmpeg -h filter=setpts/asetpts both dump the expr > option with "FVA" flags. > > Signed-off-by: Jun Zhao > --- > libavfilter/setpts.c | 18 +++--- > 1 file changed, 11 insertions(+), 7 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH v2 2/2] lavf/udp: fix the commets for defalt UDP socket recvbuf size

2020-07-11 Thread Jun Zhao
From: Jun Zhao 15d160cc0b2 increased the UDP socket receiving buffer size (64K ->384K), but missed to update this comments. Signed-off-by: Jun Zhao --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index ad6992c..30d

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_tinterlace: use frame counter from lavfi

2020-07-11 Thread Paul B Mahol
Remove internal counter. Signed-off-by: Paul B Mahol --- libavfilter/tinterlace.h| 1 - libavfilter/vf_tinterlace.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/tinterlace.h b/libavfilter/tinterlace.h index 020887ff34..4059ebf81a 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH v2 1/2] lavfi/setpts: fix setpts/asetpts option dump error

2020-07-11 Thread Jun Zhao
From: Jun Zhao fix the command ffmpeg -h filter=setpts/asetpts both dump the expr option with "FVA" flags. Signed-off-by: Jun Zhao --- libavfilter/setpts.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c index

Re: [FFmpeg-devel] Bug in FFMPEG video filter TINTERLACE needs fixing

2020-07-11 Thread Paul B Mahol
On 7/11/20, Ben Hutchinson wrote: > I was reading it directly from the official FFMPEG website. > https://ffmpeg.org/ffmpeg-filters.html > All the info about the TINTERLACE filter I got from reading the info there. > OK, lets try again, where have you read that first frame is always an odd frame,

Re: [FFmpeg-devel] Bug in FFMPEG video filter TINTERLACE needs fixing

2020-07-11 Thread Ben Hutchinson
I was reading it directly from the official FFMPEG website. https://ffmpeg.org/ffmpeg-filters.html All the info about the TINTERLACE filter I got from reading the info there. On Fri, Jul 10, 2020 at 2:14 AM Paul B Mahol wrote: > On 7/8/20, Ben Hutchinson wrote: > > According to the documentatio

[FFmpeg-devel] [PATCH v6] avdevice/xcbgrab: Add select_region option

2020-07-11 Thread Omar Emara
This patch adds a select_region option to the xcbgrab input device. If set to 1, the user will be prompted to select the grabbing area graphically by clicking and dragging. A rectangle will be drawn to mark the grabbing area. A single click with no dragging will select the whole screen. The option

Re: [FFmpeg-devel] [PATCH] lavc/cfhd:3d transform decoding for both progressive and interlaced

2020-07-11 Thread Paul B Mahol
On 7/4/20, Kieran Kunhya wrote: > On Sat, 4 Jul 2020 at 18:39, Paul B Mahol wrote: > >> NAK >> >> Removed frame threading. >> > > That is coming in another patch There is no point in splitting patches and disabling threading and enabling it again in different patch. It is probably best to merge

[FFmpeg-devel] [PATCH v08 0/3] *** kmsgrab, fbtile hwdownload_drm, VFs ***

2020-07-11 Thread hanishkvc
This consists of P1) kmsgrab updated to pickup format_modifier using drm getfb2, provided the user has not explicitly set a format_modifier and GetFB2 is part of xf86drmMode.h Apply this patch set. P2) hwcontext_drm updated to detile known tile layouts, when user tries to get d

[FFmpeg-devel] [PATCH v08 1/3] KMSGrab: getfb2 format_modifier if user doesnt specify

2020-07-11 Thread hanishkvc
If user doesnt specify a format_modifier explicitly, then use GetFB2 to identify the format_modifier of the framebuffer being grabbed. This is supported on newer linux builds, where xf86drmMode.h has added support for GetFB2. --- Changelog | 1 + configure | 5 + lib

[FFmpeg-devel] [PATCH v08 1/3] KMSGrab: getfb2 format_modifier if user doesnt specify

2020-07-11 Thread hanishkvc
If user doesnt specify a format_modifier explicitly, then use GetFB2 to identify the format_modifier of the framebuffer being grabbed. This is supported on newer linux builds, where xf86drmMode.h has added support for GetFB2. --- Changelog | 1 + configure | 5 + lib

[FFmpeg-devel] [PATCH] avformat/crypto.c: remove unnecessary code

2020-07-11 Thread Steven Liu
Because the newpos variable is set value before use it. The newpos variable declared at the head partition of crypto_seek. Signed-off-by: Steven Liu --- libavformat/crypto.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/libavformat/crypto.c b/libavformat/crypto.

[FFmpeg-devel] [PATCH v08 2/3] fbtile tile/detile, hwcontext_drm detile NonLinear

2020-07-11 Thread hanishkvc
** fbtile cpu based framebuffer tile/detile helpers Add helper routines which can be used to tile/detile framebuffer layouts between linear and specified tile layout, using the cpu. Currently it supports Legacy Intel Tile-X, Legacy Intel Tile-Y and Newer Intel Tile-Yf tiled layouts. Currently su

[FFmpeg-devel] [PATCH v08 3/3] VF fbtiler (tile/detile) and hwdownload (detile)

2020-07-11 Thread hanishkvc
NOTE: THis is provided for reference, in case someone needs it. fbtiler videofilter cpu based framebuffer tiling/detiling This adds a video filter called fbtiler, which allows the user to tile/detile framebuffer layout between linear and tiled layouts, if required. It uses the fb