Re: [FFmpeg-devel] DVB subtitles with multiple langage

2014-11-28 Thread Carl Eugen Hoyos
Frédéric HUGENELL gmail.com> writes: > I just uploaded a few minutes ago a sample of a movie > in the incoming folder, as requested by ffmpeg Uploaded to http://samples.ffmpeg.org/MPEG-VOB/transport/dvbsub/ Thank you for the sample! Carl Eugen ___

[FFmpeg-devel] [PATCH] avcodec/pngdec: do not blend on transparent black

2014-11-28 Thread Benoit Fouet
There is no need to memset the zlib output buffer, as there is no blending happening there. Instead, do not blend when the dispose operation is set to 'background' (tranparent black). --- libavcodec/pngdec.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavcodec/pngdec

Re: [FFmpeg-devel] lavu/opt: add escaping to av_opt_serialize

2014-11-28 Thread Michael Niedermayer
On Thu, Nov 27, 2014 at 07:53:12PM +0100, Lukasz Marek wrote: > On 27 November 2014 at 15:05, Stefano Sabatini wrote: > > > On date Tuesday 2014-11-25 20:38:59 +0100, Lukasz Marek encoded: > > > Patch attached. > > > > > From 2a9de161df4e1d0083264dde94ec5b8af59cec35 Mon Sep 17 00:00:00 2001 > > >

[FFmpeg-devel] [PATCH] avcodec/pngdec: allow for some code path optimizations.

2014-11-28 Thread Benoit Fouet
Use 'if (CONFIG_APNG_DECODER)' where needed, so that the compiler can optimize out some portion of code. --- libavcodec/pngdec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index da852c4..a330d36 100644 --- a/libavcodec/pngd

Re: [FFmpeg-devel] [Patch 2/4]Fix h264 on POWER LE: libavcodec/ppc/h264chroma_template.c

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 03:23:39PM +0800, rongyan wrote: > Hi, > We present 4 patches to fix h264 bugs for POWER8 little endian, which are > sent in 4 seperate emails. > This is the third, to fix the functions PREFIX_h264_chroma_mc8_altivec(), > PREFIX_no_rnd_vc1_chroma_mc8_altivec(), CHROMA_MC8_

Re: [FFmpeg-devel] [Patch 3/4]Fix h264 on POWER LE: libavcodec/ppc/h264qpel_template.c

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 03:25:07PM +0800, rongyan wrote: > Hi, > > We present 4 patches to fix h264 bugs for POWER8 little endian, which are > sent in 4 seperate emails. > This is the first, to fix functions PREFIX_h264_qpel16_h_lowpass_altivec(), > PREFIX_h264_qpel16_v_lowpass_altivec(), > PR

Re: [FFmpeg-devel] [Patch 4/4]Fix h264 on POWER LE: libavcodec/ppc/h264qpel.c

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 03:26:19PM +0800, rongyan wrote: > Hi, > We present 4 patches to fix h264 bugs for POWER8 little endian, which are > sent in 4 seperate emails. > This is the fifth, to fix the functions put_pixels16_l2_altivec(), > avg_pixels16_l2_altivec(), add marcos put_unligned_store()

Re: [FFmpeg-devel] [Patch 1/4]Fix h264 on POWER LE: libavcodec/ppc/h264dsp.c

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 03:21:30PM +0800, rongyan wrote: > Hi, > > We present 4 patches to fix h264 bugs for POWER8 little endian, which are > sent in 4 seperate emails. > This is the first, to fix the functions h264_idct8_add_altivec(), > h264_idct_dc_add_internal(), h264_loop_filter_luma_alti

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: allow for some code path optimizations.

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 02:03:08PM +0100, Benoit Fouet wrote: > Use 'if (CONFIG_APNG_DECODER)' where needed, so that the compiler can > optimize out some portion of code. > --- > libavcodec/pngdec.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) applied thx [...] -- Michael

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: do not blend on transparent black

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 10:43:01AM +0100, Benoit Fouet wrote: > There is no need to memset the zlib output buffer, as there is no > blending happening there. Instead, do not blend when the dispose > operation is set to 'background' (tranparent black). > --- > libavcodec/pngdec.c | 6 +- > 1 fi

[FFmpeg-devel] [PATCH] avcodec/pngdec: apng: fix buffer index when no blending is needed.

