Re: [FFmpeg-devel] libavformat/movenc.c: Correct color range when writing DNxHD atoms

2015-01-28 Thread Kevin Wheatley
On Tue, Jan 27, 2015 at 9:27 PM, Michael Niedermayer wrote: > On Tue, Jan 27, 2015 at 11:15:40AM -0800, jon morley wrote: >> movenc.c |9 ++--- >> 1 file changed, 6 insertions(+), 3 deletions(-) >> 6317011578bca8bf065f5bd4de2dfce803557e81 >> 0001-libavformat-movenc.c-Correct-color-range

Re: [FFmpeg-devel] [PATCH] updated documentation for -opencl_bench option

2015-01-28 Thread Stefano Sabatini
On date Tuesday 2015-01-27 15:03:50 +, Gupta, Maneesh encoded: [...] > From 7eb01c936d38d909ea0a17d8b35905646fdb4744 Mon Sep 17 00:00:00 2001 > From: Maneesh Gupta > Date: Tue, 27 Jan 2015 20:28:24 +0530 > Subject: [PATCH] updated documentation for -opencl_bench > > --- > doc/fftools-common-

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Stefano Sabatini
On date Tuesday 2015-01-27 12:48:44 -0900, Lou Logan encoded: > Signed-off-by: Lou Logan > --- > doc/indevs.texi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/doc/indevs.texi b/doc/indevs.texi > index ae61331..350adfe 100644 > --- a/doc/indevs.texi > +++ b/doc/indevs.texi

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Stefano Sabatini
On date Tuesday 2015-01-27 11:14:36 +, Paul B Mahol encoded: > Signed-off-by: Paul B Mahol > --- > Not-bitexact, dunno why. Do not have actual samples to test. > --- > LICENSE.md| 1 + > configure | 1 + > libavfilter/Makefile | 1 + > li

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

2015-01-28 Thread Stefano Sabatini
On date Tuesday 2015-01-27 22:05:08 +0100, Michael Niedermayer encoded: > On Tue, Jan 27, 2015 at 06:32:13PM +0530, arwa arif wrote: > > On Tue, Jan 27, 2015 at 3:26 PM, Stefano Sabatini [...] > > I have included lut16 in the code. Also, I tested it with various options, > > and it is coming out t

[FFmpeg-devel] [PATCH] avformat/nsvdec: remove case which is no longer possible

2015-01-28 Thread Paul B Mahol
Check of channels !=0 is right above. Signed-off-by: Paul B Mahol --- libavformat/nsvdec.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index 531e273..632667c 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -6

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Paul B Mahol
On 1/27/15, Michael Niedermayer wrote: > On Tue, Jan 27, 2015 at 11:14:36AM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> Not-bitexact, dunno why. Do not have actual samples to test. > > this change is needed: > > @@ -134,6 +134,7 @@ static int filter_frame(AVFilterLink *inl

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Robert Krüger
On Tue, Jan 27, 2015 at 12:14 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Not-bitexact, dunno why. Do not have actual samples to test. > --- > LICENSE.md| 1 + > configure | 1 + > libavfilter/Makefile | 1 + > libavfilter

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread wm4
On Wed, 28 Jan 2015 10:10:37 + Paul B Mahol wrote: > On 1/27/15, Michael Niedermayer wrote: > > On Tue, Jan 27, 2015 at 11:14:36AM +, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> Not-bitexact, dunno why. Do not have actual samples to test. > > > > this change is ne

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

2015-01-28 Thread wm4
On Tue, 27 Jan 2015 17:13:30 +0100 Michael Niedermayer wrote: > On Tue, Jan 27, 2015 at 11:28:52AM +, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > Changelog | 1 + > > LICENSE.md | 2 - > > configure

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Paul B Mahol
On 1/28/15, Robert Krueger wrote: > On Tue, Jan 27, 2015 at 12:14 PM, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol >> --- >> Not-bitexact, dunno why. Do not have actual samples to test. >> --- >> LICENSE.md| 1 + >> configure | 1 + >> libavfi

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] avformat/nsvdec: remove case which is no longer possible

2015-01-28 Thread wm4
On Wed, 28 Jan 2015 09:35:57 + Paul B Mahol wrote: > Check of channels !=0 is right above. > > Signed-off-by: Paul B Mahol > --- > libavformat/nsvdec.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c > index 531e273.

Re: [FFmpeg-devel] [PATCH] avformat/nsvdec: remove case which is no longer possible

2015-01-28 Thread Paul B Mahol
On 1/28/15, wm4 wrote: > On Wed, 28 Jan 2015 09:35:57 + > Paul B Mahol wrote: > >> Check of channels !=0 is right above. >> >> Signed-off-by: Paul B Mahol >> --- >> libavformat/nsvdec.c | 5 + >> 1 file changed, 1 insertion(+), 4 deletions(-) >> >> diff --git a/libavformat/nsvdec.c b/li

[FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-28 Thread Matthijs Tempels
>From 15952b6cb38ac2f532a2f35d50e9dc4f8320c1c5 Mon Sep 17 00:00:00 2001 From: Matthijs Tempels Date: Wed, 28 Jan 2015 13:59:54 +0100 Subject: [PATCH] Added the %t option to the filename pattern to add a MMdd_HHmmssfff pattern to the filename --- libavformat/utils.c | 18 +-

Re: [FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-28 Thread wm4
On Wed, 28 Jan 2015 14:03:06 +0100 Matthijs Tempels wrote: > From 15952b6cb38ac2f532a2f35d50e9dc4f8320c1c5 Mon Sep 17 00:00:00 2001 > From: Matthijs Tempels > Date: Wed, 28 Jan 2015 13:59:54 +0100 > Subject: [PATCH] Added the %t option to the filename pattern to add a > MMdd_HHmmssfff patte

[FFmpeg-devel] [PATCH] lavfi: Fix frame alignment in fspp

2015-01-28 Thread arwa arif
I have attached the patch. From 3f79914969b2e0dd5dbece536b57eef62c328f46 Mon Sep 17 00:00:00 2001 From: Arwa Arif Date: Wed, 28 Jan 2015 19:33:19 +0530 Subject: [PATCH] Fix frame-alignment in FSPP --- libavfilter/vf_fspp.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_f

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Michael Niedermayer
On Tue, Jan 27, 2015 at 08:10:04PM +0100, Michael Niedermayer wrote: > On Tue, Jan 27, 2015 at 11:14:36AM +, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > Not-bitexact, dunno why. Do not have actual samples to test. > > this change is needed: > > @@ -134,6 +134,7 @@ static

Re: [FFmpeg-devel] [PATCH] avformat/nsvdec: remove case which is no longer possible

2015-01-28 Thread Michael Niedermayer
On Wed, Jan 28, 2015 at 09:35:57AM +, Paul B Mahol wrote: > Check of channels !=0 is right above. > > Signed-off-by: Paul B Mahol > --- > libavformat/nsvdec.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) ok, assuming there are no files with undefined channel number otherwise

[FFmpeg-devel] Fix frame alignment in pp7

2015-01-28 Thread arwa arif
I have attached the patch. From 89355b410116eb01f370b2b709c8e84efd94f516 Mon Sep 17 00:00:00 2001 From: Arwa Arif Date: Wed, 28 Jan 2015 19:35:06 +0530 Subject: [PATCH] Fix frame-alignment in PP7 --- libavfilter/vf_pp7.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_pp7

Re: [FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-28 Thread Matthijs Tempels
It seems there is also a way to use strftime, only this only provides a resolution to the second. Also, the patch like it is here does not work anymore on the latest master sorry about that.. > Op 28 jan. 2015, om 14:24 heeft wm4 het volgende > geschreven: > > On Wed, 28 Jan 2015 14:03:06 +0

[FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Still not bit-exact. Dunno why. Any help is welcome. --- LICENSE.md| 1 + configure | 1 + doc/filters.texi | 9 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Paul B Mahol
On 1/28/15, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Still not bit-exact. Dunno why. Any help is welcome. > --- > LICENSE.md| 1 + > configure | 1 + > doc/filters.texi | 9 +++ > libavfilter/Makefile | 1 + >

Re: [FFmpeg-devel] [PATCH] lavfi: Fix frame alignment in fspp

2015-01-28 Thread Paul B Mahol
On 1/28/15, arwa arif wrote: > I have attached the patch. > lgtm ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

2015-01-28 Thread Giorgio Vazzana
2015-01-27 22:01 GMT+01:00 supraja reddy : > Hello, > >> +for (i = 0; i < cs->ksize; i++) { >> > +Me[i] = Key[2 * i]; >> > +Mo[i] = Key[2 * i + 1]; >> > +} >> > +for (i = 0; i < cs->ksize; i++) >> > +cs->S[cs->ksize - i - 1] = tf_RS(Me[i], Mo[i]); >> >> Can't the

[FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Bit-exact with mp=softpulldown except first frame which is uninitialized data in mp filter. TODO: pts needs update, workaround is to use setpts filter. --- LICENSE.md| 1 + configure | 1 + doc/filters.texi

[FFmpeg-devel] libopenjpegenc improvements

2015-01-28 Thread Jean First
This patchset sould alow ffmpeg to create jpeg2000 files conforming to the dci specification. Most of the code originates form the image_to_j2k file provided by openjpeg. Can someone shed some light, if the following parameter is also needed ? /* Decide if MCT should be used */ parameters.tcp_m

[FFmpeg-devel] [PATCH 1/3] lavc/libopenjpegenc: factorize cinema parameters to it's own function

2015-01-28 Thread Jean First
Signed-off-by: Jean First --- also reordered them slightly to match the code in image_to_j2k.c provided by openjpeg libavcodec/libopenjpegenc.c | 62 ++--- 1 file changed, 36 insertions(+), 26 deletions(-) diff --git a/libavcodec/libopenjpegenc.c b/li

[FFmpeg-devel] [PATCH 3/3] lavc/libopenjpegenc: add cinema_setup_encoder function to allow creation of dci compliant files

2015-01-28 Thread Jean First
code originates from image_to_j2k.c provided by openjpeg Signed-off-by: Jean First --- libavcodec/libopenjpegenc.c | 118 1 file changed, 118 insertions(+) diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c index b9a8bac..8c8bf67

[FFmpeg-devel] [PATCH 2/3] lavc/libopenjpegenc: add layerrates parameter to allow different compression rates per layer

2015-01-28 Thread Jean First
syntax is: 20,10,2 this adds 3 layers, the first with a 20x, the second with 10x and a third with 2x compression. Layers define the progression by image quality within the code stream and, although not defined by the JPEG 2000 standard, in general codecs try to build layers in such a way tha

Re: [FFmpeg-devel] libavformat/movenc.c: Correct color range when writing DNxHD atoms

2015-01-28 Thread jon morley
Hi Kevin, Michael, I appreciate your replies. I have been having a really hard time finding a definitive reference on the matter. So far all I have are a handful of customer sample files created from various sources including some Avid products. The reason I finally made the patch was because

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Lukasz Marek
On 27 January 2015 at 22:48, Lou Logan wrote: > Signed-off-by: Lou Logan > --- > doc/indevs.texi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/doc/indevs.texi b/doc/indevs.texi > index ae61331..350adfe 100644 > --- a/doc/indevs.texi > +++ b/doc/indevs.texi > @@ -971,6 +97

Re: [FFmpeg-devel] [PATCH] lavfi: Fix frame alignment in fspp

2015-01-28 Thread Michael Niedermayer
On Wed, Jan 28, 2015 at 02:52:12PM +, Paul B Mahol wrote: > On 1/28/15, arwa arif wrote: > > I have attached the patch. > > > > lgtm applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The bravest are surely those who have the clearest vision o

[FFmpeg-devel] [PATCH] avcodec/nvenc: De-compensate aspect ratio compensation of DVD-like content.

2015-01-28 Thread Philip Langdale
For reasons we are not privy to, nvidia decided that the nvenc encoder should apply aspect ratio compensation to 'DVD like' content, assuming that the content is not bt.601 compliant, but needs to be bt.601 compliant. In this context, that means that they make the following, questionable, assumptio

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Lou Logan
On Wed, 28 Jan 2015 17:09:25 +0100, Lukasz Marek wrote: > I'm not sure this is intended, but x11grab and xcbgrab are exclusive and > cannot be present aside: > > git grep '"x11grab"' > x11grab.c:.name = "x11grab", > xcbgrab.c:.name = "x11grab", > > Maybe it is worth

[FFmpeg-devel] [PATCH] Makefile: Use strip -o to avoid cp

2015-01-28 Thread Michael Niedermayer
This should reduce build time slightly as well as disk read/write Signed-off-by: Michael Niedermayer --- Makefile |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 845a274..dc18589 100644 --- a/Makefile +++ b/Makefile @@ -115,8 +115,7 @@ $(foreach

Re: [FFmpeg-devel] [PATCH] Makefile: Use strip -o to avoid cp

2015-01-28 Thread Hendrik Leppkes
On Wed, Jan 28, 2015 at 6:59 PM, Michael Niedermayer wrote: > This should reduce build time slightly as well as disk read/write > > While I generally like the idea, this seems like something that could easily blow up on different systems. - Hendrik ___

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Lou Logan
On Wed, 28 Jan 2015 10:06:08 +0100, Stefano Sabatini wrote: > Don't you need something like --enable-libxcb? It is [auto]: --enable-libxcb enable X11 grabbing using XCB [auto] --enable-libxcb-shm enable X11 grabbing shm communication [auto] --enable-libxcb-xfixes enable X11

[FFmpeg-devel] [PATCH] doc/indevs: add some XCB info to x11grab

2015-01-28 Thread Lou Logan
Signed-off-by: Lou Logan --- doc/indevs.texi | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index ae61331..bd09f3f 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -975,8 +975,12 @@ other filename will be interpr

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Timothy Gu
On Wed Jan 28 2015 at 8:09:33 AM Lukasz Marek wrote: > > I'm not sure this is intended, but x11grab and xcbgrab are exclusive and > cannot be present aside: > > git grep '"x11grab"' > x11grab.c:.name = "x11grab", > xcbgrab.c:.name = "x11grab", > Hm, I think this is ac

Re: [FFmpeg-devel] [PATCH] doc/indevs: add xcbgrab

2015-01-28 Thread Nicolas George
Le nonidi 9 pluviôse, an CCXXIII, Timothy Gu a écrit : > Hm, I think this is accidental. IIRC Luca said something about having both > options in the same build. It could be helpful for developers for testing, but I do not see any benefit for normal users. Using Xlib or xcb is an implementation det

Re: [FFmpeg-devel] Post-processing filter Documentation

2015-01-28 Thread arwa arif
I have updated the page with new images. http://trac.ffmpeg.org/wiki/Postprocessing What exactly needs to be done in benchmark section? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/3] lavc/libopenjpegenc: add layerrates parameter to allow different compression rates per layer

2015-01-28 Thread Michael Niedermayer
On Wed, Jan 28, 2015 at 04:41:25PM +0100, Jean First wrote: > syntax is: 20,10,2 > this adds 3 layers, the first with a 20x, the second with 10x and > a third with 2x compression. > > Layers define the progression by image quality within the code stream and, > although not defined by the JPEG

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

2015-01-28 Thread Michael Niedermayer
On Wed, Jan 28, 2015 at 04:06:19PM +0100, Giorgio Vazzana wrote: > 2015-01-27 22:01 GMT+01:00 supraja reddy : > > Hello, > > > >> +for (i = 0; i < cs->ksize; i++) { > >> > +Me[i] = Key[2 * i]; > >> > +Mo[i] = Key[2 * i + 1]; > >> > +} > >> > +for (i = 0; i < cs->ksize; i

Re: [FFmpeg-devel] Post-processing filter Documentation

2015-01-28 Thread Michael Niedermayer
On Thu, Jan 29, 2015 at 03:46:42AM +0530, arwa arif wrote: > I have updated the page with new images. > http://trac.ffmpeg.org/wiki/Postprocessing > > What exactly needs to be done in benchmark section? maybe a table that lists how much time the filters need, like no filter 123sec for 5min sample

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: De-compensate aspect ratio compensation of DVD-like content.

2015-01-28 Thread Kieran Kunhya
> this context, that means that they make the following, questionable, > assumptions: erm > 1) If the input dimensions are 720x480 or 720x576, assume the content has > an active area of 704x480 or 704x576. 702x576 Kieran ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: De-compensate aspect ratio compensation of DVD-like content.

2015-01-28 Thread Philip Langdale
On Thu, 29 Jan 2015 01:38:31 + Kieran Kunhya wrote: > > this context, that means that they make the following, questionable, > > assumptions: > > erm > > > 1) If the input dimensions are 720x480 or 720x576, assume the > > content has an active area of 704x480 or 704x576. > > 702x576 That

[FFmpeg-devel] [PATCH] libavformat/mxfenc.c: added mxf opatom muxer

2015-01-28 Thread Mark Reid
hi, This patch enables ffmpeg to mux mxf files with OP-Atom structure (SMPTE 390M). opatom files have the same metadata as regular mxf files, but the essence data is stored in a different way. They can only have 1 stream and essence data is stored continuously in a single klv packet (clip wrapped

[FFmpeg-devel] [PATCH] libavformat/mxfenc.c: added mxf opatom muxer

2015-01-28 Thread Mark Reid
--- libavformat/allformats.c | 1 + libavformat/mxfenc.c | 139 ++- 2 files changed, 127 insertions(+), 13 deletions(-) diff --git a/libavformat/allformats.c b/libavformat/allformats.c index bc033ef..ad2e649 100644 --- a/libavformat/allformats.c +

Re: [FFmpeg-devel] Fix frame alignment in pp7

2015-01-28 Thread Michael Niedermayer
On Wed, Jan 28, 2015 at 07:45:39PM +0530, arwa arif wrote: > I have attached the patch. > vf_pp7.c |2 ++ > 1 file changed, 2 insertions(+) > 764d85d9d883532f47134b20585730226f18575b > 0001-Fix-frame-alignment-in-PP7.patch > From 89355b410116eb01f370b2b709c8e84efd94f516 Mon Sep 17 00:00:00

Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-28 Thread Michael Niedermayer
On Wed, Jan 28, 2015 at 03:13:27PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Bit-exact with mp=softpulldown except first frame which is uninitialized data > in mp filter. > TODO: pts needs update, workaround is to use setpts filter. patch LGTM except the pts / time_base i