Re: [FFmpeg-devel] [PATCH 1/2] configure: update api version of libdavs2

2018-11-17 Thread hwren
At 2018-11-18 02:45:23, "Michael Niedermayer" wrote: >On Sun, Nov 18, 2018 at 12:54:09AM +0800, hwren wrote: >> From: hwrenx >> >> api version update. >> >> detials could be found in davs2-git >> https://github.com/pkuvcl/davs2 >> >> Signed-off-by: hwrenx >> --- >> configure |

Re: [FFmpeg-devel] [PATCH 1/2] configure: update api version of libdavs2

2018-11-17 Thread hwren
At 2018-11-18 01:01:36, "Carl Eugen Hoyos" wrote: >2018-11-17 17:54 GMT+01:00, hwren : >> From: hwrenx >> >> api version update. >> >> detials could be found in davs2-git >> https://github.com/pkuvcl/davs2 >> >> Signed-off-by: hwrenx >> --- >> configure | 2 +- >> 1 file changed, 1

[FFmpeg-devel] [PATCH v2 2/3] configure: update api version of libdavs2

2018-11-17 Thread hwrenx
From: hwrenx add parameter disable_avx ... more detials could be found in davs2-git https://github.com/pkuvcl/davs2 Signed-off-by: hwrenx --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index dee901d..fb70181 100755 --- a/configure +++

[FFmpeg-devel] [PATCH v2 3/3] lavc/libdavs2: add disable_avx into decoder parameter

2018-11-17 Thread hwrenx
From: hwrenx Signed-off-by: hwrenx --- libavcodec/libdavs2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index cadf995..8cef49d 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -42,11 +42,14 @@ typedef struct

[FFmpeg-devel] [PATCH v2 1/3] configure: update api version of libxavs2

2018-11-17 Thread hwrenx
From: hwrenx abolish parameter IntraPeriod && replaced by IntraPeriodMax/Min ... more detials could be found in xavs2-git https://github.com/pkuvcl/xavs2 Signed-off-by: hwrenx --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index

[FFmpeg-devel] [PATCH v2] swscale/output: Altivec-optimize yuv2plane1_8

2018-11-17 Thread Lauri Kasanen
./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p \ -f null -vframes 100 -v error -nostats - 1158 UNITS in planar1, 65528 runs, 8 skips -cpuflags 0 19082 UNITS in planar1, 65533 runs, 3 skips 16.48 speedup ratio. On x86, SSE2 is ~7. Curiously, the

Re: [FFmpeg-devel] [PATCH] [HLS] Add LANGUAGE attribute to #EXT-X-MEDIA tag for audio-only variant streams.

2018-11-17 Thread Moritz Barsnick
On Thu, Nov 15, 2018 at 00:29:00 +0100, Philippe Symons wrote: > Here is the new version of the patch in which the comments on the curly > braces have been resolved as well. Style-wise, there are other issues. (I'm not judging technically here.) > Subject: [PATCH] [HLS] Add LANGUAGE attribute to

Re: [FFmpeg-devel] [PATCH] swscale/output: Altivec-optimize yuv2plane1_8

2018-11-17 Thread Lauri Kasanen
On Fri, 16 Nov 2018 22:09:25 +0100 Carl Eugen Hoyos wrote: > (This is less important atm, but I believe all functions currently > in libswscale/ppc compile and run fine on - old - 32bit be hardware > as your new function does. > My completely inexperienced suspicion is that the instruction that

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

2018-11-17 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 17 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_chromashift.c | 251 +++ 4 files changed, 270 insertions(+) create mode 100644

[FFmpeg-devel] avutil - swscale : add YUVA444P12 and YUVA422P12

2018-11-17 Thread Martin Vignali
Hello, Patch in attach add new pix fmt YUVA444P12 and YUVA422P12 In order to add 12b decoding for prores Martin 0001-avutil-add-YUVA444P12-and-YUVA422P12.patch Description: Binary data 0002-swscale-add-support-for-YUVA444p12-and-YUVA422P12.patch Description: Binary data

[FFmpeg-devel] vf_blend : use av_clip_uintp2 instead of av_clip for 10b and 12b

2018-11-17 Thread Martin Vignali
Hello, Patch in attach fix make fate-source error in vf_blend Untested Martin 0003-vf_blend-use-av_clip_uintp2-instead-of-av_clip.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] fate-source : add cuda_check to ignore files list

2018-11-17 Thread Philip Langdale
On Sat, 17 Nov 2018 17:05:00 +0100 Martin Vignali wrote: > Hello, > > Patch in attach fix make fate-source error for cuda_check files > > Martin Thanks for pointing this out. I've pushed a slightly different fix where I made the inclusion guards follow the standard pattern. --phil

[FFmpeg-devel] [PATCH 1/2] configure: update api version of libdavs2

2018-11-17 Thread hwren
From: hwrenx api version update. detials could be found in davs2-git https://github.com/pkuvcl/davs2 Signed-off-by: hwrenx --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9bc4cf3..d2159db 100755 --- a/configure +++

[FFmpeg-devel] [PATCH 2/2] configure: update api version of libxavs2

2018-11-17 Thread hwren
From: hwrenx api version update. more detials could be found in xavs2-git https://github.com/pkuvcl/xavs2 Signed-off-by: hwrenx --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index d2159db..fb70181 100755 --- a/configure +++

[FFmpeg-devel] [PATCH] avcodec/truemotion2rt: Fix rounding in input size check

2018-11-17 Thread Michael Niedermayer
Fixes: Timeout Fixes: 11332/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2RT_fuzzer-5678456612847616 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/truemotion2rt.c | 2 +- 1

[FFmpeg-devel] fate-source : add cuda_check to ignore files list

2018-11-17 Thread Martin Vignali
Hello, Patch in attach fix make fate-source error for cuda_check files Martin 0004-fate-source-add-cuda_check-file-to.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] vf_blend : use av_clip_uintp2 instead of av_clip for 10b and 12b

