Re: [FFmpeg-devel] [PATCH] avfilter/af_atempo: fix drift calculation, ticket #6157

2017-02-19 Thread Steven Liu
2017-02-19 10:42 GMT+08:00 Steven Liu : > > > 2017-02-19 10:22 GMT+08:00 Pavel Koshevoy : > >> On 02/18/2017 07:04 PM, Steven Liu wrote: >> >>> >>> >>> 2017-02-19 6:46 GMT+08:00 >> pkoshe...@gmail.com>>: >>> >>> From: Pavel Koshevoy >> pkoshe...@gmail.com>> >>> >>> --- >>> libavfilter

Re: [FFmpeg-devel] [PATCH 1/4] vp8: Add hwaccel hooks

2017-02-19 Thread Michael Niedermayer
On Sun, Feb 19, 2017 at 09:29:33PM +, Mark Thompson wrote: > On 19/02/17 21:04, Ronald S. Bultje wrote: > > Hi, > > > > On Sun, Feb 19, 2017 at 12:23 PM, Mark Thompson wrote: > > > >> diff --git a/libavcodec/webp.c b/libavcodec/webp.c > >> > > [..] > > > >> +avctx->get_format = webp

[FFmpeg-devel] [PATCH] add locale month names to av_small_strptime

2017-02-19 Thread Micah Galizia
--- libavutil/parseutils.c | 31 +++ libavutil/tests/parseutils.c | 5 + 2 files changed, 36 insertions(+) diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c index 86d3dac..a273216 100644 --- a/libavutil/parseutils.c +++ b/libavutil/parseutils.c @@

[FFmpeg-devel] [PATCH] add locale month names to av_small_strptime

2017-02-19 Thread Micah Galizia
Hello, In preparation for evaluating cookie expiry values, av_small_strptime needs to handle the month names. This patch adds said names (full and abbreviated). Thanks in advance, Micah ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmp

Re: [FFmpeg-devel] [PATCH 1/4] vp8: Add hwaccel hooks

2017-02-19 Thread Mark Thompson
On 19/02/17 21:04, Ronald S. Bultje wrote: > Hi, > > On Sun, Feb 19, 2017 at 12:23 PM, Mark Thompson wrote: > >> diff --git a/libavcodec/webp.c b/libavcodec/webp.c >> > [..] > >> +avctx->get_format = webp_get_format; > > > Docs say: > "decoding: Set by user, if not set the native form

Re: [FFmpeg-devel] [PATCH 1/4] vp8: Add hwaccel hooks

2017-02-19 Thread Ronald S. Bultje
Hi, On Sun, Feb 19, 2017 at 12:23 PM, Mark Thompson wrote: > diff --git a/libavcodec/webp.c b/libavcodec/webp.c > [..] > +avctx->get_format = webp_get_format; Docs say: "decoding: Set by user, if not set the native format will be chosen." So I don't think decoders are supposed to set

Re: [FFmpeg-devel] GSoC 2017 MPEG-4 ALS codec project

2017-02-19 Thread Thilo Borgmann
Am 18.02.17 um 22:55 schrieb Thilo Borgmann: > Hi, > >> My name is George and I am a PhD student at Stanford. I am interested >> in the MPEG-4 ALS codec project for this year's GSoC program. >> >> Should I go straight into attempting to fix a bug of ALS on the >> tracker as a qualification task an

[FFmpeg-devel] [PATCH 4/4] lavfi: Add VAAPI deinterlacer

2017-02-19 Thread Mark Thompson
(cherry picked from commit ade370a4d7eab1866b6023c91c135d27c77ca465) (cherry picked from commit 2d518aec4c781316092be65893b47922c8f71b67) --- configure | 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h

[FFmpeg-devel] [PATCH 0/4] VAAPI VP8 decode, deinterlacer

2017-02-19 Thread Mark Thompson
Fixed since last time: * The WebP decoder is modified to be slightly less abusive with the VP8 decoder internals, so this no longer breaks images with alpha. * The deinterlacer now works with iHD driver. Mark Thompson (4): vp8: Add hwaccel hooks lavc/vaapi: Add VP8 decode hwaccel vaapi_deco

[FFmpeg-devel] [PATCH 3/4] vaapi_decode: Ignore the profile when not useful

2017-02-19 Thread Mark Thompson
Enables VP8 decoding - the decoder places the the bitstream version in the profile field, which we want to ignore. (cherry picked from commit 11c191b52ce0768370e38a2726132f9223e701f6) --- libavcodec/vaapi_decode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/va

[FFmpeg-devel] [PATCH 1/4] vp8: Add hwaccel hooks

2017-02-19 Thread Mark Thompson
Also adds some extra fields to the main context structure that may be needed by a hwaccel decoder. An internal get_format() callback is added to the webp decoder to be able to set the output pixfmt of the VP8 decoder now that it uses ff_get_format() - this is needed for alpha support to continue t

[FFmpeg-devel] [PATCH 2/4] lavc/vaapi: Add VP8 decode hwaccel