2014-11-28 Thread Benoit Fouet
--- libavcodec/pngdec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index a96667f..0ba2749 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -933,7 +933,11 @@ static int handle_p_frame_apng(AVCodecContext *avctx, PNGDecContext *s,

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: apng: fix buffer index when no blending is needed.

2014-11-28 Thread Benoit Fouet
Please discard, this is wrong... - Mail original - > --- > libavcodec/pngdec.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c > index a96667f..0ba2749 100644 > --- a/libavcodec/pngdec.c > +++ b/libavcodec/pngdec.c > @@ -933,7 +933,1

[FFmpeg-devel] [PATCH v2] avcodec/pngdec: apng: fix output buffer filling when no blending is needed.

2014-11-28 Thread Benoit Fouet
--- libavcodec/pngdec.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index a330d36..9e52d0b 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -927,7 +927,17 @@ static int handle_p_frame_apng(AVCodecContext *avctx, PNGDecCont

Re: [FFmpeg-devel] [PATCH] msvc: Fix compilation errors due to header include order.

2014-11-28 Thread Reimar Döffinger
On Thu, Nov 27, 2014 at 10:38:01PM +1100, Matt Oliver wrote: > The patch "lavf: Use wchar functions for filenames on windows for > mkdir/rmdir/rename/unlink" that was recently added has broken msvc/icl > builds. see: > http://fate.ffmpeg.org/report.cgi?time=20141126233318&slot=x86_32-msvc12-windows

Re: [FFmpeg-devel] [PATCH] libavformat/mxfdec.c: initial support for EssenceGroups

2014-11-28 Thread Tomas Härdin
On Tue, 2014-11-25 at 15:14 -0800, Mark Reid wrote: > --- > libavformat/mxf.c | 1 + > libavformat/mxf.h | 1 + > libavformat/mxfdec.c | 148 > - > tests/ref/lavf/mxf | 6 +- > tests/ref/lavf/mxf_d10 | 2 +- > 5 files changed

Re: [FFmpeg-devel] [PATCH v2] avcodec/pngdec: apng: fix output buffer filling when no blending is needed.

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 04:54:09PM +0100, Benoit Fouet wrote: > --- > libavcodec/pngdec.c | 10 ++ > 1 file changed, 10 insertions(+) applied maybe some of this can be factorized with the code above the else, though iam not sure it would be better Thanks [...] -- Michael GnuPG fin

Re: [FFmpeg-devel] lavu/opt: add escaping to av_opt_serialize

2014-11-28 Thread Stefano Sabatini
On date Thursday 2014-11-27 19:53:12 +0100, Lukasz Marek encoded: [...] > From e84ba5a67d74f58b59f5fa30bdb60df856c4c29e Mon Sep 17 00:00:00 2001 > From: Lukasz Marek > Date: Tue, 25 Nov 2014 20:25:10 +0100 > Subject: [PATCH] lavu/opt: add escaping to av_opt_serialize > > Signed-off-by: Lukasz Mar

Re: [FFmpeg-devel] [PATCH] msvc: Fix compilation errors due to header include order.

2014-11-28 Thread Derek Buitenhuis
On 11/28/2014 4:47 PM, Reimar Döffinger wrote: > That doesn't explain why the patch changes the zlib / bz2 include position? They include it. e.g.: https://github.com/madler/zlib/blob/master/zconf.h#L321-339 - Derek ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] [PATCH] Add NVENC encoder

2014-11-28 Thread Philip Langdale
On Wed, 26 Nov 2014 11:21:26 +0100 Timo Rothenpieler wrote: > This patch adds support for encoding with Nvidia NVENC on Windows and > Linux. > > I'm not sure if this needs to be flagged as nonfree. As far as I'm > aware, it should not affect how the resulting binaries can be > redistributed. >

Re: [FFmpeg-devel] [PATCH v2] avcodec/pngdec: apng: fix output buffer filling when no blending is needed.

2014-11-28 Thread Benoit Fouet
Hi, Le 28/11/2014 18:33, Michael Niedermayer a écrit : On Fri, Nov 28, 2014 at 04:54:09PM +0100, Benoit Fouet wrote: --- libavcodec/pngdec.c | 10 ++ 1 file changed, 10 insertions(+) applied maybe some of this can be factorized with the code above the else, though iam not sure it w

[FFmpeg-devel] ffmpeg-2.4.3 fails to build with pulseaudio support

2014-11-28 Thread doofy
Hi, im on gentoo and failed to build ffmpeg-2.4.3 with pulseaudio support. He complained like this: libavdevice/libavdevice.so: undefined reference to `ff_timefilter_update' libavdevice/libavdevice.so: undefined reference to `ff_timefilter_destroy' libavdevice/libavdevice.so: undefined reference t

Re: [FFmpeg-devel] ffmpeg-2.4.3 fails to build with pulseaudio support

2014-11-28 Thread Carl Eugen Hoyos
speciesm.net> writes: > libavdevice/libavdevice.so: undefined reference to `ff_timefilter_update' > libavdevice/libavdevice.so: undefined reference to `ff_timefilter_destroy' > libavdevice/libavdevice.so: undefined reference to `ff_timefilter_new' Reproducible with "--disable-everything --enabl

Re: [FFmpeg-devel] ffmpeg-2.4.3 fails to build with pulseaudio support

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 04:39:55PM +0100, do...@speciesm.net wrote: > Hi, > im on gentoo and failed to build ffmpeg-2.4.3 with pulseaudio support. > He complained like this: > > libavdevice/libavdevice.so: undefined reference to `ff_timefilter_update' > libavdevice/libavdevice.so: undefined refere

Re: [FFmpeg-devel] ffmpeg-2.4.3 fails to build with pulseaudio support

2014-11-28 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > applied to master and locally to release/2.4 The issue is also reproducible with origin/release/2.3 Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter/vf_idet: Fixing idet for single-frame inputs.

2014-11-28 Thread Neil Birkbeck
Handle single frame inputs similar to yadif (e.g., https://github.com/FFmpeg/FFmpeg/commit/0f9f24c9cfd291c7ece4d3bad64fdf06d107168a and https://github.com/FFmpeg/FFmpeg/commit/681e008d06d2241d50abe6316c908a184ddc5942) Example: ffmpeg -r 1 -t 1 -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm

Re: [FFmpeg-devel] [PATCH] avfilter/vf_idet: Fixing idet for single-frame inputs.

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 01:41:02PM -0800, Neil Birkbeck wrote: > Handle single frame inputs similar to yadif (e.g., > https://github.com/FFmpeg/FFmpeg/commit/0f9f24c9cfd291c7ece4d3bad64fdf06d107168a > and > https://github.com/FFmpeg/FFmpeg/commit/681e008d06d2241d50abe6316c908a184ddc5942) > > Ex

Re: [FFmpeg-devel] [PATCH] Add NVENC encoder

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 10:30:24AM -0800, Philip Langdale wrote: > On Wed, 26 Nov 2014 11:21:26 +0100 > Timo Rothenpieler wrote: > > > This patch adds support for encoding with Nvidia NVENC on Windows and > > Linux. > > > > I'm not sure if this needs to be flagged as nonfree. As far as I'm > >

Re: [FFmpeg-devel] lavu/opt: add escaping to av_opt_serialize

2014-11-28 Thread Lukasz Marek
On 28.11.2014 18:51, Stefano Sabatini wrote: On date Thursday 2014-11-27 19:53:12 +0100, Lukasz Marek encoded: [...] From e84ba5a67d74f58b59f5fa30bdb60df856c4c29e Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Tue, 25 Nov 2014 20:25:10 +0100 Subject: [PATCH] lavu/opt: add escaping to av_opt

Re: [FFmpeg-devel] [PATCH] Add NVENC encoder

2014-11-28 Thread Philip Langdale
On Sat, 29 Nov 2014 00:51:21 +0100 Michael Niedermayer wrote: > > > > For what it's worth, some engineers at Nvidia are also working on an > > nvenc implementation for ffmpeg. That initial work is here: > > > > https://github.com/agathah/ffmpeg_libnvenc > > whats the difference in features bet

[FFmpeg-devel] [PATCH 0/2][RFC] xbr, hqx: minor simplification

2014-11-28 Thread Alexander Strasser
Hi, while reading the recent evolution of xbr I came up with the idea for below 2 patches. Maybe I am missing something, but AFAICT both filters use a single shared filter function for n in [2, 4] using n as a param but n is stored in the filter context too. The corresponding fate tests and vis

[FFmpeg-devel] [PATCH 1/2][RFC] lavfi/vf_xbr: Remove function generator macro and function pointer indirection

2014-11-28 Thread Alexander Strasser
It is easier to read and shorter this way. Signed-off-by: Alexander Strasser --- libavfilter/vf_xbr.c | 33 ++--- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/libavfilter/vf_xbr.c b/libavfilter/vf_xbr.c index 47e4b76..a67aa13 100644 --- a/libavfilte

[FFmpeg-devel] [PATCH 2/2][RFC] lavfi/vf_hqx: Remove function generator macro and function pointer indirection

2014-11-28 Thread Alexander Strasser
It is easier to read and shorter this way. Signed-off-by: Alexander Strasser --- libavfilter/vf_hqx.c | 35 +++ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/libavfilter/vf_hqx.c b/libavfilter/vf_hqx.c index 4783381..d3e65e9 100644 --- a/libavfil

Re: [FFmpeg-devel] bprint.h can't be included in C++ code

2014-11-28 Thread Michael Niedermayer
On Mon, Nov 24, 2014 at 11:20:25AM -0500, Vadim Kalinsky wrote: > > > Nit: space after commas. > > > Is it necessary to typedef the structure on top of declaring it? In C, > > this: {...} is legal, no need to typedef it. > > > > Apart from that, I think the helper structure should be scoped in

[FFmpeg-devel] [PATCH 1/2] libavutil/thread.h: Support OS/2 threads

2014-11-28 Thread Dave Yeo
Support OS/2 threading and correct an include that shouldn't be system. Dave From 7fb4b12dad0df2ff60fcfa796c34ddbbcd3aa470 Mon Sep 17 00:00:00 2001 From: Dave Yeo Date: Fri, 28 Nov 2014 23:34:20 -0800 Subject: [PATCH 1/2] libavutil/thread.h: Support OS/2 threads --- libavutil/thread.h |4 +