2018-11-17 Thread Paul B Mahol
On 11/17/18, Paul B Mahol wrote: > On 11/17/18, Martin Vignali wrote: >> Hello, >> >> Patch in attach fix make fate-source error in vf_blend >> >> Untested > > I tried that approach and compiler miscompiles code for 8 < bitdpeth < 16. > Actually, bug happens because of unsigned integer

Re: [FFmpeg-devel] [PATCH 1/2] configure: update api version of libdavs2

2018-11-17 Thread Carl Eugen Hoyos
2018-11-17 17:54 GMT+01:00, hwren : > From: hwrenx > > api version update. > > detials could be found in davs2-git > https://github.com/pkuvcl/davs2 > > Signed-off-by: hwrenx > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index

[FFmpeg-devel] [PATCH 1/4] lavf/dashenc: Add DASH segment type auto and make it the default

2018-11-17 Thread Andrey Semashev
This commit restores the ability to create DASH streams with codecs that require different containers that was lost after commit 2efdbf7367989cf9d296c25fa3d2aff8d6e25fdd. It adds a new "auto" value for the dash_segment_type option and makes it the default. When in this mode, the segment format

[FFmpeg-devel] [PATCH 3/4] lavf/dashdec: Add webm to the list of allowed extensions.

2018-11-17 Thread Andrey Semashev
This is in coherence with dashenc, which can now generate segments with webm file name extension by default. Dashdec should be able to handle such streams by default as well. --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c

[FFmpeg-devel] [PATCH 2/4] lavf/dashenc: Add support for format-specific file extensions.

2018-11-17 Thread Andrey Semashev
The file name template options now support a new "$ext$" placeholder, which is replaced with a filename extension specific for the selected file format. This is useful for the new "auto" format mode, when different streams may use different file formats, and it is not possible to specify the

[FFmpeg-devel] [PATCH 4/4] lavf/dashenc: Fix AVDictionary leaks in case of various init errors.

2018-11-17 Thread Andrey Semashev
--- libavformat/dashenc.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index f552503564..2c872f93a1 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -833,12 +833,12 @@ static int

Re: [FFmpeg-devel] [PATCH] swscale/output: Altivec-optimize yuv2plane1_8

2018-11-17 Thread Lauri Kasanen
On Sat, 17 Nov 2018 15:20:08 +0100 Carl Eugen Hoyos wrote: > 2018-11-17 9:09 GMT+01:00, Lauri Kasanen : > > Carl Eugen Hoyos wrote: > >> (This is less important atm, but I believe all functions currently > >> in libswscale/ppc compile and run fine on - old - 32bit be hardware > >> as your new

Re: [FFmpeg-devel] vf_blend : use av_clip_uintp2 instead of av_clip for 10b and 12b

2018-11-17 Thread Paul B Mahol
On 11/17/18, Martin Vignali wrote: > Hello, > > Patch in attach fix make fate-source error in vf_blend > > Untested I tried that approach and compiler miscompiles code for 8 < bitdpeth < 16. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 1/2] configure: update api version of libdavs2

2018-11-17 Thread Michael Niedermayer
On Sun, Nov 18, 2018 at 12:54:09AM +0800, hwren wrote: > From: hwrenx > > api version update. > > detials could be found in davs2-git > https://github.com/pkuvcl/davs2 > > Signed-off-by: hwrenx > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[FFmpeg-devel] [PATCH] avcodec/mpeg_er: fix clearing chroma blocks for 422 and 444

2018-11-17 Thread Marton Balint
Fixes ticket #7494. Signed-off-by: Marton Balint --- libavcodec/mpeg_er.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mpeg_er.c b/libavcodec/mpeg_er.c index ada1a1692f..f54cb8548b 100644 --- a/libavcodec/mpeg_er.c +++ b/libavcodec/mpeg_er.c @@ -78,6 +78,8 @@ static void

Re: [FFmpeg-devel] [PATCH] avfilter/vf_freezedetect: add filter to detect frozen input

2018-11-17 Thread Marton Balint
On Sun, 11 Nov 2018, Paul B Mahol wrote: On 11/11/18, Marton Balint wrote: Signed-off-by: Marton Balint --- Changelog | 1 + configure | 1 + doc/filters.texi | 29 + libavfilter/Makefile | 1 +

Re: [FFmpeg-devel] [PATCH] avfilter/vf_freezedetect: add filter to detect frozen input

2018-11-17 Thread Paul B Mahol
On 11/17/18, Marton Balint wrote: > > On Sun, 11 Nov 2018, Paul B Mahol wrote: > >> On 11/11/18, Marton Balint wrote: >>> Signed-off-by: Marton Balint >>> --- >>> Changelog | 1 + >>> configure | 1 + >>> doc/filters.texi | 29 + >>>

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

2018-11-17 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Works only after mestimate or when motion vectors are exported. --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_mcompensate.c | 173 +++ 3 files changed, 175 insertions(+) create mode

Re: [FFmpeg-devel] [PATCH] avfilter/vf_freezedetect: add filter to detect frozen input

2018-11-17 Thread Marton Balint
On Sat, 17 Nov 2018, Paul B Mahol wrote: On 11/17/18, Marton Balint wrote: On Sun, 11 Nov 2018, Paul B Mahol wrote: On 11/11/18, Marton Balint wrote: Signed-off-by: Marton Balint --- Changelog | 1 + configure | 1 + doc/filters.texi

[FFmpeg-devel] avcodec/proresdec : add 12b decoding support

2018-11-17 Thread Martin Vignali
Hello, Patchs in attach add 12b decoding for prores Theses patch are based on patch by Kieran Kunhya https://pastebin.com/mYNJkdMH After theses patch by default Prores 422 are decode in 10b and 444 in 12b I add a user option, to force 10b or 12b decoding Need to be apply after patch "avutil -

Re: [FFmpeg-devel] avutil - swscale : add YUVA444P12 and YUVA422P12

2018-11-17 Thread Michael Niedermayer
On Sat, Nov 17, 2018 at 04:41:26PM +0100, Martin Vignali wrote: > Hello, > > Patch in attach add new pix fmt YUVA444P12 and YUVA422P12 > > In order to add 12b decoding for prores > > > Martin > libavutil/pixdesc.c | 52 > +++ >

Re: [FFmpeg-devel] [PATCH v2] swscale/output: Altivec-optimize yuv2plane1_8

2018-11-17 Thread Michael Niedermayer
On Sat, Nov 17, 2018 at 10:12:14AM +0200, Lauri Kasanen wrote: > ./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p > \ > -f null -vframes 100 -v error -nostats - > > 1158 UNITS in planar1, 65528 runs, 8 skips > > -cpuflags 0 > > 19082 UNITS in planar1,

Re: [FFmpeg-devel] avcodec/proresdec : add 12b decoding support

2018-11-17 Thread Kieran O Leary
Hi On Sat, 17 Nov 2018, 23:28 Martin Vignali Hello, > > Patchs in attach add 12b decoding for prores > Theses patch are based on patch by Kieran Kunhya > https://pastebin.com/mYNJkdMH > > After theses patch by default Prores 422 are decode in 10b and 444 in 12b > I add a user option, to force

Re: [FFmpeg-devel] avcodec/proresdec : add 12b decoding support

2018-11-17 Thread Carl Eugen Hoyos
2018-11-18 0:28 GMT+01:00, Martin Vignali : > 012 : Add 12b support for 444 by default, Is it slower? I believe that once 12 bit decoding is not slower, it should be the default for 422. > and add user option for setting decoding precision I wonder if this is necessary and correct: Calling

Re: [FFmpeg-devel] [PATCH] Add CUDA function cuMemAllocPitch

2018-11-17 Thread Timo Rothenpieler
applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]configure: Disable direct stripping on sunos.

2018-11-17 Thread Carl Eugen Hoyos
Hi! Attached patch simplifies building on sunos (which is currently broken due to the sed call). Please comment, Carl Eugen From 1f0b943b5f9573990a0f5c6a608b1fbd65c62687 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 18 Nov 2018 04:25:29 +0100 Subject: [PATCH] configure: Disable

[FFmpeg-devel] [PATCH]configure: Add -Wno-char-subscripts

2018-11-17 Thread Carl Eugen Hoyos
Hi! On systems with signed char, the compiler cannot distinguish between (intended) int8_t used as subscript and unintended char, therefore the warning doesn't help. Please comment, Carl Eugen From dbe60ba171e5ab207b8abda44a9d3236f3079c01 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: