Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-14 Thread Carl Eugen Hoyos
2017-11-15 0:36 GMT+01:00 Thierry Foucu : > On Tue, Nov 14, 2017 at 3:23 PM, Derek Buitenhuis < > derek.buitenh...@gmail.com> wrote: > >> On 11/14/2017 10:11 PM, Sasi Inguva wrote: >> > I don't know if the patch can be made more generic to work for all >> > demuxers, because this patch requires tha

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-14 Thread Michael Niedermayer
On Tue, Nov 14, 2017 at 03:36:49PM -0800, Thierry Foucu wrote: > On Tue, Nov 14, 2017 at 3:23 PM, Derek Buitenhuis < > derek.buitenh...@gmail.com> wrote: > > > On 11/14/2017 10:11 PM, Sasi Inguva wrote: > > > I don't know if the patch can be made more generic to work for all > > > demuxers, becaus

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: Don't assume separate u and v planes in ff_alloc_picture

2017-11-14 Thread Michael Niedermayer
On Tue, Nov 14, 2017 at 07:24:13AM -0800, Philip Langdale wrote: > I'm confused at how none of the previous hwaccels hit this, but > alloc_frame_buffer in ff_alloc_picture asserts that the linesize > of planes 1 and 2 are the same. If the pixfmt has a single uv > plane, like NV12, this won't be tru

Re: [FFmpeg-devel] FATE on multiple platforms

2017-11-14 Thread Jim DeLaHunt
On 2017-11-14 14:20, Carl Eugen Hoyos wrote: 2017-11-14 18:28 GMT+01:00 Dixit, Vishwanath: One of my patches is in the review process. I am fairly new to the patch submission process and have a query regarding FATE testing on multiple platforms. The patch includes a new FATE test and I am expec

[FFmpeg-devel] [PATCH] vf_zscale: Add more supported input properties

2017-11-14 Thread Vittorio Giovara
--- libavfilter/vf_zscale.c | 26 -- libavformat/mxfdec.c| 20 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 09fd842fe5..7d048da1ef 100644 --- a/libavfilter/vf_zscale.c +++ b/

Re: [FFmpeg-devel] [PATCH] vf_zscale: Add more supported input properties

2017-11-14 Thread Derek Buitenhuis
On 11/15/2017 12:56 AM, Vittorio Giovara wrote: > --- > libavfilter/vf_zscale.c | 26 -- > libavformat/mxfdec.c| 20 > 2 files changed, 44 insertions(+), 2 deletions(-) Accidental inclusion of MXF code? Also, Does the minimum zimg version need to

Re: [FFmpeg-devel] [PATCH] vf_zscale: Add more supported input properties

2017-11-14 Thread Carl Eugen Hoyos
2017-11-15 1:56 GMT+01:00 Vittorio Giovara : > @@ -2111,6 +2124,12 @@ static int mxf_parse_structural_metadata(MXFContext > *mxf) > st->codecpar->codec_id = container_ul->id; > st->codecpar->width = descriptor->width; > st->codecpar->height = descriptor-

Re: [FFmpeg-devel] FATE on multiple platforms

2017-11-14 Thread Ronald S. Bultje
Hi, On Tue, Nov 14, 2017 at 7:56 PM, Jim DeLaHunt wrote: > On 2017-11-14 14:20, Carl Eugen Hoyos wrote: > >> 2017-11-14 18:28 GMT+01:00 Dixit, Vishwanath: >> >> One of my patches is in the review process. I am fairly new to >>> the patch submission process and have a query regarding >>> FATE tes

Re: [FFmpeg-devel] [PATCH v3 1/2] avcodec/mpeg12dec: parse A53 caption data embedded in SCTE-20 user data

2017-11-14 Thread Michael Niedermayer
On Tue, Nov 14, 2017 at 11:18:57AM -0800, Aman Gupta wrote: > From: Aman Gupta > > Signed-off-by: Aman Gupta > --- > libavcodec/mpeg12dec.c | 39 +++ > tests/fate/subtitles.mak | 3 +++ > tests/ref/fate/sub-cc-scte20 | 15 +++ > 3 files

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/h264dec: Fix potential array overread

