[FFmpeg-devel] [PATCH 2/2] avformat/matroskaenc: write updated STREAMINFO metadata for FLAC streams if available

2016-11-02 Thread James Almer
FLAC streams originating from the FLAC encoder send updated and more complete STREAMINFO metadata as part of the last packet, so write that to CodecPrivate instead of the incomplete one available in extradata during init. Signed-off-by: James Almer ---

Re: [FFmpeg-devel] [PATCH] avformat/apngenc: use the stream parameters extradata if no updated one is made available

2016-11-02 Thread Andreas Cadhalpun
On 02.11.2016 21:10, Hendrik Leppkes wrote: > On Wed, Nov 2, 2016 at 8:13 PM, Andreas Cadhalpun > wrote: >> On 01.11.2016 23:10, Hendrik Leppkes wrote: >>> Am 01.11.2016 17:17 schrieb "Andreas Cadhalpun" < >>> andreas.cadhal...@googlemail.com>: Not again,

Re: [FFmpeg-devel] [PATCH] mov: add option to ignore moov atoms which are detected in free atoms, so apps can have flexibility to use moov atom not in free atoms as default.

2016-11-02 Thread Zhenni Huang
On Tue, Nov 1, 2016 at 5:45 PM, Carl Eugen Hoyos wrote: > 2016-10-31 21:33 GMT+01:00 Zhenni Huang ffmpeg.org>: > > > Thanks Carl, I think setting strict_std_compliance is fine. Could please > > you apply the change? > > Done. > > Carl Eugen >

Re: [FFmpeg-devel] [PATCH] pixblockdsp: disable altivec optimizations on ppc64be

2016-11-02 Thread Andreas Cadhalpun
On 02.11.2016 11:31, Michael Niedermayer wrote: > On Wed, Nov 02, 2016 at 01:40:01AM +0100, Carl Eugen Hoyos wrote: >> 2016-11-01 0:27 GMT+01:00 Andreas Cadhalpun >> : >> >>> -#if HAVE_ALTIVEC >>> +#if HAVE_ALTIVEC && !(ARCH_PPC64 && HAVE_BIGENDIAN) >>> if

[FFmpeg-devel] [PATCH 1/2] avformat/matroskaenc: postpone writing the Tracks master

2016-11-02 Thread James Almer
This will allow us to write updated stream information not available during write_header(). Signed-off-by: James Almer --- libavformat/matroskaenc.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libavformat/matroskaenc.c

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: use display aspect ratio for DisplayWidth and DisplayHeight when possible

2016-11-02 Thread James Almer
On 10/28/2016 12:03 AM, James Almer wrote: > On 10/22/2016 5:33 PM, James Almer wrote: >> This avoids potential rounding errors and guarantees the source aspect >> ratio is preserved. >> Keep writing pixel values when Stereo 3D Mode is enabled and for WebM, >> as the format doesn't support

[FFmpeg-devel] [PATCH] ppc: pixblockdsp: do unaligned block accesses correctly again

2016-11-02 Thread Andreas Cadhalpun
This was broken by the following Libav commit: 4c387c7 ppc: dsputil: do unaligned block accesses correctly The following tests fail due to this: fate-checkasm fate-vsynth1-dnxhd-2k-hr-hq fate-vsynth1-dnxhd-edge1-hr fate-vsynth1-dnxhd-edge2-hr fate-vsynth1-dnxhd-edge3-hr

Re: [FFmpeg-devel] [OPW] OPW Project Proposal

2016-11-02 Thread Pallavi Kumari
Necessary changes has been done. PFA. Usage: ./ffmpeg -i kpg.mp3 -filter_complex peakpoints=wsize=16 -f null - On Wed, Nov 2, 2016 at 6:14 AM, Michael Niedermayer wrote: > On Wed, Nov 02, 2016 at 05:00:09AM +0530, Pallavi Kumari wrote: > > Hi Michael, > > > > I have

Re: [FFmpeg-devel] [PATCH] avformat/apngenc: use the stream parameters extradata if no updated one is made available

2016-11-02 Thread Hendrik Leppkes
On Wed, Nov 2, 2016 at 8:13 PM, Andreas Cadhalpun wrote: > On 01.11.2016 23:10, Hendrik Leppkes wrote: >> Am 01.11.2016 17:17 schrieb "Andreas Cadhalpun" < >> andreas.cadhal...@googlemail.com>: >>> Not again, but instead, as the extradata is then only transferred

Re: [FFmpeg-devel] [PATCH 1/3] avformat/matroskaenc: support writting Chroma Location elements

