Re: [FFmpeg-devel] libavfilter/unsharpen: patch fixes and resubmission

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 09:26:04PM +, Titov, Alexey wrote: > Hi, > > I've fixed the patch according to the reviewers suggestions. Attached are the > two patches (original and fixes) Applying: libavfilter/unsharpen: patch fixes and resubmission fatal: corrupt patch at line 29 Repository lacks

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: added HLS encryption

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 04:36:34PM -0600, Christian Suloway wrote: > Added HLS encryption with -hls_key_info_file option. The > first line of key_info_file specifies the key URI for the playlist. The > second line specifies the path to the file containing the encryption > key. An optional third li

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

2014-12-23 Thread Lars Kiesow
Hi Stefano, my first idea was to have ffmpeg generate the image but you are right, that the unknown length is a problem. The only solution I could come up with was to have something like a two-pass encoding so that you know how many samples you have to deal with and in the second run generate the i

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

2014-12-23 Thread Lars Kiesow
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 irrelevant for now. One question left is, if there is any interest in having

[FFmpeg-devel] [PATCH] avformat/hlsenc: added HLS encryption

2014-12-23 Thread Christian Suloway
Added HLS encryption with -hls_key_info_file option. The first line of key_info_file specifies the key URI for the playlist. The second line specifies the path to the file containing the encryption key. An optional third line specifies an IV to use instead of the segment number. Changes to key_inf

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: added HLS encryption

2014-12-23 Thread Christian Suloway
On Dec 22, 2014, at 6:36 PM, Michael Niedermayer wrote: > this looks a bit odd, > see ff_get_line(), it probably allows to simplify this a lot Resubmitting using ff_get_line(). Thanks, Christian ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org htt