2017-11-14 Thread Michael Niedermayer
On Sun, Oct 22, 2017 at 01:41:56AM +0200, Michael Niedermayer wrote: > add padding before scantable arrays > > See: 522d850e68ec4b77d3477b3c8f55b1ba00a9d69a > > Signed-off-by: Michael Niedermayer > --- > libavcodec/h264dec.h | 1 + > 1 file changed, 1 insertion(+) will apply -- Michael

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/dvbsubdec: Avoid re-computing clut

2017-11-14 Thread Michael Niedermayer
On Sat, Nov 04, 2017 at 01:19:21AM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: 3218/clusterfuzz-testcase-5390672154591232 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavc

[FFmpeg-devel] [Patch] Download dash content with byte range info

2017-11-14 Thread Colin NG
diff --git a/doc/examples/Makefile b/doc/examples/Makefile index 58afd71..bff4af6 100644 --- a/doc/examples/Makefile +++ b/doc/examples/Makefile @@ -1,3 +1,16 @@ +# use pkg-config for getting CFLAGS and LDLIBS +FFMPEG_LIBS=libavdevice\ +libavformat

[FFmpeg-devel] [Patch] Download dash content with byte range info

2017-11-14 Thread Colin NG
Please ignore the previous "patch" email. diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 0e3afd2..68196e9 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -522,6 +522,22 @@ static enum AVMediaType get_content_type(xmlNodePtr node) return type; } +static

[FFmpeg-devel] [PATCH] avfoundation, unsupported framerate/activeVideoMinFrameDuration

2017-11-14 Thread Roman Puttkammer
Hi, Attached patch fixes an issue with avfoundation; the code continues to loop through the list of supported formats/framerates even after finding the chosen one, ending up with a bad format/rate combination. (Code breaks out of one loop only instead of two.) rgds, Roman - diff --git a/liba

Re: [FFmpeg-devel] [PATCH] lavc/libvpxenc: add tune-content option

2017-11-14 Thread James Zern
On Mon, Nov 13, 2017 at 6:05 PM, James Zern wrote: > On Mon, Nov 13, 2017 at 4:43 PM, James Almer wrote: >> On 11/13/2017 9:01 PM, James Zern wrote: >>> Signed-off-by: James Zern >>> --- >>> doc/encoders.texi | 2 ++ >>> libavcodec/libvpxenc.c | 20 >>> 2 files change

[FFmpeg-devel] [Patch] Fix for ticket 6658 (Dash demuxer segfault)

2017-11-14 Thread Colin NG
- Add a function to handle the base URL Processing described in section 5.6.5 of IEC_23009-1. - Fix for downloading dash content with byte range info diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 0e3afd2..0be8a49 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.

[FFmpeg-devel] [PATCH] avcodec/mlpdsp: Fix undefined shift ff_mlp_pack_output()

2017-11-14 Thread Michael Niedermayer
Fixes: runtime error: left shift of negative value -7862264 Fixes: 4074/clusterfuzz-testcase-minimized-4516104123711488 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mlpdsp.c | 2 +- 1 file c

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: Implement vc1 nvdec hwaccel

2017-11-14 Thread Philip Langdale
On Tue, 14 Nov 2017 21:07:45 +0100 Moritz Barsnick wrote: > On Tue, Nov 14, 2017 at 07:24:14 -0800, Philip Langdale wrote: > > This hwaccel is interesting because it also works for wmv3/9 > > content, which is not supported by the nvidia parser used by > > cuviddec. > > Nits: > Changelog entry

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: Implement vc1 nvdec hwaccel

2017-11-14 Thread Philip Langdale
On Tue, 14 Nov 2017 21:14:58 +0100 Timo Rothenpieler wrote: > looks straight forward enough to me, struct naming matches up as well. > > add a Changelog and bump lavc version, and it's good to go. > Thanks. Pushed with Changelog and version bump. --phil __

Re: [FFmpeg-devel] [PATCH v2 1/2] avformat/tcp: enable TCP_NODELAY by default