2016-11-02 Thread James Almer
On 10/28/2016 12:08 AM, James Almer wrote: > On 10/22/2016 5:38 PM, James Almer wrote: >> On 10/15/2016 12:40 PM, James Almer wrote: >>> Signed-off-by: James Almer >>> --- >>> libavformat/matroskaenc.c | 8 >>> 1 file changed, 8 insertions(+) >>> >>> diff --git

Re: [FFmpeg-devel] [OPW] OPW Project Proposal

2016-11-02 Thread Michael Niedermayer
On Thu, Nov 03, 2016 at 01:10:26AM +0530, Pallavi Kumari wrote: > Necessary changes has been done. PFA. > > Usage: > > ./ffmpeg -i kpg.mp3 -filter_complex peakpoints=wsize=16 -f null - > > On Wed, Nov 2, 2016 at 6:14 AM, Michael Niedermayer > wrote: > > > On Wed, Nov

Re: [FFmpeg-devel] [PATCH] avformat/apngenc: use the stream parameters extradata if no updated one is made available

2016-11-02 Thread Andreas Cadhalpun
On 01.11.2016 23:10, Hendrik Leppkes wrote: > Am 01.11.2016 17:17 schrieb "Andreas Cadhalpun" < > andreas.cadhal...@googlemail.com>: >> Not again, but instead, as the extradata is then only transferred as side >> data. >> That way it is again consistent between demuxer/decoder and encoder/muxer.

Re: [FFmpeg-devel] Refund request for FFmpeg at LinuxCon 2016

2016-11-02 Thread Michael Niedermayer
On Sun, Oct 16, 2016 at 12:16:25AM +0200, Thomas Volkert wrote: > Hi, > > I'd like to ask for refund of my expenses for LinuxCon (see thread > "FFmpeg at LinuxCon 2016"): > > - 191 € for 2 * 675km by car > > I will contact Stefano if there are no objections. LGTM [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] pixblockdsp: disable altivec optimizations on ppc64be

2016-11-02 Thread Michael Niedermayer
On Wed, Nov 02, 2016 at 01:40:01AM +0100, Carl Eugen Hoyos wrote: > 2016-11-01 0:27 GMT+01:00 Andreas Cadhalpun > : > > > -#if HAVE_ALTIVEC > > +#if HAVE_ALTIVEC && !(ARCH_PPC64 && HAVE_BIGENDIAN) > > if (!PPC_ALTIVEC(av_get_cpu_flags())) > > Do the dnxhd

Re: [FFmpeg-devel] [PATCH] lavc: Add hevc main10 profile to ffmpeg cli

2016-11-02 Thread Michael Niedermayer
On Tue, Nov 01, 2016 at 07:17:37PM -0400, Vittorio Giovara wrote: > --- > Please CC. > Vittorio > > libavcodec/options_table.h | 1 + > 1 file changed, 1 insertion(+) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society

Re: [FFmpeg-devel] [PATCH] avformat: close parser if codec changed

2016-11-02 Thread Michael Niedermayer
On Sat, Oct 22, 2016 at 01:16:00AM +0200, Andreas Cadhalpun wrote: > On 22.10.2016 00:18, Michael Niedermayer wrote: > > On Mon, Oct 17, 2016 at 08:49:23PM +0200, Andreas Cadhalpun wrote: > >> The parser depends on the codec and thus must not be used with a different > >> one. > >> If it is, the

Re: [FFmpeg-devel] [PATCH] ppc: pixblockdsp: do unaligned block accesses correctly again

2016-11-02 Thread Carl Eugen Hoyos
2016-11-02 21:34 GMT+01:00 Andreas Cadhalpun : > This was broken by the following Libav commit: > 4c387c7 ppc: dsputil: do unaligned block accesses correctly > > The following tests fail due to this: > fate-checkasm > fate-vsynth1-dnxhd-2k-hr-hq

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Use the first sidx for tracks without sidx.

2016-11-02 Thread Derek Buitenhuis
On 10/26/2016 7:31 PM, Sasi Inguva wrote: > According to spec ISO_IEC_15444_12 "For any media stream for which no segment > index is present, referred to as non‐indexed stream, the media stream > associated with the first Segment Index box in the segment serves as a > reference stream in a

[FFmpeg-devel] [PATCH] WIP: subtitles in AVFrame

2016-11-02 Thread Clément Bœsch
--- So this is just a prototype that is starting to work. It needs a split (and completion of the long TODO list) before review but I wanted to share it for early feedbacks. So long story short: AVSubtitle → AVFrame, you have to use the new M:N API, and it's integrated into lavfi. Now a bit

Re: [FFmpeg-devel] [PATCH] WIP: subtitles in AVFrame

