[FFmpeg-devel] [PATCH] avfilter/zscale: fix segfault on library error

2017-10-27 Thread Dxfhgwet
Sent with [ProtonMail](https://protonmail.com) Secure Email. 0001-avfilter-zscale-fix-segfault-on-library-error.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter: initial macroblock types export and visualization

2017-10-27 Thread Michael Niedermayer
On Fri, Oct 27, 2017 at 10:03:54PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/mpegvideo.c | 10 + > libavfilter/vf_codecview.c | 105 > + > libavutil/frame.h | 4 ++ > 3 files

Re: [FFmpeg-devel] [PATCH 0/5] Cuvid/videotoolbox preparations

2017-10-27 Thread James Almer
On 10/27/2017 3:46 PM, Thilo Borgmann wrote: > Am 27.10.17 um 19:00 schrieb James Almer: >> On 10/13/2017 1:59 PM, wm4 wrote: >>> These commits are required to merge Libav's cuvid hwaccel, and to >>> fix videotoolbox operation if frame threading is enabled. >>> >>> Anton Khirnov (4): >>> decode:

[FFmpeg-devel] [PATCH v4 0/2 ] avformat/mpegts: opus muxing & demuxing for mapping family 255

2017-10-27 Thread pkv.stream
int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type, const uint8_t **pp, const uint8_t *desc_list_end, Mp4Descr *mp4_descr, int mp4_descr_count, int pid, @@ -1887,9 +1898,56 @@ int

[FFmpeg-devel] [PATCH v4 1/2 ] avformat/mpegts: opus muxing for mapping family 255

2017-10-27 Thread pkv.stream
From 105f20b8af8ce5376165ca30a81276dae2e61e40 Mon Sep 17 00:00:00 2001 From: pkviet Date: Sat, 28 Oct 2017 02:48:08 +0200 Subject: [PATCH 1/2] libavf/mpegts: opus muxing for mapping family 255 Adds to mpegts muxer the capability to mux libopus with mapping family 255,

[FFmpeg-devel] [PATCH v4 2/2 ] avformat/mpegts: opus demuxing for mapping family 255

2017-10-27 Thread pkv.stream
From 07708cda56bf59606b143db65359de6c0a058ce8 Mon Sep 17 00:00:00 2001 From: pkviet Date: Sat, 28 Oct 2017 02:48:39 +0200 Subject: [PATCH 2/2] libavf/mpegts: opus demuxing for mapping family 255 Adds to mpegts muxer the capability to demux libopus with mapping family

Re: [FFmpeg-devel] [PATCH 1/2] avformat: move public AVStream fields up in the struct

2017-10-27 Thread James Almer
On 10/23/2017 1:08 PM, James Almer wrote: > Remove the silly second notice. > > Signed-off-by: James Almer > --- > libavformat/avformat.h | 65 > ++ > 1 file changed, 28 insertions(+), 37 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] avutil/frame: deprecate getters and setters for AVFrame fields

2017-10-27 Thread James Almer
On 10/23/2017 11:13 AM, James Almer wrote: > The fields can be accessed directly, so these are not needed anymore. > > Signed-off-by: James Almer > --- > libavutil/frame.c | 2 ++ > libavutil/frame.h | 26 ++ > libavutil/version.h | 3 +++ > 3

Re: [FFmpeg-devel] [PATCH 0/7] dashenc fixes

2017-10-27 Thread Michael Niedermayer
On Thu, Oct 26, 2017 at 06:28:43PM +0200, Peter Große wrote: > On Thu, 26 Oct 2017 18:07:55 +0200 > Carl Eugen Hoyos wrote: > > > Did you test our dash muxer lately with some validation tool? > > Errors were reported in the past. > > No official validation tool, no. > > I

Re: [FFmpeg-devel] [PATCH 2/7] dashenc: use av_dict_set_int instead of static function

2017-10-27 Thread Michael Niedermayer
On Thu, Oct 26, 2017 at 05:58:35PM +0200, Peter Große wrote: > Signed-off-by: Peter Große > --- > libavformat/dashenc.c | 12 ++-- > 1 file changed, 2 insertions(+), 10 deletions(-) will apply thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/7] dashenc: fix bitrate estimation with correct scaling

2017-10-27 Thread Michael Niedermayer
On Thu, Oct 26, 2017 at 05:58:34PM +0200, Peter Große wrote: > From: Anton Schubert > > Signed-off-by: Anton Schubert > --- > libavformat/dashenc.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavformat/dashenc.c

Re: [FFmpeg-devel] compile errors on current master - libavcodec/audiotoolboxdec.c

