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

2015-01-15 Thread Nicolas George
Le septidi 27 nivôse, an CCXXIII, Timo Rothenpieler a écrit : > +av_reduce(&dw, &dh, avctx->sample_aspect_ratio.num, > avctx->sample_aspect_ratio.den, 4096); > +ctx->init_encode_params.darHeight = dw; > +ctx->init_encode_params.darWidth = dh; Has this been actually tested?

Re: [FFmpeg-devel] Enable stream copy of data

2015-01-15 Thread Michael Niedermayer
On Wed, Jan 14, 2015 at 03:11:24PM +0530, Anshul wrote: > Hi > > I have enabled demuxing and muxing path for datat stream > > Please find attachment > > Thanks > Anshul > ffmpeg.c|2 ++ > ffmpeg_opt.c| 10 ++ > libavcodec/avcodec.h|1 + > libav

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-15 Thread Stephen Hutchinson
On Thu, Jan 15, 2015 at 12:37 PM, Marc Giger wrote: > That's a very good point. Never thought about it in this detail. > Given that fact I have to admin that dynamic loading makes > less sense. There may still be some usecases e.g. vaapi where it > would make sense, but this seems to be the minori

Re: [FFmpeg-devel] [PATCH] ffmpeg: Add bitrate value under -progress action

2015-01-15 Thread Michael Niedermayer
On Thu, Jan 08, 2015 at 03:50:15AM +0100, Michael Niedermayer wrote: > From: raxon1s > > --- > ffmpeg.c | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been

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

2015-01-15 Thread Timo Rothenpieler
--- libavcodec/nvenc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 57ca130..85f6d43 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -67,7 +67,9 @@ typedef CUresult(CUDAAPI *PCUCTXDESTROY)(CUcontext ctx)

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

