Re: [FFmpeg-devel] support for reading / writing encrypted MP4 files

2015-12-06 Thread Eran Kornblau
Hi > One more question: Is FFmpeg able to decrypt the files (if the keys are > available)? If not, it would be nice if you could also add the decryption > function... > (I only realize now that the subject promises both.) > In any case, a fate test will be needed (but is not necessarily part of

Re: [FFmpeg-devel] [PATCH 4/8] avformat/movenc-test: correct varargs usage

2015-12-06 Thread Ganesh Ajjanagadde
On Fri, Dec 4, 2015 at 9:27 PM, Michael Niedermayer wrote: > On Fri, Dec 04, 2015 at 09:39:39AM -0500, Ganesh Ajjanagadde wrote: >> It is required to call va_end for each invocation of va_start within the >> same function. >> >> Fixes: CID 1341583. >> >> Signed-off-by: Ganesh

[FFmpeg-devel] [PATCH 3/3] fate: change the CMP_TARGETs for the recent AAC encoder changes

2015-12-06 Thread Rostislav Pehlivanov
The case of PNS was outdated and resulted in failures on some kdfreebds systems. Signed-off-by: Rostislav Pehlivanov --- tests/fate/aac.mak | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index

Re: [FFmpeg-devel] [PATCH] doc/developer: Remove mentioning of sending pull requests

2015-12-06 Thread Ganesh Ajjanagadde
On Sun, Dec 6, 2015 at 8:46 AM, wm4 wrote: > On Sat, 5 Dec 2015 21:49:55 -0800 > Timothy Gu wrote: > >> The _de facto_ policy on patch submission has always been "sending it to >> the mailing list." >> --- >> doc/developer.texi | 4 +--- >> 1 file

Re: [FFmpeg-devel] [PATCH] doc/developer: Remove mentioning of sending pull requests

2015-12-06 Thread wm4
On Sat, 5 Dec 2015 21:49:55 -0800 Timothy Gu wrote: > The _de facto_ policy on patch submission has always been "sending it to > the mailing list." > --- > doc/developer.texi | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/doc/developer.texi

[FFmpeg-devel] [PATCH 1/3] aacenc: move the TNS search and filtering before PNS

2015-12-06 Thread Rostislav Pehlivanov
The original plan was to have TNS use data from the PNS search to better tune itself to noise but this was never used nor necessary. This should slightly boost the PNS accuracy if TNS was used. Signed-off-by: Rostislav Pehlivanov --- libavcodec/aacenc.c | 4 ++-- 1 file

[FFmpeg-devel] MXF: Multiple Entry with same desc

2015-12-06 Thread Anshul
Hello, There were multiple entry of same descriptor, I have kept entry with /* MPEG2VideoDescriptor */ comment and removed other one. Attached patch for same. Thanks Anshul >From 88836433c9d4bc66aaeb1143f7af6e4fa93656d8 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari

[FFmpeg-devel] [PATCH] vp9: fix pixel format changes with threading

2015-12-06 Thread Hendrik Leppkes
--- libavcodec/vp9.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index dc0..5b90c13 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -4228,7 +4228,7 @@ static int vp9_decode_update_thread_context(AVCodecContext *dst, const

Re: [FFmpeg-devel] [PATCH 8/8] avcodec/dvdsubdec: fix typo in dlog message

2015-12-06 Thread Ganesh Ajjanagadde
On Fri, Dec 4, 2015 at 9:28 PM, Michael Niedermayer wrote: > On Fri, Dec 04, 2015 at 09:39:43AM -0500, Ganesh Ajjanagadde wrote: >> Likely accidental in 764900d6458a2f79166ff91df4f20ad39cd6acec. >> >> Fixes: CID 1341578. >> >> Signed-off-by: Ganesh Ajjanagadde

Re: [FFmpeg-devel] [PATCH 5/8] avformat/rtsp: free opts dictionary on failure of getnameinfo

2015-12-06 Thread Ganesh Ajjanagadde
On Fri, Dec 4, 2015 at 9:24 PM, Michael Niedermayer wrote: > On Fri, Dec 04, 2015 at 09:39:40AM -0500, Ganesh Ajjanagadde wrote: >> Fixes: CID 1341579. >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> libavformat/rtsp.c | 1 + >> 1 file changed, 1

Re: [FFmpeg-devel] [PATCH 02/10] ffplay: use hypot()

2015-12-06 Thread Ganesh Ajjanagadde
On Sun, Dec 6, 2015 at 7:07 AM, Marton Balint wrote: > > On Sat, 5 Dec 2015, Ganesh Ajjanagadde wrote: > >> On Sun, Nov 22, 2015 at 12:05 PM, Ganesh Ajjanagadde >> wrote: >>> >>> Signed-off-by: Ganesh Ajjanagadde >>> --- >>>

[FFmpeg-devel] [PATCH 2/3] aacenc_tns: tune and reduce artifacts

2015-12-06 Thread Rostislav Pehlivanov
There are a couple of major changes here: 1. Start using TNS coefficient compression. 2. Start using 3 bits per coefficient maximum for short windows. The bits we save from these 2 changes seem to make a nice impact on the rest of the file/windows. 3. Remove special case gain checking for short

Re: [FFmpeg-devel] support for reading / writing encrypted MP4 files

2015-12-06 Thread Eran Kornblau
Hi, Sorry for spamming, ran some more tests and found a bug in my patch, updated patch file attached. The bug was that in case subsample encryption was enabled (the default for AVC) the subsample size reported in the 'saiz' atom was wrong - it did not include the size of the IV. I originally

[FFmpeg-devel] Fix SChannel compilation on cygwin

2015-12-06 Thread Timo Rothenpieler
Patch from https://trac.ffmpeg.org/ticket/5036 is attached From d5d18f91514b6c31f903b04a1c44b0e2de2ffd1a Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Tue, 24 Nov 2015 19:25:12 -0800 Subject: [PATCH] avformat: add windows.h to SChannel SSP TLS code This fixes building

Re: [FFmpeg-devel] [PATCH 6/8] avfilter/show_palette: fix memory leak

2015-12-06 Thread Ganesh Ajjanagadde
On Sat, Dec 5, 2015 at 6:40 AM, Clément Bœsch wrote: > On Fri, Dec 04, 2015 at 05:56:12PM -0500, Ganesh Ajjanagadde wrote: >> On Fri, Dec 4, 2015 at 5:29 PM, Marton Balint wrote: >> if ((ret = ff_formats_ref(in , >inputs[0]->out_formats)) < 0 >> || >>

Re: [FFmpeg-devel] [PATCH 1/2] ffprobe: Do not print profile names in -bitexact

2015-12-06 Thread Michael Niedermayer
On Tue, Dec 01, 2015 at 05:37:54PM -0800, Timothy Gu wrote: > On Fri, Nov 27, 2015 at 02:33:02PM -0800, Timothy Gu wrote: > > Instead, print "unknown" if it's unknown, or their numerical values if > > they are known. > > --- > > > > Addresses Nicholas's comment. > > > > --- > > ffprobe.c | 12

Re: [FFmpeg-devel] [PATCH] mjpegdec: consider chroma subsampling in size check

2015-12-06 Thread Andreas Cadhalpun
On 05.12.2015 04:02, Michael Niedermayer wrote: > On Fri, Dec 04, 2015 at 03:14:21PM +0100, Andreas Cadhalpun wrote: >> On 03.12.2015 15:48, Michael Niedermayer wrote: >>> On Wed, Dec 02, 2015 at 10:00:13PM +0100, Andreas Cadhalpun wrote: @@ -1293,14 +1296,16 @@ static int

Re: [FFmpeg-devel] [PATCH 2/3] fate/api: test threadmessage

2015-12-06 Thread Nicolas George
Le duodi 12 frimaire, an CCXXIV, Clement Boesch a écrit : > From: Clément Bœsch > > --- > tests/api/Makefile | 1 + > tests/api/api-threadmessage-test.c | 263 > + > tests/fate/api.mak | 6 + > 3

[FFmpeg-devel] [PATCH] avfilter/x86/vf_maskedmerge: move %define out of .nextrow

2015-12-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/x86/vf_maskedmerge.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/x86/vf_maskedmerge.asm b/libavfilter/x86/vf_maskedmerge.asm index 3b128b4..e548d25 100644 ---

Re: [FFmpeg-devel] [PATCH 02/10] ffplay: use hypot()

2015-12-06 Thread Marton Balint
On Sat, 5 Dec 2015, Ganesh Ajjanagadde wrote: On Sun, Nov 22, 2015 at 12:05 PM, Ganesh Ajjanagadde wrote: Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ffplay.c

Re: [FFmpeg-devel] [PATCH 7/9] avcodec/mdct_template: use lrint instead of floor hack

2015-12-06 Thread Ganesh Ajjanagadde
On Tue, Dec 1, 2015 at 7:27 PM, Ganesh Ajjanagadde wrote: > Signed-off-by: Ganesh Ajjanagadde > --- > libavcodec/mdct_template.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mdct_template.c

Re: [FFmpeg-devel] [PATCH] libavtuil: add version component accessor macros

2015-12-06 Thread Reynaldo H. Verdejo Pinochet
On 12/05/2015 11:36 AM, Ganesh Ajjanagadde wrote: > [...] > > minor nit: commit message typo (libavtuil -> libavutil). > True. Corrected. Thanks for taking a look -- Reynaldo ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] libavtuil: add version component accessor macros

2015-12-06 Thread Reynaldo H. Verdejo Pinochet
Pushed as: commit 21c34cb26154a5eadd6e10df86c20e2df3a7bd55 Author: Reynaldo H. Verdejo Pinochet Date: Fri Dec 4 14:07:23 2015 -0800 libavutil: add version component accessor macros [..] Thanks -- Reynaldo ___

Re: [FFmpeg-devel] [PATCH 1/3] avutil/threadmessage: add av_thread_message_flush()

2015-12-06 Thread Nicolas George
Le quartidi 14 frimaire, an CCXXIV, Clement Boesch a écrit : > From: Clément Bœsch > > --- > libavutil/threadmessage.c | 31 +++ > libavutil/threadmessage.h | 16 > 2 files changed, 47 insertions(+) > > diff --git

[FFmpeg-devel] [PATCH] diracdec: Move strides to bytes, and pointer types to uint8_t.

2015-12-06 Thread Kieran Kunhya
Start templating functions for move to support 10-bit Parts of this patch were written by Rostislav Pehlivanov --- libavcodec/dirac.c | 10 +- libavcodec/dirac.h | 3 +- libavcodec/diracdec.c | 227 ++--

Re: [FFmpeg-devel] [PATCH] diracdec: Move strides to bytes, and pointer types to uint8_t.

2015-12-06 Thread Clément Bœsch
On Sun, Dec 06, 2015 at 12:36:24PM +, Kieran Kunhya wrote: > Start templating functions for move to support 10-bit > Parts of this patch were written by Rostislav Pehlivanov "Signed-off-by:"? [...] -- Clément B. signature.asc Description: PGP signature

Re: [FFmpeg-devel] support for reading / writing encrypted MP4 files

2015-12-06 Thread Carl Eugen Hoyos
Hi! On Saturday 05 December 2015 09:16:22 pm Eran Kornblau wrote: > Fixed the else convention and squashed all commits into one, the updated > patch is attached. Thank you! One more question: Is FFmpeg able to decrypt the files (if the keys are available)? If not, it would be nice if you could

Re: [FFmpeg-devel] [PATCH 3/3] avutil/threadmessage: fix condition broadcasting

2015-12-06 Thread Nicolas George
Le quintidi 15 frimaire, an CCXXIV, Clement Boesch a écrit : > This was before providing the 2 cond version, but OK Sorry, missed that. Patch looks good to me, but you forgot to update the commit message. > I'd like to push the test as well, but it depends on the first patch > (flush func). I

Re: [FFmpeg-devel] [PATCH] doc/developer: Remove mentioning of sending pull requests

2015-12-06 Thread Ganesh Ajjanagadde
On Sun, Dec 6, 2015 at 12:49 AM, Timothy Gu wrote: > The _de facto_ policy on patch submission has always been "sending it to > the mailing list." > --- > doc/developer.texi | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/doc/developer.texi

Re: [FFmpeg-devel] [PATCH 2/3] decklink: Header cleanup

2015-12-06 Thread Michael Niedermayer
On Tue, Dec 01, 2015 at 09:46:05PM -0800, Timothy Gu wrote: > --- > libavdevice/decklink_common.cpp | 4 > libavdevice/decklink_common.h | 8 +++- > libavdevice/decklink_common_c.h | 2 ++ > libavdevice/decklink_dec.cpp| 4 > libavdevice/decklink_dec.h | 2 ++ >

[FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add ITU-R 468-4 noise meter

2015-12-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/af_itur468.c | 223 +++ libavfilter/allfilters.c | 1 + 3 files changed, 225 insertions(+) create mode 100644 libavfilter/af_itur468.c diff --git

Re: [FFmpeg-devel] [PATCH] aaccoder: prevent crash of anmr coder

2015-12-06 Thread Andreas Cadhalpun
On 05.12.2015 02:58, Claudio Freire wrote: > Alright, I see what's going on. minscaler-maxscaler and/or q0-q1 are > empty ranges, so that results in no possible solutions. > > I pushed a fix for that, leaving your "safety net" intact. Thanks. > You may wish to re-fuzz ;) I did that and found

Re: [FFmpeg-devel] [PATCH] avcodec/golomb: Mask shift amount before use in get_ue_golomb()

2015-12-06 Thread Andreas Cadhalpun
On 06.12.2015 22:48, Michael Niedermayer wrote: > On Sun, Dec 06, 2015 at 08:26:41PM +0100, Andreas Cadhalpun wrote: >> On 05.12.2015 03:12, Michael Niedermayer wrote: >>> On Fri, Dec 04, 2015 at 10:28:35PM +0100, Andreas Cadhalpun wrote: On 03.12.2015 23:09, Michael Niedermayer wrote: >

Re: [FFmpeg-devel] support for reading / writing encrypted MP4 files

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 03:42:34PM +, Eran Kornblau wrote: > Hi, > > Sorry for spamming, ran some more tests and found a bug in my patch, updated > patch file attached. > The bug was that in case subsample encryption was enabled (the default for > AVC) the subsample size > reported in the

Re: [FFmpeg-devel] [PATCH] avcodec/golomb: Mask shift amount before use in get_ue_golomb()

2015-12-06 Thread Ganesh Ajjanagadde
On Sun, Dec 6, 2015 at 6:12 PM, Andreas Cadhalpun wrote: > On 06.12.2015 22:48, Michael Niedermayer wrote: >> On Sun, Dec 06, 2015 at 08:26:41PM +0100, Andreas Cadhalpun wrote: >>> On 05.12.2015 03:12, Michael Niedermayer wrote: On Fri, Dec 04, 2015 at

Re: [FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add ITU-R 468-4 noise meter

2015-12-06 Thread Ganesh Ajjanagadde
On Sun, Dec 6, 2015 at 6:17 PM, Paul B Mahol wrote: > On 12/6/15, Ganesh Ajjanagadde wrote: >> On Sun, Dec 6, 2015 at 3:58 PM, Paul B Mahol wrote: [...] >> >> Please add a comment with a link: where do these "magic" numbers come from? >> >>>

Re: [FFmpeg-devel] [PATCH] avcodec/golomb: Mask shift amount before use in get_ue_golomb()

2015-12-06 Thread Michael Niedermayer
On Mon, Dec 07, 2015 at 12:12:54AM +0100, Andreas Cadhalpun wrote: > On 06.12.2015 22:48, Michael Niedermayer wrote: > > On Sun, Dec 06, 2015 at 08:26:41PM +0100, Andreas Cadhalpun wrote: > >> On 05.12.2015 03:12, Michael Niedermayer wrote: > >>> On Fri, Dec 04, 2015 at 10:28:35PM +0100, Andreas

Re: [FFmpeg-devel] MXF: Multiple Entry with same desc

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 11:55:25PM +0530, Anshul wrote: > Hello, > > There were multiple entry of same descriptor, I have kept entry with > /* MPEG2VideoDescriptor */ comment > and removed other one. > > Attached patch for same. > > Thanks > Anshul > mxfdec.c |1 - > 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: BASEFREQ and ENDFREQ cast to double

2015-12-06 Thread Michael Niedermayer
On Tue, Dec 01, 2015 at 11:02:07AM -0500, Ganesh Ajjanagadde wrote: > On Tue, Dec 1, 2015 at 10:38 AM, Nicolas George wrote: > > Le primidi 11 frimaire, an CCXXIV, Michael Niedermayer a écrit : > >> nicolas are you ok with this being applied ? (IIRC you objected to it) > > > > I

Re: [FFmpeg-devel] Ideas to replace the options system

2015-12-06 Thread compn
On Fri, 4 Dec 2015 15:33:39 +0100 Nicolas George wrote: > Hi. > > This is a rather long explanation on ideas I have to replace the > options system with something better. I will not work on it before I great, i'd suggest asking for comments also on libav-user and ffmpeg-user

Re: [FFmpeg-devel] Delay with mails

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 08:28:44PM +0100, Nicolas George wrote: > Hi. Not sure this is the best place to mention it: since a few days, I > noticed that mail does not arrive as swiftly as it used to. This especially > visible for trac, where I used to hear the bell for the mail sometimes > before

Re: [FFmpeg-devel] [PATCH] vp9: fix pixel format changes with threading

2015-12-06 Thread Ronald S. Bultje
Hi, On Sun, Dec 6, 2015 at 10:45 AM, Hendrik Leppkes wrote: > --- > libavcodec/vp9.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c > index dc0..5b90c13 100644 > --- a/libavcodec/vp9.c > +++

Re: [FFmpeg-devel] Fix SChannel compilation on cygwin

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 07:38:21PM +0100, Timo Rothenpieler wrote: > Patch from https://trac.ffmpeg.org/ticket/5036 is attached > tls_schannel.c |1 + > 1 file changed, 1 insertion(+) > f2fb9e0792fa907f3d925a2be23c5a36f747f9ad > 0001-avformat-add-windows.h-to-SChannel-SSP-TLS-code.patch >

Re: [FFmpeg-devel] [PATCH 1/3] aacenc: move the TNS search and filtering before PNS

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 01:57:48PM +, Rostislav Pehlivanov wrote: > The original plan was to have TNS use data from the PNS search to better > tune itself to noise but this was never used nor necessary. This should > slightly boost the PNS accuracy if TNS was used. > > Signed-off-by:

[FFmpeg-devel] [PATCH] aacenc: update max_sfb when num_swb changes

2015-12-06 Thread Andreas Cadhalpun
This fixes out-of-bounds reads in avoid_clipping. Signed-off-by: Andreas Cadhalpun --- libavcodec/aacenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 2156fc0..d48fb32 100644 --- a/libavcodec/aacenc.c +++

Re: [FFmpeg-devel] [PATCH] mjpegdec: consider chroma subsampling in size check

2015-12-06 Thread Andreas Cadhalpun
On 06.12.2015 22:18, Michael Niedermayer wrote: > On Sun, Dec 06, 2015 at 06:56:35PM +0100, Andreas Cadhalpun wrote: >> mjpegdec.c | 11 --- >> 1 file changed, 8 insertions(+), 3 deletions(-) >> a294ce9a780fdd710d3661bc201b0c72d30786d3 >>

Re: [FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add ITU-R 468-4 noise meter

2015-12-06 Thread Paul B Mahol
On 12/6/15, Ganesh Ajjanagadde wrote: > On Sun, Dec 6, 2015 at 3:58 PM, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/Makefile | 1 + >> libavfilter/af_itur468.c | 223 >>

Re: [FFmpeg-devel] [PATCH] mjpegdec: consider chroma subsampling in size check

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 06:56:35PM +0100, Andreas Cadhalpun wrote: > On 05.12.2015 04:02, Michael Niedermayer wrote: > > On Fri, Dec 04, 2015 at 03:14:21PM +0100, Andreas Cadhalpun wrote: > >> On 03.12.2015 15:48, Michael Niedermayer wrote: > >>> On Wed, Dec 02, 2015 at 10:00:13PM +0100, Andreas

Re: [FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add ITU-R 468-4 noise meter

2015-12-06 Thread Ganesh Ajjanagadde
On Sun, Dec 6, 2015 at 3:58 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/Makefile | 1 + > libavfilter/af_itur468.c | 223 > +++ > libavfilter/allfilters.c | 1 + > 3 files

Re: [FFmpeg-devel] [PATCH] avcodec/golomb: Mask shift amount before use in get_ue_golomb()

2015-12-06 Thread Michael Niedermayer
On Sun, Dec 06, 2015 at 08:26:41PM +0100, Andreas Cadhalpun wrote: > On 05.12.2015 03:12, Michael Niedermayer wrote: > > On Fri, Dec 04, 2015 at 10:28:35PM +0100, Andreas Cadhalpun wrote: > >> On 03.12.2015 23:09, Michael Niedermayer wrote: > >>> diff --git a/libavcodec/golomb.h

Re: [FFmpeg-devel] [PATCH] avcodec/golomb: Mask shift amount before use in get_ue_golomb()

2015-12-06 Thread Andreas Cadhalpun
On 05.12.2015 03:12, Michael Niedermayer wrote: > On Fri, Dec 04, 2015 at 10:28:35PM +0100, Andreas Cadhalpun wrote: >> On 03.12.2015 23:09, Michael Niedermayer wrote: >>> diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h >>> index d30bb6b..323665d 100644 >>> --- a/libavcodec/golomb.h >>> +++

Re: [FFmpeg-devel] Fix SChannel compilation on cygwin

2015-12-06 Thread Hendrik Leppkes
On Sun, Dec 6, 2015 at 7:38 PM, Timo Rothenpieler wrote: > Patch from https://trac.ffmpeg.org/ticket/5036 is attached > Should be correct. On normal windows targets probably came from some other header above, which isn't good style, I suppose. - Hendrik

[FFmpeg-devel] Delay with mails

2015-12-06 Thread Nicolas George
Hi. Not sure this is the best place to mention it: since a few days, I noticed that mail does not arrive as swiftly as it used to. This especially visible for trac, where I used to hear the bell for the mail sometimes before the web browser finished loading the updated page, but it also happens

[FFmpeg-devel] [PATCH] nvenc set slice number to 1 to improve encoding quality

2015-12-06 Thread Agatha Hu
--- libavcodec/nvenc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 43b8e78..f0e5a19 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -762,6 +762,17 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)

[FFmpeg-devel] [PATCH 0/2] arc4random support

2015-12-06 Thread Ganesh Ajjanagadde
arc4random is a great interface on the BSD's, see e.g https://www.youtube.com/watch?v=aWmLWx8ut20 for details on it, and is thus preferred over /dev/random, /dev/urandom. 1/2 (the less controversial of the 2 patches) adds support for it whenever available naturally on the system. 2/2 adds

[FFmpeg-devel] [PATCH 1/2] avutil/random_seed: use arc4random() when available

2015-12-06 Thread Ganesh Ajjanagadde
arc4random() was designed as a superior interface for system random number generation, designed for OpenBSD. It is thus an improvement to use it whenever available. As a side note, this may or may not get included in glibc, and there is a proposal to create a posix_random family based on these

Re: [FFmpeg-devel] [PATCH] nvenc set slice number to 1 to improve encoding quality

2015-12-06 Thread Nicolas George
Le septidi 17 frimaire, an CCXXIV, Agatha Hu a écrit : > +switch (avctx->codec->id) { > +case AV_CODEC_ID_H264: > +ctx->encode_config.encodeCodecConfig.h264Config.sliceMode = 3; > +ctx->encode_config.encodeCodecConfig.h264Config.sliceModeData = 1; Should this be an option?

[FFmpeg-devel] [PATCH 2/2] configure: libbsd support for arc4random()

2015-12-06 Thread Ganesh Ajjanagadde
On non-BSD machines, there exists a package libbsd for providing BSD functionality. This can be used to get support for arc4random. Thus, an opt-in --enable-libbsd is added to configure for this functionality. Tested on GNU/Linux. Signed-off-by: Ganesh Ajjanagadde ---

Re: [FFmpeg-devel] [PATCH] nvenc set slice number to 1 to improve encoding quality

2015-12-06 Thread Agatha Hu
在 2015/12/5 3:26, Timo Rothenpieler 写道: --- libavcodec/nvenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 43b8e78..b8f7f91 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -762,6 +762,9 @@ static av_cold int

Re: [FFmpeg-devel] [PATCH] nvenc set slice number to 1 to improve encoding quality

2015-12-06 Thread Agatha Hu
在 2015/12/5 3:26, Timo Rothenpieler 写道: --- libavcodec/nvenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 43b8e78..b8f7f91 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -762,6 +762,9 @@ static av_cold int

[FFmpeg-devel] [PATCH] nvenc set slice number to 1 to improve encoding quality

2015-12-06 Thread Agatha Hu
--- libavcodec/nvenc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 43b8e78..f0e5a19 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -762,6 +762,17 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)

Re: [FFmpeg-devel] [PATCH 2/2] configure: libbsd support for arc4random()

2015-12-06 Thread Hendrik Leppkes
On Mon, Dec 7, 2015 at 4:56 AM, Ganesh Ajjanagadde wrote: > On non-BSD machines, there exists a package libbsd for providing BSD > functionality. This can be used to get support for arc4random. > > Thus, an opt-in --enable-libbsd is added to configure for this >