2016-11-02 Thread Carl Eugen Hoyos
2016-11-02 23:09 GMT+01:00 Clément Bœsch : > - find a test case for dvbsub Please elaborate;-) Thanks for working on this, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat: close parser if codec changed

2016-11-02 Thread Andreas Cadhalpun
On 02.11.2016 13:07, Michael Niedermayer wrote: > On Sat, Oct 22, 2016 at 01:16:00AM +0200, Andreas Cadhalpun wrote: >> utils.c | 12 >> 1 file changed, 12 insertions(+) >> ffefc22756b774cb7652587207ae66cfbf681be3 >> 0001-avformat-close-parser-if-codec-changed.patch >> From

Re: [FFmpeg-devel] [PATCH] WIP: subtitles in AVFrame

2016-11-02 Thread Clément Bœsch
On Wed, Nov 02, 2016 at 11:11:06PM +0100, Carl Eugen Hoyos wrote: > 2016-11-02 23:09 GMT+01:00 Clément Bœsch : > > > - find a test case for dvbsub > > Please elaborate;-) > I need a FATE test involving dvb transcoding. -- Clément B.

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: use display aspect ratio for DisplayWidth and DisplayHeight when possible

2016-11-02 Thread Kieran O Leary
Hi On 2 Nov 2016 10:15 p.m., "Carl Eugen Hoyos" wrote: > > > > > This fixes ticket #5743, implementing the suggestion from ticket #5903. > > Thank you for fixing this! > > Carl Eugen > +1 Thanks James! ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Use the first sidx for tracks without sidx.

2016-11-02 Thread Sasi Inguva
Ping. Sorry for the urgency on this, but this is blocking us internally. Thanks On Mon, Oct 31, 2016 at 10:23 AM, Sasi Inguva wrote: > ping. > > Thanks! > > On Wed, Oct 26, 2016 at 11:31 AM, Sasi Inguva wrote: > >> According to spec ISO_IEC_15444_12 "For

Re: [FFmpeg-devel] [PATCH] WIP: subtitles in AVFrame

2016-11-02 Thread Marton Balint
On Wed, 2 Nov 2016, Clément Bœsch wrote: --- So this is just a prototype that is starting to work. It needs a split (and completion of the long TODO list) before review but I wanted to share it for early feedbacks. Great, thanks! So long story short: AVSubtitle → AVFrame, you have to use

Re: [FFmpeg-devel] [PATCH] avformat: close parser if codec changed

2016-11-02 Thread Andreas Cadhalpun
On 03.11.2016 00:42, Michael Niedermayer wrote: > On Wed, Nov 02, 2016 at 10:30:30PM +0100, Andreas Cadhalpun wrote: >> On 02.11.2016 13:07, Michael Niedermayer wrote: >>> On Sat, Oct 22, 2016 at 01:16:00AM +0200, Andreas Cadhalpun wrote: utils.c | 12 1 file changed, 12

[FFmpeg-devel] [PATCH] hls: call avformat_find_stream_info for mpegts subdemuxer

2016-11-02 Thread Andreas Cadhalpun
This fixes probing dts/eac3/mp2 in hls. The problem was introduced in commit 04964ac311abe670fb3b60290a330f2067544b13. Also update the fate reference for the fate-segment-mp4-to-ts test. Signed-off-by: Andreas Cadhalpun --- I've no idea why the fate reference

Re: [FFmpeg-devel] [PATCH] avformat: close parser if codec changed

2016-11-02 Thread Michael Niedermayer
On Wed, Nov 02, 2016 at 10:30:30PM +0100, Andreas Cadhalpun wrote: > On 02.11.2016 13:07, Michael Niedermayer wrote: > > On Sat, Oct 22, 2016 at 01:16:00AM +0200, Andreas Cadhalpun wrote: > >> utils.c | 12 > >> 1 file changed, 12 insertions(+) > >>

Re: [FFmpeg-devel] [PATCH] hls: always call avformat_find_stream_info for subdemuxers

2016-11-02 Thread Andreas Cadhalpun
On 27.10.2016 22:31, Andreas Cadhalpun wrote: > On 27.10.2016 21:30, Hendrik Leppkes wrote: >> On Thu, Oct 27, 2016 at 9:20 PM, Andreas Cadhalpun >> wrote: >>> This fixes probing dts/eac3/mp2 in hls. >>> >>> This partly reverts commit

Re: [FFmpeg-devel] [PATCH] ppc: pixblockdsp: do unaligned block accesses correctly again

2016-11-02 Thread Andreas Cadhalpun
On 02.11.2016 23:41, Carl Eugen Hoyos wrote: > 2016-11-02 21:34 GMT+01:00 Andreas Cadhalpun > : >> This was broken by the following Libav commit: >> 4c387c7 ppc: dsputil: do unaligned block accesses correctly >> >> The following tests fail due to this: >>

