[FFmpeg-devel] [PATCH]lavf/adxdec: Add autodetection

2016-01-31 Thread Carl Eugen Hoyos
Hi! Attached patch adds autodetection for adx files. Our decoder has never accepted files without the copyright string and our encoder has never written other files. Please comment, Carl Eugen diff --git a/libavformat/adxdec.c b/libavformat/adxdec.c index 66ea8ab..05cef0b 100644 --- a/libavforma

Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

2016-01-31 Thread Michael Niedermayer
On Sun, Jan 31, 2016 at 11:11:31PM +0100, Mats Peterson wrote: > On 01/31/2016 11:08 PM, Michael Niedermayer wrote: > >On Sun, Jan 31, 2016 at 10:53:35PM +0100, Mats Peterson wrote: > >>On 01/31/2016 10:49 PM, Mats Peterson wrote: > this decission should be made by other developers, who where n

Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

2016-01-31 Thread Mats Peterson
On 01/31/2016 11:19 PM, Michael Niedermayer wrote: i think that default palette code could be removed if 1bpp->pal8 isnt done when theres no palete also i dont think its just avi. The raw video decoder is potentially used for more than avi. mkv and nut come to mind as potential formats that migh

Re: [FFmpeg-devel] [PATCH]lavf/adxdec: Add autodetection

2016-01-31 Thread Michael Niedermayer
On Sun, Jan 31, 2016 at 11:16:48PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch adds autodetection for adx files. > Our decoder has never accepted files without the copyright string > and our encoder has never written other files. > > Please comment, Carl Eugen > adxdec.c | 14 +++

[FFmpeg-devel] [PATCH] Revert "avformat/hls: Require the file extension to be m3u / m3u8 for probing to succeed"

2016-01-31 Thread Michael Niedermayer
This can cause problems with urls that have arguments after the filename This reverts commit b0c57206d583517a5ea35dd7f365f8260d9106f2. --- libavformat/hls.c |3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index dce8a5c..2d8e6c0 100644 --- a/libavform

Re: [FFmpeg-devel] [PATCH] avfilter/vf_yadif: make use of ctx pointer

2016-01-31 Thread Michael Niedermayer
On Sun, Jan 31, 2016 at 10:25:19PM +0100, Paul B Mahol wrote: > Hi, > > patch attached. > vf_yadif.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > cc8e27e4902af54fe8c1f1815177c4d5680f77fb > 0001-avfilter-vf_yadif-make-use-of-ctx-pointer.patch > From a71c17e7a52cc

Re: [FFmpeg-devel] [PATCH] x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

2016-01-31 Thread Timothy Gu
On Sun, Jan 31, 2016 at 06:18:53PM -0300, James Almer wrote: > On 1/31/2016 4:48 PM, Timothy Gu wrote: > > --- > > libavcodec/x86/vc1dsp.asm| 104 ++ > > libavcodec/x86/vc1dsp_init.c | 13 +++ > > libavcodec/x86/vc1dsp_mmx.c | 207 > >

[FFmpeg-devel] [PATCH] x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

2016-01-31 Thread Timothy Gu
--- libavcodec/x86/vc1dsp.asm| 98 libavcodec/x86/vc1dsp_init.c | 13 +++ libavcodec/x86/vc1dsp_mmx.c | 207 --- 3 files changed, 111 insertions(+), 207 deletions(-) diff --git a/libavcodec/x86/vc1dsp.asm b/libavcodec/x86/vc1dsp.

Re: [FFmpeg-devel] [PATCH 1/2] vf_phase: Reduce the scope of several variables

2016-01-31 Thread Timothy Gu
On Sat, Jan 30, 2016 at 09:47:21PM +0100, Paul B Mahol wrote: > > ok Pushed. Timothy ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Speed up wtv index creation

2016-01-31 Thread Michael Niedermayer
On Sun, Jan 31, 2016 at 10:36:11PM +1100, Peter Ross wrote: > On Fri, Jan 29, 2016 at 09:36:30PM +, popcorn mix wrote: > > The index creation is O(N^2) with number of entries (typically thousands). > > On a Raspberry Pi this can take more than 60 seconds to execute for a > > recording of a few

Re: [FFmpeg-devel] [PATCH 2/2] configure: Enable GCC vectorization on ≥4.9

2016-01-31 Thread Timothy Gu
On Sat, Jan 30, 2016 at 07:27:22PM +, Derek Buitenhuis wrote: > On 1/30/2016 7:15 PM, Timothy Gu wrote: > > FATE passes here on a x86-64 machine with both GCC 4.9.2 and 5.3.1. > > Perhaps this should be restricted to x86? Fair enough. Timothy >From b75076b5d735005a5a8b25d47c21c38cbaebb30b Mo

Re: [FFmpeg-devel] [PATCH 2/4] all: Make header guard names consistent

2016-01-31 Thread Timothy Gu
On Thu, Jan 28, 2016 at 06:33:54PM -0800, Timothy Gu wrote: > --- > compat/aix/math.h | 6 +++--- > compat/msvcrt/snprintf.h| 6 +++--- > compat/os2threads.h | 6 +++--- > compat/tms470/math.h| 6 +++--- > compat/w32pthreads.h

Re: [FFmpeg-devel] [PATCH 4/4] tests: Add test for proper header guard

