[FFmpeg-devel] [PATCH]lavf/http: Add httpproxy to the default protocol whitelist

2016-03-12 Thread Carl Eugen Hoyos
Hi! Attached patch may fix an issue reported on the user mailing list. Please review, Carl Eugen diff --git a/libavformat/http.c b/libavformat/http.c index f18d9e2..4f9d730 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1541,7 +1541,7 @@ const URLProtocol ff_https_protocol = {

Re: [FFmpeg-devel] [PATCH 1/2] lavf/riffenc: Improve spec compliance; Fix WMP playback of AVI with xxpc chunks

2016-03-12 Thread Mats Peterson
On 03/13/2016 06:15 AM, Mats Peterson wrote: On 03/12/2016 07:12 AM, Mats Peterson wrote: New patch set. Forget the old one. From the Microsoft documentation for BITMAPINFOHEADER at https://msdn.microsoft.com/en-us/library/windows/desktop/dd318229%28v=vs.85%29.aspx: "biSize: Specifies the n

Re: [FFmpeg-devel] [PATCH 1/2] lavf/riffenc: Improve spec compliance; Fix WMP playback of AVI with xxpc chunks

2016-03-12 Thread Mats Peterson
On 03/12/2016 07:12 AM, Mats Peterson wrote: New patch set. Forget the old one. From the Microsoft documentation for BITMAPINFOHEADER at https://msdn.microsoft.com/en-us/library/windows/desktop/dd318229%28v=vs.85%29.aspx: "biSize: Specifies the number of bytes required by the structure. This

Re: [FFmpeg-devel] [PATCHv5 1/3] tests/gapless: add gapless aac tests

2016-03-12 Thread Michael Niedermayer
On Sun, Mar 13, 2016 at 01:12:25AM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > tests/fate-run.sh| 28 ++ > tests/fate/gapless.mak | 28 +- > tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 43

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 10:28 PM, Mats Peterson wrote: On 03/12/2016 10:25 PM, Mats Peterson wrote: On 03/12/2016 10:16 PM, Mats Peterson wrote: On 03/12/2016 06:39 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 04:37:39PM +0100, Mats Peterson wrote: On 03/12/2016 04:33 PM, Mats Peterson wrote:

Re: [FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding

2016-03-12 Thread Hendrik Leppkes
On Sun, Mar 13, 2016 at 3:14 AM, Hendrik Leppkes wrote: > On Sat, Mar 12, 2016 at 1:44 PM, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch allows GBR encoding and decoding for hevc. >> > > Encoder and decoder patches should be separated, they are quite > distinct code other then being related

Re: [FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding

2016-03-12 Thread Hendrik Leppkes
On Sat, Mar 12, 2016 at 1:44 PM, Carl Eugen Hoyos wrote: > Hi! > > Attached patch allows GBR encoding and decoding for hevc. > Encoder and decoder patches should be separated, they are quite distinct code other then being related by codec, otherwise its probably fine. - Hendrik _

[FFmpeg-devel] [PATCH 2/2] avutil/dict: add warning to docs about invalidating existing entries when adding a new entry

2016-03-12 Thread Marton Balint
Signed-off-by: Marton Balint --- libavutil/dict.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavutil/dict.h b/libavutil/dict.h index b0aa784..542d540 100644 --- a/libavutil/dict.h +++ b/libavutil/dict.h @@ -116,6 +116,9 @@ int av_dict_count(const AVDictionary *m); * Note: If AV_DI

[FFmpeg-devel] [PATCH 1/2] avutil/dict: do not realloc entries when deleting a non-existing item

2016-03-12 Thread Marton Balint
Deleting a non-existing item should not invalidate existing entries returned with av_dict_get. Signed-off-by: Marton Balint --- libavutil/dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/dict.c b/libavutil/dict.c index 8bb65a1..1203562 100644 --- a/libavutil/d

[FFmpeg-devel] Fwd: Need help in fixing in FFmpegWrapper: av_interleaved_write_frame video issue.

2016-03-12 Thread krish
Hello, I am new to this forum and have zero knowledge on ffmpeg. I have forwarded this to users group a 10 hours ago but haven't any reply. Not sure if I can post in dev forum. Sincere apologies if this mail doesn't fit dev forum's criteria. I am using KickFlip's sdk for live straming from an and

[FFmpeg-devel] [PATCHv5 2/3] avformat/utils: increase detected start_time with skip_samples

2016-03-12 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/utils.c | 10 +++- tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 68 ++-- tests/ref/fate/gaplessinfo-itunes1 | 4 +- tests/ref/fate/gaplessinfo-itunes2 | 4 +- 4 files changed, 46

[FFmpeg-devel] [PATCHv5 3/3] avformat/mov: read start_pad from edit list start time if codec is aac

2016-03-12 Thread Marton Balint
Related to ticket #2324, #2325. Stream duration still need to be fixed... Signed-off-by: Marton Balint --- libavformat/mov.c| 3 +++ tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 8 tests/ref/fate/gaplessenc-pcm-to-mov-aac | 8 3 files changed,

[FFmpeg-devel] [PATCHv5 1/3] tests/gapless: add gapless aac tests

2016-03-12 Thread Marton Balint
Signed-off-by: Marton Balint --- tests/fate-run.sh| 28 ++ tests/fate/gapless.mak | 28 +- tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 43 tests/ref/fate/gaplessenc-pcm-to-mov-aac

[FFmpeg-devel] [PATCHv4 2/3] avformat/utils: increase detected start_time with skip_samples

2016-03-12 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/utils.c| 10 -- tests/ref/fate/gaplessinfo-itunes1 | 4 ++-- tests/ref/fate/gaplessinfo-itunes2 | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index e0aea87.

[FFmpeg-devel] [PATCHv4 3/3] avformat/mov: read start_pad from edit list start time if codec is aac

2016-03-12 Thread Marton Balint
Related to ticket #2324, #2325. Stream duration still need to be fixed... Signed-off-by: Marton Balint --- libavformat/mov.c| 3 +++ tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 8 tests/ref/fate/gaplessenc-pcm-to-mov-aac | 8 3 files changed,

[FFmpeg-devel] [PATCHv4 1/3] tests/gapless: add gapless aac tests

2016-03-12 Thread Marton Balint
Signed-off-by: Marton Balint --- tests/fate-run.sh| 28 ++ tests/fate/gapless.mak | 29 ++- tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 43 tests/ref/fate/gaplessenc-pcm-to-mov-aac

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Thilo Borgmann
Am 12.03.16 um 15:14 schrieb Thilo Borgmann: > Add coreimage filter for OSX. Should now also work with Linux based configure. -Thilo From af0bbaebb1a04be203338fa7bf199c26a7dfa3df Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Sun, 13 Mar 2016 00:35:25 +0100 Subject: [PATCH 2/2] lavf: Add co

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Thilo Borgmann
Am 13.03.16 um 00:29 schrieb James Almer: > On 3/12/2016 7:59 PM, Thilo Borgmann wrote: >> Am 12.03.16 um 23:45 schrieb James Almer: On 3/12/2016 7:09 PM, Thilo Borgmann wrote: >> Am 12.03.16 um 21:45 schrieb Michael Niedermayer: >> On Sat, Mar 12, 2016 at 03:19:11PM +0100, Thilo B

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_decimate: Use the correct frame in difference calculation

2016-03-12 Thread Michael Niedermayer
On Wed, Dec 16, 2015 at 06:54:55PM +0100, Michael Niedermayer wrote: > From: Michael Niedermayer > > Fixes Ticket4964 > > Signed-off-by: Michael Niedermayer > --- > libavfilter/vf_decimate.c |6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) patchset applied [...] -- Michael

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread James Almer
On 3/12/2016 7:59 PM, Thilo Borgmann wrote: > Am 12.03.16 um 23:45 schrieb James Almer: >> > On 3/12/2016 7:09 PM, Thilo Borgmann wrote: >>> >> Am 12.03.16 um 21:45 schrieb Michael Niedermayer: > On Sat, Mar 12, 2016 at 03:19:11PM +0100, Thilo Borgmann wrote: >>> >> Am 12.03.16 um

Re: [FFmpeg-devel] [PATCHv3 1/3] tests/gapless: add gapless aac tests

2016-03-12 Thread Marton Balint
On Sat, 12 Mar 2016, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:49:10AM +0100, Marton Balint wrote: Signed-off-by: Marton Balint --- tests/fate-run.sh | 30 ++ tests/fate/gapless.mak| 20 +- tests/ref/fate/gapless2-ipod-aac1 | 82 +++

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Thilo Borgmann
Am 12.03.16 um 23:45 schrieb James Almer: > On 3/12/2016 7:09 PM, Thilo Borgmann wrote: >> Am 12.03.16 um 21:45 schrieb Michael Niedermayer: On Sat, Mar 12, 2016 at 03:19:11PM +0100, Thilo Borgmann wrote: >> Am 12.03.16 um 15:14 schrieb Thilo Borgmann: [...] also breaks build

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread James Almer
On 3/12/2016 7:09 PM, Thilo Borgmann wrote: > Am 12.03.16 um 21:45 schrieb Michael Niedermayer: >> > On Sat, Mar 12, 2016 at 03:19:11PM +0100, Thilo Borgmann wrote: >>> >> Am 12.03.16 um 15:14 schrieb Thilo Borgmann: >>> Add coreimage filter for OSX. >>> >> >>> >> Corrected patch attached. >>>

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Thilo Borgmann
Am 12.03.16 um 21:45 schrieb Michael Niedermayer: > On Sat, Mar 12, 2016 at 03:19:11PM +0100, Thilo Borgmann wrote: >> Am 12.03.16 um 15:14 schrieb Thilo Borgmann: >>> Add coreimage filter for OSX. >> >> Corrected patch attached. >> >> -Thilo >> > >> Changelog |1 >> MAINTAI

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 10:25 PM, Mats Peterson wrote: On 03/12/2016 10:16 PM, Mats Peterson wrote: On 03/12/2016 06:39 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 04:37:39PM +0100, Mats Peterson wrote: On 03/12/2016 04:33 PM, Mats Peterson wrote: On 03/12/2016 04:29 PM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 10:16 PM, Mats Peterson wrote: On 03/12/2016 06:39 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 04:37:39PM +0100, Mats Peterson wrote: On 03/12/2016 04:33 PM, Mats Peterson wrote: On 03/12/2016 04:29 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:54:45PM +01

Re: [FFmpeg-devel] [PATCH] Add support for HLS PLAYLIST types EVENT and VOD

2016-03-12 Thread Michael Niedermayer
On Thu, Dec 17, 2015 at 03:16:45AM +, Adam Kent wrote: > Thanks Carl, good point, hope this is better. > > --- > doc/muxers.texi | 8 > libavformat/hlsenc.c | 20 > 2 files changed, 28 insertions(+) applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 06:39 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 04:37:39PM +0100, Mats Peterson wrote: On 03/12/2016 04:33 PM, Mats Peterson wrote: On 03/12/2016 04:29 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: On 03/12/2016 02:52

Re: [FFmpeg-devel] [PATCH] fix http chunk encoding parsing

2016-03-12 Thread Michael Niedermayer
On Tue, Dec 15, 2015 at 12:31:18PM +0300, Eugene Kosov wrote: > --- > ffserver.c | 77 > -- > 1 file changed, 50 insertions(+), 27 deletions(-) sorry for the late reply please explain what exactly this patch fixes and how to reproduce

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 03:19:11PM +0100, Thilo Borgmann wrote: > Am 12.03.16 um 15:14 schrieb Thilo Borgmann: > > Add coreimage filter for OSX. > > Corrected patch attached. > > -Thilo > > Changelog |1 > MAINTAINERS|1 > configure |

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_quantization: use cbrt table

2016-03-12 Thread Reimar Döffinger
On Sat, Mar 12, 2016 at 12:09:13PM -0500, Ganesh Ajjanagadde wrote: > And yes, for me the proof of the pudding is in the eating. In other > words, if you or someone else sends a small, simple patch achieving > the above one-line change, I will be very happy and will learn > something. I don't thin

[FFmpeg-devel] [PATCH] Move cbrt tables to a separate cbrt_data(_fixed).c files.

2016-03-12 Thread Reimar Döffinger
Allows sharing and reusing the data between different files. Signed-off-by: Reimar Döffinger --- libavcodec/Makefile | 10 +- libavcodec/aacdec.c | 2 +- libavcodec/aacdec_fixed.c | 6 +++--- libavcodec/aacdec_template.c| 4 ++-- libav

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 04:37:39PM +0100, Mats Peterson wrote: > On 03/12/2016 04:33 PM, Mats Peterson wrote: > >On 03/12/2016 04:29 PM, Michael Niedermayer wrote: > >>On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: > >>>On 03/12/2016 02:52 PM, Michael Niedermayer wrote: > On Sat

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_quantization: use cbrt table

2016-03-12 Thread Reimar Döffinger
On Sat, Mar 12, 2016 at 12:09:13PM -0500, Ganesh Ajjanagadde wrote: > And yes, for me the proof of the pudding is in the eating. In other > words, if you or someone else sends a small, simple patch achieving > the above one-line change, I will be very happy and will learn > something. Does that me

Re: [FFmpeg-devel] [PATCHv2 2/2] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Ganesh Ajjanagadde
On Sat, Mar 12, 2016 at 11:42 AM, Reimar Döffinger wrote: > On Sat, Mar 12, 2016 at 11:11:32AM -0500, Ganesh Ajjanagadde wrote: >> On Sat, Mar 12, 2016 at 11:02 AM, Michael Niedermayer >> wrote: >> >> +static inline double ziggurat(AVLFG *lfg) >> >> +{ >> >> +while (1) { >> > >> >> +u

[FFmpeg-devel] [PATCHv3] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Ganesh Ajjanagadde
Code taken from the Julia project, licensed under MIT: https://github.com/JuliaLang/julia/blob/master/base/random.jl, in turn derived from: "The Ziggurat Method for generating random variables" - Marsaglia and Tsang. Paper and reference code: http://www.jstatsoft.org/v05/i08/. This is well known

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_quantization: use cbrt table

2016-03-12 Thread Ganesh Ajjanagadde
On Sat, Mar 12, 2016 at 11:35 AM, Reimar Döffinger wrote: > On Sat, Mar 12, 2016 at 10:21:10AM -0500, Ganesh Ajjanagadde wrote: >> Ok. Let me put it this way: I have a super simple patch that simply >> moves stuff to cbrt_data.c and works perfectly well under default >> configure, with no changes

Re: [FFmpeg-devel] [PATCHv2 2/2] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Reimar Döffinger
On Sat, Mar 12, 2016 at 11:11:32AM -0500, Ganesh Ajjanagadde wrote: > On Sat, Mar 12, 2016 at 11:02 AM, Michael Niedermayer > wrote: > >> +static inline double ziggurat(AVLFG *lfg) > >> +{ > >> +while (1) { > > > >> +uint64_t r = (((uint64_t)av_lfg_get(lfg) << 32) + > >> av_lfg_get(lf

Re: [FFmpeg-devel] [PATCHv2 2/2] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 11:11:32AM -0500, Ganesh Ajjanagadde wrote: > On Sat, Mar 12, 2016 at 11:02 AM, Michael Niedermayer > wrote: > > On Sat, Mar 12, 2016 at 08:58:41AM -0500, Ganesh Ajjanagadde wrote: > >> Code taken from the Julia project, licensed under MIT: > >> https://github.com/JuliaLang

[FFmpeg-devel] [PATCHv2] lavc/aacenc_utils: replace powf(x, y) by expf(logf(x), y)

2016-03-12 Thread Ganesh Ajjanagadde
This is ~2x faster for y not an integer on Haswell+GCC, and should generally be faster due to the fact that anyway powf essentially does this under the hood. Made an inline function in lavu/internal.h for this purpose. Note that there are some accuracy differences, that should generally be negligi

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_quantization: use cbrt table

2016-03-12 Thread Reimar Döffinger
On Sat, Mar 12, 2016 at 10:21:10AM -0500, Ganesh Ajjanagadde wrote: > Ok. Let me put it this way: I have a super simple patch that simply > moves stuff to cbrt_data.c and works perfectly well under default > configure, with no changes to the Makefile apart from adding > cbrt_data.o to the list of o

Re: [FFmpeg-devel] Subtitles for GSoC

2016-03-12 Thread Ganesh Ajjanagadde
On Wed, Mar 9, 2016 at 6:33 AM, Nicolas George wrote: > Le nonidi 19 ventôse, an CCXXIV, Clement Boesch a écrit : [...] > >> - they are defined in libavcodec, and we do not want libavfilter to >> depend on libavcodec for a core feature (we have a few filters >> depending on it, but that's opti

Re: [FFmpeg-devel] [PATCH]lavf/mkvenc: Set bit_depth for lossless audio codecs

2016-03-12 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > On Sat, 12 Mar 2016 16:51:18 +0100 > Carl Eugen Hoyos ag.or.at> wrote: > > > Attached patch makes the output of the mkv muxer more > > similar to what mkvmerge does. > > May fix ticket #5332. > > > > Please comment, Carl Eugen > > Are you sure this is correct,

Re: [FFmpeg-devel] [PATCH]lavf/mkvenc: Set bit_depth for lossless audio codecs

2016-03-12 Thread wm4
On Sat, 12 Mar 2016 16:51:18 +0100 Carl Eugen Hoyos wrote: > Hi! > > Attached patch makes the output of the mkv muxer more similar to what > mkvmerge does. > May fix ticket #5332. > > Please comment, Carl Eugen Are you sure this is correct, and _why_? _

Re: [FFmpeg-devel] [PATCHv2 2/2] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Ganesh Ajjanagadde
On Sat, Mar 12, 2016 at 11:02 AM, Michael Niedermayer wrote: > On Sat, Mar 12, 2016 at 08:58:41AM -0500, Ganesh Ajjanagadde wrote: >> Code taken from the Julia project, licensed under MIT: >> https://github.com/JuliaLang/julia/blob/master/base/random.jl, in turn >> derived from: "The Ziggurat Meth

Re: [FFmpeg-devel] [PATCHv2 2/2] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 08:58:41AM -0500, Ganesh Ajjanagadde wrote: > Code taken from the Julia project, licensed under MIT: > https://github.com/JuliaLang/julia/blob/master/base/random.jl, in turn > derived from: "The Ziggurat Method for generating random variables" - > Marsaglia and Tsang. > >

Re: [FFmpeg-devel] [PATCHv2 1/2] lavu/lfg-test: add simple sample mean, stddev checks

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 08:58:40AM -0500, Ganesh Ajjanagadde wrote: > Also added a TODO to change to a proper normality test in the future. > > Signed-off-by: Ganesh Ajjanagadde > --- > libavutil/lfg.c | 20 ++-- > 1 file changed, 18 insertions(+), 2 deletions(-) LGTM thx [...

[FFmpeg-devel] [PATCH]lavf/mkvenc: Set bit_depth for lossless audio codecs

2016-03-12 Thread Carl Eugen Hoyos
Hi! Attached patch makes the output of the mkv muxer more similar to what mkvmerge does. May fix ticket #5332. Please comment, Carl Eugen diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 05b1b94..b721dc3 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 04:42 PM, Mats Peterson wrote: On 03/12/2016 04:37 PM, Mats Peterson wrote: On 03/12/2016 04:33 PM, Mats Peterson wrote: On 03/12/2016 04:29 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: On 03/12/2016 02:52 PM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 04:37 PM, Mats Peterson wrote: On 03/12/2016 04:33 PM, Mats Peterson wrote: On 03/12/2016 04:29 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: On 03/12/2016 02:52 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:36:59PM +01

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 04:33 PM, Mats Peterson wrote: On 03/12/2016 04:29 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: On 03/12/2016 02:52 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: On 03/12/2016 02:26

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 04:29 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: On 03/12/2016 02:52 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: On 03/12/2016 02:26 PM, Mats Peterson wrote: On 03/12/2016 12:53

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 02:54:45PM +0100, Mats Peterson wrote: > On 03/12/2016 02:52 PM, Michael Niedermayer wrote: > >On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: > >>On 03/12/2016 02:26 PM, Mats Peterson wrote: > >>>On 03/12/2016 12:53 PM, Michael Niedermayer wrote: > On Sat

[FFmpeg-devel] [PATCH 2/2 v3] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
Forgot to check return values from avi_add_ientry(). Original description follows: Here's an interesting one. Windows Media Player won't make any palette changes without the xxpc chunks being indexed. Fixing the logic for reading and seeking with xxpc chunks in the demuxer is a future task. N

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_quantization: use cbrt table

2016-03-12 Thread Ganesh Ajjanagadde
On Fri, Mar 11, 2016 at 3:05 AM, Reimar Döffinger wrote: > On 11.03.2016, at 03:48, Ganesh Ajjanagadde wrote: > >> On Thu, Mar 10, 2016 at 3:12 AM, Reimar Döffinger >> wrote: >>> On 10.03.2016, at 00:49, Ganesh Ajjanagadde wrote: >>> There is no reason for computing cbrtf at runtime; we ha

[FFmpeg-devel] [PATCH 2/2 v2] lavf/avienc: Add 'xxpc' entries to index

2016-03-12 Thread Mats Peterson
Made some changes based on your comments, Michael. Here's an interesting one. Windows Media Player won't make any palette changes without the xxpc chunks being indexed. Fixing the logic for reading and seeking with xxpc chunks in the demuxer is a future task. Now the muxing of video with xxpc

Re: [FFmpeg-devel] [PATCH] lavf/utils: Fix DTS for short H264 streams.

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 02:40:25AM -0800, Sasi Inguva wrote: > Fill DTS if all packets have been read in avformat_find_stream_info, and still > has_decode_delay_been_guessed returns false. > > Signed-off-by: Sasi Inguva > --- > libavformat/utils.c | 77 ++--- > t

Re: [FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Thilo Borgmann
Am 12.03.16 um 15:14 schrieb Thilo Borgmann: > Add coreimage filter for OSX. Corrected patch attached. -Thilo From 124fb0ce2a30c965ec28c8fbff1c04a872f33bc6 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Sat, 12 Mar 2016 15:18:04 +0100 Subject: [PATCH 2/2] lavf: Add coreimage filter for GPU

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 03:00 PM, Mats Peterson wrote: On 03/12/2016 02:54 PM, Mats Peterson wrote: On 03/12/2016 02:52 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: On 03/12/2016 02:26 PM, Mats Peterson wrote: On 03/12/2016 12:53 PM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_utils: replace powf(x, y) by expf(logf(x), y)

2016-03-12 Thread Ganesh Ajjanagadde
On Sat, Mar 12, 2016 at 9:15 AM, Ronald S. Bultje wrote: > Hi, > > On Sat, Mar 12, 2016 at 9:03 AM, Ganesh Ajjanagadde > wrote: > >> On Fri, Mar 11, 2016 at 9:30 AM, Ronald S. Bultje >> wrote: >> > Hi, >> > >> > On Thu, Mar 10, 2016 at 9:23 PM, Ganesh Ajjanagadde >> > wrote: >> > >> >> On Thu,

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_utils: replace powf(x, y) by expf(logf(x), y)

2016-03-12 Thread Ronald S. Bultje
Hi, On Sat, Mar 12, 2016 at 9:03 AM, Ganesh Ajjanagadde wrote: > On Fri, Mar 11, 2016 at 9:30 AM, Ronald S. Bultje > wrote: > > Hi, > > > > On Thu, Mar 10, 2016 at 9:23 PM, Ganesh Ajjanagadde > > wrote: > > > >> On Thu, Mar 10, 2016 at 8:56 AM, Ronald S. Bultje > >> wrote: > >> > Hi, > >> > >

[FFmpeg-devel] [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX.

2016-03-12 Thread Thilo Borgmann
Add coreimage filter for OSX. -Thilo From 82c98fc9e27655e3e9b32adbf4122f94649359c5 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Sat, 12 Mar 2016 14:54:49 +0100 Subject: [PATCH 2/2] lavf: Add coreimage filter for GPU based image filtering on OSX. --- Changelog| 1 + MAIN

[FFmpeg-devel] [PATCH 1/2] lavu/dict: Add new flag to allow multiple equal keys.

2016-03-12 Thread Thilo Borgmann
Multikey for AVDictionary. -Thilo From a1d9ce388c69eabb256e6b351c2acd36d7f4076e Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Sat, 12 Mar 2016 14:52:17 +0100 Subject: [PATCH 1/2] lavu/dict: Add new flag to allow multiple equal keys. --- libavutil/dict.c | 5 - libavutil/dict.h | 5 +++

[FFmpeg-devel] [PATCH] Add coreimage filter for GPU based image filtering on OSX

2016-03-12 Thread Thilo Borgmann
Hi, addressing ticket #4143. This adds a basic filter for GPU filtering using Apple's Core Image API. Current restrictions are that only 1-to-1 filters and 0-to-1 generators are supported. N-to-N filters and transition filters are further work. Also all processing is currently done for ARGB only

Re: [FFmpeg-devel] [PATCH] lavc/aacenc_utils: replace powf(x, y) by expf(logf(x), y)

2016-03-12 Thread Ganesh Ajjanagadde
On Fri, Mar 11, 2016 at 9:30 AM, Ronald S. Bultje wrote: > Hi, > > On Thu, Mar 10, 2016 at 9:23 PM, Ganesh Ajjanagadde > wrote: > >> On Thu, Mar 10, 2016 at 8:56 AM, Ronald S. Bultje >> wrote: >> > Hi, >> > >> > On Thu, Mar 10, 2016 at 2:37 AM, Reimar Döffinger < >> reimar.doeffin...@gmx.de> >>

Re: [FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding

2016-03-12 Thread Carl Eugen Hoyos
Moritz Barsnick gmx.net> writes: > > +case AV_PIX_FMT_GBRP: > > +case AV_PIX_FMT_GBRP10: > > +case AV_PIX_FMT_GBRP12: > > +ctx->params->vui.matrixCoeffs = AVCOL_SPC_RGB; > > +ctx->params->vui.bEnableVideoSignalTypePresentFlag = 1; > > +ctx->params->vui.bEnable

Re: [FFmpeg-devel] AAC optimizations and 3.0

2016-03-12 Thread Ganesh Ajjanagadde
On Fri, Mar 11, 2016 at 2:18 AM, Hendrik Leppkes wrote: > On Fri, Mar 11, 2016 at 2:09 AM, Michael Niedermayer > wrote: >> On Thu, Mar 10, 2016 at 09:28:50PM -0300, Claudio Freire wrote: >>> On Thu, Mar 10, 2016 at 8:34 PM, Michael Niedermayer >>> wrote: >>> > Hi all >>> > >>> > if you fix speed

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 02:54 PM, Mats Peterson wrote: On 03/12/2016 02:52 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: On 03/12/2016 02:26 PM, Mats Peterson wrote: On 03/12/2016 12:53 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 07:14:16AM +01

Re: [FFmpeg-devel] [PATCH] lavu/lfg: switch to Ziggurat algorithm for normal random number generation

2016-03-12 Thread Ganesh Ajjanagadde
On Fri, Mar 11, 2016 at 8:56 AM, Michael Niedermayer wrote: > On Thu, Mar 10, 2016 at 11:16:08PM -0500, Ganesh Ajjanagadde wrote: [...] >> +static inline double ziggurat(AVLFG *lfg) >> +{ >> +while (1) { > >> +uint64_t r = (av_lfg_get(lfg) << 31) + av_lfg_get(lfg); > > this looks like

[FFmpeg-devel] [PATCHv2 2/2] lavu/lfg: switch to Ziggurat algorithm for normal random number generation (WIP)

2016-03-12 Thread Ganesh Ajjanagadde
Code taken from the Julia project, licensed under MIT: https://github.com/JuliaLang/julia/blob/master/base/random.jl, in turn derived from: "The Ziggurat Method for generating random variables" - Marsaglia and Tsang. Paper and reference code: http://www.jstatsoft.org/v05/i08/. This is well known

[FFmpeg-devel] [PATCHv2 1/2] lavu/lfg-test: add simple sample mean, stddev checks

2016-03-12 Thread Ganesh Ajjanagadde
Also added a TODO to change to a proper normality test in the future. Signed-off-by: Ganesh Ajjanagadde --- libavutil/lfg.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/libavutil/lfg.c b/libavutil/lfg.c index ffa2f1f..5ffd76f 100644 --- a/libavutil/lf

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 02:52 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: On 03/12/2016 02:26 PM, Mats Peterson wrote: On 03/12/2016 12:53 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 07:14:16AM +0100, Mats Peterson wrote: Here's an interestin

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 02:36:59PM +0100, Mats Peterson wrote: > On 03/12/2016 02:26 PM, Mats Peterson wrote: > >On 03/12/2016 12:53 PM, Michael Niedermayer wrote: > >>On Sat, Mar 12, 2016 at 07:14:16AM +0100, Mats Peterson wrote: > >>>Here's an interesting one. Windows Media Player won't make any

Re: [FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding

2016-03-12 Thread Moritz Barsnick
On Sat, Mar 12, 2016 at 13:44:13 +0100, Carl Eugen Hoyos wrote: > break; > +case AV_PIX_FMT_GBRP: > +case AV_PIX_FMT_GBRP10: > +case AV_PIX_FMT_GBRP12: > +ctx->params->vui.matrixCoeffs = AVCOL_SPC_RGB; > +ctx->params->vui.bEnableVideoSignalTypePresentFlag = 1;

Re: [FFmpeg-devel] [PATCHv3 1/3] tests/gapless: add gapless aac tests

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 02:49:10AM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > tests/fate-run.sh | 30 ++ > tests/fate/gapless.mak| 20 +- > tests/ref/fate/gapless2-ipod-aac1 | 82 > +++ >

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 02:26 PM, Mats Peterson wrote: On 03/12/2016 12:53 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 07:14:16AM +0100, Mats Peterson wrote: Here's an interesting one. Windows Media Player won't make any palette changes without the xxpc chunks beeing indexed. Fixing the logic

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 02:20 PM, Mats Peterson wrote: On 03/12/2016 01:14 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 11:43:32AM +0100, Mats Peterson wrote: why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video Capture D

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Mats Peterson
On 03/12/2016 12:53 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 07:14:16AM +0100, Mats Peterson wrote: Here's an interesting one. Windows Media Player won't make any palette changes without the xxpc chunks beeing indexed. Fixing the logic for reading and seeking with xxpc chunks in t

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 01:36 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 12:34:00PM +0100, Mats Peterson wrote: Mats Peterson skrev: (12 mars 2016 12:30:28 CET) Mats Peterson skrev: (12 mars 2016 12:25:30 CET) Mats Peterson skrev: (12 mars 2016 12:14:03 CET) On 03/12/2016 12:08 PM, Mats

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 01:14 PM, Michael Niedermayer wrote: On Sat, Mar 12, 2016 at 11:43:32AM +0100, Mats Peterson wrote: why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video Capture Driver, Version: 3.8.2.2" in asv2_320x240_3.a

Re: [FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding

2016-03-12 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > AV_PIX_FMT_YUV420P, > AV_PIX_FMT_YUV422P, > AV_PIX_FMT_YUV444P, > +AV_PIX_FMT_GBRP10, Fixed locally to AV_PIX_FMT_GBRP; Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ff

[FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding

2016-03-12 Thread Carl Eugen Hoyos
Hi! Attached patch allows GBR encoding and decoding for hevc. Please comment, Carl Eugen diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index bcb63a3..7237ee6 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -561,6 +561,17 @@ static void decode_vui(GetBitContext *gb, AVCo

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 12:34:00PM +0100, Mats Peterson wrote: > Mats Peterson skrev: (12 mars 2016 > 12:30:28 CET) > >Mats Peterson skrev: (12 mars 2016 > >12:25:30 CET) > >>Mats Peterson skrev: (12 mars 2016 > >>12:14:03 CET) > >>>On 03/12/2016 12:08 PM, Mats Peterson wrote: > On 03/12/2

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 11:43:32AM +0100, Mats Peterson wrote: > why do you think they are written by libavformat ? > > i see: > "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video > Capture Driver, Version: 3.8.2.2" > > in asv2_320x240_3.avi > >

Re: [FFmpeg-devel] [PATCH] lavu/lfg: switch to Ziggurat algorithm for normal random number generation

2016-03-12 Thread Ganesh Ajjanagadde
On Fri, Mar 11, 2016 at 3:10 AM, Reimar Döffinger wrote: > On 11.03.2016, at 05:16, Ganesh Ajjanagadde wrote: >> Code taken from the Julia project, licensed under MIT: >> https://github.com/JuliaLang/julia/blob/master/base/random.jl, in turn >> derived from: "The Ziggurat Method for generating ra

Re: [FFmpeg-devel] [PATCH 2/2] lavf/avienc: Add xxpc entries to index

2016-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2016 at 07:14:16AM +0100, Mats Peterson wrote: > Here's an interesting one. Windows Media Player won't make any palette > changes without the xxpc chunks beeing indexed. > > Fixing the logic for reading and seeking with xxpc chunks in the > demuxer is a future task. Now the muxing

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
Mats Peterson skrev: (12 mars 2016 12:30:28 CET) >Mats Peterson skrev: (12 mars 2016 >12:25:30 CET) >>Mats Peterson skrev: (12 mars 2016 >>12:14:03 CET) >>>On 03/12/2016 12:08 PM, Mats Peterson wrote: On 03/12/2016 11:53 AM, Mats Peterson wrote: > On 03/12/2016 11:48 AM, Mats Peterson

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
Mats Peterson skrev: (12 mars 2016 12:25:30 CET) >Mats Peterson skrev: (12 mars 2016 >12:14:03 CET) >>On 03/12/2016 12:08 PM, Mats Peterson wrote: >>> On 03/12/2016 11:53 AM, Mats Peterson wrote: On 03/12/2016 11:48 AM, Mats Peterson wrote: > On 03/12/2016 11:43 AM, Mats Peterson wrote:

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
Mats Peterson skrev: (12 mars 2016 12:14:03 CET) >On 03/12/2016 12:08 PM, Mats Peterson wrote: >> On 03/12/2016 11:53 AM, Mats Peterson wrote: >>> On 03/12/2016 11:48 AM, Mats Peterson wrote: On 03/12/2016 11:43 AM, Mats Peterson wrote: > why do you think they are written by libavfor

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 12:08 PM, Mats Peterson wrote: On 03/12/2016 11:53 AM, Mats Peterson wrote: On 03/12/2016 11:48 AM, Mats Peterson wrote: On 03/12/2016 11:43 AM, Mats Peterson wrote: why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 11:53 AM, Mats Peterson wrote: On 03/12/2016 11:48 AM, Mats Peterson wrote: On 03/12/2016 11:43 AM, Mats Peterson wrote: why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video Capture Driver, Version: 3.8.2.2

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 11:48 AM, Mats Peterson wrote: On 03/12/2016 11:43 AM, Mats Peterson wrote: why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video Capture Driver, Version: 3.8.2.2" in asv2_320x240_3.avi Regarding asv1/as

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 11:43 AM, Mats Peterson wrote: why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video Capture Driver, Version: 3.8.2.2" in asv2_320x240_3.avi Regarding asv1/asv2, they do use 48 in biSize, but since there

Re: [FFmpeg-devel] [PATCH] lavf/utils: Fix DTS for short H264 streams.

2016-03-12 Thread Sasi Inguva
Sent the patch with modifications, and also added a fate test. Please use this file https://drive.google.com/file/d/0Bz6XfEJZ-9N3cy1nYnRweHRFRjQ/view?usp=sharing for the fate test . framecrc muxer is giving valid DTS with/without this patch so I used probeframes for the test. On Fri, Mar 11, 2016

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
why do you think they are written by libavformat ? i see: "C:\PROGRAM FILES\ASUS\ASUS LIVE\ASUSLIVE.EXE -AVICAP32- ASUS Video Capture Driver, Version: 3.8.2.2" in asv2_320x240_3.avi Regarding asv1/asv2, they do use 48 in biSize, but since there is no official documentation for these codecs

[FFmpeg-devel] [PATCH] lavf/utils: Fix DTS for short H264 streams.

2016-03-12 Thread Sasi Inguva
Fill DTS if all packets have been read in avformat_find_stream_info, and still has_decode_delay_been_guessed returns false. Signed-off-by: Sasi Inguva --- libavformat/utils.c | 77 ++--- tests/fate/h264.mak | 3 + tests/ref/fate/h264-dts_5frames | 1

Re: [FFmpeg-devel] [PATCH] avcodec/alsdec: fix max bits in ltp prefix code

2016-03-12 Thread Thilo Borgmann
Am 12.03.16 um 01:57 schrieb Michael Niedermayer: > On Fri, Mar 11, 2016 at 10:40:06PM +0100, Thilo Borgmann wrote: >> Am 11.03.16 um 22:04 schrieb Umair Khan: >>> The maximum number of bits int the prefix code for >>> p(0) is 4. By setting it as 3, we were missing the >>> last 0 bit. >>> This fixe

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Mats Peterson
On 03/12/2016 10:58 AM, Michael Niedermayer wrote: On Fri, Mar 11, 2016 at 10:26:43PM +0100, Mats Peterson wrote: On 03/11/2016 06:45 PM, Michael Niedermayer wrote: On Fri, Mar 11, 2016 at 03:31:55PM +0100, Mats Peterson wrote: On 03/11/2016 03:27 PM, Mats Peterson wrote: On 03/11/2016 03:21

Re: [FFmpeg-devel] libavutil/aes_ctr.c

2016-03-12 Thread Michael Niedermayer
On Fri, Mar 11, 2016 at 09:16:15AM -0800, NagaChaitanya Vellanki wrote: > Need guidance on getting started to write tests for libavutil/aes_ctr.c. please see how the code is used in libavformat/movenccenc.c and libavformat/mov.c [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13361

Re: [FFmpeg-devel] [PATCH 1/3] lavf/riffenc: Improve spec compliance

2016-03-12 Thread Michael Niedermayer
On Fri, Mar 11, 2016 at 10:26:43PM +0100, Mats Peterson wrote: > On 03/11/2016 06:45 PM, Michael Niedermayer wrote: > >On Fri, Mar 11, 2016 at 03:31:55PM +0100, Mats Peterson wrote: > >>On 03/11/2016 03:27 PM, Mats Peterson wrote: > >>>On 03/11/2016 03:21 PM, Mats Peterson wrote: > On 03/11/201

  1   2   >