Re: [FFmpeg-devel] Proposal: Homebrew tap for FFmpeg

2019-02-21 Thread Werner Robitza
On Wed, Feb 20, 2019 at 11:36 PM Carl Eugen Hoyos wrote: > > 2019-02-20 20:56 GMT+01:00, Lou Logan : > > On Wed, Feb 6, 2019, at 11:48 AM, Werner Robitza wrote: > >> > >> I propose that FFmpeg maintains its own ffmpeg formula under its > >> GitHub organization at github.com/ffmpeg/homebrew-ffmpeg

Re: [FFmpeg-devel] [PATCH]lavf/spdifenc: Use a more flexible buffer model for TrueHD/MAT

2019-02-21 Thread Hendrik Leppkes
On Thu, Feb 21, 2019 at 3:28 PM Carl Eugen Hoyos wrote: > > 2019-02-21 10:40 GMT+01:00, Hendrik Leppkes : > > > https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.thd > > (TrueHD stream) > > https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.pcm.xz > > (bitstreaming output,

Re: [FFmpeg-devel] [PATCH]lavf/spdifenc: Use a more flexible buffer model for TrueHD/MAT

2019-02-21 Thread Carl Eugen Hoyos
2019-02-21 10:40 GMT+01:00, Hendrik Leppkes : > https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.thd > (TrueHD stream) > https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.pcm.xz > (bitstreaming output, xz compressed) 404 =-( Carl Eugen

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Carl Eugen Hoyos
2019-02-21 11:26 GMT+01:00, Tomas Härdin : > ons 2019-02-20 klockan 23:33 +0100 skrev Carl Eugen Hoyos: >> > 2019-02-10 16:42 GMT+01:00, Tomas Härdin : >> > lör 2019-02-09 klockan 13:10 + skrev Matthew Fearnley: >> > > - Improve block choices by counting 0-bytes in the entropy score >> > > -

Re: [FFmpeg-devel] [PATCH]lavf/spdifenc: Use a more flexible buffer model for TrueHD/MAT

2019-02-21 Thread Carl Eugen Hoyos
2019-02-21 15:28 GMT+01:00, Carl Eugen Hoyos : > 2019-02-21 10:40 GMT+01:00, Hendrik Leppkes : > >> https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.thd >> (TrueHD stream) >> https://files.1f0.de/samples/incredibles2-truehd-bitstreaming.pcm.xz >> (bitstreaming output, xz compressed) >

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Carl Eugen Hoyos
2019-02-21 15:08 GMT+01:00, Matthew Fearnley : > The question would still remain though, of the best way to incorporate it > into FFMEG. That's probably beyond my current knowledge.. It belongs in libavutil, see also the unfinished inflate implementation:

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Matthew Fearnley
On Thu, 21 Feb 2019 at 10:26, Tomas Härdin wrote: > ons 2019-02-20 klockan 23:33 +0100 skrev Carl Eugen Hoyos: > > > 2019-02-10 16:42 GMT+01:00, Tomas Härdin : > > > lör 2019-02-09 klockan 13:10 + skrev Matthew Fearnley: > > > > - Improve block choices by counting 0-bytes in the entropy

Re: [FFmpeg-devel] [PATCH] fix trac ticket #7359

2019-02-21 Thread Daniel Oberhoff
Bump, Is there any interest in applying this patch? The brokenness of -ss on hls/ts has caused and keeps on causing us lots of headaches... Best Daniel Oberhoff GameOn Technologies pEpkey.asc Description: application/pgp-keys ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-21 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Thursday, February 21, 2019 8:26 AM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current > parser with

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-21 Thread Li, Zhong
> From: Rogozhkin, Dmitry V > Sent: Thursday, February 21, 2019 3:14 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Li, Zhong > Subject: Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current > parser with MFXVideoDECODE_DecodeHeader() > > On Wed, 2019-02-20 at 10:58 +0800, Zhong Li wrote: > >

Re: [FFmpeg-devel] [PATCH]lavf/spdifenc: Use a more flexible buffer model for TrueHD/MAT

2019-02-21 Thread Hendrik Leppkes
On Fri, Feb 15, 2019 at 1:13 AM Carl Eugen Hoyos wrote: > > > - The distance between frames can be incredibly large in some streams, > > I've seen it be larger then one whole MAT frame, and the output works > > reliably (MAT start/middle/end codes need to be placed within the > > padding space,

Re: [FFmpeg-devel] [PATCH] delogo filter: new "uglarm" interpolation mode added

2019-02-21 Thread Nicolas George
Uwe Freese (12019-01-25): > may I ask again what the next step is to integrate my delogo patch? > > It was some effort to change the implementation in the way as discussed here > and I really would like that the patch is finally added to the repository. > > Are there any problems, questions, or

Re: [FFmpeg-devel] [PATCH, RFC] lavf/deinterlace_qsv: set TFF or BFF together with progressive

2019-02-21 Thread Li, Zhong
> > > Currently, BFF or TFF will not be set if the frame is progressive. > > > This will break the Input PicStruct check in MSDK because of absence > > > of the specific PicStruct check for: > > > MFX_PICSTRUCT_PROGRESSIVE | MFX_PICSTRUCT_FIELD_REPEATED > > > > > > Set PicStruct to

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Tomas Härdin
ons 2019-02-20 klockan 22:12 +0100 skrev Michael Niedermayer: > On Sat, Feb 09, 2019 at 01:10:20PM +, Matthew Fearnley wrote: > > - Improve block choices by counting 0-bytes in the entropy score > > - Make histogram use uint16_t type, to allow byte counts from 16*16 > > (current block size) up

[FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-21 Thread Jan Ekström
This fixes buffering of samples which causes sudden ballooning of memory usage in case of no subtitle samples coming in for a while if the filter chain had been re-initialized. You can also see messages a la: "Error while add the frame to buffer source(Invalid argument)." disappearing after

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Tomas Härdin
ons 2019-02-20 klockan 23:33 +0100 skrev Carl Eugen Hoyos: > > 2019-02-10 16:42 GMT+01:00, Tomas Härdin : > > lör 2019-02-09 klockan 13:10 + skrev Matthew Fearnley: > > > - Improve block choices by counting 0-bytes in the entropy score > > > - Make histogram use uint16_t type, to allow byte

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-21 Thread Nicolas George
Jan Ekström (12019-02-21): > This fixes buffering of samples which causes sudden ballooning of > memory usage in case of no subtitle samples coming in for a while if > the filter chain had been re-initialized. > > You can also see messages a la: > "Error while add the frame to buffer

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Tomas Härdin
tor 2019-02-21 klockan 11:26 +0100 skrev Tomas Härdin: > ons 2019-02-20 klockan 23:33 +0100 skrev Carl Eugen Hoyos: > > > > > > 2019-02-10 16:42 GMT+01:00, Tomas Härdin : > > > lör 2019-02-09 klockan 13:10 + skrev Matthew Fearnley: > > > > - Improve block choices by counting 0-bytes in the

Re: [FFmpeg-devel] [PATCH] avcodec/jvdec: Check available input space before decode8x8()

2019-02-21 Thread Paul B Mahol
On 2/21/19, Michael Niedermayer wrote: > Fixes: Timeout (78 sec -> 15 millisec) > Fixes: > 13147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JV_fuzzer-5727107827630080 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

[FFmpeg-devel] [PATCH] avcodec/jvdec: Check available input space before decode8x8()

2019-02-21 Thread Michael Niedermayer
Fixes: Timeout (78 sec -> 15 millisec) Fixes: 13147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JV_fuzzer-5727107827630080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jvdec.c | 5

[FFmpeg-devel] [PATCH v2] avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functions

2019-02-21 Thread gxw
VP9 decoding speed improved about 60.5%(from 38fps to 61fps, tested on loongson 3A3000). --- libavcodec/mips/Makefile | 1 + libavcodec/mips/vp9_mc_mmi.c | 692 + libavcodec/mips/vp9dsp_init_mips.c | 42 +++ libavcodec/mips/vp9dsp_mips.h

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: initialize sub2video.end_pts together with last_pts

2019-02-21 Thread Jan Ekström
On Thu, Feb 21, 2019 at 1:30 PM Nicolas George wrote: > > Jan Ekström (12019-02-21): > > This fixes buffering of samples which causes sudden ballooning of > > memory usage in case of no subtitle samples coming in for a while if > > the filter chain had been re-initialized. > > > > You can also

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Matthew Fearnley
On Thu, 21 Feb 2019 at 19:28, Michael Niedermayer wrote: > On Thu, Feb 21, 2019 at 11:19:08AM +0100, Tomas Härdin wrote: > > ons 2019-02-20 klockan 22:12 +0100 skrev Michael Niedermayer: > > > On Sat, Feb 09, 2019 at 01:10:20PM +, Matthew Fearnley wrote: > > > > - Improve block choices by

Re: [FFmpeg-devel] [PATCHv2 3/3] avformat/mpegtsenc: add support for service and provider names with utf8 encoding

2019-02-21 Thread Marton Balint
On Tue, 19 Feb 2019, Marton Balint wrote: On Tue, 12 Feb 2019, Marton Balint wrote: Signed-off-by: Marton Balint --- libavformat/mpegtsenc.c | 88 + 1 file changed, 53 insertions(+), 35 deletions(-) Ping, will push soon. Pushed.

[FFmpeg-devel] [PATCH 0/1] avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlists

2019-02-21 Thread joepadmiraal
This patch adds the #EXT-X-PROGRAM-DATE-TIME tag to HLS playlists when using the Dash muxer. joepadmiraal (1): avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlists libavformat/dashenc.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) --

[FFmpeg-devel] [PATCH 1/1] avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlists

2019-02-21 Thread joepadmiraal
From: joepadmiraal --- libavformat/dashenc.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 37a7547b12..d0d0d6f030 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -122,6

[FFmpeg-devel] [PATCH] libavfilter/vf_subtitles: add options offset set subtitles time offset

2019-02-21 Thread qq2225936589
From: qq2225936589 --- doc/filters.texi | 3 +++ libavfilter/vf_subtitles.c | 5 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 0ef6f56d5d..5dee472837 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16307,6

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Michael Niedermayer
On Thu, Feb 21, 2019 at 11:19:08AM +0100, Tomas Härdin wrote: > ons 2019-02-20 klockan 22:12 +0100 skrev Michael Niedermayer: > > On Sat, Feb 09, 2019 at 01:10:20PM +, Matthew Fearnley wrote: > > > - Improve block choices by counting 0-bytes in the entropy score > > > - Make histogram use

[FFmpeg-devel] [PATCH 1/2] avcodec/zmbv: obtain frame later

2019-02-21 Thread Michael Niedermayer
The frame is not needed that early so obtaining it later avoids the costly operation in case other checks fail. Fixes: Timeout (14sec -> 4sec) Fixes: 13140/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_fuzzer-5738330308739072 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 2/2] avcodec/pnm: Avoid structure pointer dereferences in inner loop in pnm_get()

2019-02-21 Thread Michael Niedermayer
Improves speed from 5.4 to 4.2 seconds Fixes: 13149/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGM_fuzzer-5760833622114304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/pnm.c | 15

Re: [FFmpeg-devel] [PATCH 1/4] doc/formats: add reference to ffmpeg(1) stream specifiers as that docs is more complete

2019-02-21 Thread Marton Balint
On Mon, 18 Feb 2019, Lou Logan wrote: On Sun, Feb 17, 2019, at 10:58 AM, Marton Balint wrote: Signed-off-by: Marton Balint --- doc/formats.texi | 24 ++-- LGTM Applied, thanks. Marton ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH 0/1] avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlists

2019-02-21 Thread joepadmiraal
This patch adds the #EXT-X-PROGRAM-DATE-TIME tag to HLS playlists when using the Dash muxer. joepadmiraal (1): avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlists libavformat/dashenc.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) --

[FFmpeg-devel] [PATCH 1/1] avformat/dashenc: Added #EXT-X-PROGRAM-DATE-TIME to HLS playlists

2019-02-21 Thread joepadmiraal
From: joepadmiraal --- libavformat/dashenc.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 37a7547b12..d0d0d6f030 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -122,6

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/pnm: Avoid structure pointer dereferences in inner loop in pnm_get()

2019-02-21 Thread Lauri Kasanen
On Thu, 21 Feb 2019 20:34:29 +0100 Michael Niedermayer wrote: > Improves speed from 5.4 to 4.2 seconds > Fixes: > 13149/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGM_fuzzer-5760833622114304 LGTM Though, I really would expect the compiler to detect and optimize that. I wonder if

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix hang while seek on a kind of fragmented mp4.

2019-02-21 Thread Michael Niedermayer
On Wed, Feb 20, 2019 at 11:54:56PM +0800, Charles Liu wrote: > 1. organize fragmented information according to the tracks. > 2. do NOT skip the last boxes of fragmented info. > > ticket #7572 > > Signed-off-by: Charles Liu > --- > libavformat/isom.h | 10 +- > libavformat/mov.c | 375

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Check parents remaining length

2019-02-21 Thread Dale Curtis
One of our test clips is behaving differently after this patch: https://cs.chromium.org/chromium/src/media/test/data/bear-320x240-live.webm The printed log message is: [matroska,webm @ 0x1516c84f4e00] Invalid length 0xff > 0x12f in parent Looking through the code I'm

Re: [FFmpeg-devel] GSoC mentored project: derain filter

2019-02-21 Thread Michael Niedermayer
On Wed, Feb 20, 2019 at 06:35:22PM +0800, 孟学苇 wrote: > Hi Dev-Community, > > > > > I am Iris Meng from China. I’m a PhD student in Institute of Digital Media, > Peking University. I wish to contribute as a GSoC applicant this year. > > I am interested in Deep Learning. I want to add a derain

Re: [FFmpeg-devel] [PATCH] avformat/oggparseogm: sync avctx w/ codecpar

2019-02-21 Thread Chris Cunningham
I'm fine to do either. James, do you still prefer to skip the later headers if this breaks some old ogm files? On Sat, Feb 16, 2019 at 4:52 PM Michael Niedermayer wrote: > On Fri, Feb 15, 2019 at 02:56:18PM -0800, Chris Cunningham wrote: > > On Mon, Feb 11, 2019 at 1:55 PM Chris Cunningham < >

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/vf_thumbnail_cuda: Switch to using ffnvcodec

2019-02-21 Thread Soft Works
> Subject: [FFmpeg-devel] [PATCH 4/5] avfilter/vf_thumbnail_cuda: Switch to > using ffnvcodec > > This change switches the vf_thumbnail_cuda filter from using the > full cuda sdk to using the ffnvcodec headers and loader. > > Most of the change is a direct mapping, but I also switched from >

[FFmpeg-devel] [PATCH 2/2] tools/target_dec_fate.list: Add testcases for #2000 to #4000

2019-02-21 Thread Michael Niedermayer
Testcases which return 403 currently are commented out Signed-off-by: Michael Niedermayer --- tools/target_dec_fate.list | 196 + 1 file changed, 196 insertions(+) diff --git a/tools/target_dec_fate.list b/tools/target_dec_fate.list index

[FFmpeg-devel] [PATCH 1/2] tools/target_dec_fate.sh: Add support for lines that are comments

2019-02-21 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tools/target_dec_fate.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/target_dec_fate.sh b/tools/target_dec_fate.sh index 1fdfdcaaea..1377b6b4e8 100755 --- a/tools/target_dec_fate.sh +++ b/tools/target_dec_fate.sh @@ -50,6 +50,8 @@ while

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/zmbvenc: block scoring improvements/bug fixes

2019-02-21 Thread Michael Niedermayer
On Thu, Feb 21, 2019 at 09:26:44PM +, Matthew Fearnley wrote: > On Thu, 21 Feb 2019 at 19:28, Michael Niedermayer > wrote: > > > On Thu, Feb 21, 2019 at 11:19:08AM +0100, Tomas Härdin wrote: > > > ons 2019-02-20 klockan 22:12 +0100 skrev Michael Niedermayer: > > > > On Sat, Feb 09, 2019 at

Re: [FFmpeg-devel] [PATCH] fix trac ticket #7359

2019-02-21 Thread Michael Niedermayer
On Wed, Oct 24, 2018 at 01:50:15PM +0100, Nick Ryan wrote: > Signed-off-by: Nick Ryan > --- > libavformat/hls.c | 6 -- > libavformat/mov.c | 36 +--- > 2 files changed, 37 insertions(+), 5 deletions(-) this is lacking a commit message that explains what

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution changes little

2019-02-21 Thread Fu, Linjie
> -Original Message- > From: Li, Zhong > Sent: Thursday, February 21, 2019 17:53 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Fu, Linjie > Subject: RE: [FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution > changes little > > > From: ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-21 Thread Sun, Jing A
-Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Mark Thompson Sent: Thursday, February 21, 2019 5:35 AM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func On 20/02/2019 10:33, Jing

Re: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser with MFXVideoDECODE_DecodeHeader()

2019-02-21 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Zhong Li > Sent: Wednesday, February 20, 2019 10:58 > To: ffmpeg-devel@ffmpeg.org > Cc: Li, Zhong > Subject: [FFmpeg-devel] [PATCH v2 3/6] lavc/qsvdec: Replace current parser > with