Re: [FFmpeg-devel] [PATCH]lavf/mov: Accept multiple fourcc for AVID 1:1

2016-12-05 Thread ffmpeg
On 2016-12-01 19:58, compn wrote: On Tue, 29 Nov 2016 22:10:47 +0100 Carl Eugen Hoyos wrote: From add7f5d51491152af6d0431331543212c2c21ca4 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 29 Nov 2016 22:09:21 +0100 Subject: [PATCH] lavf/mov:

[FFmpeg-devel] HRTF SOFA reader lib

2016-12-05 Thread Christian Hoene
Hi, currently, we are writing a small library to read HRTF SOFA files. https://github.com/choene/libmysofa It is intended for embedded devices or mobiles that have a small (code) memory footprint. Of course, it might be useful for ffmpeg, too – because you do not need the hdf5 and netcdf libs.

[FFmpeg-devel] [PATCH] Added test for libavcodec/avpacket.c

2016-12-05 Thread Thomas Turner
Signed-off-by: Thomas Turner --- libavcodec/Makefile | 3 +- libavcodec/tests/avpacket.c | 128 tests/fate/libavcodec.mak | 5 ++ 3 files changed, 135 insertions(+), 1 deletion(-) create mode 100644

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread Rostislav Pehlivanov
On 5 Dec 2016 6:45 a.m., "wm4" wrote: On Mon, 28 Nov 2016 19:15:28 +0100 Nicolas George wrote: > Deadline: 2016-12-06 00:00 UTC. > > I propose, and put to the discussion, that the decision to drop ffserver > is revoked, conditioned to the fixing of the

[FFmpeg-devel] [PATCH] avformat/hlsenc: save the EXT-X-DISCONTINUITY from old list

2016-12-05 Thread Steven Liu
when use fix ticket 2nd problem. command line test step: rm -rf output*;./ffmpeg -i ~/Movies/objectC/facebook.mp4 -an -c:v copy -f hls -hls_time 4 -hls_list_size 5 -hls_flags +delete_segments -hls_flags +append_list -hls_flags +omit_endlist -hls_flags +discont_start -t 50 output.m3u8 ./ffmpeg -i

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/vp9: move bpp to the shared context for use in hwaccel

2016-12-05 Thread Mark Thompson
On 05/12/16 20:32, Mathieu Velten wrote: > --- > libavcodec/vp9.c | 28 ++-- > libavcodec/vp9.h | 1 + > 2 files changed, 15 insertions(+), 14 deletions(-) > On 05/12/16 20:32, Mathieu Velten wrote: > --- > libavcodec/vaapi_vp9.c | 1 + > libavcodec/vp9.c | 10

[FFmpeg-devel] [PATCH] ffmpeg_vaapi: Enable decoding of H.265 main 10 profile

2016-12-05 Thread Mark Thompson
--- Already present in lavc, just not enabled in ffmpeg. Tested on Kaby Lake. ffmpeg_vaapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg_vaapi.c b/ffmpeg_vaapi.c index b6bdeb9..dd11e77 100644 --- a/ffmpeg_vaapi.c +++ b/ffmpeg_vaapi.c @@ -165,6 +165,7 @@ static const struct {

[FFmpeg-devel] [PATCH] yuv4mpegdec: fix leaking pkt in yuv4_read_packet

2016-12-05 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavformat/yuv4mpegdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c index a91645f..462b823 100644 --- a/libavformat/yuv4mpegdec.c +++

Re: [FFmpeg-devel] [PATCH] truemotion1: fix leaking frame on init failure

2016-12-05 Thread Andreas Cadhalpun
On 05.12.2016 22:33, Michael Niedermayer wrote: > On Mon, Dec 05, 2016 at 09:51:31PM +0100, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/truemotion1.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) > > LGTM

Re: [FFmpeg-devel] [PATCH] lavfi/formats: allow unknown channel layouts by default

2016-12-05 Thread Marton Balint
On Sat, 3 Dec 2016, Marton Balint wrote: Since the default in the libav fork is to only allow known layouts, making unknown layouts allowed by default here can be a security risk for filters directly merged from libav. However, usually it is simple to detect such cases, use of

[FFmpeg-devel] [PATCH] ffmpeg_vaapi: Enable decoding of VP9 profile 2

2016-12-05 Thread Mark Thompson
First released in libva 1.7.0 (0.39.0). Also fix version requirement of VP9 profile 0, which was first released in libva 1.6.0 (0.38.0). --- Tested on Kaby Lake. ffmpeg_vaapi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ffmpeg_vaapi.c b/ffmpeg_vaapi.c index

Re: [FFmpeg-devel] [PATCH] truemotion1: fix leaking frame on init failure

2016-12-05 Thread Michael Niedermayer
On Mon, Dec 05, 2016 at 09:51:31PM +0100, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/truemotion1.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) LGTM thx [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH] checkasm/vp9: benchmark all sub-IDCTs (but not WHT or ADST).

2016-12-05 Thread Ronald S. Bultje
--- tests/checkasm/vp9dsp.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 441041c..f32b97c 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -331,15 +331,20 @@ static void

Re: [FFmpeg-devel] [FFmpeg-user] The transcoded file can't see the video played by the JW player which used the VAAPI to transcode file to the FLV format.

2016-12-05 Thread Mark Thompson
On 05/12/16 17:37, Archer Chang wrote: > 2016-12-05 23:52 GMT+08:00 Mark Thompson : >> On 05/12/16 12:51, Archer Chang wrote: >>> I use the VAAPI HW ACCEL to transcode file to the FLV format that the >>> command as follows. >>> >>> ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel

Re: [FFmpeg-devel] [PATCH] omx: Fix OOM check

2016-12-05 Thread Andreas Cadhalpun
On 05.12.2016 18:49, Timothy Gu wrote: > Also use av_mallocz_array(). > > Fixes CID1396839. > --- > libavcodec/omx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/omx.c b/libavcodec/omx.c > index c1b6fb9..b5093f4 100644 > --- a/libavcodec/omx.c > +++

[FFmpeg-devel] [PATCH] truemotion1: fix leaking frame on init failure

2016-12-05 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavcodec/truemotion1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index da843c4..c2022fb 100644 --- a/libavcodec/truemotion1.c +++

[FFmpeg-devel] [PATCH 1/2] avcodec/vp9: move bpp to the shared context for use in hwaccel

2016-12-05 Thread Mathieu Velten
--- libavcodec/vp9.c | 28 ++-- libavcodec/vp9.h | 1 + 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 0ec895a..793e356 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -68,7 +68,7 @@ typedef struct

[FFmpeg-devel] [PATCH 2/2] avcodec/vaapi-vp9: add support for profile 2 (bpp > 8)

2016-12-05 Thread Mathieu Velten
--- libavcodec/vaapi_vp9.c | 1 + libavcodec/vp9.c | 10 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libavcodec/vaapi_vp9.c b/libavcodec/vaapi_vp9.c index b360dcb..9b3e81a 100644 --- a/libavcodec/vaapi_vp9.c +++ b/libavcodec/vaapi_vp9.c @@ -38,6 +38,7 @@

Re: [FFmpeg-devel] [PATCH] lavf: fix the wrong warning msg and comments about av_find_stream_info

2016-12-05 Thread Michael Niedermayer
On Mon, Dec 05, 2016 at 03:33:22PM +0800, Jun Zhao wrote: > avformat.h |4 ++-- > utils.c|6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > 2af81d9d6033e66daa2f7a5c981129cbb87ca5c7 > 0001-lavf-fix-the-wrong-warning-msg-and-comments-about-av.patch > From

Re: [FFmpeg-devel] [PATCH 1/2] Avoid using the term "file" and prefer "url" in some docs and comments

2016-12-05 Thread Michael Niedermayer
On Mon, Dec 05, 2016 at 01:52:50PM +0100, Michael Niedermayer wrote: > This should make it less ambigous that these are URLs > > Signed-off-by: Michael Niedermayer > --- > doc/ffmpeg.texi | 18 +- > doc/ffplay.texi | 6 +++--- > doc/ffprobe.texi | 10

[FFmpeg-devel] [PATCH 3/4] avcodec/h264: mmx2, sse2, avx 10-bit h chroma deblock/loop filter

2016-12-05 Thread James Darnley
Yorkfield: - mmx2: 2.45x (279 vs. 114 cycles) - sse2: 3.36x (279 vs. 83 cycles) Nehalem: - mmx2: 2.10x (192 vs. 92 cycles) - sse2: 2.84x (192 vs. 68 cycles) Skylake: - mmx2: 1.75x (170 vs. 97 cycles) - sse2: 2.47x (170 vs. 69 cycles) - avx: 2.47x (170 vs. 69 cycles) ---

[FFmpeg-devel] [PATCH 4/4] avcodec/h264: mmx2, sse2, avx 10-bit 4:2:2 h chroma deblock/loop filter

2016-12-05 Thread James Darnley
Yorkfield: - mmx2: 2.53x (504 vs. 199 cycles) - sse2: 3.83x (504 vs. 131 cycles) Nehalem: - mmx2: 2.42x (365 vs. 151 cycles) - sse2: 3.56x (365 vs. 103 cycles) Skylake: - mmx2: 1.81x (308 vs. 170 cycles) - sse2: 2.84x (308 vs. 108 cycles) - avx: 2.93x (308 vs. 105 cycles) ---