Re: [FFmpeg-devel] [PATCH 01/12] adxdec: validate sample_rate

2016-11-02 Thread Andreas Cadhalpun
On 26.10.2016 21:44, Andreas Cadhalpun wrote: > On 26.10.2016 20:15, Paul B Mahol wrote: >> On 10/25/16, Michael Niedermayer wrote: >>> On Tue, Oct 25, 2016 at 07:45:25PM +0200, Andreas Cadhalpun wrote: On 25.10.2016 12:58, Paul B Mahol wrote: > patch(es)have good

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: use display aspect ratio for DisplayWidth and DisplayHeight when possible

2016-11-02 Thread Carl Eugen Hoyos
2016-10-22 22:33 GMT+02:00 James Almer : > This avoids potential rounding errors and guarantees the source aspect > ratio is preserved. > Keep writing pixel values when Stereo 3D Mode is enabled and for WebM, > as the format doesn't support anything else. > > This fixes ticket

Re: [FFmpeg-devel] [PATCH] lavf/mov: Add support for edit list parsing.

2016-11-02 Thread Derek Buitenhuis
On 10/24/2016 6:43 AM, Sasi Inguva wrote: > Just sent a patch, correcting a bug in the edit list code. PTAL. Hi again, it's me. Back with more files this patch set broke :). This time it's very easy to reproduce: $ ffmpeg -i sample.mp4 -f null - This works before your patchset, and also if

[FFmpeg-devel] [PATCH] avfilter/af_firequalizer: add fft2 option

2016-11-02 Thread Muhammad Faiz
2-channels convolution using complex fft improves speed significantly not sure if it should be enabled by default so disable it by default Signed-off-by: Muhammad Faiz --- doc/filters.texi| 4 +++ libavfilter/af_firequalizer.c | 80

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: Add option to mark stream begin as discontinuous

2016-11-02 Thread Steven Liu
2016-11-02 7:51 GMT+08:00 Michael Niedermayer : > This avoids continuity check failures in concatenated streams > > TODO: docs > > Signed-off-by: Michael Niedermayer > --- > libavformat/mpegtsenc.c | 26 ++ > 1 file

[FFmpeg-devel] [PATCH] libx265: Add option to force IDR frames

2016-11-02 Thread Derek Buitenhuis
This is in the same the same vein as c981b1145a857c8f962c93b8eecb1c613b20ffe9. Signed-off-by: Derek Buitenhuis --- libavcodec/libx265.c | 5 - libavcodec/version.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/libx265.c

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: Add option to mark stream begin as discontinuous

2016-11-02 Thread Michael Niedermayer
On Wed, Nov 02, 2016 at 10:31:38PM +0800, Steven Liu wrote: > 2016-11-02 7:51 GMT+08:00 Michael Niedermayer : > > > This avoids continuity check failures in concatenated streams > > > > TODO: docs > > > > Signed-off-by: Michael Niedermayer > > ---

Re: [FFmpeg-devel] [PATCH 1/2] img2: added support for %t output pattern

2016-11-02 Thread Roger Pack
On 11/1/16, James Almer wrote: > On 10/25/2016 9:38 PM, Roger Pack wrote: >> From e8cac5c7de18766ce0f8f286f7dc140b82129df2 Mon Sep 17 00:00:00 2001 >> From: rogerdpack >> Date: Tue, 25 Oct 2016 18:33:12 -0600 >> Subject: [PATCH 1/2] img2 encoder: allow

[FFmpeg-devel] [PATCH 1/2] hevc: Move hevc_decode_extradata before frame decoding

2016-11-02 Thread Vittorio Giovara
Avoids a forward-declaration in the following commit. Signed-off-by: Vittorio Giovara --- Please CC. Vittorio libavcodec/hevc.c | 148 +++--- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git

[FFmpeg-devel] [PATCH 2/2] hevc: Support extradata changes

2016-11-02 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara --- Please CC. Vittorio libavcodec/hevc.c | 18 ++ libavformat/mov.c | 4 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 29e0d49..b50120e 100644 ---

Re: [FFmpeg-devel] [PATCH] avformat/apngenc: use the stream parameters extradata if no updated one is made available

2016-11-02 Thread James Almer
On 11/1/2016 7:10 PM, Hendrik Leppkes wrote: > Am 01.11.2016 17:17 schrieb "Andreas Cadhalpun" < > andreas.cadhal...@googlemail.com>: >> >> On 01.11.2016 17:06, James Almer wrote: >>> On 11/1/2016 12:54 PM, Andreas Cadhalpun wrote: What I like about the approach of using the private