Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Paul B Mahol
On 4/27/18, Michael Niedermayer wrote: > On Fri, Apr 27, 2018 at 02:36:05AM +0200, Michael Niedermayer wrote: >> On Fri, Apr 27, 2018 at 12:08:16AM +0100, Josh de Kock wrote: >> > The postproc library is only used in a single filter, so should be moved >> > into the filter

[FFmpeg-devel] [PATCH 0/1] fix cuCtxPushCurrent signature

2018-04-27 Thread Daniel Oberhoff
passes silently in c but fails to compile under c++ if used right Daniel Oberhoff (1): fix cuCtxPushCurrent signature include/ffnvcodec/dynlink_cuda.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.3 (Apple Git-98) ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Michael Niedermayer
On Fri, Apr 27, 2018 at 02:36:05AM +0200, Michael Niedermayer wrote: > On Fri, Apr 27, 2018 at 12:08:16AM +0100, Josh de Kock wrote: > > The postproc library is only used in a single filter, so should be moved > > into the filter itself if the filter was to stay, but the filter has all of > >

Re: [FFmpeg-devel] Typo in h264_parser.c ?

2018-04-27 Thread John Pilkington
On 27/04/18 00:47, Mark Thompson wrote: On 27/04/18 00:33, John Pilkington wrote: Hi: I haven't previously posted here. I've been on the mythtv lists since 2005 and wrote a cutting script that I use daily on mpeg2video SD recordings from DVB-T; it cuts with Project-X, at keyframes.  I have

Re: [FFmpeg-devel] [PATCH 1/3] avformat/utils: function to get the formatted ntp time

2018-04-27 Thread Dixit, Vishwanath
On 4/27/18 5:15 AM, Michael Niedermayer wrote: > On Thu, Apr 26, 2018 at 11:05:59AM +, Dixit, Vishwanath wrote: >> >> >> On 4/26/18 1:04 AM, Michael Niedermayer wrote: >>> On Tue, Apr 24, 2018 at 02:46:56PM +0530, vdi...@akamai.com wrote: From: Vishwanath Dixit

Re: [FFmpeg-devel] [PATCH 15/26] vaapi_encode: Clean up rate control configuration

2018-04-27 Thread Mark Thompson
On 27/04/18 05:10, Xiang, Haihao wrote: > On Sun, 2018-04-22 at 16:29 +0100, Mark Thompson wrote: >> Query which modes are supported and select between VBR and CBR based >> on that. Removes all of the codec-specific rate control mode selection >> code. Also ensures that target percentage and

Re: [FFmpeg-devel] [PATCH v2 3/3] avformat/dashenc: Set mp4 as the default format for VP9

2018-04-27 Thread Michael Niedermayer
On Fri, Apr 27, 2018 at 04:33:27AM +, Jeyapal, Karthick wrote: > > > On 4/27/18 4:26 AM, Michael Niedermayer wrote: > > On Fri, Apr 27, 2018 at 12:35:42AM +0300, Jan Ekström wrote: > >> On Thu, Apr 26, 2018 at 12:00 PM, Jeyapal, Karthick > >> wrote: > >>> > >>> > >>>

[FFmpeg-devel] [PATCH 1/1] fix cuCtxPushCurrent signature

2018-04-27 Thread Daniel Oberhoff
--- include/ffnvcodec/dynlink_cuda.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ffnvcodec/dynlink_cuda.h b/include/ffnvcodec/dynlink_cuda.h index 2cc50bb..82c5fe3 100644 --- a/include/ffnvcodec/dynlink_cuda.h +++ b/include/ffnvcodec/dynlink_cuda.h @@ -108,7 +108,7

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Jean-Baptiste Kempf
Hello, On Fri, 27 Apr 2018, at 12:39, Paul B Mahol wrote: > No point to have separate library nobody really uses. VLC uses libprostproc, but we see many crashes in it, and the usefulness is not very obvious/visible depending on the codec. A general library/filter to "smooth" would be very very

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Paul B Mahol
On 4/27/18, Jean-Baptiste Kempf wrote: > Hello, > > On Fri, 27 Apr 2018, at 12:39, Paul B Mahol wrote: >> No point to have separate library nobody really uses. > > VLC uses libprostproc, but we see many crashes in it, and the usefulness is > not very obvious/visible depending

Re: [FFmpeg-devel] [PATCH] checkasm/hevc_mc : add hevc_mc for checkasm