Re: [FFmpeg-devel] libavutil: added camellia block cipher

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 11:08:09PM +0530, supraja reddy wrote: > Hello , > > I have attached the patch to the basic implementation of camellia block > cipher. Please let me know if there are any bugs to be fixed or if any > further optimization needed. [...] > +static void LROT(uint64_t *K, int x

[FFmpeg-devel] libavfilter/unsharpen: patch fixes and resubmission

2014-12-23 Thread Titov, Alexey
Hi, I've fixed the patch according to the reviewers suggestions. Attached are the two patches (original and fixes) Regards, Alexey >From e94ea7add32791a1c9ac04dbd68b78cf799ca92d Mon Sep 17 00:00:00 2001 From: atitov Date: Wed, 17 Dec 2014 16:02:17 -0800 Subject: [PATCH 1/2] libavfilter: unshar

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

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 10:51:09PM +0530, arwa arif wrote: [...] > > Test with a fixed qp value for comparison, as the mp=fspp is broken > > with regards to qp passing. Also it should generate the same > > output as with -cpuflags 0, but only in case the original filter > > did. Report in any case.

Re: [FFmpeg-devel] Parallelization of FFmpeg

2014-12-23 Thread Dtison.net
Logically - codecs, especially on the encoding/compression side, or filters. In general, as a place to start, it could be anything where people feel processing is a little bit slow, does not rely too much on library calls (stdlib, etc.), and where the serial / non-parallel algorithm is not too

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

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 10:51:09PM +0530, arwa arif wrote: > > > > > > > From 05dc64b0048547221f63824b4158701f8257e15c Mon Sep 17 00:00:00 2001 > > > From: Arwa Arif > > > Date: Sun, 14 Dec 2014 12:03:31 +0530 > > > Subject: [PATCH] lavfi: port mp=fspp to a native libavfilter filter > > [...] > >

[FFmpeg-devel] libavutil: added camellia block cipher

2014-12-23 Thread supraja reddy
Hello , I have attached the patch to the basic implementation of camellia block cipher. Please let me know if there are any bugs to be fixed or if any further optimization needed. Thanks , Supraja From 4ace69c4cc76f04e0e795e67290e979925df600c Mon Sep 17 00:00:00 2001 From: Supraja Meedinti Date

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

2014-12-23 Thread arwa arif
> > > > From 05dc64b0048547221f63824b4158701f8257e15c Mon Sep 17 00:00:00 2001 > > From: Arwa Arif > > Date: Sun, 14 Dec 2014 12:03:31 +0530 > > Subject: [PATCH] lavfi: port mp=fspp to a native libavfilter filter > [...] > > diff --git a/libavfilter/version.h b/libavfilter/version.h > > index 4bd1

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

2014-12-23 Thread Stefano Sabatini
On date Tuesday 2014-12-23 15:52:57 +0530, arwa arif encoded: > On Tue, Dec 23, 2014 at 12:40 PM, Stefano Sabatini > wrote: [...] Please learn to trim the original message when you reply. I had to scroll down over 900 lines, and this wastes both bandwidth and time. > > > +static int filter_frame

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 02:40:56PM +0100, Nicolas George wrote: > Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > > actually, maybe > > PKG_CONFIG_LIBDIR=/path/to/cross/lib/pkgconfig > > is a bit clearer > > Both amended and resulting commit pushed to my tree, you can merge whenever

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Nicolas George
Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > actually, maybe > PKG_CONFIG_LIBDIR=/path/to/cross/lib/pkgconfig > is a bit clearer Both amended and resulting commit pushed to my tree, you can merge whenever you want. Thanks. -- Nicolas George signature.asc Description: Digit

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 02:23:49PM +0100, Nicolas George wrote: > Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > > did you attach the correct patch ? > > i dont see a mention on "--pkg-config=" in it > > Sorry, forgot "-a" in "git commit -a --amend". > > Regards, > > -- > Nico

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 02:23:49PM +0100, Nicolas George wrote: > Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > > did you attach the correct patch ? > > i dont see a mention on "--pkg-config=" in it > > Sorry, forgot "-a" in "git commit -a --amend". > > Regards, > > -- > Nico

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Nicolas George
Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > did you attach the correct patch ? > i dont see a mention on "--pkg-config=" in it Sorry, forgot "-a" in "git commit -a --amend". Regards, -- Nicolas George From b8427aa4a698e892c94200cd8c7b5eb3bf11ce03 Mon Sep 17 00:00:00 2001 Fr

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 12:57:45PM +0100, Nicolas George wrote: > Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > > i think this is a bit misleading > > because this doesnt result in working pkgconfig for cross compiling > > you just get > > WARNING: /usr/powerpc-linux-gnu/bin/pkg-co

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

2014-12-23 Thread Michael Niedermayer
On Thu, Dec 18, 2014 at 12:12:14AM +0100, Stefano Sabatini wrote: [...] > > +static void mul_thrmat_c(FSPPContext *p, int q) > > +{ > > +int a; > > +for (a = 0; a < 64; a++) > > +((short*)p->threshold_mtx)[a] = q * > > ((short*)p->threshold_mtx_noq)[a];//ints faster in C > > short

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

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 09:56:16AM +0530, arwa arif wrote: > On Mon, Dec 22, 2014 at 10:27 PM, Michael Niedermayer > wrote: > > > On Mon, Dec 22, 2014 at 09:51:25PM +0530, arwa arif wrote: > > [...] > > > > > +static int filter_frame(AVFilterLink *inlink, AVFrame *in) > > > +{ > > > +AVFilter

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

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 03:52:57PM +0530, arwa arif wrote: > On Tue, Dec 23, 2014 at 12:40 PM, Stefano Sabatini [...] > +static void mul_thrmat_c(FSPPContext *p, int q) > +{ > +int a; > +for (a = 0; a < 64; a++) > +((int8_t *)p->threshold_mtx)[a] = q * ((int8_t > *)p->threshold_m

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Nicolas George
Le tridi 3 nivôse, an CCXXIII, Michael Niedermayer a écrit : > i think this is a bit misleading > because this doesnt result in working pkgconfig for cross compiling > you just get > WARNING: /usr/powerpc-linux-gnu/bin/pkg-config not found, library detection > may fail. Right, I had not noticed t

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/vf_zoompan: fix PTS logic.

2014-12-23 Thread Nicolas George
Le duodi 2 nivôse, an CCXXIII, Michael Niedermayer a écrit : > with these 2 patches and the zoompan example from the docs > ./ffmpeg -f lavfi -i testsrc -vf > "zoompan=z='min(zoom+0.0015,1.5)':d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)':s=640x360" > -qscale 1 test.avi > > i

Re: [FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Michael Niedermayer
On Tue, Dec 23, 2014 at 10:35:12AM +0100, Nicolas George wrote: [...] > +If you need to @emph{replace} @command{pkg-config}'s search list > +(typical use case: cross-compiling), set it in > +@code{$PKG_CONFIG_LIBDIR}: > + > +@example > +export > PKG_CONFIG_LIBDIR=/home/me/cross/usr/lib/pkgconfig:

Re: [FFmpeg-devel] LibRaw inclusion request

2014-12-23 Thread Michael Niedermayer
On Mon, Dec 22, 2014 at 08:53:55PM -0800, Dev Guy wrote: > > LibRaw is a library for reading RAW files obtained from digital photo cameras > (CRW/CR2, NEF, RAF, DNG, and others) > > libraw inclusion in ffmpeg would allow time laps video to be made directly > from the RAW output of the followin

[FFmpeg-devel] [PATCH] doc/faq: explain pkg-config basic setup.

2014-12-23 Thread Nicolas George
Signed-off-by: Nicolas George --- doc/faq.texi | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/faq.texi b/doc/faq.texi index fdcb46d..2f84b49 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -90,6 +90,35 @@ To build FFmpeg, you need to install the development

Re: [FFmpeg-devel] [PATCH] avcodec/frame_thread_encoder: remove buffer_mutex

2014-12-23 Thread Hendrik Leppkes
On Tue, Dec 23, 2014 at 1:44 AM, Michael Niedermayer wrote: > It was used for protecting calls to get/release_buffer() > there are no such calls anymore > av_frame_unref could call the users release callback, if there are restrictions on how its supposed to be called from worker threads. - Hend