Re: [FFmpeg-devel] [PATCH] tools/normalize.py: both input and output file names are required

2014-09-01 Thread Clément Bœsch
On Mon, Sep 01, 2014 at 03:13:42PM -0700, Mark Harris wrote: > --- > tools/normalize.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/normalize.py b/tools/normalize.py > index e015913..7d87c5e 100755 > --- a/tools/normalize.py > +++ b/tools/normalize.py > @@ -2,7

Re: [FFmpeg-devel] [PATCH] rl.h: Use on-stack temporary VLC tables instead of having them static.

2014-09-01 Thread Clément Bœsch
On Tue, Sep 02, 2014 at 01:59:50AM +0200, Michael Niedermayer wrote: > On Mon, Sep 01, 2014 at 11:25:57PM +0200, Reimar Döffinger wrote: > > On Mon, Sep 01, 2014 at 10:59:51PM +0200, Reimar Döffinger wrote: > > > On Mon, Sep 01, 2014 at 10:19:36PM +0200, Michael Niedermayer wrote: > > > > On Mon, S

Re: [FFmpeg-devel] Question about ffmpeg and close caption

2014-09-01 Thread robert shapiro
To Whom It May Concern; I have am working on a project using Hauppauge HVR 2250 video capture board. We are trying to extract in real time the close caption or subtitle text line 21. I would appreciate any ideas or suggestions on how to accomplish this and if ffmpeg has a way to do what I need

Re: [FFmpeg-devel] [PATCH] build: simplify libwebp check

2014-09-01 Thread Clément Bœsch
On Mon, Sep 01, 2014 at 11:33:34PM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > > > From: Clément Bœsch stupeflix.com> > > > > > > > > Check is simpler, faster, and explicits the required version. > > faster? > Please remove this if I don't miss anything again... > It

[FFmpeg-devel] [PATCH 1/2] avcodec/rawdec: Support CODEC_CAP_PARAM_CHANGE

2014-09-01 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/rawdec.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 305c13e..28792a1 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -98,19 +

[FFmpeg-devel] [PATCH 2/2] avformat/swfdec: Use side data to communicate w/h changes to the decoder

2014-09-01 Thread Michael Niedermayer
Fixes reading from freed data Fixes part of Ticket3539 Signed-off-by: Michael Niedermayer --- libavformat/swfdec.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c index 0f78b17..ca2a1c4 100644 --- a/libavformat/swfdec.c +

Re: [FFmpeg-devel] A patch to fix the bug for 'make examples'

2014-09-01 Thread Michael Niedermayer
On Tue, Sep 02, 2014 at 10:06:57AM +0800, Grace Ryan wrote: > Hi, > > I try to ran the decoding_encoding example under > the ffmepg/doc/examples, found errors caused by lack of compiling options > in ffempg/doc/Makefile. I hereby present this patch, which is to enable the > decoding_encoding examp

[FFmpeg-devel] A patch to fix the bug for 'make examples'

