[FFmpeg-devel] [PATCH] h264: avoid unnecessary calls to get_format

2015-03-31 Thread Rainer Hochecker
--- libavcodec/h264_slice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 80d27e5..9477650 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1417,7 +1417,8 @@ int

[FFmpeg-devel] [PATCH]Support more audio in Hikvision recordings

2015-03-31 Thread Carl Eugen Hoyos
Hi! Attached patch fixes audio in a cctv recording a user uploaded. Please comment, Carl Eugen diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index a0b5738..af47652 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -501,6 +501,9 @@ redo: goto found; } +if

[FFmpeg-devel] [PATCH] avfilter/vf_detelecine: Fix uninitialized array index error

2015-03-31 Thread Himangi Saraogi
--- Fixes the defect CID 1292301. libavfilter/vf_detelecine.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_detelecine.c b/libavfilter/vf_detelecine.c index 218a8c8..8ad7ae3 100644 --- a/libavfilter/vf_detelecine.c +++

[FFmpeg-devel] [PATCH] avformat/http: Fix null check on allocated value

2015-03-31 Thread Himangi Saraogi
--- This probably fixes CID 1292299 as well. libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index da3c9be..45533e4 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -495,7 +495,7 @@ static int

Re: [FFmpeg-devel] [PATCH] avformat/http: Fix null check on allocated value

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 12:53:25PM +0530, Himangi Saraogi wrote: --- This probably fixes CID 1292299 as well. libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those

Re: [FFmpeg-devel] [PATCH] avfilter/vf_detelecine: Fix uninitialized array index error

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 12:43:46PM +0530, Himangi Saraogi wrote: --- Fixes the defect CID 1292301. libavfilter/vf_detelecine.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] h264: avoid unnecessary calls to get_format

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 08:27:01AM +0200, Rainer Hochecker wrote: --- libavcodec/h264_slice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 2 100%

Re: [FFmpeg-devel] [PATCH] vf_drawtext: add support for setting box border width

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 12:52:47AM +0200, Marton Balint wrote: Signed-off-by: Marton Balint c...@passwd.hu --- doc/filters.texi | 4 libavfilter/vf_drawtext.c | 5 - 2 files changed, 8 insertions(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH 3/4] apng: Add a basic APNG encoder

2015-03-31 Thread Donny Yang
Signed-off-by: Donny Yang w...@kota.moe --- configure | 1 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 2 +- libavcodec/pngenc.c| 151 + 4 files changed, 144 insertions(+), 11 deletions(-) diff --git a/configure

[FFmpeg-devel] [PATCH 1/4] png: Clear up the calculation of max packet size

2015-03-31 Thread Donny Yang
Signed-off-by: Donny Yang w...@kota.moe --- libavcodec/pngenc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index 8fff0f3..ca0ed25 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -307,12 +307,16 @@ static

[FFmpeg-devel] [PATCH 2/4] png: Clearly separate encoding header and frames