2018-04-27 Thread Yingming Fan
Thank you for your review. > On Apr 17, 2018, at 15:29, Shengbin Meng > wrote: > > > >> On Apr 9, 2018, at 10:12, Yingming Fan > > wrote: >> >> From: Yingming Fan

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Nicolas George
Paul B Mahol (2018-04-27): > Perhaps you forgot, but I removed libmpcodecs + wrapper. Yes, but you also spend time writing (probably) useful code. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Paul B Mahol
On 4/27/18, Nicolas George wrote: > Paul B Mahol (2018-04-27): >> Libpostproc was removed from Libav, you failed somehow merge that change? > > Many useful things were removed from libav. > > I find somewhat disturbing the amount of time and effort that some > people (not you)

Re: [FFmpeg-devel] [PATCH 1/1] fix cuCtxPushCurrent signature

2018-04-27 Thread Timo Rothenpieler
applied signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Nicolas George
Paul B Mahol (2018-04-27): > Libpostproc was removed from Libav, you failed somehow merge that change? Many useful things were removed from libav. I find somewhat disturbing the amount of time and effort that some people (not you) spend trying to remove harmless code instead of producing useful

[FFmpeg-devel] [PATCH] avfilter/vf_overlay: add slice threading

2018-04-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_overlay.c | 257 --- 1 file changed, 175 insertions(+), 82 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index c6a6ac82f3..d46804125e 100644 ---

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Carl Eugen Hoyos
2018-04-27 14:40 GMT+02:00, Jean-Baptiste Kempf : > Hello, > > On Fri, 27 Apr 2018, at 12:39, Paul B Mahol wrote: >> No point to have separate library nobody really uses. > > VLC uses libprostproc, but we see many crashes in it Please point us to the bug reports. Thank you,

[FFmpeg-devel] [PATCH] fftools/ffmpeg: Add system time and real time to benchmarking.

2018-04-27 Thread Mark Wachsler
The -benchmark and -benchmark_all options now show user, system, and real time, instead of just user time. --- fftools/ffmpeg.c | 49 +++- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index

Re: [FFmpeg-devel] libavutil/encryption_info: Allow multiple init info.

2018-04-27 Thread Jacob Trimble
On Mon, Apr 23, 2018 at 11:03 AM, Jacob Trimble wrote: > While integrating my encryption info changes, I noticed a problem with > the init info structs. I implemented them as side-data on the Stream. > But this means there can only be one per stream. However, there can > be

Re: [FFmpeg-devel] GSOC 2018 qualification task.

2018-04-27 Thread Michael Niedermayer
Hi On Fri, Apr 20, 2018 at 10:35:05AM +0530, ANURAG SINGH IIT BHU wrote: > Hello Sir, > > I do understand that just 56 lines were inserted but sir 621 lines were > deleted which were of no use for hellosubs and it included functons like > expand_text(), expand_function() and other which were

[FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

2018-04-27 Thread wm4
From: wm4 This can "demux" .vpy files. Some minor code copied from other LGPL parts of FFmpeg. Possibly support VS compat pixel formats. TODO: - check whether VS can change format midstream - test vfr mode, return proper timestamps when using it - drop "lib" prefix? ---

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: handling copyts use case in progress report computation

2018-04-27 Thread Michael Niedermayer
On Thu, Apr 26, 2018 at 10:34:00AM +0530, vdi...@akamai.com wrote: > From: Vishwanath Dixit > > Progress report computation functionality was assuming the first > PTS value to be zero, but, when 'copyts' is enalbed, the first PTS > can be any big number. This was eventually

[FFmpeg-devel] Format fps field of progress report to two decimal digits

2018-04-27 Thread Andre Ribeiro Camargo
Hello everybody! Mr. Niedermayer, could you please review the attached patch to ffmpeg.c? Thanks in advance. André AVISO Esta mensagem, incluindo os seus anexos, pode conter informações confidenciais destinadas a indivíduo e propósito específicos e é protegida por lei. Se você não é o

Re: [FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp: fix half pel interpolation

2018-04-27 Thread Henrik Gramner
On Fri, Apr 27, 2018 at 4:47 PM, Jerome Borsboom wrote: > In the put_no_rnd_pixels functions, the psubusb instruction subtracts one > from each > unsigned byte to correct for the rouding that the PAVGB instruction performs. > The psubusb > instruction, however, uses

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

2018-04-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 19 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_amplify.c | 269 +++ 4 files changed, 290 insertions(+) create mode 100644

[FFmpeg-devel] studio mpeg4 samples

2018-04-27 Thread Michael Niedermayer
Hi It seems fate does not test studio mpeg4 as id like to optimize the code and also fix several issues which were found by fuzzing. fate tests would be useful Can someone add fate tests? or where can i find samples to test (preferrably fully) the current implementation ? thanks -- Michael

Re: [FFmpeg-devel] studio mpeg4 samples

2018-04-27 Thread Paul B Mahol
On 4/27/18, Michael Niedermayer wrote: > Hi > > It seems fate does not test studio mpeg4 > as id like to optimize the code and also fix several issues which were > found by fuzzing. fate tests would be useful > > Can someone add fate tests? or > where can i find samples to

[FFmpeg-devel] [PATCH 2/3] avcodec/wavpack: Fix integer overflow in wv_unpack_stereo()

2018-04-27 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 2147483531 + 16384 cannot be represented in type 'int' Fixes: 6615/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-5165715515506688 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 3/3] avcodec/wavpack: Fix integer overflow in DEC_MED() / INC_MED()

2018-04-27 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 2147483637 + 128 cannot be represented in type 'int' Fixes: 6701/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-5358324934508544 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 1/3] avcodec/g2meet: Check RGB upper limit

