[FFmpeg-devel] [PATCH 2/2] avformat:hlsenc.c: fix memory leak in fmp4 mode.

2018-10-08 Thread Charles Liu
Signed-off-by: Charles Liu --- libavformat/hlsenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 3ccd8756f6..c322b5a48f 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2205,6 +2205,7 @@ static int hls_write_packet(AVFormatC

[FFmpeg-devel] [PATCH 1/2] avformat/hlsenc: fix the duration of m4s segment is unusually smaller than expected.

2018-10-08 Thread Charles Liu
In fmp4 mode, the duration of the second m4s segment is unusually smaller than the expected segment time. Signed-off-by: Charles Liu --- libavformat/hlsenc.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 28c2dd62fc..3ccd8756f6 100644 --

Re: [FFmpeg-devel] [PATCH] dns cache map key now hostname+port

2018-10-08 Thread Hendrik Leppkes
On Tue, Oct 9, 2018 at 3:50 AM Slavka wrote: > > From: root > > --- > libavformat/tcp.c | 16 > libavutil/dns_cache.c | 28 +++- > libavutil/dns_cache.h | 6 +++--- > 3 files changed, 30 insertions(+), 20 deletions(-) > This does not match any code

[FFmpeg-devel] [PATCH] avcodec/ffv1dec_template: Check for the end of input after 1024 pixels

2018-10-08 Thread Michael Niedermayer
Fixes: Timeout Fixes: 10385/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5689206987292672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec_template.c | 5 + 1 file

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.

2018-10-08 Thread Liu Steven
> 在 2018年8月15日,上午2:37,Pedro Arthur 写道: > > Patch pushed. How should i test it? bash generate_datasets.sh (py3k) [root@onvideo sr]# ls logdir/srcnn_batch_32_lr_1e-3_decay_adam/train/model_100* logdir/srcnn_batch_32_lr_1e-3_decay_adam/train/model_100.ckpt.data-0-of-1 logdir/srcnn_ba

Re: [FFmpeg-devel] [PATCH] libavcodec/libdavs2.c: Fix for the wrong line size is used

2018-10-08 Thread Liu Steven
> 在 2018年10月8日,上午10:55,lance.lmw...@gmail.com 写道: > > From: Limin Wang > > --- > libavcodec/libdavs2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c > index aa14782..91ad7a4 100644 > --- a/libavcodec/libdavs2.c > +++ b/li

[FFmpeg-devel] [PATCH] libavcodec/qsvenc_hevc: correction for QSV HEVC default plugin selection on Windows

2018-10-08 Thread Landgraph
1. Old logic meaned: everywhere, except Windows, ffmpeg has to use HW acceleration, but on Windows ffmpeg has to use (unavailable) software encode by default 2. Software encode is available only if you provide corresponding software MediaSDK library, which isn't provided with ffmpeg. More infor

[FFmpeg-devel] [PATCH] libavcodec/libdavs2.c: Fix for the wrong line size is used

2018-10-08 Thread lance . lmwang
From: Limin Wang --- libavcodec/libdavs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index aa14782..91ad7a4 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -88,7 +88,7 @@ static int davs2_dump_frames(AVCode

[FFmpeg-devel] [PATCH] dns cache map key now hostname+port

2018-10-08 Thread Slavka
From: root --- libavformat/tcp.c | 16 libavutil/dns_cache.c | 28 +++- libavutil/dns_cache.h | 6 +++--- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index d2de743..6515309 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 21:59 GMT+02:00, Timo Rothenpieler : >>> So, to be able to use these hardware compatible formats, we need >>> definitions for them in ffmpeg. Right now, I need this for nvdec, >>> but Vulkan also uses the same format definitions. >> >> Sorry if this was already done and I forgot but plea

Re: [FFmpeg-devel] [PATCH 5/5] libavfilter/ebur128: add scale parameter

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 23:15 GMT+02:00, Daniel Molkentin : > On 08.10.2018 21:00, Carl Eugen Hoyos wrote: >> 2018-10-08 9:21 GMT+02:00, Moritz Barsnick : >> >>> Adding options (and changing output line format?) might also warrant a >>> micro-version bump of lavfi >> >> It does. >> Even more so for the changed

Re: [FFmpeg-devel] [PATCH 5/5] libavfilter/ebur128: add scale parameter

2018-10-08 Thread Daniel Molkentin
On 08.10.2018 21:00, Carl Eugen Hoyos wrote: > 2018-10-08 9:21 GMT+02:00, Moritz Barsnick : > >> Adding options (and changing output line format?) might also warrant a >> micro-version bump of lavfi > It does. > Even more so for the changed output line... If you point me to where it needs bumping,

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Timo Rothenpieler
So, to be able to use these hardware compatible formats, we need definitions for them in ffmpeg. Right now, I need this for nvdec, but Vulkan also uses the same format definitions. Sorry if this was already done and I forgot but please explain why you cannot use YUV444P16 for this use-case. If

Re: [FFmpeg-devel] H.264 SEI Display Orientation Message support in ffplay

2018-10-08 Thread Carl Eugen Hoyos
2018-10-07 18:03 GMT+02:00, Omer Iqbal : > I am developing a video streaming mobile application. In order to support > multiple orientations, I am currently using h.264's SEI Display Orientation > message in my H.264 bitstream. (For more context, my bitstream is > transported over RTMP and package

Re: [FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

2018-10-08 Thread Derek Buitenhuis
On 08/10/2018 19:52, Carl Eugen Hoyos wrote: > Please also mention ticket #7083 in the commit message. > > Sorry for my other mail, thank you for testing again! Added locally, thanks. Wasn't aware of that bug; could have saved me 30 mins of printf debugging. - Derek

Re: [FFmpeg-devel] [PATCH 5/5] libavfilter/ebur128: add scale parameter

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 9:21 GMT+02:00, Moritz Barsnick : > Adding options (and changing output line format?) might also warrant a > micro-version bump of lavfi It does. Even more so for the changed output line... Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-dev

Re: [FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 17:36 GMT+02:00, Derek Buitenhuis : > If we don't copy this value first, it is seen as 0 by > h264_slice_header_init, > due to zero-allocation of the new context, triggering an old hack that > multiplied the denominator by 2 for files produced by old x264 versions, but > only if more tha

Re: [FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

2018-10-08 Thread James Almer
On 10/8/2018 3:45 PM, Derek Buitenhuis wrote: > On 08/10/2018 19:23, Carl Eugen Hoyos wrote: >> I cannot reproduce ticket #7475 (it says "framerate num 30 den 1" >> no matter how many threads I use, tested with up to 8), and - more >> related to this patch - the sample from ticket #7475 reaches nei

Re: [FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

2018-10-08 Thread Derek Buitenhuis
On 08/10/2018 19:23, Carl Eugen Hoyos wrote: > I cannot reproduce ticket #7475 (it says "framerate num 30 den 1" > no matter how many threads I use, tested with up to 8), and - more > related to this patch - the sample from ticket #7475 reaches neither > line 358 nor line 400 in h264_slice.c here w

Re: [FFmpeg-devel] did the ffmpeg ac3 decoder need license in commercial use?

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 12:53 GMT+02:00, tugouxp <13824125...@163.com>: > did the doby ac3 decoder/encoder on ffmpeg implementation > need licencesed on commercial use? You are only allowed to distribute binaries based on FFmpeg if you follow the GPL or the LGPL, both require that you allow your users to forw

Re: [FFmpeg-devel] avcodec/prores aw improvment

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 16:12 GMT+02:00, Martin Vignali : > Resend previous patch (from July) I didn't test but the patchset looks very useful to me, thank you! Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmp

Re: [FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

2018-10-08 Thread Carl Eugen Hoyos
2018-10-08 17:36 GMT+02:00, Derek Buitenhuis : > If we don't copy this value first, it is seen as 0 by > h264_slice_header_init, > due to zero-allocation of the new context, triggering an old hack that > multiplied the denominator by 2 for files produced by old x264 versions, but > only if more tha

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Carl Eugen Hoyos
2018-10-07 19:50 GMT+02:00, Philip Langdale : > Currently, ffmpeg defines a set of YUV444P formats for use where > the bits-per-pixel are between 8 and 16 bits. In these formats, > the bits are packed in the MSBs of the 16 bits of available storage. > > On the other hand, all the hardware vendors h

[FFmpeg-devel] swscale/x86/rgb2rgb : port shuffle2103 to external asm

2018-10-08 Thread Martin Vignali
Hello, Patch in attach port inline asm shuffle 2103 func (mmx/mmxext) to external asm and remove the inline asm version Martin 0001-swscale-x86-rgb2rgb-port-shuffle2103-to-external-asm.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpe

[FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

2018-10-08 Thread Derek Buitenhuis
If we don't copy this value first, it is seen as 0 by h264_slice_header_init, due to zero-allocation of the new context, triggering an old hack that multiplied the denominator by 2 for files produced by old x264 versions, but only if more than one thread was used. Fixes #7475. Signed-off-by: Dere

Re: [FFmpeg-devel] swscale : add bitexact conv for grayf32 and gray16 to f32 conv

2018-10-08 Thread Martin Vignali
> > also there are 2 divisions in this that you can trivially eliminate > /255 and /65535 (extra precission beyond IEEE float/double could change > these) > > also the whole could be done with fewer floats and no extra complexity > for example: > int64_t tmp2 = 16843009LL * i; > (float)((double)tmp

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Philip Langdale
On Mon, 8 Oct 2018 11:55:09 +0200 Hendrik Leppkes wrote: > On Mon, Oct 8, 2018 at 10:40 AM Timo Rothenpieler > wrote: > > > > > > I don't think it's YUVJ all over again, as it was the exact same bit > > layout than normal YUV, while this one is actually different. > > > > Its also the same bi

[FFmpeg-devel] avcodec/prores aw improvment

2018-10-08 Thread Martin Vignali
Hello, Resend previous patch (from July) 001 : use scantable in prores_data instead of a duplicate one. Doesn't seems to make speed loss (tested with timer and with -benchmark) 002 : use for the frame header, primaries, transfert, colorspace like in proresenc_ks avoid color shift on some softwar

Re: [FFmpeg-devel] did the ffmpeg ac3 decoder need license in commercial use?

2018-10-08 Thread Jeyapal, Karthick
>On 10/8/18, 4:24 PM, "tugouxp" <13824125...@163.com> wrote: > >hi folks: > > > did the doby ac3 decoder/encoder on ffmpeg implementation need licencesed > on commercial use? i am not a lawyer and i search tons of materials on > google, but more confused than before. >so, can i get the answer

[FFmpeg-devel] did the ffmpeg ac3 decoder need license in commercial use?

2018-10-08 Thread tugouxp
hi folks: did the doby ac3 decoder/encoder on ffmpeg implementation need licencesed on commercial use? i am not a lawyer and i search tons of materials on google, but more confused than before. so, can i get the answer clearly in here for this question? thanks for everyones help. __

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Hendrik Leppkes
On Mon, Oct 8, 2018 at 10:40 AM Timo Rothenpieler wrote: > > > I don't think it's YUVJ all over again, as it was the exact same bit > layout than normal YUV, while this one is actually different. > Its also the same bit layout as YUV444P16, with one piece of additional metadata tacked on top - se

Re: [FFmpeg-devel] [PATCH 3/3] avfilter/af_asetnsamples: do not leak frame on ENOMEM

2018-10-08 Thread Paul B Mahol
On 10/7/18, Marton Balint wrote: > Fixes Coverity CID 1416352. > > Signed-off-by: Marton Balint > --- > libavfilter/af_asetnsamples.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > OK ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Timo Rothenpieler
On 08/10/2018 09:24, Marton Balint wrote: On Sun, 7 Oct 2018, Philip Langdale wrote: Currently, ffmpeg defines a set of YUV444P formats for use where the bits-per-pixel are between 8 and 16 bits. In these formats, the bits are packed in the MSBs of the 16 bits of available storage. On the ot

Re: [FFmpeg-devel] [PATCH 1/5] avutil: Add YUV444P10_LSB and YUV444P12_LSB pixel formats

2018-10-08 Thread Marton Balint
On Sun, 7 Oct 2018, Philip Langdale wrote: Currently, ffmpeg defines a set of YUV444P formats for use where the bits-per-pixel are between 8 and 16 bits. In these formats, the bits are packed in the MSBs of the 16 bits of available storage. On the other hand, all the hardware vendors have def

Re: [FFmpeg-devel] [PATCH 5/5] libavfilter/ebur128: add scale parameter

2018-10-08 Thread Moritz Barsnick
On Sun, Oct 07, 2018 at 23:19:56 +0200, Daniel Molkentin wrote: > +Sets the display scale for the loudness. Valid parameters are @code{absolute} > +(in LUFS) or @code{relative} (LU) relative to the target. This only affects > the > +video output, not the summary or continous log output.

Re: [FFmpeg-devel] [PATCH 4/5] libavfilter/ebur128: introduce target range

2018-10-08 Thread Moritz Barsnick
On Sun, Oct 07, 2018 at 23:19:55 +0200, Daniel Molkentin wrote: > +continous log output. ^ continuous (Sorry, I probably missed this first time round.) Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffm

Re: [FFmpeg-devel] [PATCH 3/5] libavfilter/ebur128: add gauge option

2018-10-08 Thread Moritz Barsnick
On Sun, Oct 07, 2018 at 23:19:54 +0200, Daniel Molkentin wrote: > +enum { > +GAUGE_TYPE_MOMENTARY = 0, > +GAUGE_TYPE_SHORTTERM = 1, > +}; > +{ "gauge", "set gauge display type", OFFSET(gauge_type), > AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, V|F, "gaugetype" }, min and max range shoul