2017-11-14 Thread Jeyapal, Karthick
>On 11/14/17, 11:11 PM, "Aman Gupta" ffm...@tmm1.net> wrote: > >From: Aman Gupta > >This can reduce latency and increase throughput, particularly on high >latency networks. > >Signed-off-by: Aman Gupta >Reviewed-by: Jeyapal, Karthick --- I forgot to mention last time. You would also need to upda

Re: [FFmpeg-devel] [PATCH] avcodec: deprecate getters and setters for AVCodecContext and AVCodec fields

2017-11-14 Thread James Almer
On 11/13/2017 12:16 AM, James Almer wrote: > The fields can be accessed directly, so these are not needed anymore. > > Signed-off-by: James Almer > --- > libavcodec/avcodec.h | 20 > libavcodec/utils.c | 2 ++ > libavcodec/version.h | 3 +++ > 3 files changed, 25 inserti

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: creation of hls variant streams with master playlist in a single hlsenc instance

2017-11-14 Thread 刘歧
> 在 2017年11月15日,07:14,Carl Eugen Hoyos 写道: > > 2017-11-14 11:25 GMT+01:00 刘歧 : > >> make fate failed: >> >> ../configure --enable-gpl --enable-memory-poisoning --enable-avresample >> --cc='ccache arm-linux-gnueabi-gcc' --target-exec='qemu-arm -L >> /usr/arm-linux-gnueabi/' --arch=armv5te --c

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mpeg12dec: avoid adding PANSCAN side data unless present

2017-11-14 Thread Aman Gupta
On Tue, Nov 14, 2017 at 4:01 PM Michael Niedermayer wrote: > On Tue, Nov 14, 2017 at 10:04:02AM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > --- > > libavcodec/mpeg12dec.c | 20 ++-- > > 1 file changed, 14 insertions(+), 6 deletions(-) > > > > diff --git a/libavcodec/mp

[FFmpeg-devel] [PATCH v3 2/2] avformat/{http, tls}: enable tcp_nodelay

2017-11-14 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavformat/http.c | 1 + libavformat/tls.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 056d5f6583..f0a80b7add 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -468,6 +468,7 @@ sta

[FFmpeg-devel] [PATCH v3 1/2] avformat/tcp: add option to enable TCP_NODELAY

2017-11-14 Thread Aman Gupta
From: Aman Gupta This can reduce latency and increase throughput, particularly on high latency networks. Signed-off-by: Aman Gupta Reviewed-by: Jeyapal, Karthick --- doc/protocols.texi| 3 +++ libavformat/network.h | 1 + libavformat/tcp.c | 5 + 3 files changed, 9 insertions(+)

[FFmpeg-devel] [PATCH 2/2] lavf/qsv_overlay: fix compiling warning

2017-11-14 Thread Zhong Li
fix the compiling warning of "ignoring return value" Signed-off-by: Zhong Li --- libavfilter/vf_overlay_qsv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_overlay_qsv.c b/libavfilter/vf_overlay_qsv.c index 1f50d4b..001a1c3 100644 --- a/libavfilter/vf_

[FFmpeg-devel] [PATCH 1/2] lavu/qsv: fix the warning of unused variable

2017-11-14 Thread Zhong Li
variable 's' is declared but not used. Signed-off-by: Zhong Li --- libavutil/hwcontext_qsv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 8e43420..9b6040b 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -

Re: [FFmpeg-devel] [PATCH v3 2/2] avformat/{http, tls}: enable tcp_nodelay

2017-11-14 Thread Jeyapal, Karthick
>On 11/15/17, 10:32 AM, "Aman Gupta" wrote: > >From: Aman Gupta > >Signed-off-by: Aman Gupta >--- > libavformat/http.c | 1 + > libavformat/tls.c | 1 + > 2 files changed, 2 insertions(+) Again, do want to hardcode tcp_nodelay at http and tls level? Because there could be other muxers that se

Re: [FFmpeg-devel] [PATCH v3 2/2] avformat/{http, tls}: enable tcp_nodelay

