Re: [FFmpeg-devel] [PATCH] vp9: set color range to MPEG for intraonly profile 0

2017-08-21 Thread James Zern
On Sat, Aug 19, 2017 at 8:04 AM, Ronald S. Bultje wrote: > Hi, > > On Fri, Aug 18, 2017 at 11:31 PM, James Zern wrote: >> >> this is undocumented in the vp9 bitstream and decoding specification >> doc, but matches libvpx >> >> Signed-off-by: James Zern

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: move free fmp4_init_filename after hls_window operation

2017-08-21 Thread Steven Liu
2017-08-20 21:19 GMT+08:00 Steven Liu : > fix ticket id: 6599 > > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index

[FFmpeg-devel] [PATCH] avcodec/dvbsubdec: Check for duplicate regions in dvbsub_parse_page_segment()

2017-08-21 Thread Michael Niedermayer
Fixes: OOM Fixes: 3051/clusterfuzz-testcase-minimized-5745818336231424 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/dvbsubdec.c | 9 + 1 file changed, 9

[FFmpeg-devel] [PATCH 4/6] avcodec/vorbisenc: Move encoder structures and macros to separate file

2017-08-21 Thread Tyler Jones
Encoder structures are moved to a separate header file to improve readability. Signed-off-by: Tyler Jones --- libavcodec/vorbisenc.c | 118 +--- libavcodec/vorbisenc.h | 145 + 2 files

[FFmpeg-devel] [PATCH 2/6] avcodec/vorbisenc: Apply dynamic frame lengths

2017-08-21 Thread Tyler Jones
Additional codebooks are added for shorter 128-sample frames. Changes in codeword generation are made to handle valid values of 0 that prepend some codebooks, otherwise books are classified incorrectly and cause unreadable streams. A second residue, floor, and mapping is created for short window

[FFmpeg-devel] [PATCH 1/6] avcodec/vorbisenc: Add pre-echo detection

2017-08-21 Thread Tyler Jones
The encoder will attempt to determine the existence of transient signals by applying a 4th order highpass filter to remove dominant low frequency waveforms. Frames are then split up into blocks where the variance is calculated and compared with blocks from the previous frame. A preecho is only

[FFmpeg-devel] [PATCH 6/6] avcodec/vorbisenc: Add support for mono streams

2017-08-21 Thread Tyler Jones
Signed-off-by: Tyler Jones --- libavcodec/vorbis_enc_data.h | 245 ++- libavcodec/vorbisenc.c | 46 2 files changed, 267 insertions(+), 24 deletions(-) diff --git a/libavcodec/vorbis_enc_data.h

[FFmpeg-devel] [PATCH 5/6] avcodec/vorbisenc: Separate floor and residue configurations

2017-08-21 Thread Tyler Jones
The settings used for initializing the floor and residue codebooks are separated so that they aren't coupled for later changes for arbitrary channel configurations. Signed-off-by: Tyler Jones --- libavcodec/vorbis_enc_data.h | 112 ++---

[FFmpeg-devel] [PATCH 3/6] avcodec/vorbisenc: Add clipping avoidance

2017-08-21 Thread Tyler Jones
Clipping is avoided by taking the maximum value of each frame before window application, and scaling down the entire frame by a scalar factor. Signed-off-by: Tyler Jones --- libavcodec/vorbisenc.c | 8 libavcodec/vorbispsy.c | 17 +

[FFmpeg-devel] [PATCH 0/6] avcodec: Vorbis encoder improvements

2017-08-21 Thread Tyler Jones
Please see the following patches. The first two patches are identical to my latest pending changes sent to the mailing list on July 28. Changelogs are included regardless. The clipping avoidance patch should remove most clicking that had been noticed by atomnuker in previous versions. Thanks in

[FFmpeg-devel] [PATCH 1/2] avcodec/aac: Add floating point 960/120 MDCT window

2017-08-21 Thread Alex Converse
From: Paul B Mahol Co-Authored-By: Alex Converse --- libavcodec/aac.h | 3 + libavcodec/aacdec_template.c | 124 +++--- libavcodec/aactab.c | 120

[FFmpeg-devel] [PATCH 2/2] fate: add test vector aac-al04sf_48

2017-08-21 Thread Alex Converse
--- tests/fate/aac.mak | 4 1 file changed, 4 insertions(+) diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index 5ef8ddc2b9..e8cbcef54d 100644 --- a/tests/fate/aac.mak +++ b/tests/fate/aac.mak @@ -2,6 +2,10 @@ FATE_AAC += fate-aac-al04_44 fate-aac-al04_44: CMD = pcm -i

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/aacdec_template: Fix running cleanup in decode_ics_info()

2017-08-21 Thread Alex Converse
On Sun, Aug 20, 2017 at 5:15 PM, Michael Niedermayer wrote: > > Fixes: out of array read > Fixes: 2873/clusterfuzz-testcase-minimized-5924145713905664 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 1/1] libavdevice/decklink: configurablity to set max queue size