2017-10-27 Thread Helmut K. C. Tessarek
On 2017-10-27 18:42, James Almer wrote: > Should be fixed, sorry about that. No worries, thanks for the fix. -- regards Helmut K. C. Tessarek KeyID 0xF7832007C11F128D Key fingerprint = 28A3 1666 4FE8 D72C CFD5 8B23 F783 2007 C11F 128D /* Thou shalt not follow the NULL pointer

Re: [FFmpeg-devel] compile errors on current master - libavcodec/audiotoolboxdec.c

2017-10-27 Thread James Almer
On 10/27/2017 7:38 PM, Helmut K. C. Tessarek wrote: > Getting the following compile errors. I got this just now with current > master when I tried to compile today's snapshot... > > 2 days ago, all was good. Should be fixed, sorry about that. ___

[FFmpeg-devel] compile errors on current master - libavcodec/audiotoolboxdec.c

2017-10-27 Thread Helmut K. C. Tessarek
Getting the following compile errors. I got this just now with current master when I tried to compile today's snapshot... 2 days ago, all was good. libavcodec/audiotoolboxdec.c:353:9: error: use of undeclared identifier 'AC3HeaderInfo' AC3HeaderInfo hdr; ^

Re: [FFmpeg-devel] [PATCH] fate: change fate-ffmpeg-attached_pics to encode to pcm_s16le

2017-10-27 Thread Marton Balint
On Fri, 27 Oct 2017, James Almer wrote: On 10/27/2017 5:54 PM, Marton Balint wrote: Previously alac encoder was used, from a first glance I thought it is bitexact, but it turns out it is using floating point arithmetic as well, so probably it is not. Fixes fate failures on mingw32/64.

Re: [FFmpeg-devel] [PATCH] fate: change fate-ffmpeg-attached_pics to encode to pcm_s16le

2017-10-27 Thread James Almer
On 10/27/2017 5:54 PM, Marton Balint wrote: > Previously alac encoder was used, from a first glance I thought it is > bitexact, > but it turns out it is using floating point arithmetic as well, so probably it > is not. Fixes fate failures on mingw32/64. > > Signed-off-by: Marton Balint

[FFmpeg-devel] [PATCH] fate: change fate-ffmpeg-attached_pics to encode to pcm_s16le

2017-10-27 Thread Marton Balint
Previously alac encoder was used, from a first glance I thought it is bitexact, but it turns out it is using floating point arithmetic as well, so probably it is not. Fixes fate failures on mingw32/64. Signed-off-by: Marton Balint --- tests/fate/ffmpeg.mak | 4 +-

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tile: remove limit of max tile size

2017-10-27 Thread Nicolas George
Le sextidi 6 brumaire, an CCXXVI, Paul B Mahol a écrit : > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_tile.c | 8 > 1 file changed, 8 deletions(-) Nack. ./ffmpeg_g -lavfi testsrc2=s=2x2,tile=65536x65536,scale=1024x1024 -f framecrc - hangs instead of

[FFmpeg-devel] [PATCH] avfilter/vf_tile: remove limit of max tile size

2017-10-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_tile.c | 8 1 file changed, 8 deletions(-) diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c index 87e0b940cf..a0bfb31338 100644 --- a/libavfilter/vf_tile.c +++ b/libavfilter/vf_tile.c @@ -44,8 +44,6 @@ typedef

[FFmpeg-devel] [PATCH] avfilter: initial macroblock types export and visualization

2017-10-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mpegvideo.c | 10 + libavfilter/vf_codecview.c | 105 + libavutil/frame.h | 4 ++ 3 files changed, 119 insertions(+) diff --git a/libavcodec/mpegvideo.c

[FFmpeg-devel] [PATCH] avcodec/wmv2dec: Check end of bitstream in parse_mb_skip() and ff_wmv2_decode_mb()

2017-10-27 Thread Michael Niedermayer
Fixes: Timeout Fixes: 3200/clusterfuzz-testcase-5750022136135680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/wmv2dec.c | 18 -- 1 file changed, 16

[FFmpeg-devel] DASH manifest conformance (was: Re: [PATCH 0/7] dashenc fixes)

2017-10-27 Thread Peter Große
On Thu, 26 Oct 2017 18:32:57 +0200 Carl Eugen Hoyos wrote: > 2017-10-26 18:28 GMT+02:00 Peter Große : > > On Thu, 26 Oct 2017 18:07:55 +0200 > > Carl Eugen Hoyos wrote: > > > >> Did you test our dash muxer lately with some validation

Re: [FFmpeg-devel] [PATCH] avcodec/wmv2dec: Check end of bitstream in parse_mb_skip() and ff_wmv2_decode_mb()

2017-10-27 Thread Michael Niedermayer
On Thu, Oct 26, 2017 at 02:20:28PM +0100, Derek Buitenhuis wrote: > On 10/26/2017 11:47 AM, Michael Niedermayer wrote: > > +if (get_bits_left(>gb) < 0) { > > +return AVERROR_INVALIDDATA; > > +} > > Is this possible? I don't see where get_bits.h is include > in this (probably deep

Re: [FFmpeg-devel] Fate/utvideo : add test for decoding and encoding

2017-10-27 Thread Martin Vignali
2017-10-26 21:52 GMT+02:00 Martin Vignali : > Hello, > > Patch in attach add tests for utvideodec > gradient prediction for rgba and yuv444 (rec 709) (not cover by fate test > for now) > > compare decoder, with original sample > > > > and add tests for utvideoenc for the

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tile: remove limit of max tile size

2017-10-27 Thread Paul B Mahol
On 10/27/17, Nicolas George wrote: > Le sextidi 6 brumaire, an CCXXVI, Paul B Mahol a ecrit : >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/vf_tile.c | 12 ++-- >> 1 file changed, 2 insertions(+), 10 deletions(-) > > Nack. > > This: > >

Re: [FFmpeg-devel] [PATCH 1/3] examples/avio_reading: return AVERROR_EOF at EOF.

2017-10-27 Thread Jan Ekstrom
On Fri, Oct 27, 2017 at 9:46 PM, Nicolas George wrote: > Signed-off-by: Nicolas George LGTM Jan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 3/3] lavf/aviobuf: return EINVAL when reading from a write-only context.

2017-10-27 Thread Jan Ekstrom
On Fri, Oct 27, 2017 at 9:46 PM, Nicolas George wrote: > Signed-off-by: Nicolas George > --- LGTM Jan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Jan Ekstrom
On Fri, Oct 27, 2017 at 9:46 PM, Nicolas George wrote: > Print a warning to let applicatios fix their use. > After a deprecation period, check with a low-level assert. > Also make the constraint explicit in the doxygen comment. Difference to the previous version: > -

[FFmpeg-devel] [PATCH 1/3] examples/avio_reading: return AVERROR_EOF at EOF.

2017-10-27 Thread Nicolas George
Signed-off-by: Nicolas George --- doc/examples/avio_reading.c | 2 ++ 1 file changed, 2 insertions(+) Unchanged. diff --git a/doc/examples/avio_reading.c b/doc/examples/avio_reading.c index 02474e907a..7860fd5e2f 100644 --- a/doc/examples/avio_reading.c +++

[FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Nicolas George
Print a warning to let applicatios fix their use. After a deprecation period, check with a low-level assert. Also make the constraint explicit in the doxygen comment. Signed-off-by: Nicolas George --- libavformat/avio.h| 2 ++ libavformat/aviobuf.c | 30

[FFmpeg-devel] [PATCH 3/3] lavf/aviobuf: return EINVAL when reading from a write-only context.

2017-10-27 Thread Nicolas George
Signed-off-by: Nicolas George --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index bfd40f5097..3b4c8439d6 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -529,7 +529,7

Re: [FFmpeg-devel] [PATCH 0/5] Cuvid/videotoolbox preparations

2017-10-27 Thread Thilo Borgmann
Am 27.10.17 um 19:00 schrieb James Almer: > On 10/13/2017 1:59 PM, wm4 wrote: >> These commits are required to merge Libav's cuvid hwaccel, and to >> fix videotoolbox operation if frame threading is enabled. >> >> Anton Khirnov (4): >> decode: avoid leaks on failure in ff_get_buffer() >>

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tile: remove limit of max tile size

2017-10-27 Thread Nicolas George
Le sextidi 6 brumaire, an CCXXVI, Paul B Mahol a écrit : > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_tile.c | 12 ++-- > 1 file changed, 2 insertions(+), 10 deletions(-) Nack. This: ./ffmpeg_g -lavfi testsrc2=s=1024x32,tile=layout=65x1 -f framecrc - used to

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Jan Ekstrom
On Fri, Oct 27, 2017 at 9:33 PM, Nicolas George wrote: > It is standard parlance in networking: stream protocols produce a stream > of octets, without any additional structure, while packet protocols > produce packets, which are delimited at protocol level and visible by > the

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Nicolas George
Le sextidi 6 brumaire, an CCXXVI, Jan Ekstrom a écrit : > Otherwise OK, but since this is the first mention of "stream protocol" > in the repo and el goog gives me just "Internet Stream Protocol" so I > would like an explanation of what this means and how it connects to > "custom AVIO

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Nicolas George
Le sextidi 6 brumaire, an CCXXVI, Jan Ekstrom a écrit : > Built and tested locally and the effect seems to be the one wished, > although it seems like it is complaining about the AVClass being > nullptr? Is this something inherent to custom AVIO contexts and it's > the client that's supposed to

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Jan Ekstrom
On Wed, Oct 25, 2017 at 11:22 AM, Nicolas George wrote: > +static int read_packet_wrapper(AVIOContext *s, uint8_t *buf, int size) > +{ > +int ret; > + > +if (!s->read_packet) > +return AVERROR_EOF; > +ret = s->read_packet(s->opaque, buf, size); > +#if

Re: [FFmpeg-devel] [PATCH 0/5] Cuvid/videotoolbox preparations

2017-10-27 Thread James Almer
On 10/13/2017 1:59 PM, wm4 wrote: > These commits are required to merge Libav's cuvid hwaccel, and to > fix videotoolbox operation if frame threading is enabled. > > Anton Khirnov (4): > decode: avoid leaks on failure in ff_get_buffer() > decode: add a method for attaching lavc-internal data

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avio: temporarily accept 0 as EOF.

2017-10-27 Thread Jan Ekstrom
On Wed, Oct 25, 2017 at 11:22 AM, Nicolas George wrote: > Print a warning to let applicatios fix their use. > After a deprecation period, check with a low-level assert. > Also make the constraint explicit in the doxygen comment. > > Signed-off-by: Nicolas George

[FFmpeg-devel] [PATCH] avfilter/vf_tile: remove limit of max tile size

2017-10-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_tile.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/libavfilter/vf_tile.c b/libavfilter/vf_tile.c index 87e0b940cf..368e4f1a82 100644 --- a/libavfilter/vf_tile.c +++ b/libavfilter/vf_tile.c @@

[FFmpeg-devel] [PATCH 1/2] avfilter: pass correct argument to helper function

2017-10-27 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index bc9e60bb85..b98b32bacb 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1532,7

[FFmpeg-devel] [PATCH 2/2] avfilter/af_join: switch to activate

2017-10-27 Thread Paul B Mahol
Fixes #6780. Signed-off-by: Paul B Mahol --- libavfilter/af_join.c | 101 +++--- 1 file changed, 54 insertions(+), 47 deletions(-) diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c index 33df685691..030bb8e549 100644 ---

[FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc uni vt and hv mc msa functions

2017-10-27 Thread kaustubh.raste
From: Kaustubh Raste Remove unused macro. Signed-off-by: Kaustubh Raste --- libavcodec/mips/hevc_mc_uni_msa.c | 744 + 1 file changed, 499 insertions(+), 245 deletions(-) diff --git

[FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc bi hz and hv mc msa functions

2017-10-27 Thread kaustubh.raste
From: Kaustubh Raste Align the mask buffer. Signed-off-by: Kaustubh Raste --- libavcodec/mips/hevc_mc_bi_msa.c | 940 -- 1 file changed, 595 insertions(+), 345 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] Properly store sampling rate for FLAC in mp4

2017-10-27 Thread Jean-Yves Avenard
On 26 October 2017 at 16:34, Carl Eugen Hoyos wrote: > Was this already mentioned somewhere? > Do other codecs with large sample rates in mp4 play with Firefox? not if the metadata reports a sampling rate of 0 ___ ffmpeg-devel

[FFmpeg-devel] [PATCH] avcodec/mips: Improve avc chroma avg hv mc msa functions

2017-10-27 Thread kaustubh.raste
From: Kaustubh Raste Replace generic with block size specific function. Load the specific destination bytes instead of MSA load and pack. Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264chroma_msa.c | 438

[FFmpeg-devel] [PATCH] avcodec/mips: Improve avc avg mc 22, 11, 31, 13 and 33 msa functions

2017-10-27 Thread kaustubh.raste
From: Kaustubh Raste Remove loops and unroll as block sizes are known. Load the specific destination bytes instead of MSA load and pack. Remove unused macro and functions. Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264qpel_msa.c |

[FFmpeg-devel] [PATCH 1/1] avdevice/decklink_dec: Autodetect the video input format

2017-10-27 Thread Jeyapal, Karthick
Please find the patch attached. Regards, Karthick 0001-avdevice-decklink_dec-Autodetect-the-video-input-for.patch Description: 0001-avdevice-decklink_dec-Autodetect-the-video-input-for.patch ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org