2015-03-31 Thread Donny Yang
Signed-off-by: Donny Yang w...@kota.moe --- libavcodec/pngenc.c | 142 +++- 1 file changed, 84 insertions(+), 58 deletions(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index ca0ed25..e7c343b 100644 --- a/libavcodec/pngenc.c +++

[FFmpeg-devel] [PATCH 4/4] apng: Add a basic APNG muxer

2015-03-31 Thread Donny Yang
Additionally, update some documentation with support for APNG Signed-off-by: Donny Yang w...@kota.moe --- Changelog| 1 + doc/general.texi | 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 2 +- libavformat/apngenc.c| 269

[FFmpeg-devel] [PATCH] Relaxed pattern to find ProRes in MXF.

2015-03-31 Thread Steve Dierker
Hello List, I found another MXF File containing ProRes with the following codec_uls: 060E2B34040101010E04020102110500 Therefor I relaxed the pattern. Related to issue #4349 --- libavformat/mxf.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxf.c

Re: [FFmpeg-devel] [PATCH 2/2] webmdashenc: Support for live stream manifests

2015-03-31 Thread Timothy Gu
On Tue, Mar 31, 2015 at 7:40 PM Vignesh Venkatasubramanian vigne...@google.com wrote: This patch adds support for creating DASH manifests for WebM Live Streams. It also updates the documentation and adds a fate test to verify the behavior of the new muxer flag. Signed-off-by: Vignesh

Re: [FFmpeg-devel] [PATCH 2/2] webmdashenc: Support for live stream manifests

2015-03-31 Thread Timothy Gu
On Tue, Mar 31, 2015 at 5:11 PM Vignesh Venkatasubramanian vigne...@google.com wrote: This patch adds support for creating DASH manifests for WebM Live Streams. It also updates the documentation and adds a fate test to verify the behavior of the new muxer flag. Signed-off-by: Vignesh

Re: [FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-03-31 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 03:25:23AM +0200, Lukasz Marek wrote: Fixes following scenario: av_dict_set(d, key, old, 0); AVDictionaryEentry *e = av_dict_get(d, key, NULL, 0); av_dict_set(d, e-key, new, 0); Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavutil/dict.c | 18

[FFmpeg-devel] [PATCH 2/2] fate: add AVDictionary tests

2015-03-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26 ++ 2 files changed, 30 insertions(+) create mode 100644 tests/ref/fate/dict diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak index

[FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-03-31 Thread Lukasz Marek
Fixes following scenario: av_dict_set(d, key, old, 0); AVDictionaryEentry *e = av_dict_get(d, key, NULL, 0); av_dict_set(d, e-key, new, 0); Signed-off-by: Lukasz Marek lukasz.m.lu...@gmail.com --- libavutil/dict.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff

Re: [FFmpeg-devel] [PATCH 2/2] webmdashenc: Support for live stream manifests

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 04:54:11PM -0700, Vignesh Venkatasubramanian wrote: [...] The newly added fate test requires these two files to be present in vp8/ directory. Please put them there before running them: 1) https://drive.google.com/file/d/0Bx8Q1nhO9b6MSExHUEM5U1pyWW8/view?usp=sharing 2)

Re: [FFmpeg-devel] [PATCH 2/2] webmdashenc: Support for live stream manifests

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 04:51:58PM -0700, Vignesh Venkatasubramanian wrote: This patch adds support for creating DASH manifests for WebM Live Streams. It also updates the documentation and adds a fate test to verify the behavior of the new muxer flag. Signed-off-by: Vignesh

Re: [FFmpeg-devel] [PATCH 2/2] webmdashenc: Support for live stream manifests

2015-03-31 Thread Vignesh Venkatasubramanian
On Tue, Mar 31, 2015 at 6:45 PM, Timothy Gu timothyg...@gmail.com wrote: On Tue, Mar 31, 2015 at 5:11 PM Vignesh Venkatasubramanian vigne...@google.com wrote: This patch adds support for creating DASH manifests for WebM Live Streams. It also updates the documentation and adds a fate test to

[FFmpeg-devel] [PATCH] avutil/mem: set default allocation limit to unlimited

2015-03-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavutil/mem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/mem.c b/libavutil/mem.c index 5fd2395..2849188 100644 --- a/libavutil/mem.c +++ b/libavutil/mem.c @@ -66,7 +66,7 @@ void free(void *ptr); *

Re: [FFmpeg-devel] [PATCH 1/4] png: Clear up the calculation of max packet size

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 12:37:22PM +, Donny Yang wrote: Signed-off-by: Donny Yang w...@kota.moe --- libavcodec/pngenc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index 8fff0f3..ca0ed25 100644 ---

Re: [FFmpeg-devel] [PATCH] Relaxed pattern to find ProRes in MXF.

2015-03-31 Thread tim nicholson
On 31/03/15 13:41, Steve Dierker wrote: Hello List, I found another MXF File containing ProRes with the following codec_uls: 060E2B34040101010E04020102110500 Therefor I relaxed the pattern. Are the Prores variants likely to be that big? Difficult I know for private UL's I wonder if we

Re: [FFmpeg-devel] [PATCH] avutil/mem: set default allocation limit to unlimited

2015-03-31 Thread wm4
On Tue, 31 Mar 2015 16:55:00 +0200 Michael Niedermayer michae...@gmx.at wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavutil/mem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/mem.c b/libavutil/mem.c index 5fd2395..2849188 100644

Re: [FFmpeg-devel] [PATCH] Relaxed pattern to find ProRes in MXF.

2015-03-31 Thread Carl Eugen Hoyos
Steve Dierker steve.dierker at flavoursys.com writes: I found another MXF File containing ProRes with the following codec_uls: 060E2B34040101010E04020102110500 Therefor I relaxed the pattern. I support this patch if you didn't make the file yourself. I only had one sample. Thank you, Carl

Re: [FFmpeg-devel] ffpreset

2015-03-31 Thread Carl Eugen Hoyos
Clément Champetier cnt at mikrosimage.eu writes: Is it in your road map to Just being curious: Does your project really have a road map? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avutil/mem: set default allocation limit to unlimited

2015-03-31 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: -static size_t max_alloc_size= INT_MAX; +static size_t max_alloc_size= SIZE_MAX; What would this fix? I remember several reports about FFmpeg leaking memory where the users just meant that one of the libraries allocated more memory than the

Re: [FFmpeg-devel] [PATCH] avutil/mem: set default allocation limit to unlimited

2015-03-31 Thread wm4
On Tue, 31 Mar 2015 15:53:36 + (UTC) Carl Eugen Hoyos ceho...@ag.or.at wrote: Michael Niedermayer michaelni at gmx.at writes: -static size_t max_alloc_size= INT_MAX; +static size_t max_alloc_size= SIZE_MAX; What would this fix? Nothing yet, because both AVPacket and AVFrame still

Re: [FFmpeg-devel] [PATCH 2/4] png: Clearly separate encoding header and frames

2015-03-31 Thread wm4
On Tue, 31 Mar 2015 20:01:45 +0200 Michael Niedermayer michae...@gmx.at wrote: On Tue, Mar 31, 2015 at 12:37:23PM +, Donny Yang wrote: Signed-off-by: Donny Yang w...@kota.moe [...] +ret = encode_headers(avctx, pict); +if (ret) +return ret; + +ret =

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: export choosen picture types

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 07:08:00PM +0100, Derek Buitenhuis wrote: On 3/30/2015 11:45 PM, Michael Niedermayer wrote: pkt-pts = x265pic_out.pts; pkt-dts = x265pic_out.dts; +switch (x265pic_out.sliceType) { +case X265_TYPE_IDR: +case X265_TYPE_I:

Re: [FFmpeg-devel] [PATCH 2/4] png: Clearly separate encoding header and frames

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 12:37:23PM +, Donny Yang wrote: Signed-off-by: Donny Yang w...@kota.moe [...] +ret = encode_headers(avctx, pict); +if (ret) +return ret; + +ret = encode_frame(avctx, pict); +if (ret) +return ret; error checks are 0 in ffmpeg

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: export choosen picture types

2015-03-31 Thread Derek Buitenhuis
On 3/30/2015 11:45 PM, Michael Niedermayer wrote: pkt-pts = x265pic_out.pts; pkt-dts = x265pic_out.dts; +switch (x265pic_out.sliceType) { +case X265_TYPE_IDR: +case X265_TYPE_I: avctx-coded_frame-pict_type = AV_PICTURE_TYPE_I; break; +case X265_TYPE_P:

Re: [FFmpeg-devel] ffpreset

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 04:24:07PM +0200, Clément Champetier wrote: Hello, I work on an opensource project, AvTranscoder ( https://github.com/mikrosimage/avTranscoder), which is basically a project to give a high level API of ffmpeg in C++, Java and python. To easily launch some encodes,

Re: [FFmpeg-devel] [PATCH] avcodec[/format]/webpenc: use WebPAnimEncoder API to generate animated WebP

2015-03-31 Thread Pascal Massimino
Hi, On Sat, Mar 28, 2015 at 4:51 AM, James Almer jamr...@gmail.com wrote: On 27/03/15 7:02 AM, Pascal Massimino wrote: diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c index ee110de..d4411a9 100644 --- a/libavformat/webpenc.c +++ b/libavformat/webpenc.c @@ -24,10 +24,20 @@

Re: [FFmpeg-devel] [PATCH]Support more audio in Hikvision recordings

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 10:21:05AM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch fixes audio in a cctv recording a user uploaded. Please comment, Carl Eugen mpeg.c |3 +++ 1 file changed, 3 insertions(+) f03e9ec0eb1e90c97c74d0ed51d61849cb8703dd patchcctvaac.diff diff --git

[FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-03-31 Thread Donny Yang
Additionally, update some documentation with support for APNG Signed-off-by: Donny Yang w...@kota.moe --- Changelog| 1 + doc/general.texi | 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 2 +- libavformat/apngenc.c| 269

[FFmpeg-devel] [PATCH 2/3] apng: Add a basic APNG encoder

2015-03-31 Thread Donny Yang
Signed-off-by: Donny Yang w...@kota.moe --- configure | 1 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 2 +- libavcodec/pngenc.c| 149 ++--- 4 files changed, 143 insertions(+), 10 deletions(-) diff --git a/configure

[FFmpeg-devel] [PATCH 1/3] png: Clearly separate encoding header and frames

2015-03-31 Thread Donny Yang
Signed-off-by: Donny Yang w...@kota.moe --- libavcodec/pngenc.c | 142 +++- 1 file changed, 84 insertions(+), 58 deletions(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index c913cce..bf7c49e 100644 --- a/libavcodec/pngenc.c +++

[FFmpeg-devel] ffpreset

2015-03-31 Thread Clément Champetier
Hello, I work on an opensource project, AvTranscoder ( https://github.com/mikrosimage/avTranscoder), which is basically a project to give a high level API of ffmpeg in C++, Java and python. To easily launch some encodes, we created preset files, with the same idea of ffpreset: text files with a

[FFmpeg-devel] [PATCH 2/2] webmdashenc: Support for live stream manifests

2015-03-31 Thread Vignesh Venkatasubramanian
This patch adds support for creating DASH manifests for WebM Live Streams. It also updates the documentation and adds a fate test to verify the behavior of the new muxer flag. Signed-off-by: Vignesh Venkatasubramanian vigne...@google.com --- doc/muxers.texi| 27 -

Re: [FFmpeg-devel] [PATCH] avformat/mp3dec: offset seek index to end of id3v2 tag

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 10:47:37PM +0200, wm4 wrote: The Xing index won't account for the id3 tag - it's relative to the headers. --- libavformat/mp3dec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH] avformat/mp3dec: offset seek index to end of id3v2 tag

2015-03-31 Thread wm4
The Xing index won't account for the id3 tag - it's relative to the headers. --- libavformat/mp3dec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index d2498a0..161f27d 100644 --- a/libavformat/mp3dec.c +++

Re: [FFmpeg-devel] [PATCH 3/4] lavu/avstring: add av_append_path_component() funcion

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 10:47:44PM +0200, Mariusz Szczepańczyk wrote: On Mon, Mar 30, 2015 at 12:38 AM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Mar 26, 2015 at 05:39:49PM +0100, Mariusz Szczepańczyk wrote: On Thu, Mar 26, 2015 at 3:40 PM, Michael Niedermayer michae...@gmx.at

Re: [FFmpeg-devel] [PATCH 1/3] png: Clearly separate encoding header and frames

2015-03-31 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 08:58:25PM +, Donny Yang wrote: Signed-off-by: Donny Yang w...@kota.moe --- libavcodec/pngenc.c | 142 +++- 1 file changed, 84 insertions(+), 58 deletions(-) applied thanks [...] -- Michael GnuPG