[FFmpeg-devel] [PATCH 1/4] avcodec/h264: clean up and expand x86 function definitions

2016-12-05 Thread James Darnley
--- libavcodec/x86/h264dsp_init.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavcodec/x86/h264dsp_init.c b/libavcodec/x86/h264dsp_init.c index c6c643a..7cc0655 100644 --- a/libavcodec/x86/h264dsp_init.c +++ b/libavcodec/x86/h264dsp_init.c @@ -110,6 +110,8 @@

[FFmpeg-devel] [PATCH 2/4] whitespace changes after last commit

2016-12-05 Thread James Darnley
--- libavcodec/x86/h264dsp_init.c | 44 +-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/libavcodec/x86/h264dsp_init.c b/libavcodec/x86/h264dsp_init.c index 7cc0655..7e16dca 100644 --- a/libavcodec/x86/h264dsp_init.c +++

[FFmpeg-devel] [PATCH] qsvdec: Fix memory leak

2016-12-05 Thread Timothy Gu
Found by Coverity in FFmpeg. --- libavcodec/qsvdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index ea4abfa..258042d 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -305,8 +305,10 @@ static int

Re: [FFmpeg-devel] FFmpeg 2.8.9, 3.1.6, 3.0.5

2016-12-05 Thread Reto Kromer
Michael Niedermayer wrote: >moved 2.5 and 2.6 to olddownloads > >and 2.8.9 release made Thank you! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 0/4] More H.264 assembly (the sequel) [version 2]

2016-12-05 Thread James Darnley
Fixed the problem Michael highlighted. Dropped the intra functions until it becomes clear why their performance is unexpected. Updated the benchmarks with results from a Nehalem and used (slightly) more accurate data. Regarding the age of MMX: I have written it so unless someone tells me to

[FFmpeg-devel] [PATCH] qsvdec: Fix memory leak

2016-12-05 Thread Timothy Gu
Fixes CID1396851. --- libavcodec/qsvdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index ea4abfa..258042d 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -305,8 +305,10 @@ static int qsv_decode(AVCodecContext

[FFmpeg-devel] [PATCH] omx: Fix OOM check

2016-12-05 Thread Timothy Gu
Also use av_mallocz_array(). Fixes CID1396839. --- libavcodec/omx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/omx.c b/libavcodec/omx.c index c1b6fb9..b5093f4 100644 --- a/libavcodec/omx.c +++ b/libavcodec/omx.c @@ -352,12 +352,12 @@ static av_cold int

Re: [FFmpeg-devel] [PATCH] configure: check for strtoull on msvc

2016-12-05 Thread Michael Niedermayer
On Mon, Dec 05, 2016 at 01:07:22PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > configure | 1 + > 1 file changed, 1 insertion(+) Tested-by: michael on mingw32/64, arm, mips, x86-32/64 linux build works as expected as before -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] configure: check for strtoull on msvc

2016-12-05 Thread James Almer
On 12/5/2016 2:25 PM, Michael Niedermayer wrote: > On Mon, Dec 05, 2016 at 01:07:22PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> configure | 1 + >> 1 file changed, 1 insertion(+) > > Tested-by: michael on mingw32/64, arm, mips, x86-32/64 linux > build

[FFmpeg-devel] [PATCH] configure: check for strtoull on msvc

2016-12-05 Thread James Almer
Signed-off-by: James Almer --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index ddc065e..21ec552 100755 --- a/configure +++ b/configure @@ -6284,6 +6284,7 @@ __declspec($_restrict) void* foo(int); EOF fi check_func strtoll ||

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread James Almer
On 12/5/2016 11:45 AM, Carl Eugen Hoyos wrote: > 2016-12-05 15:23 GMT+01:00 James Almer : >> On 12/5/2016 7:20 AM, Carl Eugen Hoyos wrote: >>> 2016-11-29 21:53 GMT+01:00 James Almer : On 11/29/2016 5:41 PM, Carl Eugen Hoyos wrote: > 2016-11-29 21:11

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread Ronald S. Bultje
Hi, On Mon, Dec 5, 2016 at 9:45 AM, Carl Eugen Hoyos wrote: > 2016-12-05 15:23 GMT+01:00 James Almer : > > The technical reasons are there, described in the news entry you seem to > > not want to read, or at least properly parse. > > These past week

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread Carl Eugen Hoyos
2016-12-05 15:23 GMT+01:00 James Almer : > On 12/5/2016 7:20 AM, Carl Eugen Hoyos wrote: >> 2016-11-29 21:53 GMT+01:00 James Almer : >>> On 11/29/2016 5:41 PM, Carl Eugen Hoyos wrote: 2016-11-29 21:11 GMT+01:00 James Almer : >> >

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread wm4
On Mon, 28 Nov 2016 19:15:28 +0100 Nicolas George wrote: > Deadline: 2016-12-06 00:00 UTC. > > I propose, and put to the discussion, that the decision to drop ffserver > is revoked, conditioned to the fixing of the technical issues that lead > to it. > > In other words, if the

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread James Almer
On 11/28/2016 3:15 PM, Nicolas George wrote: > Deadline: 2016-12-06 00:00 UTC. > > I propose, and put to the discussion, that the decision to drop ffserver > is revoked, conditioned to the fixing of the technical issues that lead > to it. > > In other words, if the technical problems that

