Re: [FFmpeg-devel] [PATCH] lavfi: Port fspp to FFmpeg

2014-12-25 Thread Stefano Sabatini
On date Thursday 2014-12-25 10:02:05 +0530, arwa arif encoded: > Merry Christmas! :D > > I have attached 2 patches: > 1. For deleting the mp=fspp filter. > 2. For porting pp7 > > I have tested the ouput for pp7, it is bitexact with mp=pp7 filter. Also, I > haven't completed the patch. There are j

Re: [FFmpeg-devel] [PATCH] lavfi: Port fspp to FFmpeg

2014-12-25 Thread Michael Niedermayer
On Thu, Dec 25, 2014 at 10:02:05AM +0530, arwa arif wrote: > Merry Christmas! :D > [...] > vf_pp7.c | 500 > +++ > vf_pp7.h | 57 ++ > x86/vf_pp7.c | 74 missing change to Makefile and allfilters.c Merry Christma

[FFmpeg-devel] [PATCH 1/4] avcodec/nvenc: Remove special cases for cygwin

2014-12-25 Thread timo
From: Timo Rothenpieler --- libavcodec/nvenc.c | 27 --- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index dc14594..345fb78 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -19,25 +19,14 @@ * Foundati

[FFmpeg-devel] [PATCH 2/4] avcodec/nvenc: Fix b-frame parameter handling

2014-12-25 Thread timo
From: Timo Rothenpieler --- libavcodec/nvenc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 345fb78..6a37ea6 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -155,7 +155,6 @@ typedef struct NvencContext

[FFmpeg-devel] [PATCH 3/4] avcodec/nvenc: Handle non-square pixel aspect ratios

2014-12-25 Thread timo
From: Timo Rothenpieler --- libavcodec/nvenc.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 6a37ea6..ebc3249 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -471,6 +471,7 @@ static av_cold int nvenc_e

[FFmpeg-devel] [PATCH 4/4] avcodec/nvenc: Add support for nvenc api version 5

2014-12-25 Thread timo
From: Timo Rothenpieler --- libavcodec/nvenc.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index ebc3249..76f9aa6 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -50,6 +50,10 @@ #define DL_CLOSE_FUNC(l

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/nvenc: Handle non-square pixel aspect ratios

2014-12-25 Thread Nicolas George
Le quintidi 5 nivôse, an CCXXIII, t...@rothenpieler.org a écrit : > From: Timo Rothenpieler > > --- > libavcodec/nvenc.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index 6a37ea6..ebc3249 100644 > --- a/libavc

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/nvenc: Fix b-frame parameter handling

2014-12-25 Thread Michael Niedermayer
On Thu, Dec 25, 2014 at 02:55:32PM +0100, t...@rothenpieler.org wrote: > From: Timo Rothenpieler > > --- > libavcodec/nvenc.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index 345fb78..6a37ea6 100644 > --- a/lib

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/nvenc: Remove special cases for cygwin

2014-12-25 Thread Michael Niedermayer
On Thu, Dec 25, 2014 at 02:55:31PM +0100, t...@rothenpieler.org wrote: > From: Timo Rothenpieler > > --- > libavcodec/nvenc.c | 27 --- > 1 file changed, 4 insertions(+), 23 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13361

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/nvenc: Add support for nvenc api version 5

2014-12-25 Thread Hendrik Leppkes
On Dec 25, 2014 2:57 PM, wrote: > > From: Timo Rothenpieler > > --- > libavcodec/nvenc.c | 17 - > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index ebc3249..76f9aa6 100644 > --- a/libavcodec/nvenc.c > +++ b/libavcode

[FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2014-12-25 Thread arwa arif
> +#include "libavutil/avassert.h" > +#include "libavutil/imgutils.h" > +#include "libavutil/opt.h" > +#include "libavutil/pixdesc.h" > +#include "internal.h" > +#include "libavcodec/avcodec.h" //for reference to FF_QSCALE_TYPE > +#include "vf_pp7.h" > + > +enum mode { > +MODE_HARD, > +MODE

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/nvenc: Add support for nvenc api version 5

2014-12-25 Thread Jean-Baptiste Kempf
On 25 Dec, t...@rothenpieler.org wrote : > +#if NVENCAPI_MAJOR_VERSION < 5 > +#define NVENC_NEED_LICENSE 1 > +#endif Why not just drop old versions? With my kindest regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device _

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

2014-12-25 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #4139 here, please comment. Merry Christmas, Carl Eugendiff --git a/configure b/configure index 9085200..ad9edff 100755 --- a/configure +++ b/configure @@ -5063,7 +5063,8 @@ if ! disabled libxcb; then if enabled libxcb; then disabled libxcb_shm || { -

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2014-12-25 Thread Carl Eugen Hoyos
arwa arif gmail.com> writes: > > +static const enum PixelFormat pix_fmts[] = { > > +AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV422P, > > +AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV411P, > > +AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV440P, > > +AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422

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

2014-12-25 Thread Clément Bœsch
On Thu, Dec 25, 2014 at 06:19:45PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #4139 here, please comment. > > Merry Christmas, Carl Eugen > diff --git a/configure b/configure > index 9085200..ad9edff 100755 > --- a/configure > +++ b/configure > @@ -5063,7 +5063,8 @@ if

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

2014-12-25 Thread Carl Eugen Hoyos
Clément Bœsch pkh.me> writes: > > -check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || { > > +check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach && > > +check_code cc xcb/xcb.h "xcb_generic_error_t e; > > e.resource_id = 0" || { > > No, you just want something like check

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

2014-12-25 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > Clément Bœsch pkh.me> writes: > > > > -check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || { > > > +check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach && > > > +check_code cc xcb/xcb.h "xcb_generic_error_t e; > > > e.resource_id = 0"

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

2014-12-25 Thread Clément Bœsch
On Thu, Dec 25, 2014 at 05:52:36PM +, Carl Eugen Hoyos wrote: > Carl Eugen Hoyos ag.or.at> writes: > > > Clément Bœsch pkh.me> writes: > > > > > > -check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || { > > > > +check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach && > > > > +

[FFmpeg-devel] [PATCH 1/4] ffplay: remove flushed state from decoder context

2014-12-25 Thread Marton Balint
Signed-off-by: Marton Balint --- ffplay.c | 4 1 file changed, 4 deletions(-) diff --git a/ffplay.c b/ffplay.c index 1914a66..507617e 100644 --- a/ffplay.c +++ b/ffplay.c @@ -185,7 +185,6 @@ typedef struct Decoder { AVCodecContext *avctx; int pkt_serial; int finished; -in

[FFmpeg-devel] [PATCH 3/4] ffplay: add support for stream specifiers in -ast, -vst, -sst options

2014-12-25 Thread Marton Balint
Also fix the outdated documentation of these options. Signed-off-by: Marton Balint --- doc/ffplay.texi | 29 ++--- ffplay.c| 35 ++- 2 files changed, 36 insertions(+), 28 deletions(-) diff --git a/doc/ffplay.texi b/doc/ffplay.texi

[FFmpeg-devel] [PATCH 4/4] ffplay: dump format before selecting streams

2014-12-25 Thread Marton Balint
This helps the user to see the available streams just before the error message if the stream specifiers do not match. Signed-off-by: Marton Balint --- ffplay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ffplay.c b/ffplay.c index 655af6d..72ec35d 100644 --- a/ffplay

[FFmpeg-devel] [PATCH 2/4] ffplay: remove unused no_background from videostate

2014-12-25 Thread Marton Balint
Signed-off-by: Marton Balint --- ffplay.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index 507617e..bd156df 100644 --- a/ffplay.c +++ b/ffplay.c @@ -198,7 +198,6 @@ typedef struct VideoState { SDL_Thread *video_tid; SDL_Thread *audio_tid; AVInputFormat *

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

2014-12-25 Thread Lars Kiesow
Hi Clément, this is the patch I was looking for... thanks! I've applied the patch against the current master and had a first glimps at it. It works well. I've tried it successfully on a two minute audio file as well as on a several hour long lecture recording. One thing I noticed was that with la

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/nvenc: Add support for nvenc api version 5

2014-12-25 Thread Timo Rothenpieler
Why not just drop old versions? The newest SDK only works with the very latest nvidia driver. So supporting the older SDK versions is neccessary if you want to use nvenc without the very latest nvidia driver. signature.asc Description: OpenPGP digital signature _

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/nvenc: Fix b-frame parameter handling

2014-12-25 Thread Timo Rothenpieler
> +if (avctx->max_b_frames < -1) +avctx->max_b_frames = -1; how do you get a value < -1 here ? The check is probably not needed, as the minimum for the option already is -1. signature.asc Description: OpenPGP digital signature ___

[FFmpeg-devel] [PATCH] ffmpeg: add sdp_file option

2014-12-25 Thread Simon Thelen
Allow printing of sdp information to a file specified by -sdp_file This allows users to print sdp information when at least one of the outputs isn't an rtp stream. Signed-off-by: Simon Thelen --- ffmpeg.c | 30 -- ffmpeg.h | 1 + ffmpeg_opt.c | 10 ++

Re: [FFmpeg-devel] [PATCH] lavfi: Port mp=pp7 to libavfilter

2014-12-25 Thread Stefano Sabatini
On date Thursday 2014-12-25 21:50:03 +0530, arwa arif encoded: > > +#include "libavutil/avassert.h" > > +#include "libavutil/imgutils.h" > > +#include "libavutil/opt.h" > > +#include "libavutil/pixdesc.h" > > +#include "internal.h" > > +#include "libavcodec/avcodec.h" //for reference to FF_QSCALE_T

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

2014-12-25 Thread Clément Bœsch
On Thu, Dec 25, 2014 at 09:07:04PM +0100, Lars Kiesow wrote: > Hi Clément, Hi, > this is the patch I was looking for... thanks! > :) > I've applied the patch against the current master and had a first > glimps at it. It works well. I've tried it successfully on a two minute > audio file as wel

Re: [FFmpeg-devel] [PATCH] libavfilter/af_showvolume: A Simple Audio Filter for Extracting Volume Information

2014-12-25 Thread Stefano Sabatini
On date Wednesday 2014-12-24 00:51:26 +0100, Lars Kiesow encoded: > Hi, > I had a more detailed look at this and found a way to do exactly that, > thanks for the hint. It's kind of an obvious approach if you think about > it but sometimes one is just blind ;) > > I guess that makes this code/patch

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

2014-12-25 Thread Stefano Sabatini
On date Wednesday 2014-12-24 15:03:26 +0100, Clément Bœsch encoded: > TODO: bump minor > --- > doc/filters.texi| 12 +++ > libavfilter/avf_showwaves.c | 175 > +++- > 2 files changed, 169 insertions(+), 18 deletions(-) > > diff --git a/doc/fil

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

2014-12-25 Thread Clément Bœsch
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: > > TODO: bump minor > > --- > > doc/filters.texi| 12 +++ > > libavfilter/avf_showwaves.c | 175 > > +++- >

Re: [FFmpeg-devel] [PATCH] libavfilter/af_showvolume: A Simple Audio Filter for Extracting Volume Information

2014-12-25 Thread Lars Kiesow
On Fri, 26 Dec 2014 00:08:39 +0100 Stefano Sabatini wrote: > On date Wednesday 2014-12-24 00:51:26 +0100, Lars Kiesow encoded: > > Hi, > > I had a more detailed look at this and found a way to do exactly > > that, thanks for the hint. > > [...] > > > One question left is, if there is any interes

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

2014-12-25 Thread Carl Eugen Hoyos
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 objections from me: I cannot test atm but I suspect this should work. Thank you, Carl Eugen ___

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

2014-12-25 Thread Stefano Sabatini
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: > > > TODO: bump minor > > > --- > > > doc/filters.texi| 12 +++ > > > libavfilt

[FFmpeg-devel] [PATCH] x86/vf_fspp: port inline asm to yasm

2014-12-25 Thread James Almer
Signed-off-by: James Almer --- Checksum of output is the same as far as i could test, but as mentioned in the other thread it's still different than the output of the C versions. libavfilter/vf_fspp.c | 12 +- libavfilter/vf_fspp.h |6 +- li