2015-01-15 Thread Timo Rothenpieler
--- libavcodec/nvenc.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 90856be..57ca130 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -471,6 +471,7 @@ static av_cold int nvenc_encode_init(AVCodecContext

[FFmpeg-devel] [PATCH 1/3] avcodec/nvenc: Fix b-frame parameter handling

2015-01-15 Thread Timo Rothenpieler
--- libavcodec/nvenc.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 5cd7727..90856be 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -155,7 +155,6 @@ typedef struct NvencContext char *preset

[FFmpeg-devel] [PATCH] avfilter/f_sendcmd: consider it an error if there are no commands

2015-01-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavfilter/f_sendcmd.c |5 + 1 file changed, 5 insertions(+) diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index 20d9fd1..e1e649c 100644 --- a/libavfilter/f_sendcmd.c +++ b/libavfilter/f_sendcmd.c @@ -403,6 +403,11 @@ static av_col

Re: [FFmpeg-devel] [PATCH] avcodec/parser: Check that the parser return code is valid

2015-01-15 Thread Michael Niedermayer
On Fri, Jan 09, 2015 at 01:36:00PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/parser.c |2 ++ > 1 file changed, 2 insertions(+) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship naturally a

[FFmpeg-devel] [PATCH] avutil/pixdesc: rewrite AV_PIX_FMT_FLAG_PSEUDOPAL documentation

2015-01-15 Thread Michael Niedermayer
It seems many people do not understand its current documentation Signed-off-by: Michael Niedermayer --- libavutil/pixdesc.h | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index a4376b2..705377d 100644 --- a/libavutil/pix

Re: [FFmpeg-devel] libavutil: Added twofish block cipher

2015-01-15 Thread Michael Niedermayer
On Thu, Jan 15, 2015 at 10:21:22PM +0530, supraja reddy wrote: > Hello, > > I have attached the patch for twofish implementation. Please let me know if > there are any changes to be made. > > Thank you, > > Supraja > Makefile |3 > twofish.c | 351 >

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-15 Thread wm4
On Thu, 15 Jan 2015 18:37:57 +0100 Marc Giger wrote: > Hi Nicolas, > > On Wed, 14 Jan 2015 21:33:25 +0100 > Nicolas George wrote: > > > Le quintidi 25 nivôse, an CCXXIII, Marc Giger a écrit : > > > For example if they want use libfaac then > > > they should be able to do s

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-15 Thread Marc Giger
Hi Nicolas, On Wed, 14 Jan 2015 21:33:25 +0100 Nicolas George wrote: > Le quintidi 25 nivôse, an CCXXIII, Marc Giger a écrit : > >For example if they want use libfaac then > > they should be able to do so without that much hassle a full > > compilation inclusive all depen

[FFmpeg-devel] libavutil: Added twofish block cipher

2015-01-15 Thread supraja reddy
Hello, I have attached the patch for twofish implementation. Please let me know if there are any changes to be made. Thank you, Supraja From f86554850a8b0be2e32fcd341ca297c7ce73a941 Mon Sep 17 00:00:00 2001 From: Supraja Meedinti Date: Thu, 15 Jan 2015 21:35:16 +0530 Subject: [PATCH] libavutil:

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 | 13 ++ > > libavfilter/Makefile

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: fix dts>pts when b frame >= 1

2015-01-15 Thread Michael Niedermayer
On Wed, Jan 14, 2015 at 01:25:46PM +0800, Agatha Hu wrote: > On 2015/1/11 0:44, Michael Niedermayer wrote: > >* PGP Signed by an unknown key > > > >On Sat, Jan 10, 2015 at 05:30:03PM +0100, Timo Rothenpieler wrote: > >> > >>Looks good to merge for me. > > > >i wanted to apply it but the patch is co

Re: [FFmpeg-devel] [PATCH 2/2] add libyami.cpp for h264 decoding by libyami

2015-01-15 Thread Michael Niedermayer
On Wed, Jan 14, 2015 at 07:53:03PM +0100, Jean-Baptiste Kempf wrote: > On 14 Jan, Ronald S. Bultje wrote : > > He specifically mentioned that yami supports (in addition to things ffmpeg > > already does) hardware h264 encoding, hardware vp8 decoding/decoding, > > hardware vp9 decoding and hardware

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

2015-01-15 Thread Michael Niedermayer
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 | 13 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/version.h

[FFmpeg-devel] aversion to .cpp files?

2015-01-15 Thread Roger Pack
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 it to straight "c wrapper" style stuff. Is there a large preference

Re: [FFmpeg-devel] probable dshow bug or strangeness

2015-01-15 Thread Roger Pack
On 3/11/14, Don Moir wrote: > > - Original Message - > From: "Don Moir" > To: "FFmpeg development discussions and patches" > Sent: Monday, March 10, 2014 5:27 PM > Subject: Re: [FFmpeg-devel] probable dshow bug or strangeness > > >> >> - Original Message - >> From: "Roger Pack"

Re: [FFmpeg-devel] [PATCH 3/3] avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_make_writable()

2015-01-15 Thread Michael Niedermayer
On Thu, Jan 15, 2015 at 12:10:10PM +0100, wm4 wrote: > On Thu, 15 Jan 2015 01:04:56 +0100 > Michael Niedermayer wrote: > > > This allows making a AVBufferRef writable without the need to > > update all pointers to it > > > > Signed-off-by: Michael Niedermayer > > --- > > libavutil/buffer.c |

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

2015-01-15 Thread wm4
On Thu, 15 Jan 2015 14:21:18 +0100 Clément Bœsch wrote: > From: Clément Bœsch > > --- > Changelog| 1 + > doc/filters.texi | 13 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/version.h

[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 tes

Re: [FFmpeg-devel] [PATCH] x86/swr: make int32_to_int32 un/pack_2ch functions SSE

2015-01-15 Thread Ronald S. Bultje
Hi, On Wed, Jan 14, 2015 at 4:23 PM, James Almer wrote: > On 14/01/15 1:59 PM, Michael Niedermayer wrote: > > On Wed, Jan 14, 2015 at 01:53:48AM -0300, James Almer wrote: > >> unpack_2ch is already using sse float ops only, and pack_2ch is a > trivial change. > >> Rename both to float_to_float f

Re: [FFmpeg-devel] [PATCH 3/3] avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in av_buffer_make_writable()

2015-01-15 Thread wm4
On Thu, 15 Jan 2015 01:04:56 +0100 Michael Niedermayer wrote: > This allows making a AVBufferRef writable without the need to > update all pointers to it > > Signed-off-by: Michael Niedermayer > --- > libavutil/buffer.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff -

Re: [FFmpeg-devel] [PATCH] avcodec: Allow user applications to provide non padded input buffers

2015-01-15 Thread wm4
On Thu, 15 Jan 2015 01:58:40 +0100 Michael Niedermayer wrote: > This can be extended easily to skip the buffer growing for codecs which do > not need it. > > The added field or a equivalent change is needed as the AVBuffer > size might not match the actually allocated and saftely accessable > me