2017-11-14 Thread Aman Gupta
On Tue, Nov 14, 2017 at 9:28 PM, Jeyapal, Karthick wrote: > > >On 11/15/17, 10:32 AM, "Aman Gupta" wrote: > > > >From: Aman Gupta > > > >Signed-off-by: Aman Gupta > >--- > > libavformat/http.c | 1 + > > libavformat/tls.c | 1 + > > 2 files changed, 2 insertions(+) > > Again, do want to hardcod

[FFmpeg-devel] [PATCH 02/11] avformat/dump: use FFABS to instead of llabs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index 77043e3fdb..d414a6548f 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -586,8 +586,8 @@ void av_dump_format(AVFormatCo

[FFmpeg-devel] [PATCH 04/11] avformat/mov: use FFABS to instead of fabs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index fd170baa57..e1a3e21e8d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4332,7 +4332,7 @@ static int mov_read_tkhd(MOVContext *

[FFmpeg-devel] [PATCH 01/11] avformat/hlsenc: use FFABS to instead of abs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index e0cef8b879..5af907b6f0 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1113,7 +1113,7 @@ static int hls_window(

[FFmpeg-devel] [PATCH 03/11] avformat/fitsdec: use FFABS to instead of abs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/fitsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/fitsdec.c b/libavformat/fitsdec.c index 4b288b3903..b190118345 100644 --- a/libavformat/fitsdec.c +++ b/libavformat/fitsdec.c @@ -124,7 +124,7 @@ static int64_t is_i

[FFmpeg-devel] [PATCH 06/11] avformat/mux: use FFABS to instead of fabs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index b1244c67f3..ec18c6d7b0 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -316,7 +316,7 @@ FF_ENABLE_DEPRECATION_WARNINGS

[FFmpeg-devel] [PATCH 05/11] avformat/mp3dec: use FFABS to instead of abs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mp3dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index a5c4f2ea12..a76fe32e59 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -508,9 +508,9 @@ static int64_t mp3_s

[FFmpeg-devel] [PATCH 11/11] avformat/wavdecuse FFABS to instead of fabs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/wavdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index b016185a1b..9f3e01e5b8 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -531,7 +531,7 @@ break_loop: &&

[FFmpeg-devel] [PATCH 07/11] avformat/mxf: use FFABS to instead of abs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxf.c b/libavformat/mxf.c index bfc3218b81..2e23b5d739 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -155,7 +155,7 @@ const MXFSamplesPerFrame *ff_mxf_get_s

[FFmpeg-devel] [PATCH 09/11] avformat/swfenc: use FFABS to instead of abs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/swfenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index cada45ef9a..f53db0fb2b 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -69,7 +69,7 @@ static inline void max_nbi

[FFmpeg-devel] [PATCH 10/11] avformat/utils: use FFABS to instead of fabs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/utils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 87887063be..c2c9afbbfd 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3359,7 +3359,7 @@ void ff_rfps_calcul

[FFmpeg-devel] [PATCH 08/11] avformat/replaygain: use FFABS to instead of abs

2017-11-14 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/replaygain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/replaygain.c b/libavformat/replaygain.c index 707d3cd4f1..0d1fb7d11d 100644 --- a/libavformat/replaygain.c +++ b/libavformat/replaygain.c @@ -61,7 +61,7 @@ static

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-14 Thread Umair Khan
Hi, On Wed, Nov 15, 2017 at 4:20 AM, Carl Eugen Hoyos wrote: > 2017-11-14 23:48 GMT+01:00 Carl Eugen Hoyos : >> 2017-11-13 21:07 GMT+01:00 Thilo Borgmann : >>> Am 13.11.17 um 21:06 schrieb Thilo Borgmann: Am 13.11.17 um 20:02 schrieb Umair Khan: > Hi, > > On Mon, Nov 13, 2017 at

Re: [FFmpeg-devel] [Patch] Download dash content with byte range info

2017-11-14 Thread Steven Liu
2017-11-15 10:26 GMT+08:00 Colin NG : > Please ignore the previous "patch" email. > > > > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > diff --git a/libavformat/dashdec.c b/libavformat/das

<    1   2