2017-08-21 Thread Matthias Hunstock
Am 21.08.2017 um 11:03 schrieb Patagar, Ravindra: > But I would like to inform that we are planning to submit many more patches > to this plugin, for support for Closed captions(CEA608), Digital program > insertion (SCTE 104) etc., so that the overall changes will be much higher > than this

Re: [FFmpeg-devel] [PATCH] avcodec/me_cmp: Fix crashes on ARM due to misalignment

2017-08-21 Thread Michael Niedermayer
On Sat, Aug 19, 2017 at 11:38:58PM +0200, Michael Niedermayer wrote: > Adds a diff_pixels_unaligned() > > Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872503 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/me_cmp.c | 10 +- >

Re: [FFmpeg-devel] [PATCH 13/18] lavc: Add mpeg2_metadata bitstream filter

2017-08-21 Thread Michael Niedermayer
On Sun, Aug 20, 2017 at 11:41:41PM +0100, Mark Thompson wrote: > (cherry picked from commit b78c30d7ec26af67c00ce2002709a189f6a87a7e) > --- > configure | 1 + > doc/bitstream_filters.texi | 36 > libavcodec/Makefile | 1 + >

[FFmpeg-devel] [PATCH] all: avoid data imports across DLL boundaries

2017-08-21 Thread wm4
From: Pedro Pombeiro DLL data imports cause problems on Windows. They normally require each variable to be correctly marked with dllimport/dllexport declspecs. For MSVC, we define av_export to dllimport declspec. This is not entirely correct - depending on which sub-lib

Re: [FFmpeg-devel] [PATCH 02/18] h264: Add stream constraint values to the common header

2017-08-21 Thread Michael Niedermayer
On Mon, Aug 21, 2017 at 11:56:11AM +0100, Mark Thompson wrote: > On 21/08/17 02:09, Michael Niedermayer wrote: > > On Sun, Aug 20, 2017 at 11:41:30PM +0100, Mark Thompson wrote: > >> With comments describing the derivation of each value. > >> > >> (cherry picked from commit

Re: [FFmpeg-devel] [PATCH]lavf/g726: Add a raw little-endian G.726 demuxer

2017-08-21 Thread Carl Eugen Hoyos
2017-08-18 19:25 GMT+02:00 Carl Eugen Hoyos : > Hi! > > Attached patch allows to read files produced by the "ITU compatible > binary G726 encoder" attached to ticket #6596. New patch attached that also allows reading an old sample found on ubuntuusers.de containing big-endian

[FFmpeg-devel] [PATCH]lavc/put_bits: Remove usage of BITSTREAM_WRITER_LE.

2017-08-21 Thread Carl Eugen Hoyos
Hi! Attached patch tries to slightly simplify and clean up the usage of put_bits* in libavcodec: put_bits_le() functions exist for the little-endian G.726 encoder, so the define makes less sense now. Fate passes here, please review, Carl Eugen From 6bad007ad31c8466bcddd093c1d46cb69f75681f Mon

Re: [FFmpeg-devel] [PATCH]lavc/g726: Add a little-endian G.726 encoder

2017-08-21 Thread Carl Eugen Hoyos
2017-08-18 21:00 GMT+02:00 Carl Eugen Hoyos : > Hi! > > Attached patch allows to encode samples that the binary decoder > attached to ticket #6596 can decode, they have the same format as the > ITU reference samples ("right-justified"). Patch applied, Carl Eugen

Re: [FFmpeg-devel] [PATCH 02/18] h264: Add stream constraint values to the common header

2017-08-21 Thread Mark Thompson
On 21/08/17 02:09, Michael Niedermayer wrote: > On Sun, Aug 20, 2017 at 11:41:30PM +0100, Mark Thompson wrote: >> With comments describing the derivation of each value. >> >> (cherry picked from commit aaf441465080b9bc57f5ca8dea656f9b2c5dc821) >> --- >> libavcodec/h264.h | 45

Re: [FFmpeg-devel] [PATCH 1/1] libavdevice/decklink: configurablity to set max queue size

2017-08-21 Thread Patagar, Ravindra
Hi Matthias, Thanks for that question. Yes, it is our company’s policy to add that copyright. It says, “All work submitted is copyright Akamai Technologies, Inc. released under the project’s license”. Since it is in the policy, I can’t add my name either. But I would like to inform that we

Re: [FFmpeg-devel] [PATCH 1/2] vaapi_hevc: Add an option to set quality level

2017-08-21 Thread Li, Zhong
> -Original Message- > From: Jun Zhao [mailto:mypopy...@gmail.com] > Sent: Monday, August 21, 2017 11:27 AM > To: FFmpeg development discussions and patches > ; Li, Zhong > Cc: s...@jkqxz.net; Zhao, Jun ;