Re: [FFmpeg-devel] [PATCH 1/2] img2: added support for %t output pattern

2016-12-05 Thread Michael Niedermayer
On Mon, Dec 05, 2016 at 07:06:35AM -0700, Roger Pack wrote: > On 12/2/16, James Almer wrote: > > On 12/2/2016 10:06 PM, Roger Pack wrote: > >> On 11/25/16, Roger Pack wrote: > >>> On 11/18/16, Roger Pack wrote: > On 11/15/16,

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread James Almer
On 12/5/2016 7:20 AM, Carl Eugen Hoyos wrote: > 2016-11-29 21:53 GMT+01:00 James Almer : >> On 11/29/2016 5:41 PM, Carl Eugen Hoyos wrote: >>> 2016-11-29 21:11 GMT+01:00 James Almer : > He's trying to override an announced project decision of removing a

Re: [FFmpeg-devel] [PATCH 1/2] img2: added support for %t output pattern

2016-12-05 Thread Roger Pack
On 12/2/16, James Almer wrote: > On 12/2/2016 10:06 PM, Roger Pack wrote: >> On 11/25/16, Roger Pack wrote: >>> On 11/18/16, Roger Pack wrote: On 11/15/16, James Almer wrote: > On 11/10/2016 4:26 PM,

Re: [FFmpeg-devel] [PATCH 2/2] [RFC] avformat/avio: Fail on opening non file urls which exist as local files without whitelists

2016-12-05 Thread wm4
On Mon, 5 Dec 2016 13:52:51 +0100 Michael Niedermayer wrote: > TODO: this needs to cleanly open a file url context for checking > > This stops someone having a local file like "http:evilhost.com" and playing it > as "http:evilhost.com" without explicitly specifying the

[FFmpeg-devel] [PATCH 1/2] Avoid using the term "file" and prefer "url" in some docs and comments

2016-12-05 Thread Michael Niedermayer
This should make it less ambigous that these are URLs Signed-off-by: Michael Niedermayer --- doc/ffmpeg.texi | 18 +- doc/ffplay.texi | 6 +++--- doc/ffprobe.texi | 10 +- ffmpeg_opt.c | 4 ++-- 4 files changed, 19 insertions(+), 19

[FFmpeg-devel] [PATCH 2/2] [RFC] avformat/avio: Fail on opening non file urls which exist as local files without whitelists

2016-12-05 Thread Michael Niedermayer
TODO: this needs to cleanly open a file url context for checking This stops someone having a local file like "http:evilhost.com" and playing it as "http:evilhost.com" without explicitly specifying the http protocol on the whitelist That is it reduces the impact of people not using the "file:"

Re: [FFmpeg-devel] [DECISION] Revoke the decision of dropping ffserver

2016-12-05 Thread Carl Eugen Hoyos
2016-11-29 21:53 GMT+01:00 James Almer : > On 11/29/2016 5:41 PM, Carl Eugen Hoyos wrote: >> 2016-11-29 21:11 GMT+01:00 James Almer : >>> He's trying to override an announced project decision of removing a feature. >> >> We - obviously - announced it to find

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix ticket id 5988 for DISCONTINUITY

2016-12-05 Thread Steven Liu
2016-12-04 21:36 GMT+08:00 Steven Liu : > add EXT-X-DISCONTINUITY tag at the position of the append point. > > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 14 ++ > 1 files changed, 14 insertions(+), 0 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH] ffprobe: Support adding av_log output to frames

2016-12-05 Thread Stefano Sabatini
On date Thursday 2016-12-01 22:21:17 +0100, Michael Niedermayer encoded: > On Tue, Jun 14, 2016 at 05:55:47PM +0200, Stefano Sabatini wrote: > > On date Wednesday 2016-06-08 18:20:39 +0200, Michael Niedermayer encoded: > > > On Sun, Jun 05, 2016 at 12:56:08PM +0200, Stefano Sabatini wrote: > > > >