Re: [FFmpeg-devel] [PATCH] configure: use -r, not -E, for sed

2018-11-16 Thread Lauri Kasanen
On Fri, 16 Nov 2018 22:36:16 +0100 Carl Eugen Hoyos wrote: > 2018-11-15 15:00 GMT+01:00, Lauri Kasanen : > > Old versions of sed do not support the -E option. > > > -VERSION_SCRIPT_POSTPROCESS_CMD='tr " " "\n" | sed -n > > /global:/,/local:/p | grep ";" | tr ";" "\n" | sed -E "s/(.+)/_\1

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxenc: add VP8 temporal scalability configuration options

2018-11-16 Thread James Zern
On Wed, Nov 14, 2018 at 12:56 PM Ard Oerlemans wrote: > > This commit adds configuration options to libvpxenc.c that can be used to > enable VP8 temporal scalability. It also adds a way to programmatically set > the > per-frame encoding flags which can be used to control usage and updates of > re

[FFmpeg-devel] [PATCH 3/3] avcodec/truemotion2: Check huffman code max bits

2018-11-16 Thread Michael Niedermayer
Fixes: Timeout Fixes: 10984/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-6643310750859264 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/truemotion2.c | 15 ++-

[FFmpeg-devel] [PATCH 1/3] avcodec/hevcdec: Check for overlapping slices

2018-11-16 Thread Michael Niedermayer
Fixes: Timeout Fixes: 10108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6222384351674368 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hevcdec.c | 8 libavcodec/he

[FFmpeg-devel] [PATCH 2/3] avcodec/truemotion2: fix integer overflows in tm2_low_chroma()

2018-11-16 Thread Michael Niedermayer
Fixes: 11295/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-4888953459572736 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/truemotion2.c | 6 +++--- 1 file changed, 3 i

Re: [FFmpeg-devel] [Ffmpeg-devel] [PATCH] Add a maximum constraint of 16 encoder threads.

2018-11-16 Thread Carl Eugen Hoyos
2018-11-15 20:45 GMT+01:00, Chirag Lathia : > libvpx supports a maximum of 16 encoder threads. > > Signed-off-by: Chirag Lathia > --- > libavcodec/libvpxenc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c > index ad440a9

Re: [FFmpeg-devel] alsa: reduce of finalization time

2018-11-16 Thread Carl Eugen Hoyos
2018-11-16 17:44 GMT+01:00, Евгений : How can I reproduce the issue you see / what behaviour exactly gets fixed? I find "do not wait for playing buffered data" not very convincing... Drop the tabs and please do not add an out-commented line, replace the line. Carl Eugen _

Re: [FFmpeg-devel] invalid PCM-DVD detection

2018-11-16 Thread Carl Eugen Hoyos
2018-11-16 17:41 GMT+01:00, Евгений : This patch also contains two tabs that cannot be committed to our repository. Please provide your sample, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-de

Re: [FFmpeg-devel] [PATCH] configure: use -r, not -E, for sed

2018-11-16 Thread Carl Eugen Hoyos
2018-11-15 15:00 GMT+01:00, Lauri Kasanen : > Old versions of sed do not support the -E option. > -VERSION_SCRIPT_POSTPROCESS_CMD='tr " " "\n" | sed -n > /global:/,/local:/p | grep ";" | tr ";" "\n" | sed -E "s/(.+)/_\1/g" | sed > -E "s/(.+[^*])/\1*/"' > +VERSION_SCRIPT_POSTPRO

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

2018-11-16 Thread Carl Eugen Hoyos
2018-11-16 13:59 GMT+01:00, 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 > >

Re: [FFmpeg-devel] crypto support

2018-11-16 Thread Carl Eugen Hoyos
2018-11-16 17:42 GMT+01:00, Евгений : [...] Tabs cannot be committed to FFmpeg's repository, please remove them. Does the patch allow to open AES-encrypted hls streams from the command line using the ffmpeg utility? Carl Eugen ___ ffmpeg-devel mailing

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

2018-11-16 Thread Seungha Yang
Signed-off-by: Seungha Yang --- include/ffnvcodec/dynlink_cuda.h | 1 + include/ffnvcodec/dynlink_loader.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/ffnvcodec/dynlink_cuda.h b/include/ffnvcodec/dynlink_cuda.h index 8a9a882..97d526e 100644 --- a/include/ffnvcodec/dynlink_cud

Re: [FFmpeg-devel] [PATCH] avfilter: add dedot video filter

2018-11-16 Thread Paul B Mahol
On 11/13/18, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 24 +++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_dedot.c | 330 +++ > 4 files changed, 356 insertions(+) > cre