2016-01-31 Thread Timothy Gu
On Fri, Jan 29, 2016 at 10:10:48AM +0100, Clément Bœsch wrote: > On Thu, Jan 28, 2016 at 06:33:56PM -0800, Timothy Gu wrote: > > --- > > tests/fate/source-check.sh | 11 +++ > > tests/ref/fate/source | 12 > > 2 files changed, 23 insertions(+) > > > > diff --git a/tests/

[FFmpeg-devel] [PATCH] avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.

2016-01-31 Thread Kieran Kunhya
Fixes tickets #5208 and #5209 --- libavcodec/cfhd.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 115081c..410bb7b 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -224,7 +224,7 @@ static int cfhd_decode(AVCodecCont

Re: [FFmpeg-devel] [PATCH] x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

2016-01-31 Thread Ronald S. Bultje
Hi, On Sun, Jan 31, 2016 at 6:27 PM, Timothy Gu wrote: > On Sun, Jan 31, 2016 at 06:18:53PM -0300, James Almer wrote: > > On 1/31/2016 4:48 PM, Timothy Gu wrote: > > > --- > > > libavcodec/x86/vc1dsp.asm| 104 ++ > > > libavcodec/x86/vc1dsp_init.c | 13 +++ > > > libavc

Re: [FFmpeg-devel] [PATCH] x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

2016-01-31 Thread Michael Niedermayer
On Sun, Jan 31, 2016 at 03:28:40PM -0800, Timothy Gu wrote: > --- > libavcodec/x86/vc1dsp.asm| 98 > libavcodec/x86/vc1dsp_init.c | 13 +++ > libavcodec/x86/vc1dsp_mmx.c | 207 > --- > 3 files changed, 111 insertions(+), 207 dele

Re: [FFmpeg-devel] [PATCH 2/2] libx265: Enable 12-bit encoding

2016-01-31 Thread Michael Niedermayer
On Sat, Jan 30, 2016 at 05:52:24PM +, Derek Buitenhuis wrote: > On 1/27/2016 6:18 PM, Stephen Hutchinson wrote: > > I have no strong opinion on it. 68 seems like the compromise > > position since it'd allow both 1.8 and 1.9 to be used, whereas > > any of the earlier ones still fall within 1.8'

Re: [FFmpeg-devel] FFmpeg 2.8.6 and others

2016-01-31 Thread Michael Niedermayer
On Wed, Jan 27, 2016 at 11:20:44PM +0100, Michael Niedermayer wrote: > Hi all > > ill make new point releases soon > if you want something backported, backport it now > > also should i add the concat/subfile_enable switch and have them > disabled by default or is it preferred to leave them as is

Re: [FFmpeg-devel] [PATCH] x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

2016-01-31 Thread James Almer
On 1/31/2016 8:28 PM, Timothy Gu wrote: > --- > libavcodec/x86/vc1dsp.asm| 98 > libavcodec/x86/vc1dsp_init.c | 13 +++ > libavcodec/x86/vc1dsp_mmx.c | 207 > --- > 3 files changed, 111 insertions(+), 207 deletions(-) > > diff -

[FFmpeg-devel] doc/examples/transcoding cannot into libx264

2016-01-31 Thread Andrey Utkin
doc/examples/transcoding is not able to reencode with libx264. Please help to teach it to do so. This script reproduces the issue in automated fashion: https://gist.github.com/andrey-utkin/925ce227b2b530d1e808 (ffmpeg.issue.sh attached). The script applies one patch to the example program. The pa

[FFmpeg-devel] [PATCH 1/2] avcodec/dca_core: rename get_vlc function

2016-01-31 Thread James Almer
Fixes compilation with TRACE enabled Signed-off-by: James Almer --- libavcodec/dca_core.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c index 94f0f3d..f15b9a7 100644 --- a/libavcodec/dca_core.c +++ b/libavcodec/dc

[FFmpeg-devel] [PATCH 2/2] fate: re-enable dca-xll test

2016-01-31 Thread James Almer
And check for bitexact output instead Signed-off-by: James Almer --- The samples in https://github.com/foo86/dcadec-samples will have to be added eventually to fully test all the DTS extensions. tests/fate/audio.mak | 3 +++ tests/ref/fate/dca-xll | 1 + 2 files changed, 4 insertions(+) crea

Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

2016-01-31 Thread Mats Peterson
On 01/31/2016 11:22 PM, Mats Peterson wrote: also i dont think its just avi. The raw video decoder is potentially used for more than avi. mkv and nut come to mind as potential formats that might use the same codepath Yes it is used for other file formats as well, but only AVI and QuickTime ex

Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

2016-01-31 Thread Mats Peterson
On 02/01/2016 04:48 AM, Mats Peterson wrote: On 01/31/2016 11:22 PM, Mats Peterson wrote: also i dont think its just avi. The raw video decoder is potentially used for more than avi. mkv and nut come to mind as potential formats that might use the same codepath Yes it is used for other file

Re: [FFmpeg-devel] [PATCH v2] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

2016-01-31 Thread Mats Peterson
On 01/31/2016 02:09 PM, Mats Peterson wrote: Minor fix. Mats ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel ping ___ ffmpeg-devel mailing list ffmp

Re: [FFmpeg-devel] [PATCH v2] lavc/rawdec: Only use AV_PIX_FMT_PAL8 for 1 bpp video

2016-01-31 Thread Mats Peterson
On 02/01/2016 06:03 AM, Mats Peterson wrote: ping Since noone here seems to object to this patch (except you), I take it as a "silent approval". Mats ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-d

<    1   2