[FFmpeg-devel] [PATCH 6/6] avfilter: bump minor and Changelog document the new filters

2015-02-09 Thread Clément Bœsch
--- Changelog | 1 + libavfilter/version.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 8e55969..ae4340c 100644 --- a/Changelog +++ b/Changelog @@ -19,6 +19,7 @@ version : - Twofish symmetric block cipher - Support DNx100 (960x7

[FFmpeg-devel] [PATCH 2/6] avformat/gif: use first packet palette as global for PAL8

2015-02-09 Thread Clément Bœsch
This will allow the payload in PAL8 packets to not contain 768B of local palette (which is not LZW compressed). --- libavformat/gif.c | 70 +++ 1 file changed, 50 insertions(+), 20 deletions(-) diff --git a/libavformat/gif.c b/libavformat/gif.c

[FFmpeg-devel] [PATCH 1/6] avformat/gif: simplify gif_image_write_header() prototype

2015-02-09 Thread Clément Bœsch
--- libavformat/gif.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/libavformat/gif.c b/libavformat/gif.c index e817121..b4c5e8b 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -28,13 +28,12 @@ #include "libavutil/log.h" #include "libavutil/opt.h

[FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-02-09 Thread Clément Bœsch
--- doc/filters.texi| 50 +++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_paletteuse.c | 791 4 files changed, 843 insertions(+) create mode 100644 libavfilter/vf_paletteuse.c diff --git a/doc/

[FFmpeg-devel] [PATCH 3/6] avcodec/gif: support crop and transparency with PAL8

2015-02-09 Thread Clément Bœsch
--- libavcodec/gif.c | 53 ++- tests/ref/fate/gifenc-pal8 | 346 ++--- 2 files changed, 220 insertions(+), 179 deletions(-) diff --git a/libavcodec/gif.c b/libavcodec/gif.c index 27d054e..12a039e 100644 --- a/libavcodec/gif.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 4/6] avfilter: add palettegen filter

2015-02-09 Thread Clément Bœsch
--- doc/filters.texi| 45 libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_palettegen.c | 523 4 files changed, 570 insertions(+) create mode 100644 libavfilter/vf_palettegen.c diff --git a/doc

[FFmpeg-devel] Color quantization for GIF v2

2015-02-09 Thread Clément Bœsch
Hi folks, TL;DR: http://lucy.pkh.me/ffgif/outputs/ (note: this page is heavy; over 200M) So here is the new version of the patchset. Many changes since previous time, here is a summary: palettegen filter: • added max_colors and stats_mode options • RGB 5:5:5 to full resolution RGB (24 bits)

Re: [FFmpeg-devel] [PATCH] ffprobe: Force string_validation to int type, its accessed via AVOption as int

2015-02-08 Thread Clément Bœsch
On Fri, Feb 06, 2015 at 10:10:22PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > ffprobe.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/ffprobe.c b/ffprobe.c > index d352bb6b..8617c96 100644 > --- a/ffprobe.c > +++ b/ffprobe.c > @

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/srtdec: attempt to correct SubRip positioning

2015-02-08 Thread Clément Bœsch
On Sun, Feb 08, 2015 at 12:40:19PM +0100, Clément Bœsch wrote: > The positioning was completely wrong. First, the coordinates are > expressed in ASS playback resolution (which is by default 384x288). > Secondly, the coordinates define a drawing rectangle, not a moving area. > The previ

[FFmpeg-devel] [PATCH 2/2] avcodec/srtdec: attempt to correct SubRip positioning

2015-02-08 Thread Clément Bœsch
The positioning was completely wrong. First, the coordinates are expressed in ASS playback resolution (which is by default 384x288). Secondly, the coordinates define a drawing rectangle, not a moving area. The previous code was making subtitles move from a random position to another random position

[FFmpeg-devel] [PATCH 1/2] avcodec/ass: make default playback resolution available to decoders

2015-02-08 Thread Clément Bœsch
--- libavcodec/ass.c | 5 +++-- libavcodec/ass.h | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/ass.c b/libavcodec/ass.c index ea247f8..468b8bb 100644 --- a/libavcodec/ass.c +++ b/libavcodec/ass.c @@ -36,8 +36,8 @@ int ff_ass_subtitle_header(AVCodecContext *avct

Re: [FFmpeg-devel] Adding Force Style option in Subtitles Filter

2015-02-08 Thread Clément Bœsch
On Fri, Feb 06, 2015 at 10:47:09AM +0100, Stefano Sabatini wrote: > On date Thursday 2015-02-05 22:12:08 +0530, Eejya Singh encoded: > [...] > > From ed526a03c939055e2b9f931a0cb4e0e22b7b5b04 Mon Sep 17 00:00:00 2001 > > From: Eejya Singh > > Date: Wed, 28 Jan 2015 17:41:42 +0530 > > Subject: [PATC

Re: [FFmpeg-devel] [PATCH] tests: drop bc dependency

2015-02-08 Thread Clément Bœsch
On Sun, Feb 08, 2015 at 10:27:14AM +0100, Clément Bœsch wrote: > On Tue, Jan 20, 2015 at 09:58:33PM +0100, Reimar Döffinger wrote: > > On Mon, Jan 19, 2015 at 10:58:02PM +0100, Clément Bœsch wrote: > > > -echo "scale=2; v = $1 - $2; if (v < 0) v = -v; if (v &

Re: [FFmpeg-devel] [PATCH] tests: drop bc dependency

2015-02-08 Thread Clément Bœsch
On Tue, Jan 20, 2015 at 09:58:33PM +0100, Reimar Döffinger wrote: > On Mon, Jan 19, 2015 at 10:58:02PM +0100, Clément Bœsch wrote: > > -echo "scale=2; v = $1 - $2; if (v < 0) v = -v; if (v > $3) r = 1; r" | > > bc > > +awk "BEGIN { v=$1-$2; p

Re: [FFmpeg-devel] [RFC] Exporting the alpha mode from decoders

2015-02-07 Thread Clément Bœsch
On Sat, Feb 07, 2015 at 04:32:02PM +0100, wm4 wrote: > On Sat, 7 Feb 2015 10:34:16 + (UTC) > Carl Eugen Hoyos wrote: > > > Carl Eugen Hoyos ag.or.at> writes: > > > > > wm4 googlemail.com> writes: > > > > > > > > I will fix this later if nobody beats me. > > > > > > > > How do you intend

Re: [FFmpeg-devel] [PATCH] tests: add spp test

2015-02-06 Thread Clément Bœsch
On Fri, Feb 06, 2015 at 12:14:32PM +0100, Stefano Sabatini wrote: > On date Thursday 2015-02-05 22:57:31 +0100, Clément Bœsch encoded: > > On Thu, Feb 05, 2015 at 06:04:56PM +0100, Michael Niedermayer wrote: > > > On Thu, Feb 05, 2015 at 12:49:20PM +0100, Stefano Sabatini wrot

Re: [FFmpeg-devel] [RFC] Exporting the alpha mode from decoders

2015-02-06 Thread Clément Bœsch
On Fri, Feb 06, 2015 at 12:32:14PM +0100, wm4 wrote: > This is a proposal for an API extension. > > Currently, some pixel formats support alpha, but whether the alpha > component contains something useful or just garbage is not part of the > pixel format definition. This applies at least to packed

Re: [FFmpeg-devel] [PATCH] tests: add spp test

2015-02-05 Thread Clément Bœsch
On Thu, Feb 05, 2015 at 06:04:56PM +0100, Michael Niedermayer wrote: > On Thu, Feb 05, 2015 at 12:49:20PM +0100, Stefano Sabatini wrote: > > On date Wednesday 2015-02-04 16:18:32 +0100, Michael Niedermayer encoded: > > > On Wed, Feb 04, 2015 at 12:26:15PM +0100, Stefano Sabatini wrote: > > > > This

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-05 Thread Clément Bœsch
On Thu, Feb 05, 2015 at 10:40:47PM +0100, Nicolas George wrote: > Le septidi 17 pluviôse, an CCXXIII, Clement Boesch a écrit : > > So after each release, packagers need to check the configure and make sure > > there aren't new libraries that will randomly be linked to, and add new > > flag to make

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-05 Thread Clément Bœsch
On Thu, Feb 05, 2015 at 10:33:38PM +0100, wm4 wrote: > On Thu, 5 Feb 2015 22:11:22 +0100 > Clément Bœsch wrote: > > > On Thu, Feb 05, 2015 at 04:55:37PM +0100, Nicolas George wrote: > > > Le sextidi 16 pluviôse, an CCXXIII, Clement Boesch a écrit : > > > &g

Re: [FFmpeg-devel] [FFmpeg-cvslog] hevc: free sao buffers when receiving a new SPS

2015-02-05 Thread Clément Bœsch
On Thu, Feb 05, 2015 at 10:00:19PM +0100, Christophe Gisquet wrote: > ffmpeg | branch: master | Christophe Gisquet | > Thu Feb 5 19:51:22 2015 +0100| [9a2f5d825a257cc72d569a91746219c7974da6e4] | > committer: Michael Niedermayer > > hevc: free sao buffers when receiving a new SPS > > The buffe

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-05 Thread Clément Bœsch
On Thu, Feb 05, 2015 at 04:55:37PM +0100, Nicolas George wrote: > Le sextidi 16 pluviôse, an CCXXIII, Clement Boesch a écrit : > > Linux is not only used by desktop. Debian (for example) might want to > > provide a ffmpeg-nox11 (just like vim-nox11), > > Well, that means they have to put --disable

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-04 Thread Clément Bœsch
On Wed, Feb 04, 2015 at 09:30:15PM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > > > drag many unwanted dependencies by default. > > > > > > The only additional dependency I see here is > > > libxcb itself: I cannot remov

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-04 Thread Clément Bœsch
On Wed, Feb 04, 2015 at 08:51:00PM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > This reverts commit 23ec8db8a07467a1fbef0c79f16b33040ca63c24. > > > > There is no reason to enable libxcb by default. > > This is inconsistent with all th

Re: [FFmpeg-devel] [PATCH 2/2] new option for drawtext (boxborderw = set box border width)

2015-02-04 Thread Clément Bœsch
On Tue, Feb 03, 2015 at 09:01:30AM -0800, Liviu Oniciuc wrote: > at this time the drawtext box extends only for the width and height > of the text. for a better visual appearance a new option was added > (boxboderw) to set how much the box should extend outside of the boxborderw > text area > >

Re: [FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-04 Thread Clément Bœsch
On Wed, Feb 04, 2015 at 09:11:34PM +0100, Clément Bœsch wrote: > This reverts commit 23ec8db8a07467a1fbef0c79f16b33040ca63c24. > > There is no reason to enable libxcb by default. This is inconsistent > with all the other libs (we don't do it for x11, opengl, ...) and dra

[FFmpeg-devel] [PATCH] Revert "Autodetect libxcb."

2015-02-04 Thread Clément Bœsch
This reverts commit 23ec8db8a07467a1fbef0c79f16b33040ca63c24. There is no reason to enable libxcb by default. This is inconsistent with all the other libs (we don't do it for x11, opengl, ...) and drag many unwanted dependencies by default. We'll get cursed by packagers pretty soon because of this

Re: [FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-02-01 Thread Clément Bœsch
On Fri, Jan 30, 2015 at 11:42:54AM -0500, Calvin Walton wrote: > On Tue, 2015-01-27 at 14:20 +0100, Clément Bœsch wrote: > > On Sun, Jan 25, 2015 at 07:55:22PM +0100, Clément Bœsch wrote: > > > --- > > > doc/filters.texi| 31 + > > >

Re: [FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt

2015-02-01 Thread Clément Bœsch
On Sun, Feb 01, 2015 at 04:19:22AM +0200, dhead666 wrote: > --- > > @TimothyGu thanks for all your help, I hope this is now fine. > > doc/muxers.texi | 3 +++ > libavformat/mpegtsenc.c | 6 +- > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/doc/muxers.texi b/doc/m

Re: [FFmpeg-devel] [PATCH] remove libmpcodecs

2015-01-29 Thread Clément Bœsch
On Thu, Jan 29, 2015 at 11:54:31AM +0100, Clément Bœsch wrote: [...] > Technically, we should wait for major bump before removing mp since it > removes symbols. > MMh, my bad ff_vp_mp is local. -- Clément B. pgpZQl0DTdyFe.pgp Description: PGP

Re: [FFmpeg-devel] [PATCH] remove libmpcodecs

2015-01-29 Thread Clément Bœsch
On Thu, Jan 29, 2015 at 11:32:40AM +0100, Stefano Sabatini wrote: > On date Tuesday 2015-01-27 11:28:52 +, Paul B Mahol encoded: > > Signed-off-by: Paul B Mahol > > --- > > Changelog | 1 + > > LICENSE.md | 2 - > > configur

Re: [FFmpeg-devel] [PATCH] example/filtering: extend comments about setting the filter graph endpoints

2015-01-28 Thread Clément Bœsch
On Tue, Jan 27, 2015 at 02:06:35PM +0100, Stefano Sabatini wrote: > That part is a constant source of confusions for readers, this should > help clarify the apparently inverted logic. > --- > doc/examples/filtering_audio.c | 18 +- > doc/examples/filtering_video.c | 18

Re: [FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-01-27 Thread Clément Bœsch
On Sun, Jan 25, 2015 at 07:55:22PM +0100, Clément Bœsch wrote: > --- > doc/filters.texi| 31 + > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_paletteuse.c | 282 > >

Re: [FFmpeg-devel] [PATCH 4/6] avfilter: add palettegen filter

2015-01-27 Thread Clément Bœsch
On Sun, Jan 25, 2015 at 07:55:21PM +0100, Clément Bœsch wrote: > --- > doc/filters.texi| 24 +++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_palettegen.c | 382 > >

Re: [FFmpeg-devel] [PATCH] configure: use ar and ranlib in deterministic mode

2015-01-26 Thread Clément Bœsch
On Tue, Jan 27, 2015 at 12:31:18AM +0100, Andreas Cadhalpun wrote: > Hi, > > On 26.01.2015 23:11, Michael Niedermayer wrote: > >On Mon, Jan 26, 2015 at 07:08:42PM -0300, James Almer wrote: > >>On 26/01/15 7:04 PM, Michael Niedermayer wrote: > >>>reverted, breaks on BSDs > >>> > >>>ar: illegal opti

Re: [FFmpeg-devel] [PATCH] avfitler/vf_fieldmatch: fix typo

2015-01-26 Thread Clément Bœsch
On Mon, Jan 26, 2015 at 01:06:18PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_fieldmatch.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_fieldmatch.c b/libavfilter/vf_fieldmatch.c > index e2aa60b..358bd9e 100644 > ---

Re: [FFmpeg-devel] Color quantization for GIF

2015-01-25 Thread Clément Bœsch
On Sun, Jan 25, 2015 at 07:55:17PM +0100, Clément Bœsch wrote: > Hi folks, > > I've been trying to improve GIF support even more recently. This is the > result: > http://lucy.pkh.me/gone-nutty-current.gif → http://lucy.pkh.me/gone-nutty.gif > I added more here:

[FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-01-25 Thread Clément Bœsch
--- doc/filters.texi| 31 + libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_paletteuse.c | 282 4 files changed, 315 insertions(+) create mode 100644 libavfilter/vf_paletteuse.c diff --git a/do

[FFmpeg-devel] [PATCH 4/6] avfilter: add palettegen filter

2015-01-25 Thread Clément Bœsch
--- doc/filters.texi| 24 +++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_palettegen.c | 382 4 files changed, 408 insertions(+) create mode 100644 libavfilter/vf_palettegen.c diff --git a/doc/

[FFmpeg-devel] [PATCH 6/6] avfilter: bump minor and Changelog document the new filters

2015-01-25 Thread Clément Bœsch
--- Changelog | 1 + libavfilter/version.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 04f1728..b3b95e2 100644 --- a/Changelog +++ b/Changelog @@ -16,6 +16,7 @@ version : - Closed caption Decoder - fspp, uspp, pp7 MPlayer postp

[FFmpeg-devel] [PATCH 1/6] avformat/gif: simplify gif_image_write_header() prototype

2015-01-25 Thread Clément Bœsch
--- libavformat/gif.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/libavformat/gif.c b/libavformat/gif.c index e817121..b4c5e8b 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -28,13 +28,12 @@ #include "libavutil/log.h" #include "libavutil/opt.h

[FFmpeg-devel] [PATCH 3/6] avcodec/gif: support crop and transparency with PAL8

2015-01-25 Thread Clément Bœsch
--- libavcodec/gif.c | 53 ++- tests/ref/fate/gifenc-pal8 | 346 ++--- 2 files changed, 220 insertions(+), 179 deletions(-) diff --git a/libavcodec/gif.c b/libavcodec/gif.c index 27d054e..12a039e 100644 --- a/libavcodec/gif.c +++ b/libavcodec

[FFmpeg-devel] Color quantization for GIF

2015-01-25 Thread Clément Bœsch
Hi folks, I've been trying to improve GIF support even more recently. This is the result: http://lucy.pkh.me/gone-nutty-current.gif → http://lucy.pkh.me/gone-nutty.gif How it works in 2 lines: ffmpeg -i in -vf palettegen -y palette.png ffmpeg -i in -i palette.png -lavfi paletteuse out.gif Th

[FFmpeg-devel] [PATCH 2/6] avformat/gif: use first packet palette as global for PAL8

2015-01-25 Thread Clément Bœsch
From: Clément Bœsch This will allow the payload in PAL8 packets to not contain 768B of local palette (which is not LZW compressed). --- libavformat/gif.c | 70 +++ 1 file changed, 50 insertions(+), 20 deletions(-) diff --git a/libavformat

Re: [FFmpeg-devel] Question about supported_fps in libavutil/timecode.c::check_fps

2015-01-24 Thread Clément Bœsch
On Sat, Jan 24, 2015 at 09:09:05PM +0100, wm4 wrote: > On Sat, 24 Jan 2015 18:37:01 + > Derek Buitenhuis wrote: > > > On 1/24/2015 4:33 PM, wm4 wrote: > > > Which ones? We even expect C99 support from the compiler. > > > > Doesn't matter. It's the project's policy to have decls at > > block

Re: [FFmpeg-devel] Question about supported_fps in libavutil/timecode.c::check_fps

2015-01-24 Thread Clément Bœsch
On Sat, Jan 24, 2015 at 07:40:38AM -0800, jon morley wrote: > Hi Clément, > Hi, > That is a good point! I am attaching an additional patch to remove those > cases even before entering the mod test loop. > > Now the logic should look like this: > > static int check_fps(int fps) > { > if (f

Re: [FFmpeg-devel] Suggested Patch for timecode timebase calculation in mov.c

2015-01-24 Thread Clément Bœsch
sited about the tmcd counter flag. > > It seemed like prior to the patch I submitted mov_parse_stsd_data() was > collecting the st->codec->time_base as if the counter flag was unset. > > That comment text comes from commit: > > 35da85562d2f731855b28d4ab3b9b0679730ebf7 >

Re: [FFmpeg-devel] Question about supported_fps in libavutil/timecode.c::check_fps

2015-01-24 Thread Clément Bœsch
On Fri, Jan 23, 2015 at 08:48:37AM -0800, jon morley wrote: > Patch attached for consideration. > > On 1/23/15 8:03 AM, jon morley wrote: > >Currently check_fps has the following logic: > > > >static int check_fps(int fps) > >{ > > int i; > > static const int supported_fps[] = {24, 25, 30,

Re: [FFmpeg-devel] [PATCH] web/download: Change main snapshot url to point to github

2015-01-23 Thread Clément Bœsch
On Fri, Jan 23, 2015 at 03:31:28AM +0100, Michael Niedermayer wrote: > The url did just end at a "403 - Snapshots not allowed" > > We also could point to ffmpeg.org, but the snapshots there are upto 24h old > with the current cronjob > --- > src/download |2 +- > 1 file changed, 1 insertion(+

Re: [FFmpeg-devel] [PATCH] Port mp=eq/eq2 to FFmpeg

2015-01-22 Thread Clément Bœsch
On Thu, Jan 22, 2015 at 09:45:04PM +0530, arwa arif wrote: [...] > I checked the runtime of the codes with and without asm, it turns out that > there is not much difference. The difference is coming out to be in > milliseconds. > > 26.014s with asm and > 26.129 without asm. > > So, should I remo

Re: [FFmpeg-devel] [PATCH] avcodec/mpegvideo: also export 0, 0 motion vectors

2015-01-22 Thread Clément Bœsch
On Mon, Jan 19, 2015 at 11:58:09PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/mpegvideo.c |2 -- > tests/ref/fate/filter-codecview-mvs | 30 +++--- > 2 files changed, 15 insertions(+), 17 deletions(-) > > d

[FFmpeg-devel] [shan...@gmail.com: [libav-devel] Decoder for CEA-608 and World System Teletext]

2015-01-19 Thread Clément Bœsch
Hi Shan, I'm forwarding this to the appropriate mailing list and adding Anshul in CC. Am I interpreting your mail correctly if I say you do not plan to contribute yourself to the project? - Forwarded message from Shan - Date: Tue, 20 Jan 2015 01:24:10 + From: Shan To: libav-de...@l

[FFmpeg-devel] [PATCH] tests: drop bc dependency

2015-01-19 Thread Clément Bœsch
We already have a dependency on awk, bc is sometimes not found in the base system, and we save a shell fork. --- tests/fate-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index f78e4fc..52d14fe 100755 --- a/tests/fate-run.sh +++ b/t

Re: [FFmpeg-devel] Adding Webvtt in hls muxer

2015-01-19 Thread Clément Bœsch
On Wed, Jan 14, 2015 at 04:56:26PM +0530, Anshul wrote: > On 01/13/2015 04:19 PM, Anshul wrote: > > Hi > > > > I have attached the patch. > > > > Thanks > > Anshul Maheshwari > Another patch freeing memory leakage introduced by this patch. > > -Anshul > From 6829d7013819418011dfba2b40657d3f921bca

Re: [FFmpeg-devel] [PATCH] Port mp=eq/eq2 to FFmpeg

2015-01-19 Thread Clément Bœsch
On Mon, Jan 19, 2015 at 02:09:33PM +, Paul B Mahol wrote: > On 1/18/15, arwa arif wrote: > > Attached the patch. > > > > I'm for dropping eq code and rename eq2 to eq. Yes please let's not add 2 filters for this, it's insane. Also, "eq" is quite a bad name, but well... What happened to the

Re: [FFmpeg-devel] [PATCH 1/2] lavfi: remove mp=ilpack filter

2015-01-19 Thread Clément Bœsch
On Mon, Jan 19, 2015 at 02:06:52PM +, Paul B Mahol wrote: > On 5/4/13, Stefano Sabatini wrote: > > On date Monday 2013-04-29 10:29:33 +, Paul B Mahol encoded: > >> On 4/29/13, Carl Eugen Hoyos wrote: > >> > Paul B Mahol gmail.com> writes: > >> > > >> >> The filter does not work, asserts

Re: [FFmpeg-devel] aversion to .cpp files?

2015-01-16 Thread Clément Bœsch
On Thu, Jan 15, 2015 at 07:45:57AM -0700, Roger Pack wrote: > Hello. I've noticed there are a few .cpp files in the codebase, but > not many (most seem to be tied to windows). > > I have the choice, with the dshow stuff, to write in its "native" cpp > style (much easier/clearer IMO) or to convert

Re: [FFmpeg-devel] [PATCH] avfilter: add palettedbg filter

2015-01-15 Thread Clément Bœsch
On Thu, Jan 15, 2015 at 03:55:04PM +0100, Michael Niedermayer wrote: > On Thu, Jan 15, 2015 at 02:21:18PM +0100, Clément Bœsch wrote: > > From: Clément Bœsch > > > > --- > > Changelog| 1 + > > doc/filters.texi |

[FFmpeg-devel] [PATCH] avfilter: add palettedbg filter

2015-01-15 Thread Clément Bœsch
From: Clément Bœsch --- Changelog| 1 + doc/filters.texi | 13 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h| 4 +- libavfilter/vf_palettedbg.c | 127

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adding Closed caption Support

2015-01-12 Thread Clément Bœsch
On Tue, Jan 13, 2015 at 08:12:10AM +0100, Clément Bœsch wrote: > On Tue, Jan 13, 2015 at 11:26:06AM +0530, Anshul Maheshwari wrote: > [...] > > > Also added roll-up functionality. > > > > > > patch is attached. > > > Thanks > >

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adding Closed caption Support

2015-01-12 Thread Clément Bœsch
On Tue, Jan 13, 2015 at 11:26:06AM +0530, Anshul Maheshwari wrote: [...] > > Also added roll-up functionality. > > > > patch is attached. > > Thanks > > Anshul > > > Attaching patch > From ca66e917f45bd47dd797930423d488fa9c781c4c Mon Sep 17 00:00:00 2001 > From: Anshul Maheshwari > Date: Mon, 12

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adding Closed caption Support

2015-01-12 Thread Clément Bœsch
On Sun, Jan 11, 2015 at 11:15:35PM +0100, Anshul Maheshwari wrote: > ffmpeg | branch: master | Anshul Maheshwari | Tue > Jan 6 12:41:34 2015 +0530| [4b6262610bd516320b3fca71ef03ff9bf1aa5066] | > committer: Michael Niedermayer > > Adding Closed caption Support > > Signed-off-by: Anshul Maheshw

Re: [FFmpeg-devel] [PATCH v2] libavformat/mxfdec.c: support demuxing opatom audio without index

2015-01-08 Thread Clément Bœsch
On Wed, Jan 07, 2015 at 10:31:41AM -0800, Mark Reid wrote: [...] > +segment = av_mallocz(sizeof(MXFIndexTableSegment)); sizeof(*segment)? > +if (!segment) { > +av_log(mxf->fc, AV_LOG_ERROR, "failed to allocate > IndexTableSegment"); small note: missing \n You can probably drop

Re: [FFmpeg-devel] [PATCH 2/5] cmdutils: add insert_timeline_graph()

2015-01-06 Thread Clément Bœsch
On Tue, Jan 06, 2015 at 10:06:15PM +0100, wm4 wrote: > On Tue, 6 Jan 2015 20:40:51 +0100 > Clément Bœsch wrote: > > > On Tue, Jan 06, 2015 at 08:28:48PM +0100, wm4 wrote: > > > On Tue, 6 Jan 2015 18:09:58 +0100 > > > Clément Bœsch wrote: &

Re: [FFmpeg-devel] [PATCH 2/5] cmdutils: add insert_timeline_graph()

2015-01-06 Thread Clément Bœsch
On Tue, Jan 06, 2015 at 08:28:48PM +0100, wm4 wrote: > On Tue, 6 Jan 2015 18:09:58 +0100 > Clément Bœsch wrote: > > > From: Clément Bœsch > > > > This function will be used in the following commits in ffmpeg and > > ffpl

Re: [FFmpeg-devel] [PATCH] libavformat/mxfdec.c: read project_name metadata

2015-01-06 Thread Clément Bœsch
On Tue, Jan 06, 2015 at 10:06:13AM -0800, Mark Reid wrote: > On Mon, Jan 5, 2015 at 11:26 PM, Clément Bœsch wrote: > > > On Mon, Jan 05, 2015 at 04:53:05PM -0800, Mark Reid wrote: > > > Hi, > > > MXF files generated by Media Composer or LibMXF can contain a >

[FFmpeg-devel] [PATCH 4/5] ffplay: add support for MOV edit lists

2015-01-06 Thread Clément Bœsch
From: Clément Bœsch --- doc/ffplay.texi | 3 +++ ffplay.c| 25 ++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/doc/ffplay.texi b/doc/ffplay.texi index 45731a2..126c19b 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.texi @@ -174,6 +174,9 @@ input

[FFmpeg-devel] [PATCH 5/5] Changelog: mention edit list support

2015-01-06 Thread Clément Bœsch
From: Clément Bœsch --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index 4575e8b..43998cc 100644 --- a/Changelog +++ b/Changelog @@ -11,6 +11,7 @@ version : - tblend filter - cropdetect support for non 8bpp, absolute (if limit >= 1) and relative

[FFmpeg-devel] [PATCH 3/5] ffmpeg: add support for MOV edit lists

2015-01-06 Thread Clément Bœsch
From: Clément Bœsch --- doc/ffmpeg.texi |3 + ffmpeg.h|2 + ffmpeg_filter.c | 32 +- ffmpeg_opt.c| 13 +- tests/ref/fate/gsm-toast| 1000 +++ tests/ref/fate

[FFmpeg-devel] [PATCH 2/5] cmdutils: add insert_timeline_graph()

2015-01-06 Thread Clément Bœsch
From: Clément Bœsch This function will be used in the following commits in ffmpeg and ffplay. --- cmdutils.c | 170 + cmdutils.h | 12 + 2 files changed, 182 insertions(+) diff --git a/cmdutils.c b/cmdutils.c index b35180e

[FFmpeg-devel] [PATCH 1/5] avformat/mov: export edit list as stream side data

2015-01-06 Thread Clément Bœsch
From: Clément Bœsch Add a AV_PKT_DATA_MOV_TIMELINE stream side data which will be used by the MOV/MP4 demuxer when "ignore_editlist" option is set to "export" (or -1, not the default). Note: exporting the timeline as side data inhibits current demuxer heuristic

[FFmpeg-devel] MOV edit list support using side data and libavfilter

2015-01-06 Thread Clément Bœsch
Latest attempt, I hope people like it better. Basic idea: export on demand the elst atom using side data and let the application (here ffmpeg/ffplay through cmdutils) parse it and honor it as they fit (here with libavfilter). I'm a bit uncertain about the FATE changes, and I also don't like the i

Re: [FFmpeg-devel] [PATCH] lavfi: check av_strdup() return value

2015-01-06 Thread Clément Bœsch
On Tue, Jan 06, 2015 at 09:43:52AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/af_amix.c | 2 ++ > libavfilter/af_join.c | 2 ++ > libavfilter/split.c | 2 ++ > 3 files changed, 6 insertions(+) > > diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c > in

Re: [FFmpeg-devel] [PATCH] libavformat/mxfdec.c: read project_name metadata

2015-01-05 Thread Clément Bœsch
On Mon, Jan 05, 2015 at 04:53:05PM -0800, Mark Reid wrote: > Hi, > MXF files generated by Media Composer or LibMXF can contain a > project name property in the Preface. Lots of existing samples have them. > > http://samples.ffmpeg.org/MXF/issue2160/PW0805A0V01.4C5B5636.EFA330.mxf > project_name

Re: [FFmpeg-devel] [PATCH] lavfi: add deinterleave filters

2015-01-05 Thread Clément Bœsch
On Mon, Jan 05, 2015 at 04:33:44PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/Makefile | 2 + > libavfilter/allfilters.c | 2 + > libavfilter/f_deinterleave.c | 143 > +++ > 3 files changed, 147 insertions(

Re: [FFmpeg-devel] [PATCH] Factorize avpriv_mirror() out

2015-01-04 Thread Clément Bœsch
On Sun, Jan 04, 2015 at 12:43:26AM -0300, James Almer wrote: > On 04/01/15 12:32 AM, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/dirac_dwt.c | 30 +++ > > libavcodec/snow_dwt.c | 70 > > +++-

Re: [FFmpeg-devel] [PATCH]Only enable xcb-shm if error fields are available in the header

2015-01-03 Thread Clément Bœsch
On Sat, Dec 27, 2014 at 09:47:17PM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > > No objections from me: I cannot test atm but I > > > suspect this should work. > > > > I won't push an untested patch like this. > > D

Re: [FFmpeg-devel] [PATCH 2/3] avformat/mov: reindent after previous commit

2015-01-02 Thread Clément Bœsch
On Mon, Dec 01, 2014 at 11:10:15PM +0100, Clément Bœsch wrote: > From: Clément Bœsch > > --- > libavformat/mov.c | 26 +- > 1 file changed, 13 insertions(+), 13 deletions(-) > Applied [...] -- Clément B. pgpmknIC5tBQZ.pgp Descript

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mov: move edit list heuristics into mov_build_index()

2015-01-02 Thread Clément Bœsch
On Mon, Dec 01, 2014 at 11:10:14PM +0100, Clément Bœsch wrote: > From: Clément Bœsch > > mov_read_elst() is now only responsible from storing the table in a data > structure; this is consistent with other table readers functions. > --- > libavformat/isom.h | 10 +-- &g

Re: [FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Clément Bœsch
On Thu, Jan 01, 2015 at 12:43:52PM +0100, Reimar Döffinger wrote: > On 01.01.2015, at 12:04, Clément Bœsch wrote: > > On Thu, Jan 01, 2015 at 11:40:25AM +0100, Reimar Döffinger wrote: > >> > >> +enabled libx264 && use_pkg_config x264 "stdint.h

Re: [FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Clément Bœsch
On Thu, Jan 01, 2015 at 11:40:25AM +0100, Reimar Döffinger wrote: > Make require_pkg_config check for extra argument that should not be > there. > Change use_pkg_config to allow specifying fallback libs and cflags. > > Signed-off-by: Reimar Döffinger > --- > configure | 22 +++---

Re: [FFmpeg-devel] [PATCH] Add pkg-config for libfdk_aac

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 03:58:50PM +0100, wm4 wrote: > On Wed, 31 Dec 2014 14:11:20 +0100 > Clément Bœsch wrote: > > > On Wed, Dec 31, 2014 at 12:14:03PM +, Carl Eugen Hoyos wrote: > > > Nicolas George nsup.org> writes: > > > > > > > Le p

Re: [FFmpeg-devel] [PATCH]Allow libspeex detection also without pkg-config

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 02:57:43PM +0100, Reimar Döffinger wrote: > On Wed, Dec 31, 2014 at 02:38:20PM +0100, Clément Bœsch wrote: > > On Wed, Dec 31, 2014 at 02:23:54PM +0100, Reimar Döffinger wrote: > > > On Wed, Dec 31, 2014 at 02:09:42PM +0100, Nicolas George wrote: >

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add basic timeline support

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 01:33:44PM +0100, Nicolas George wrote: > Le decadi 10 nivôse, an CCXXIII, Clement Boesch a écrit : > > From: Clément Bœsch > > > > --- > > Another approach this time: exporting a filtergraph from the demuxer > > (when request

Re: [FFmpeg-devel] [PATCH]Allow libspeex detection also without pkg-config

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 02:23:54PM +0100, Reimar Döffinger wrote: > On Wed, Dec 31, 2014 at 02:09:42PM +0100, Nicolas George wrote: > > Le primidi 11 nivôse, an CCXXIII, Reimar Döffinger a écrit : > > > I don't care much, but I still find not having to use pkg-config > > > somewhat more convenient

Re: [FFmpeg-devel] [PATCH]Allow libspeex detection also without pkg-config

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 02:02:20PM +0100, Reimar Döffinger wrote: [...] > There is also a (minority) of projects with pkg-config files that > cause undesirable side-effects which can hide errors. > From my system: > 1) SDL and apr add -D_GNU_SOURCE=1 > 2) fuse adds -D_FILE_OFFSET_BITS=64 > 3) xorg

Re: [FFmpeg-devel] [PATCH]Allow libspeex detection also without pkg-config

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 01:23:41PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #4197 for me. > > Please merge, Carl Eugen > From 56ce16fd3f10c4259df7abbbcc1f9681f055564b Mon Sep 17 00:00:00 2001 > From: Carl Eugen Hoyos > Date: Wed, 31 Dec 2014 13:20:58 +0100 > Subject:

Re: [FFmpeg-devel] [PATCH] Add pkg-config for libfdk_aac

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 12:14:03PM +, Carl Eugen Hoyos wrote: > Nicolas George nsup.org> writes: > > > Le primidi 11 nivôse, an CCXXIII, Carl Eugen Hoyos a écrit : > > > Please make this use_pkg_config ... || require libfdk_aac... > > > > Is there a known instance where fdk_aac is > > not b

Re: [FFmpeg-devel] C File name for video conversion in ffmpeg

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 03:41:05PM +0530, Akash Talole wrote: > I want to know C files for .avi to .mp4 conversion > Please do not top post on this mailing list. AVI and MOV are containers, you will find the muxers and demuxers in libavformat. If you don't know what that means, look at http://f

Re: [FFmpeg-devel] [PATCH] Add pkg-config for libfdk_aac

2014-12-31 Thread Clément Bœsch
On Tue, Dec 30, 2014 at 03:20:19AM +0100, Michal Feix wrote: > Hi, > > whne installed into non-default prefix path, configure will not find the > header and library file for libfdk_aac. Since the library now employs > pkg-config, we should use it. > You're probably going to get objections from

Re: [FFmpeg-devel] [PATCH] tests/regression-funcs: Remove hardcoded therads 1

2014-12-31 Thread Clément Bœsch
> Subject: Re: [FFmpeg-devel] [PATCH] tests/regression-funcs: Remove hardcoded > therads 1 threads* On Tue, Dec 23, 2014 at 03:38:12AM +0100, Michael Niedermayer wrote: > The tests which use encoders which either use slices or store the encoder > thread count > keep a hardcoded value of 1 > Y

Re: [FFmpeg-devel] C File name for video conversion in ffmpeg

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 03:22:41PM +0530, Akash Talole wrote: > I want to know the C file for the video conversion in ffmpeg. Please give > me detail list of all video conversion files in ffmpeg. ffmpeg*.c ...but it probably involves some of the lib*/**/*.[ch] -- Clément B. pgpWXsA6w383I.pgp

Re: [FFmpeg-devel] ffmpeg nvenc

2014-12-31 Thread Clément Bœsch
On Wed, Dec 31, 2014 at 05:40:00PM +0800, Agatha Hu wrote: [...] > Yes we plan to work on base of nvenc.c, libnvenc.patch is sent for > comparison. > I see, then it's fine. Thank you :) -- Clément B. pgpQkRk7b_EBC.pgp Description: PGP signature ___

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add basic timeline support

2014-12-31 Thread Clément Bœsch
On Tue, Dec 30, 2014 at 08:33:49PM +0100, Michael Niedermayer wrote: > On Tue, Dec 30, 2014 at 06:25:26PM +0100, Clément Bœsch wrote: > > From: Clément Bœsch > > > > --- > > Another approach this time: exporting a filtergraph from the demuxer > > (when request

[FFmpeg-devel] [PATCH 3/3] avformat: add basic timeline support

2014-12-30 Thread Clément Bœsch
From: Clément Bœsch --- Another approach this time: exporting a filtergraph from the demuxer (when requested) and inserting it in the tools automatically. FIXME: doesn't work when using -ss with ffmpeg, maybe because it's shifting the timestamps of the frames before feeding them to l

Re: [FFmpeg-devel] SCTE-35 development

2014-12-30 Thread Clément Bœsch
On Tue, Dec 30, 2014 at 03:42:16PM +0530, Anshul wrote: [...] > diff --git a/libavutil/avstring.c b/libavutil/avstring.c > index 25c65b4..a866ee3 100644 > --- a/libavutil/avstring.c > +++ b/libavutil/avstring.c > @@ -144,6 +144,31 @@ char *av_d2str(double d) > return str; > } > > +char *av_

Re: [FFmpeg-devel] ffmpeg nvenc

2014-12-29 Thread Clément Bœsch
On Mon, Dec 29, 2014 at 03:29:55PM +0800, Agatha Hu wrote: > On 2014/12/20 16:14, Philip Langdale wrote: > > > >I found two specific problems while testing the original patch and I > >put together fixes for them, but I don't have acces to the machine with > >the diffs until the 5th of Jan (whoops)

Re: [FFmpeg-devel] [PATCH] avfilter/showwaves: add single_pic option

2014-12-28 Thread Clément Bœsch
On Fri, Dec 26, 2014 at 01:16:07AM +0100, Stefano Sabatini wrote: > On date Friday 2014-12-26 00:17:53 +0100, Clément Bœsch encoded: > > On Fri, Dec 26, 2014 at 12:14:52AM +0100, Stefano Sabatini wrote: > > > On date Wednesday 2014-12-24 15:03:26 +0100, Clément Bœsch encoded:

Re: [FFmpeg-devel] [PATCH]Only enable xcb-shm if error fields are?available in the header

2014-12-27 Thread Clément Bœsch
On Thu, Dec 25, 2014 at 11:56:55PM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > -check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || { > > +check_pkg_config "xcb-shm >= 1.4" xcb/shm.h xcb_shm_attach || { > > No obj

Re: [FFmpeg-devel] [PATCH 1/2] avutil/buffer: always fetch the pool atomically.

2014-12-27 Thread Clément Bœsch
On Mon, May 26, 2014 at 09:18:58PM +0200, Clément Bœsch wrote: > --- > So, after the recent threads patches, valgrind DRD (helgrind and tsan didn't > went through yet) went from 1199 to 1215 passing tests (on a total of 1937) > after the thread changes. It's better but it&#x

<    10   11   12   13   14   15   16   17   18   19   >