2014-09-01 Thread Grace Ryan
Hi, I try to ran the decoding_encoding example under the ffmepg/doc/examples, found errors caused by lack of compiling options in ffempg/doc/Makefile. I hereby present this patch, which is to enable the decoding_encoding example under the ffmpeg/doc/examples: 1. Add DOC_EXAMPLES-$(CONFIG_DECODING_

Re: [FFmpeg-devel] [PATCH] libavdevice/v4l2: fix of crash caused by assert

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 11:00:14PM +0200, Giorgio Vazzana wrote: > 2014-09-01 22:46 GMT+02:00 Reimar Döffinger : > > On Mon, Sep 01, 2014 at 10:33:15PM +0200, Giorgio Vazzana wrote: > >> +static int enqueue_buffer(struct video_data *s, struct v4l2_buffer *buf) > >> +{ > >> +int res = 0; > >> +

Re: [FFmpeg-devel] [PATCH] rl.h: Use on-stack temporary VLC tables instead of having them static.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 11:25:57PM +0200, Reimar Döffinger wrote: > On Mon, Sep 01, 2014 at 10:59:51PM +0200, Reimar Döffinger wrote: > > On Mon, Sep 01, 2014 at 10:19:36PM +0200, Michael Niedermayer wrote: > > > On Mon, Sep 01, 2014 at 08:59:43PM +0200, Reimar Döffinger wrote: > > > > Signed-off-b

Re: [FFmpeg-devel] [PATCH] vf_deshake: Avoid doing a malloc+free for every single frame.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 11:49:28PM +0200, Reimar Döffinger wrote: > Signed-off-by: Reimar Döffinger > --- > libavfilter/deshake.h| 2 ++ > libavfilter/vf_deshake.c | 10 ++ > 2 files changed, 8 insertions(+), 4 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147

Re: [FFmpeg-devel] [PATCH] vf_deshake: reduce stack usage.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 11:36:52PM +0200, Reimar Döffinger wrote: > Signed-off-by: Reimar Döffinger > --- > libavfilter/deshake.h| 3 +++ > libavfilter/vf_deshake.c | 13 + > 2 files changed, 8 insertions(+), 8 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B

Re: [FFmpeg-devel] [PATCH] rangecoder-test: Allow running with small stack size.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 11:26:06PM +0200, Reimar Döffinger wrote: > Signed-off-by: Reimar Döffinger > --- > libavcodec/rangecoder.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When the tyran

Re: [FFmpeg-devel] [PATCH] build: simplify libwebp check

2014-09-01 Thread Carl Eugen Hoyos
Clément Bœsch pkh.me> writes: > > > From: Clément Bœsch stupeflix.com> > > > > > > Check is simpler, faster, and explicits the required version. faster? Please remove this if I don't miss anything again... [...] > The check is already using pkg-config Sorry about my earlier comment... I do

[FFmpeg-devel] [PATCH] tools/normalize.py: both input and output file names are required

2014-09-01 Thread Mark Harris
--- tools/normalize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/normalize.py b/tools/normalize.py index e015913..7d87c5e 100755 --- a/tools/normalize.py +++ b/tools/normalize.py @@ -2,7 +2,7 @@ import sys, subprocess -if len(sys.argv) > 1: +if len(sys.argv) >

[FFmpeg-devel] [PATCH] vf_deshake: Avoid doing a malloc+free for every single frame.

2014-09-01 Thread Reimar Döffinger
Signed-off-by: Reimar Döffinger --- libavfilter/deshake.h| 2 ++ libavfilter/vf_deshake.c | 10 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h index 20df88f..62e81c3 100644 --- a/libavfilter/deshake.h +++ b/libavfilter/

[FFmpeg-devel] [PATCH] vf_deshake: reduce stack usage.

2014-09-01 Thread Reimar Döffinger
Signed-off-by: Reimar Döffinger --- libavfilter/deshake.h| 3 +++ libavfilter/vf_deshake.c | 13 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h index f61ed80..20df88f 100644 --- a/libavfilter/deshake.h +++ b/libavfil

[FFmpeg-devel] [PATCH] rangecoder-test: Allow running with small stack size.

2014-09-01 Thread Reimar Döffinger
Signed-off-by: Reimar Döffinger --- libavcodec/rangecoder.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/rangecoder.c b/libavcodec/rangecoder.c index 69150a5..29fb909 100644 --- a/libavcodec/rangecoder.c +++ b/libavcodec/rangecoder.c @@ -120,11 +120,12 @@ in

Re: [FFmpeg-devel] [PATCH] rl.h: Use on-stack temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 10:59:51PM +0200, Reimar Döffinger wrote: > On Mon, Sep 01, 2014 at 10:19:36PM +0200, Michael Niedermayer wrote: > > On Mon, Sep 01, 2014 at 08:59:43PM +0200, Reimar Döffinger wrote: > > > Signed-off-by: Reimar Döffinger > > > --- > > > libavcodec/mpeg12.c| 21

Re: [FFmpeg-devel] [PATCH] libavdevice/v4l2: fix of crash caused by assert

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 11:00:14PM +0200, Giorgio Vazzana wrote: > 2014-09-01 22:46 GMT+02:00 Reimar Döffinger : > > On Mon, Sep 01, 2014 at 10:33:15PM +0200, Giorgio Vazzana wrote: > >> +static int enqueue_buffer(struct video_data *s, struct v4l2_buffer *buf) > >> +{ > >> +int res = 0; > >> +

Re: [FFmpeg-devel] [PATCH] rl.h: Use on-stack temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 10:19:36PM +0200, Michael Niedermayer wrote: > On Mon, Sep 01, 2014 at 08:59:43PM +0200, Reimar Döffinger wrote: > > Signed-off-by: Reimar Döffinger > > --- > > libavcodec/mpeg12.c| 21 ++--- > > libavcodec/mpegvideo.c | 12 > > libavcodec/

Re: [FFmpeg-devel] [PATCH] libavdevice/v4l2: fix of crash caused by assert

2014-09-01 Thread Giorgio Vazzana
2014-09-01 22:46 GMT+02:00 Reimar Döffinger : > On Mon, Sep 01, 2014 at 10:33:15PM +0200, Giorgio Vazzana wrote: >> +static int enqueue_buffer(struct video_data *s, struct v4l2_buffer *buf) >> +{ >> +int res = 0; >> + >> +if (v4l2_ioctl(s->fd, VIDIOC_QBUF, buf) < 0) { >> +res = AVER

Re: [FFmpeg-devel] [PATCH] libavdevice/v4l2: fix of crash caused by assert

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 10:33:15PM +0200, Giorgio Vazzana wrote: > +static int enqueue_buffer(struct video_data *s, struct v4l2_buffer *buf) > +{ > +int res = 0; > + > +if (v4l2_ioctl(s->fd, VIDIOC_QBUF, buf) < 0) { > +res = AVERROR(errno); > +av_log(NULL, AV_LOG_ERROR, "ioc

Re: [FFmpeg-devel] [PATCH] libavdevice/v4l2: fix of crash caused by assert

2014-09-01 Thread Giorgio Vazzana
Hello, as Reimar pointed out the proposed patch is not the correct solution. Please see/test attached patch. Regards, Giorgio Vazzana 2014-08-31 14:35 GMT+02:00 Dmitry Volyntsev : >>why is this condition true ? > > I tried several configuration and problem occurred only under certain > circumsta

Re: [FFmpeg-devel] [PATCH] rl.h: Use on-stack temporary VLC tables instead of having them static.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 08:59:43PM +0200, Reimar Döffinger wrote: > Signed-off-by: Reimar Döffinger > --- > libavcodec/mpeg12.c| 21 ++--- > libavcodec/mpegvideo.c | 12 > libavcodec/rl.h| 8 ++-- > 3 files changed, 20 insertions(+), 21 deletions(-)

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-09-01 Thread Anshul
On 8/31/2014 8:28 PM, Steven Liu wrote: CC Anshul The Follow is the result of the parameter with -hls_wrap 7,It in the older mail of this mail list. When use the option -hls_wrap 7 ./ffmpeg -i shaolinzuqiu.rm -vcodec libx264 -preset ultrafast -an -f hls -hls_wrap 7 a.m3u8 it dose not remove

Re: [FFmpeg-devel] [PATCH] doc/filters.texi: fix filter name in examples

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 12:32:33PM -0700, Mark Harris wrote: > --- > doc/filters.texi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 3 "Rare item" - "Com

Re: [FFmpeg-devel] [PATCH] Add missing changelog entry

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 09:18:49PM +0200, Thomas Volkert wrote: > From: Thomas Volkert > > --- > Changelog | 1 + > 1 file changed, 1 insertion(+) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die

[FFmpeg-devel] [PATCH] doc/filters.texi: fix filter name in examples

2014-09-01 Thread Mark Harris
--- doc/filters.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index cca15fc..4ae5b4f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -491,7 +491,7 @@ aeval=val(ch)/2:c=same @item Invert phase of the second channel: @exam

[FFmpeg-devel] [PATCH] Add missing changelog entry

2014-09-01 Thread Thomas Volkert
From: Thomas Volkert --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index 95a4ccc..5a228f4 100644 --- a/Changelog +++ b/Changelog @@ -9,6 +9,7 @@ version : - support for using metadata in stream specifiers in fftools - LZMA compression support in TIFF d

[FFmpeg-devel] [PATCH] rl.h: Use on-stack temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
Signed-off-by: Reimar Döffinger --- libavcodec/mpeg12.c| 21 ++--- libavcodec/mpegvideo.c | 12 libavcodec/rl.h| 8 ++-- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index cb00baf..37f6fe4

Re: [FFmpeg-devel] [PATCH 02/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [2/5]

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 07:55:40PM +0200, Nedeljko Babic wrote: > +/* Rounding to zero used for simplicity */ > +static av_always_inline aac_float_t float_add(aac_float_t a, aac_float_t b) > +{ > +int diff; > + > +if (a.mant == 0) > +return b; > + > +if (b.mant == 0) > +

Re: [FFmpeg-devel] Implementation od fixed point AAC decoder

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 07:55:38PM +0200, Nedeljko Babic wrote: > > Hello, > > I am sending new patch set with the implementation of fixed point AAC decoder. > > Most of the requests from review of float emulation done by Reimar are > integrated in this patch set. That at least doesn't include

Re: [FFmpeg-devel] [PATCH] h261dec, ituh263dec: ensure CLOSE_READER is done on error paths, too.

2014-09-01 Thread Reimar Döffinger
On Sun, Aug 31, 2014 at 10:50:16PM +0200, Reimar Döffinger wrote: > On Sun, Aug 31, 2014 at 09:56:03PM +0200, Michael Niedermayer wrote: > > On Sun, Aug 31, 2014 at 09:40:05PM +0200, Reimar Döffinger wrote: > > > Signed-off-by: Reimar Döffinger > > > --- > > > libavcodec/h261dec.c| 2 ++ > > >

Re: [FFmpeg-devel] [PATCH] mpegaudiodec: share identical tables between float and fixed decoder.

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 11:50:18AM +0200, Michael Niedermayer wrote: > On Mon, Sep 01, 2014 at 09:30:04AM +0200, Reimar Döffinger wrote: > > On 01.09.2014, at 02:01, Michael Niedermayer wrote: > > > On Sun, Aug 31, 2014 at 10:47:09PM +0200, Reimar Döffinger wrote: > > >> ff_mpa_table_4_3_value alo

[FFmpeg-devel] [PATCH 12/14] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [3/4]

2014-09-01 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile| 19 ++- libavcodec/aac_defines.h | 36 + libavcodec/aacps.c | 353 ++--- libavcodec/aacps.h | 28 ++--

[FFmpeg-devel] [PATCH 06/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [1/4]

2014-09-01 Thread Nedeljko Babic
From: Djordje Pesut Move the existing code to a new template file. Signed-off-by: Nedeljko Babic --- libavcodec/aacsbr.c | 1418 -- libavcodec/aacsbr.h | 45 ++ libavcodec/aacsbr_template.c | 1406 +

[FFmpeg-devel] [PATCH 11/14] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [2/4]

2014-09-01 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables. Signed-off-by: Nedeljko Babic --- libavcodec/aacps_fixed_tablegen.c| 25 +++ libavcodec/aacps_fixed_tablegen.h| 403 +++ libavcodec/aacps_tablegen.c | 73

[FFmpeg-devel] [PATCH 08/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [3/4]

2014-09-01 Thread Nedeljko Babic
From: Djordje Pesut Add fixed poind code. Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 51 +--- libavcodec/aac_defines.h | 77 ++ libavcodec/aacsbr.c | 3 + libavcodec/aacsbr.h | 12 +- libavcodec/aacsbr_fixed.c| 579 ++

[FFmpeg-devel] [PATCH 10/14] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [1/4]

2014-09-01 Thread Nedeljko Babic
From: Djordje Pesut Move existing code to a new file. Signed-off-by: Nedeljko Babic --- libavcodec/aacps.c | 157 - libavcodec/aacps_float.c | 177 +++ 2 files changed, 177 insertions(+), 157 deletions(-)

[FFmpeg-devel] [PATCH 04/14] libavcodec/libavutil: Implementation of AAC_fixed_decoder (LC-module) [4/5]

2014-09-01 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 98 +++-- libavcodec/aacdec.c | 5 + libavcodec/aacdec_fixed.c| 449 ++ libavcodec/aacdec_template.c | 459 +++

[FFmpeg-devel] [PATCH 09/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [4/4]

2014-09-01 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 07d773c..4e8d74c 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefi

[FFmpeg-devel] [PATCH 14/14] Edit documentation and versioning

2014-09-01 Thread Nedeljko Babic
From: Jovan Zelincevic Signed-off-by: Nedeljko Babic --- Changelog | 1 + doc/general.texi| 2 +- doc/mips.txt| 6 ++ libavutil/version.h | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 95a4ccc..ae7a0cc 100644 --- a/Ch

[FFmpeg-devel] [PATCH 13/14] libavcodec: Minor macro polishing

2014-09-01 Thread Nedeljko Babic
Use macros from aac_defines.h for adding suffixes instead of local macros. Signed-off-by: Nedeljko Babic --- libavcodec/cbrt_tablegen.h | 5 ++--- libavcodec/cbrt_tablegen_template.c| 2 +- libavcodec/sinewin.h | 17 + libavcodec/sinewin_table

[FFmpeg-devel] [PATCH 07/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [2/4]

2014-09-01 Thread Nedeljko Babic
From: Jovan Zelincevic Converte tables to fixed point. Signed-off-by: Nedeljko Babic --- libavcodec/aacsbrdata.h | 688 1 file changed, 344 insertions(+), 344 deletions(-) diff --git a/libavcodec/aacsbrdata.h b/libavcodec/aacsbrdata.h index 125

[FFmpeg-devel] [PATCH 03/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [3/5]

2014-09-01 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables Signed-off-by: Nedeljko Babic --- libavcodec/aacdectab.h | 34 +-- libavcodec/aactab.c| 486 + libavcodec/aactab.h|

[FFmpeg-devel] Implementation od fixed point AAC decoder

2014-09-01 Thread Nedeljko Babic
Hello, I am sending new patch set with the implementation of fixed point AAC decoder. Most of the requests from review of float emulation done by Reimar are integrated in this patch set. Also some improvements were made on most of the other patches so I decided to send entire patch set. Pleas

[FFmpeg-devel] [PATCH 02/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [2/5]

2014-09-01 Thread Nedeljko Babic
From: Djordje Pesut Add float emulation Signed-off-by: Nedeljko Babic --- libavcodec/float_emu.h | 295 + libavcodec/float_emu_tab.c | 293 2 files changed, 588 insertions(+) create mode 100644 libavc

[FFmpeg-devel] [PATCH 05/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [5/5]

2014-09-01 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified Signed-off-by: Nedeljko Babic --- configure | 1 + libavcodec/Makefile | 16 libavcodec/aacdec.c | 1 - libavcodec/aacdec_fixed.c | 1 - libavcodec/allcodecs.c| 1 + 5 files changed, 14 insertions

Re: [FFmpeg-devel] [PATCH] h261dec, ituh263dec: Move condition.

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 02:35:38AM +0200, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 11:02:34PM +0200, Reimar Döffinger wrote: > > Stops compiler from doing incredibly stupid things. > > With vsynth1-flv inner loop goes from 3501 to 3275 > > decicycles. > > > > Signed-off-by: Reimar Döff

Re: [FFmpeg-devel] [PATCH] h261dec, ituh263dec: Avoid unnecessary -1 inside inner loop.

2014-09-01 Thread Reimar Döffinger
On Mon, Sep 01, 2014 at 03:01:15PM +0200, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 08:36:01PM +0200, Reimar Döffinger wrote: > > 3646 -> 3597 decicycles in inner loop when decoding > > vsynth1-flv. > > > > Signed-off-by: Reimar Döffinger > > --- > > libavcodec/h261dec.c| 7 --

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Enable compute_edt only when the subtitles are used for a output stream instead of a filter

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 04:53:00PM +0200, Nicolas George wrote: > Le quintidi 15 fructidor, an CCXXII, Michael Niedermayer a écrit : > > Fixes/works around Ticket3768 > > > > Signed-off-by: Michael Niedermayer > > --- > > ffmpeg.c|5 +++-- > > ffmpeg.h|5 - > > ffmpeg

Re: [FFmpeg-devel] [PATCH] lavf/ffmdec: return proper error code in ffm2_read_header()

2014-09-01 Thread Stefano Sabatini
On date Monday 2014-09-01 18:23:13 +0200, Michael Niedermayer encoded: > On Mon, Sep 01, 2014 at 05:00:03PM +0200, Stefano Sabatini wrote: > > On date Monday 2014-09-01 14:34:23 +0200, Michael Niedermayer encoded: > > > On Mon, Sep 01, 2014 at 02:05:56PM +0200, Stefano Sabatini wrote: > > > > --- >

Re: [FFmpeg-devel] [PATCH] lavc/libvpxenc: show crf CQ value in error message

2014-09-01 Thread Stefano Sabatini
On date Monday 2014-09-01 09:30:08 -0700, Timothy Gu encoded: > On Mon, Sep 1, 2014 at 5:05 AM, Stefano Sabatini wrote: > > --- > > libavcodec/libvpxenc.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > OK. Thanks, applied. -- FFmpeg = Forgiving and Frightening Most Pitiless

[FFmpeg-devel] [PATCH] segment: don't access outside seg->frames array

2014-09-01 Thread Mika Raento
Fixes wrong number of segments output and undefined memory access. --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index ce784da..1cb6454 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -6

[FFmpeg-devel] [PATCH] segment: fix remuxing and copy metadata

2014-09-01 Thread Mika Raento
To get mpegts metadata copied when segmenting. --- libavformat/segment.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 1cb6454..0be77da 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -1

Re: [FFmpeg-devel] [PATCH] lavc/libvpxenc: show crf CQ value in error message

2014-09-01 Thread Timothy Gu
On Mon, Sep 1, 2014 at 5:05 AM, Stefano Sabatini wrote: > --- > libavcodec/libvpxenc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) OK. [...] Timothy ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listi

Re: [FFmpeg-devel] [PATCH] lavf/ffmdec: return proper error code in ffm2_read_header()

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 05:00:03PM +0200, Stefano Sabatini wrote: > On date Monday 2014-09-01 14:34:23 +0200, Michael Niedermayer encoded: > > On Mon, Sep 01, 2014 at 02:05:56PM +0200, Stefano Sabatini wrote: > > > --- > > > libavformat/ffmdec.c | 13 + > > > 1 file changed, 9 insertio

Re: [FFmpeg-devel] [PATCH] general: Fix usage of @float

2014-09-01 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 07:42:50PM -0700, Timothy Gu wrote: > makeinfo chokes on that. > > Signed-off-by: Timothy Gu > --- > doc/general.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FA

[FFmpeg-devel] Filter_mb_edge

2014-09-01 Thread Nicolas Derouineau
Hello, I would like to understand the prototype of this function: filter_mb_edgeh(uint8_t *pix, int stride, const int16_t bS[4], unsigned int qp, int a, int b, H26

Re: [FFmpeg-devel] [PATCH] lavf/ffmdec: return proper error code in ffm2_read_header()

2014-09-01 Thread Stefano Sabatini
On date Monday 2014-09-01 14:34:23 +0200, Michael Niedermayer encoded: > On Mon, Sep 01, 2014 at 02:05:56PM +0200, Stefano Sabatini wrote: > > --- > > libavformat/ffmdec.c | 13 + > > 1 file changed, 9 insertions(+), 4 deletions(-) > > > > diff --git a/libavformat/ffmdec.c b/libavform

Re: [FFmpeg-devel] ffmpeg and musl toolchain support

2014-09-01 Thread wm4
On Mon, 01 Sep 2014 16:14:52 +0200 Jörg Krause wrote: > When building against musl instead of glibc, compilation fails at > libavutil/error.c > > CC libavutil/error.o > libavutil/error.c: In function 'av_strerror': > libavutil/error.c:68:9: error: implicit declaration of function > 'strerror_r'

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Enable compute_edt only when the subtitles are used for a output stream instead of a filter

2014-09-01 Thread Nicolas George
Le quintidi 15 fructidor, an CCXXII, Michael Niedermayer a écrit : > Fixes/works around Ticket3768 > > Signed-off-by: Michael Niedermayer > --- > ffmpeg.c|5 +++-- > ffmpeg.h|5 - > ffmpeg_filter.c |2 +- > 3 files changed, 8 insertions(+), 4 deletions(-) > > dif

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread wm4
On Mon, 1 Sep 2014 08:34:52 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > +avio_rb32(s->pb); /* discard DTS (usually 0, and useless) */ > > Would it be an option to set it dts to AV_NOPTS_VALUE > if this value is 0 but use the value otherwise? > Or is there no ad

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread wm4
On Mon, 01 Sep 2014 13:37:23 +0300 Petri Hintukainen wrote: > On ma, 2014-09-01 at 10:05 +0200, Hendrik Leppkes wrote: > > On Mon, Sep 1, 2014 at 10:01 AM, Petri Hintukainen > > wrote: > > > On ma, 2014-09-01 at 00:34 +0200, wm4 wrote: > > >> --- > > >> Use AV_RB16 instead of memcpy. > > >> Don

[FFmpeg-devel] ffmpeg and musl toolchain support

2014-09-01 Thread Jörg Krause
When building against musl instead of glibc, compilation fails at libavutil/error.c CC libavutil/error.o libavutil/error.c: In function 'av_strerror': libavutil/error.c:68:9: error: implicit declaration of function 'strerror_r' [-Werror=implicit-function-declaration] cc1: some warnings being trea

Re: [FFmpeg-devel] [PATCH] h261dec, ituh263dec: Avoid unnecessary -1 inside inner loop.

2014-09-01 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 08:36:01PM +0200, Reimar Döffinger wrote: > 3646 -> 3597 decicycles in inner loop when decoding > vsynth1-flv. > > Signed-off-by: Reimar Döffinger > --- > libavcodec/h261dec.c| 7 --- > libavcodec/ituh263dec.c | 9 + > 2 files changed, 9 insertions(+), 7 d

Re: [FFmpeg-devel] [PATCH] lavf/ffmdec: return proper error code in ffm2_read_header()

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 02:05:56PM +0200, Stefano Sabatini wrote: > --- > libavformat/ffmdec.c | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c > index f8fee2f..d74b6cf 100644 > --- a/libavformat/ffmdec.c > +++ b/li

[FFmpeg-devel] [PATCH] lavf/ffmdec: return proper error code in ffm2_read_header()

2014-09-01 Thread Stefano Sabatini
--- libavformat/ffmdec.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index f8fee2f..d74b6cf 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -238,8 +238,12 @@ static int ffm2_read_header(AVFormatContex

[FFmpeg-devel] [PATCH] lavc/libvpxenc: show crf CQ value in error message

2014-09-01 Thread Stefano Sabatini
--- libavcodec/libvpxenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 227c492..163d12a 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -341,8 +341,8 @@ static av_cold int vpx_init(AVCodecContext

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
On 1 September 2014 12:05:00 CEST, Michael Niedermayer wrote: >On Mon, Sep 01, 2014 at 09:32:56AM +0200, Reimar Döffinger wrote: >> On 01.09.2014, at 02:35, Michael Niedermayer >wrote: >> > On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: >> >> >> >> { >> >> int i, q; >> >>

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread Petri Hintukainen
On ma, 2014-09-01 at 10:05 +0200, Hendrik Leppkes wrote: > On Mon, Sep 1, 2014 at 10:01 AM, Petri Hintukainen wrote: > > On ma, 2014-09-01 at 00:34 +0200, wm4 wrote: > >> --- > >> Use AV_RB16 instead of memcpy. > >> Don't use AVPROBE_SCORE_EXTENSION. > >> --- > >> libavformat/Makefile | 1 +

[FFmpeg-devel] [PATCH] add silenceremove filter

2014-09-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 69 ++ libavfilter/Makefile | 1 + libavfilter/af_silenceremove.c | 480 + libavfilter/allfilters.c | 1 + 4 files changed, 551 insertions(+) create mode 100644 libav

Re: [FFmpeg-devel] [PATCH 1/2] [WEB] style: add "warning" style similar to .info but has a red border

2014-09-01 Thread Michael Niedermayer
On Sun, Aug 31, 2014 at 07:53:30PM -0700, Timothy Gu wrote: > Signed-off-by: Timothy Gu > --- > > No changes. > > src/less/style.less | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) patchset applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC78

Re: [FFmpeg-devel] [PATCH] add silenceremove filter

2014-09-01 Thread Paul B Mahol
On 8/31/14, Timothy Gu wrote: > On Aug 29, 2014 11:23 AM, "Paul B Mahol" wrote: >> >> Signed-off-by: Paul B Mahol >> --- >> doc/filters.texi | 62 ++ >> libavfilter/Makefile | 1 + >> libavfilter/af_silenceremove.c | 478 > +

Re: [FFmpeg-devel] [PATCH] add silenceremove filter

2014-09-01 Thread Paul B Mahol
On 8/31/14, Clement Boesch wrote: > On Fri, Aug 29, 2014 at 06:22:36PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> doc/filters.texi | 62 ++ >> libavfilter/Makefile | 1 + >> libavfilter/af_silenceremove.c | 478 >> ++

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 09:32:56AM +0200, Reimar Döffinger wrote: > On 01.09.2014, at 02:35, Michael Niedermayer wrote: > > On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: > >> > >> { > >> int i, q; > >> +VLC vlc; > > > >> +init_vlc(&vlc, 9, rl->n + 1, &rl->table_vl

Re: [FFmpeg-devel] [PATCH] mpegaudiodec: share identical tables between float and fixed decoder.

2014-09-01 Thread Michael Niedermayer
On Mon, Sep 01, 2014 at 09:30:04AM +0200, Reimar Döffinger wrote: > On 01.09.2014, at 02:01, Michael Niedermayer wrote: > > On Sun, Aug 31, 2014 at 10:47:09PM +0200, Reimar Döffinger wrote: > >> ff_mpa_table_4_3_value alone saves over 128kB. > > > > i wonder if that table shouldnt be something di

Re: [FFmpeg-devel] [PATCH] build: simplify libwebp check

2014-09-01 Thread Clément Bœsch
On Mon, Sep 01, 2014 at 09:36:45AM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > From: Clément Bœsch stupeflix.com> > > > > Check is simpler, faster, and explicits the required version. > > > > Tested (compilation and runtime) with libwebp v0.2.0, v0.2.1 and v0.4.1. > >

Re: [FFmpeg-devel] [PATCH] build: simplify libwebp check

2014-09-01 Thread Carl Eugen Hoyos
Clément Bœsch pkh.me> writes: > From: Clément Bœsch stupeflix.com> > > Check is simpler, faster, and explicits the required version. > > Tested (compilation and runtime) with libwebp v0.2.0, v0.2.1 and v0.4.1. This introduces a regression on all systems without pkg-config. Does it fix detecti

Re: [FFmpeg-devel] [PATCH] lavu/avstring: check for overlong encodings

2014-09-01 Thread Stefano Sabatini
On date Saturday 2014-08-30 15:30:02 +0200, Nicolas George encoded: > Le tridi 13 fructidor, an CCXXII, Stefano Sabatini a écrit : > > Unless there is an error in the code, a tail length of 6 bytes should > > never be reached. > > > > > Furthermore, the function is capable of decoding the full UTF

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > +avio_rb32(s->pb); /* discard DTS (usually 0, and useless) */ Would it be an option to set it dts to AV_NOPTS_VALUE if this value is 0 but use the value otherwise? Or is there no advantage? > +full_packet_size = AV_RB16(buf + 10 + 1) + 10 + 3; > +

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread Hendrik Leppkes
On Mon, Sep 1, 2014 at 10:01 AM, Petri Hintukainen wrote: > On ma, 2014-09-01 at 00:34 +0200, wm4 wrote: >> --- >> Use AV_RB16 instead of memcpy. >> Don't use AVPROBE_SCORE_EXTENSION. >> --- >> libavformat/Makefile | 1 + >> libavformat/allformats.c | 1 + >> libavformat/supdec.c | 10

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread Petri Hintukainen
On ma, 2014-09-01 at 00:34 +0200, wm4 wrote: > --- > Use AV_RB16 instead of memcpy. > Don't use AVPROBE_SCORE_EXTENSION. > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/supdec.c | 107 > +++ > 3 files chan

[FFmpeg-devel] [PATCH] build: simplify libwebp check

2014-09-01 Thread Clément Bœsch
From: Clément Bœsch Check is simpler, faster, and explicits the required version. Tested (compilation and runtime) with libwebp v0.2.0, v0.2.1 and v0.4.1. origin/0.2.0 is the oldest available branch in the Git repository. --- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

Re: [FFmpeg-devel] [PATCH] rl.h: Allocate temporary VLC tables instead of having them static.

2014-09-01 Thread Reimar Döffinger
On 01.09.2014, at 02:35, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 08:27:17PM +0200, Reimar Döffinger wrote: >> >> { >> int i, q; >> +VLC vlc; > >> +init_vlc(&vlc, 9, rl->n + 1, &rl->table_vlc[0][1], 4, 2, >> &rl->table_vlc[0][0], 4, 2, 0); > > same issue here > > why d

Re: [FFmpeg-devel] [PATCH] mpegaudiodec: share identical tables between float and fixed decoder.

2014-09-01 Thread Reimar Döffinger
On 01.09.2014, at 02:01, Michael Niedermayer wrote: > On Sun, Aug 31, 2014 at 10:47:09PM +0200, Reimar Döffinger wrote: >> ff_mpa_table_4_3_value alone saves over 128kB. > > i wonder if that table shouldnt be something different in the float > implementation. > Also i think anyone caring about fi

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-01 Thread Reimar Döffinger
On 01.09.2014, at 00:34, wm4 wrote: > --- > Use AV_RB16 instead of memcpy. > Don't use AVPROBE_SCORE_EXTENSION. Looks good to me, thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel