[FFmpeg-devel] [PATCH 2/2] avcodec/h264: simplify h264_split()

2015-02-12 Thread Zhaoxiu Zeng
>From 52be21b15e078fb52a841aefcf78409a408fe8b4 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Fri, 13 Feb 2015 13:37:46 +0800 Subject: [PATCH 2/2] avcodec/h264: simplify h264_split() Signed-off-by: Zeng Zhaoxiu --- libavcodec/h264_parser.c | 35 +++ 1 file cha

[FFmpeg-devel] [PATCH 1/2] avcodec/parser: simplify ff_mpeg4video_split()

2015-02-12 Thread Zhaoxiu Zeng
>From 3cac16572aee4425377e4bc9e496ab5844200a51 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Fri, 13 Feb 2015 13:27:26 +0800 Subject: [PATCH 1/2] avcodec/parser: simplify ff_mpeg4video_split() Signed-off-by: Zeng Zhaoxiu --- libavcodec/parser.c | 10 ++ 1 file changed, 6 insertions(

Re: [FFmpeg-devel] [PATCH] fate: add piz exr test

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 04:53:48PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > tests/fate/image.mak | 3 +++ > tests/ref/fate/exr-slice-piz | 2 ++ > 2 files changed, 5 insertions(+) > create mode 100644 tests/ref/fate/exr-slice-piz > > diff --git a/tests/fate/image

Re: [FFmpeg-devel] [PATCH] fate: add wavpack encoder

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 06:19:53PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > tests/fate/acodec.mak| 4 > tests/ref/acodec/wavpack | 4 > 2 files changed, 8 insertions(+) > create mode 100644 tests/ref/acodec/wavpack LGTM [...] -- Michael GnuPG fingerpr

[FFmpeg-devel] [PATCH] libavformat/mxfenc: write package name metadata

2015-02-12 Thread Mark Reid
--- libavformat/avio.h| 6 libavformat/aviobuf.c | 50 +--- libavformat/mxfenc.c | 74 --- tests/ref/lavf/mxf| 6 ++-- tests/ref/lavf/mxf_d10| 2 +- tests/ref/lavf/mxf_opatom | 2 +- 6 fil

[FFmpeg-devel] [PATCH] libavformat/mxfenc: write package name metadata

2015-02-12 Thread Mark Reid
hi, this patch addss support for writing package name metadata in mxf files. example usage: ffmpeg -y -f lavfi -i "testsrc=size=1920x1080:rate=23.97" -frames:v 50 \ -metadata material_package_name="Material Package" \ -metadata file_package_name="File Package" \ -vcodec dnxhd -pix_fmt yuv422p -vb

Re: [FFmpeg-devel] [PATCH 7/7] avformat/rtsp: parse lang attribute in SDP

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 10:52:27PM +0100, Thomas Volkert wrote: > On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: > >--- > > libavformat/rtsp.c | 12 > > libavformat/rtsp.h | 2 ++ > > 2 files changed, 14 insertions(+) > > > >diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c >

Re: [FFmpeg-devel] [PATCH 3/7] avformat/rtpdec: add T.140 RTP depacketization (RFC 4103)

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 10:14:31PM +0100, Thomas Volkert wrote: > On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: > >--- > > libavformat/rtpdec.c | 7 +++ > > 1 file changed, 7 insertions(+) > > > >diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c > >index f5557d8..4091bdc 100644 >

Re: [FFmpeg-devel] [PATCH 2/7] avformat/rtsp: allow receiving subtitles via RTP

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 10:14:20PM +0100, Thomas Volkert wrote: > On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: > >--- > > libavformat/rtsp.c | 9 ++--- > > 1 file changed, 6 insertions(+), 3 deletions(-) > > > >diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c > >index ae62252..77407

Re: [FFmpeg-devel] Backport keywords

2015-02-12 Thread Clément Bœsch
On Thu, Feb 12, 2015 at 09:16:28PM +0100, Clément Bœsch wrote: > On Thu, Feb 12, 2015 at 09:06:54PM +0100, Michael Niedermayer wrote: > > Hi all > > > > ubitux pushed me into thinking about $subj, so heres some suggestions > > > > Commits which are security relevant must be backported > > Other (

Re: [FFmpeg-devel] [PATCH 5/7] avformat/rtpdec_mpeg12: add robust MPEG audio depacketization (RFC 3119)

2015-02-12 Thread Thomas Volkert
On 02/12/2015 10:41 PM, Thomas Volkert wrote: [..] +RTPDynamicProtocolHandler ff_mpeg_audio_robust_dynamic_handler = { +.codec_type= AVMEDIA_TYPE_AUDIO, +.codec_id = AV_CODEC_ID_MP3ADU, +.init = mpa_robust_init, +.alloc = mpa_robust_new_c

Re: [FFmpeg-devel] [PATCH 5/7] avformat/rtpdec_mpeg12: add robust MPEG audio depacketization (RFC 3119)

2015-02-12 Thread Thomas Volkert
On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: --- libavformat/rtpdec.c | 1 + libavformat/rtpdec_formats.h | 1 + libavformat/rtpdec_mpeg12.c | 201 +++ 3 files changed, 203 insertions(+) diff --git a/libavformat/rtpdec.c b/libavfor

Re: [FFmpeg-devel] [PATCH 7/7] avformat/rtsp: parse lang attribute in SDP

2015-02-12 Thread Thomas Volkert
On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: --- libavformat/rtsp.c | 12 libavformat/rtsp.h | 2 ++ 2 files changed, 14 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 77407dd..3a68020 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@

Re: [FFmpeg-devel] [PATCH 4/7] avcocdec/mpegaudio_parser: add MP3 ADU headers parser

2015-02-12 Thread Thomas Volkert
On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: --- libavcodec/mpegaudio_parser.c | 14 -- libavcodec/mpegaudiodecheader.c | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/libavcodec/mpegaudio_parser.c b/libavcodec/mpegaudio_parser.c index 79dbf63..4

Re: [FFmpeg-devel] [PATCH 3/7] avformat/rtpdec: add T.140 RTP depacketization (RFC 4103)

2015-02-12 Thread Thomas Volkert
On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: --- libavformat/rtpdec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index f5557d8..4091bdc 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -56,6 +56,12 @@ static RTPD

Re: [FFmpeg-devel] [PATCH 2/7] avformat/rtsp: allow receiving subtitles via RTP

2015-02-12 Thread Thomas Volkert
On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: --- libavformat/rtsp.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ae62252..77407dd 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -68,10 +68,11 @@

Re: [FFmpeg-devel] [PATCH 1/7] avformat/rtpdec_ac3: add AC3 RTP depacketization

2015-02-12 Thread Thomas Volkert
On 02/08/2015 10:22 PM, Gilles Chanteperdrix wrote: --- libavformat/Makefile | 1 + libavformat/rtpdec.c | 1 + libavformat/rtpdec_ac3.c | 166 +++ libavformat/rtpdec_formats.h | 1 + 4 files changed, 169 insertions(+) cre

Re: [FFmpeg-devel] Backport keywords

2015-02-12 Thread Clément Bœsch
On Thu, Feb 12, 2015 at 09:06:54PM +0100, Michael Niedermayer wrote: > Hi all > > ubitux pushed me into thinking about $subj, so heres some suggestions > > Commits which are security relevant must be backported > Other (important) bugfixes can be backported as well, if someone wants > to do the w

[FFmpeg-devel] Backport keywords

2015-02-12 Thread Michael Niedermayer
Hi all ubitux pushed me into thinking about $subj, so heres some suggestions Commits which are security relevant must be backported Other (important) bugfixes can be backported as well, if someone wants to do the work. Authors/Maintainers/Release maintainers should backport these commits OR shoul

Re: [FFmpeg-devel] [PATCH] rtpdec_hevc: correct parsing of aggregated packets

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 08:41:39PM +0100, Thomas Volkert wrote: > reported by tim dot yao at amlogic dot com > --- > libavformat/rtpdec_hevc.c | 91 > ++- > 1 file changed, 74 insertions(+), 17 deletions(-) applied thanks [...] -- Michael GnuPG

[FFmpeg-devel] [PATCH] rtpdec_hevc: correct parsing of aggregated packets

2015-02-12 Thread Thomas Volkert
reported by tim dot yao at amlogic dot com --- libavformat/rtpdec_hevc.c | 91 ++- 1 file changed, 74 insertions(+), 17 deletions(-) diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c index 3926614..471823c 100644 --- a/libavformat/rtpde

[FFmpeg-devel] [PATCH] rtpdec_hevc: correct parsing of aggregated packets

2015-02-12 Thread Thomas Volkert
From: Thomas Volkert This fixes the parser for NAL type 48 (AP), reported by tim dot yao at amlogic dot com. --- libavformat/rtpdec_hevc.c | 91 ++- 1 file changed, 74 insertions(+), 17 deletions(-) diff --git a/libavformat/rtpdec_hevc.c b/libavfo

[FFmpeg-devel] Add configure option --disable-warnings

2015-02-12 Thread Gautier Pelloux-Prayer
Hi list, I added an option to disable compiler warnings while building ffmpeg. Reason is that when integrating ffmpeg within another project, I would like to disable these warnings since I cannot fix them myself and having them displayed while building the main project is worthless and noisy.

[FFmpeg-devel] [PATCH] fate: add wavpack encoder

2015-02-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- tests/fate/acodec.mak| 4 tests/ref/acodec/wavpack | 4 2 files changed, 8 insertions(+) create mode 100644 tests/ref/acodec/wavpack diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak index 325bbd9..691f9ff 100644 --- a/tests/fate/acodec.mak

[FFmpeg-devel] [PATCH] fate: add piz exr test

2015-02-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- tests/fate/image.mak | 3 +++ tests/ref/fate/exr-slice-piz | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 tests/ref/fate/exr-slice-piz diff --git a/tests/fate/image.mak b/tests/fate/image.mak index e17f068..216b05c 100644 --- a/tests/fate/ima

Re: [FFmpeg-devel] [PATCH] x86/hevc_mc: optimize AVX2 mc functions

2015-02-12 Thread James Almer
On 12/02/15 7:47 AM, Christophe Gisquet wrote: > Hi, > > 2015-02-12 7:29 GMT+01:00 James Almer : >> Before >> 40766 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips >> >> After >> 37975 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips > > Looks straightforward.

Re: [FFmpeg-devel] [PATCH] x86/hevc_sao: make sao_edge_filter_{10, 12} work on x86_32

2015-02-12 Thread James Almer
On 12/02/15 7:28 AM, Michael Niedermayer wrote: > On Tue, Feb 10, 2015 at 01:44:26AM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/x86/hevc_sao.asm | 106 >> ++ >> libavcodec/x86/hevcdsp_init.c | 22 - >> 2 files c

[FFmpeg-devel] [PATCH] avcodec/wmv2: simplify cbp_table_index calculation

2015-02-12 Thread zhaoxiu.zeng
>From 232bb6fa60aeb02ae8ecd0b28e9785d4cfb2d7a0 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Thu, 12 Feb 2015 23:43:26 +0800 Subject: [PATCH] avcodec/wmv2: simplify cbp_table_index calculation Signed-off-by: Zeng Zhaoxiu --- libavcodec/wmv2.h| 11 +++ libavcodec/wmv2dec.c | 11 +

[FFmpeg-devel] [PATCH 2/2] avcodec/vc1: simplify vc1_split()

2015-02-12 Thread zhaoxiu.zeng
>From 1a89b725e31e7567ade7563fc67ebc5d80a7c20c Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Thu, 12 Feb 2015 23:30:08 +0800 Subject: [PATCH 2/2] avcodec/vc1: simplify vc1_split() Signed-off-by: Zeng Zhaoxiu --- libavcodec/vc1_parser.c | 23 +++ 1 file changed, 11 insert

[FFmpeg-devel] [PATCH 1/2] avcodec/vc1: simplify find_next_marker()

2015-02-12 Thread zhaoxiu.zeng
>From ae973955c4e8a16ad38843cef60639f9bd69abee Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Thu, 12 Feb 2015 23:22:59 +0800 Subject: [PATCH 1/2] avcodec/vc1: simplify find_next_marker() Signed-off-by: Zeng Zhaoxiu --- libavcodec/vc1_common.h | 10 -- 1 file changed, 4 insertions(+)

Re: [FFmpeg-devel] [PATCH 4/4] matroska: fix IGNIDX handling

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 02:57:43PM +0100, wm4 wrote: > On Thu, 12 Feb 2015 14:25:41 +0100 > Michael Niedermayer wrote: > > > On Mon, Feb 09, 2015 at 08:39:01PM +0100, wm4 wrote: > > > Just because the user requested the seek index to be ignored, we can't > > > just skip essential headers. At leas

Re: [FFmpeg-devel] Suggested fix for: Linker error when using libavcodec.a within shared library on ARM plattform

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 02:20:13PM +, Andreas Haupt wrote: > > > > > > >Michael Niedermayer schrieb am 13:01 Donnerstag, > >12.Februar 2015: > > > > > >On Thu, Feb 12, 2015 at 10:56:58AM +, Andreas Haupt wrote: > >> Hi, > >> > >> I found an issue when linking against the ffmpeg libavco

Re: [FFmpeg-devel] Suggested fix for: Linker error when using libavcodec.a within shared library on ARM plattform

2015-02-12 Thread Andreas Haupt
> > >Michael Niedermayer schrieb am 13:01 Donnerstag, 12.Februar >2015: > > >On Thu, Feb 12, 2015 at 10:56:58AM +, Andreas Haupt wrote: >> Hi, >> >> I found an issue when linking against the ffmpeg libavcodec.a static libary >> on armhf which can probably consider to be a bug. >> >> Summ

Re: [FFmpeg-devel] Suggested fix for: Linker error when using libavcodec.a within shared library on ARM plattform

2015-02-12 Thread Andreas Haupt
> > >Michael Niedermayer schrieb am 13:01 Donnerstag, 12.Februar >2015: > > >On Thu, Feb 12, 2015 at 10:56:58AM +, Andreas Haupt wrote: >> Hi, >> >> I found an issue when linking against the ffmpeg libavcodec.a static libary >> on armhf which can probably consider to be a bug. >> >> Summ

Re: [FFmpeg-devel] [PATCH 4/4] matroska: fix IGNIDX handling

2015-02-12 Thread wm4
On Thu, 12 Feb 2015 14:25:41 +0100 Michael Niedermayer wrote: > On Mon, Feb 09, 2015 at 08:39:01PM +0100, wm4 wrote: > > Just because the user requested the seek index to be ignored, we can't > > just skip essential headers. At least tags are often located at the end > > of the file, and the old

Re: [FFmpeg-devel] [PATCH 4/4] matroska: fix IGNIDX handling

2015-02-12 Thread Michael Niedermayer
On Mon, Feb 09, 2015 at 08:39:01PM +0100, wm4 wrote: > Just because the user requested the seek index to be ignored, we can't > just skip essential headers. At least tags are often located at the end > of the file, and the old code simply ignored the seekhead for all > elements, not just the cue in

Re: [FFmpeg-devel] [PATCH] x86/hevc_mc: optimize AVX2 mc functions

2015-02-12 Thread Christophe Gisquet
2015-02-12 11:47 GMT+01:00 Christophe Gisquet : > Looks straightforward. But now I understand why we declare using 11 > xmm regs in some places, which impacts a patch that has been reviewed > and needs updating. A patch of mine for x86_32. Just ignore me, I'm speaking to myself -- Christophe ___

Re: [FFmpeg-devel] [PATCH 3/4] matroska: redo seekhead handling

2015-02-12 Thread Michael Niedermayer
On Mon, Feb 09, 2015 at 10:17:19PM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > do you have a affected example (for testing) ? > > I suspect this is ticket #2263, please mention > it in the commit message. added applied thanks to all [...] -- Michael GnuPG

Re: [FFmpeg-devel] Suggested fix for: Linker error when using libavcodec.a within shared library on ARM plattform

2015-02-12 Thread Michael Niedermayer
On Thu, Feb 12, 2015 at 10:56:58AM +, Andreas Haupt wrote: > Hi, > > I found an issue when linking against the ffmpeg libavcodec.a static libary > on armhf which can probably consider to be a bug. > > Summary of the bug: > When I try to build a shared library in which I include libavcodec.a

[FFmpeg-devel] Suggested fix for: Linker error when using libavcodec.a within shared library on ARM plattform

2015-02-12 Thread Andreas Haupt
Hi, I found an issue when linking against the ffmpeg libavcodec.a static libary on armhf which can probably consider to be a bug. Summary of the bug: When I try to build a shared library in which I include libavcodec.a I receive the following linker error (on ARM plattform - banana pi board). A

Re: [FFmpeg-devel] [PATCH] x86/hevc_mc: optimize AVX2 mc functions

2015-02-12 Thread Christophe Gisquet
Hi, 2015-02-12 7:29 GMT+01:00 James Almer : > Before > 40766 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips > > After > 37975 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips Looks straightforward. But now I understand why we declare using 11 xmm regs in some

Re: [FFmpeg-devel] [PATCH] x86/hevc_sao: make sao_edge_filter_{10, 12} work on x86_32

2015-02-12 Thread Christophe Gisquet
Hi, 2015-02-12 11:28 GMT+01:00 Michael Niedermayer : > On Tue, Feb 10, 2015 at 01:44:26AM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/x86/hevc_sao.asm | 106 >> ++ >> libavcodec/x86/hevcdsp_init.c | 22 - >> 2 f

Re: [FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-02-12 Thread Clément Bœsch
On Mon, Feb 09, 2015 at 06:35:13PM +0100, Clément Bœsch wrote: > --- > doc/filters.texi| 50 +++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_paletteuse.c | 791 > > 4 files changed, 843 in

Re: [FFmpeg-devel] [PATCH] x86/hevc_sao: make sao_edge_filter_{10, 12} work on x86_32

2015-02-12 Thread Michael Niedermayer
On Tue, Feb 10, 2015 at 01:44:26AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/x86/hevc_sao.asm | 106 > ++ > libavcodec/x86/hevcdsp_init.c | 22 - > 2 files changed, 74 insertions(+), 54 deletions(-) tested on lin