2018-04-27 Thread Michael Niedermayer
Fixes: runtime error: left shift of 1876744317 by 16 places cannot be represented in type 'int' Fixes: 6799/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5115274731716608 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp: fix half pel interpolation

2018-04-27 Thread Carl Eugen Hoyos
2018-04-27 16:47 GMT+02:00, Jerome Borsboom : > The assembly optimized half pel interpolation in some cases rounds the > interpolated value when no rounding is requested. The result is a off by one > error when one of the pixel values is zero. See also:

[FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp: fix half pel interpolation

2018-04-27 Thread Jerome Borsboom
The assembly optimized half pel interpolation in some cases rounds the interpolated value when no rounding is requested. The result is a off by one error when one of the pixel values is zero. Signed-off-by: Jerome Borsboom --- In the put_no_rnd_pixels functions, the

Re: [FFmpeg-devel] [PATCH] Add system and real time to benchmarking.

2018-04-27 Thread Michael Niedermayer
On Fri, Apr 20, 2018 at 04:21:13PM -0400, Mark Wachsler wrote: > The -benchmark and -benchmark_all options now show user, system, and real > time, > instead of just user time. > --- > fftools/ffmpeg.c | 50 ++-- > 1 file changed, 36 insertions(+), 14

Re: [FFmpeg-devel] [PATCH] configure: deprecate libpostproc and pp filter

2018-04-27 Thread Michael Niedermayer
On Fri, Apr 27, 2018 at 12:39:13PM +0200, Paul B Mahol wrote: > On 4/27/18, Michael Niedermayer wrote: > > On Fri, Apr 27, 2018 at 02:36:05AM +0200, Michael Niedermayer wrote: > >> On Fri, Apr 27, 2018 at 12:08:16AM +0100, Josh de Kock wrote: > >> > The postproc library is

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: properly initialize output stream field order

2018-04-27 Thread Michael Niedermayer
On Thu, Apr 26, 2018 at 04:06:27PM +0200, Tobias Rapp wrote: > Fixes stream field order written by avformat_write_header when "top" > option is specified on the command-line. > > Signed-off-by: Tobias Rapp > --- > fftools/ffmpeg.c | 6 ++ > 1 file changed, 6

Re: [FFmpeg-devel] [PATCH] avcodec: remove duplicate prores decoder

2018-04-27 Thread Michael Niedermayer
On Thu, Apr 26, 2018 at 03:14:08PM +0200, Paul B Mahol wrote: > Removed slower one, couldn't figure out why it is slower. > > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile | 1 - > libavcodec/allcodecs.c | 1 - > libavcodec/proresdec_lgpl.c | 786 >

[FFmpeg-devel] [PATCH] fftools/ffmpeg: change fps progress log message to show two decimal digits

2018-04-27 Thread André Camargo
Useful when transcoding videos at 29.97 fps because delivers a more accurate result for monitoring. --- fftools/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 4dbe72186d..565b2c6dab 100644 --- a/fftools/ffmpeg.c +++

Re: [FFmpeg-devel] libavutil/encryption_info: Allow multiple init info.

2018-04-27 Thread Jacob Trimble
On Fri, Apr 27, 2018 at 10:33 AM, Jacob Trimble wrote: > On Mon, Apr 23, 2018 at 11:03 AM, Jacob Trimble wrote: >> While integrating my encryption info changes, I noticed a problem with >> the init info structs. I implemented them as side-data on the

Re: [FFmpeg-devel] [PATCH] avfilter: add amplify filter

2018-04-27 Thread Carl Eugen Hoyos
2018-04-28 0:56 GMT+02:00, Paul B Mahol : > +static int query_formats(AVFilterContext *ctx) > +{ > +static const enum AVPixelFormat pixel_fmts[] = { > +AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY9, > +AV_PIX_FMT_GRAY10, AV_PIX_FMT_GRAY12, > +AV_PIX_FMT_GRAY16,

[FFmpeg-devel] [PATCH 2/2] avcodec/cbs_h2645: create a reference to the existing buffer when decomposing slice units

2018-04-27 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_h2645.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index 5585831cf6..5e5598f377 100644 --- a/libavcodec/cbs_h2645.c +++

[FFmpeg-devel] [PATCH] avcodec/cbs_mpeg2: create a reference to the existing buffer when decomposing slice units

2018-04-27 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_mpeg2.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c index 989daf0a4d..8ca47061fe 100644 --- a/libavcodec/cbs_mpeg2.c +++ b/libavcodec/cbs_mpeg2.c @@

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

2018-04-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 24 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_amplify.c | 290 +++ 4 files changed, 316 insertions(+) create mode 100644

Re: [FFmpeg-devel] [PATCH] swresample/arm: avoid conditional branch to PLT in THUMB-2.

2018-04-27 Thread Rahul Chaudhry
It was reported on github that this patch causes build errors with xcode: https://github.com/FFmpeg/FFmpeg/commit/b22db4f465c9adb2cf1489e04f7b65ef6bb55b8b#commitcomment-28725295 The attached patch fixes the build errors by renaming the labels. This time I've tested it with clang from xcode on

Re: [FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

2018-04-27 Thread Steven Liu
> On 28 Apr 2018, at 03:37, wm4 wrote: > > From: wm4 > > This can "demux" .vpy files. > > Some minor code copied from other LGPL parts of FFmpeg. > > Possibly support VS compat pixel formats. > > TODO: > - check whether VS can change format

Re: [FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp: fix half pel interpolation

2018-04-27 Thread Michael Niedermayer
On Fri, Apr 27, 2018 at 04:47:13PM +0200, Jerome Borsboom wrote: > The assembly optimized half pel interpolation in some cases rounds the > interpolated value when no rounding is requested. The result is a off by one > error when one of the pixel values is zero. > > Signed-off-by: Jerome Borsboom

Re: [FFmpeg-devel] [PATCH 1/3] avformat/utils: function to get the formatted ntp time

2018-04-27 Thread Michael Niedermayer
On Fri, Apr 27, 2018 at 08:00:23AM +, Dixit, Vishwanath wrote: > > > On 4/27/18 5:15 AM, Michael Niedermayer wrote: > > On Thu, Apr 26, 2018 at 11:05:59AM +, Dixit, Vishwanath wrote: > >> > >> > >> On 4/26/18 1:04 AM, Michael Niedermayer wrote: > >>> On Tue, Apr 24, 2018 at 02:46:56PM

Re: [FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

2018-04-27 Thread James Almer
On 4/27/2018 4:37 PM, wm4 wrote: > From: wm4 > > This can "demux" .vpy files. > > Some minor code copied from other LGPL parts of FFmpeg. > > Possibly support VS compat pixel formats. > > TODO: > - check whether VS can change format midstream > - test vfr mode, return

[FFmpeg-devel] [PATCH] avformat/hlsenc: support http method for hls fmp4

2018-04-27 Thread Steven Liu
fix ticket: 7160 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index c27a66ea79..09478e7c45 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c

Re: [FFmpeg-devel] github

2018-04-27 Thread Tomas Härdin
fre 2018-04-27 klockan 00:50 +0200 skrev wm4: > On Thu, 26 Apr 2018 14:41:55 +0200 > Daniel Oberhoff wrote: > > > > On 26. Apr 2018, at 14:40, wm4 wrote: > > > > > > On Thu, 26 Apr 2018 14:12:14 +0200 > > > Hendrik Leppkes