[FFmpeg-devel] [PATCH v2] avcodec/vc1: correct aspect ratio calculation

2018-11-16 Thread Jerome Borsboom
According to VC-1 spec: * Display size defaults to max coded size when not explicitly set in sequence header * Aspect ratio in the sequence header refers to the display size elements. Therefore, the aspect ratio for the coded samples (SAR) needs to take into account the scaling from coded size to d

Re: [FFmpeg-devel] [PATCH] avcodec/vc1: correct aspect ratio calculation

2018-11-16 Thread Jerome Borsboom
> Hi > [...] > > iam not sure this is valid C and not undefined > > but either way this patch breaks fate > > TESTvc1-ism > --- ./tests/ref/fate/vc1-ism 2018-11-13 19:52:23.489023763 +0100 > +++ tests/data/fate/vc1-ism 2018-11-14 21:50:11.522992878 +0100 > @@ -2,7 +2,7 @@ > #media_type

Re: [FFmpeg-devel] invalid PCM-DVD detection

2018-11-16 Thread Paul B Mahol
On 11/16/18, Hendrik Leppkes wrote: > On Fri, Nov 16, 2018 at 5:41 PM Евгений wrote: >> >> > > This is basically a revert of > 52e97814a18f62e4be7cc5d509ff9025f23ef2be, which fixed other samples > being misdetected. > So instead of flipping it back and forth with no real conclusion, > maybe some

Re: [FFmpeg-devel] invalid PCM-DVD detection

2018-11-16 Thread Hendrik Leppkes
On Fri, Nov 16, 2018 at 5:41 PM Евгений wrote: > > This is basically a revert of 52e97814a18f62e4be7cc5d509ff9025f23ef2be, which fixed other samples being misdetected. So instead of flipping it back and forth with no real conclusion, maybe some smarter code would be needed here. - Hendrik __

Re: [FFmpeg-devel] invalid PCM-DVD detection

2018-11-16 Thread Paul B Mahol
On 11/16/18, Евгений wrote: > > Do you have sample(s) this patch fixes? There is sample on trac that needs current code in master. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] alsa: reduce of finalization time

2018-11-16 Thread Евгений
>From b3dbd651718bccd295bbe822bb4614e6afbf0a44 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 16 Nov 2018 16:33:21 +0300 Subject: [PATCH 6/6] ALSA out: finalization time is too long not need wait for playing buffered data --- libavdevice/alsa.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[FFmpeg-devel] alsa pause/resume

2018-11-16 Thread Евгений
>From cf822ea7fc1885d0a47f24928359ee05fdbf76a0 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 16 Nov 2018 15:54:44 +0300 Subject: [PATCH 5/6] Alsa: pause/resume control --- libavdevice/alsa_enc.c | 33 + 1 file changed, 33 insertions(+) diff --git a/libavdevi

[FFmpeg-devel] crypto support

2018-11-16 Thread Евгений
>From 805886e76fe7123cd633ab564c7fc8cf932aba3a Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 16 Nov 2018 12:39:32 +0300 Subject: [PATCH 4/6] Application should have read PSSH data for license request Example: for (int i=0; i < ctx->nb_streams; i++) { AVStream* avs = ctx->streams[i]; if

[FFmpeg-devel] invalid PCM-DVD detection

2018-11-16 Thread Евгений
>From 8dffee21a78c17bf1e74f459869babe77041dfd2 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 16 Nov 2018 12:38:01 +0300 Subject: [PATCH 3/6] invalid PCM-DVD detection --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpeg.c b/libavformat/

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

2018-11-16 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 Power

Re: [FFmpeg-devel] HEVC decoder for Raspberry Pi

2018-11-16 Thread jc
From: Philip Langdale Sent: 15 November 2018 22:42 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] HEVC decoder for Raspberry Pi On 2018-11-15 05:48, John Cox wrote: >> >> Now one way it could be integrated would be as a seperate decoder > That is how I've currently b

[FFmpeg-devel] [PATCH 1/2] avformat/dashenc : Handled error from ff_http_do_new_request() cleanly

2018-11-16 Thread Karthick J
--- libavformat/dashenc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d151921175..2c1cce0c92 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -168,6 +168,8 @@ static int dashenc_io_open(AVFormat

[FFmpeg-devel] [PATCH 2/2] avformat/http : Added check for valid URL context before calling shutdown

2018-11-16 Thread Karthick J
--- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 3a35bc7eac..240304f6e6 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1650,7 +1650,7 @@ static int http_close(URLContext *h) av_freep(&s->infl

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: Add option to force a specific decode format

2018-11-16 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Thursday, November 15, 2018 05:48 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2] ffmpeg: Add option to force a > specific decode format > > On 14/