2017-02-19 Thread Mark Thompson
(cherry picked from commit a9fb134730da1f9642eb5a2baa50943b8a4aa245) (cherry picked from commit 75d642a944d5579e4ef20ff3701422a64692afcf) --- configure | 3 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/vaapi_vp8.c | 234 +++

[FFmpeg-devel] [PATCH] doc: drawtext options update

2017-02-19 Thread Mulvya V
Hi, Added entry for hitherto undocumented timecode wrap option. Removed bizarre entry for non-existent draw option. Haven't added entry for basetime option since it applies only in strftime expansion mode. Should it be documented? Thanks, mulvya 0001-doc-drawtext-options-update.patch Descripti

Re: [FFmpeg-devel] [PATCH 1/3] avformat/fifo: assert on disallowed message type and state combinations

2017-02-19 Thread Marton Balint
On Sun, 12 Feb 2017, Marton Balint wrote: On Thu, 9 Feb 2017, Marton Balint wrote: Fixes Coverity CID 1396277. Signed-off-by: Marton Balint --- libavformat/fifo.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/fifo.c b/libavformat/fifo.c index 8f525e5..2

Re: [FFmpeg-devel] [PATCH 2/3] avdevice/iec61883: free packet on buffer allocation error

2017-02-19 Thread Marton Balint
On Sun, 12 Feb 2017, Marton Balint wrote: On Thu, 9 Feb 2017, Marton Balint wrote: Fixes Coverity CID 1396416. Signed-off-by: Marton Balint --- libavdevice/iec61883.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c index c45ae9a..721dca3 1

Re: [FFmpeg-devel] [PATCHv2 3/3] avfilter/f_setcmd: fix null pointer dereference on using dash as interval

2017-02-19 Thread Marton Balint
On Thu, 9 Feb 2017, Paul B Mahol wrote: On 2/9/17, Marton Balint wrote: Fixes Coverity CID 1396259. Signed-off-by: Marton Balint --- libavfilter/f_sendcmd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index fb30220..522d6ad 1

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/huffyuvencdsp: use an actual unsigned long constant

2017-02-19 Thread James Almer
On 2/9/2017 2:42 PM, Michael Niedermayer wrote: > On Wed, Feb 08, 2017 at 01:13:57PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/huffyuvencdsp.c | 7 +-- >> 1 file changed, 5 insertions(+), 2 deletions(-) > > LGTM > > thx Pushed. __

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/huffyuvdsp: use an actual unsigned long constant

2017-02-19 Thread James Almer
On 2/9/2017 2:37 PM, Michael Niedermayer wrote: > On Wed, Feb 08, 2017 at 01:13:56PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> Decent compilers are smart enough to truncate those ULL constants on targets >> where long is 32 bits (and do things like shift+and/add instead of

[FFmpeg-devel] [PATCH]lavf/mpeg: Initialize a stack variable

2017-02-19 Thread Carl Eugen Hoyos
Hi! I cannot reproduce ticket #6160 and I wonder how memcmp() must be implemented to reproduce it but attached patch is supposed to fix it. Please comment, Carl Eugen From 0c3a72da0780682eb2899aee7ebe05a5e74a26eb Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 19 Feb 2017 16:15:34 +0

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: Store metadata directly into AVFrame

2017-02-19 Thread Michael Niedermayer
On Thu, Feb 02, 2017 at 10:27:30PM +0100, Michael Niedermayer wrote: > Fixes memleak > Fixes: 500/clusterfuzz-testcase-6315221727576064 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavcode

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread Marton Balint
On Sun, 19 Feb 2017, Hendrik Leppkes wrote: On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: On Sun, 19 Feb 2017 14:35:42 +0100 Marton Balint wrote: Reallocating a wrapped avframe invalidates internal pointers, such as extended data. FFmpeg has another way of passing AVFrames to muxers, but it

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread wm4
On Sun, 19 Feb 2017 14:49:34 +0100 Hendrik Leppkes wrote: > On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: > > On Sun, 19 Feb 2017 14:35:42 +0100 > > Marton Balint wrote: > > > >> Reallocating a wrapped avframe invalidates internal pointers, such as > >> extended > >> data. > >> > >> FFmpeg has

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread Hendrik Leppkes
On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: > On Sun, 19 Feb 2017 14:35:42 +0100 > Marton Balint wrote: > >> Reallocating a wrapped avframe invalidates internal pointers, such as >> extended >> data. >> >> FFmpeg has another way of passing AVFrames to muxers, but it seems the API >> (av_write_un

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread wm4
On Sun, 19 Feb 2017 14:35:42 +0100 Marton Balint wrote: > Reallocating a wrapped avframe invalidates internal pointers, such as extended > data. > > FFmpeg has another way of passing AVFrames to muxers, but it seems the API > (av_write_uncoded_frame) is not implemented in the ffmpeg CLI yet. >

[FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread Marton Balint
Reallocating a wrapped avframe invalidates internal pointers, such as extended data. FFmpeg has another way of passing AVFrames to muxers, but it seems the API (av_write_uncoded_frame) is not implemented in the ffmpeg CLI yet. Signed-off-by: Marton Balint --- libavcodec/utils.c | 4 ++-- 1 file