[FFmpeg-devel] [PATCH] avcodec/shorten: fix decoding of very large block sizes

2016-04-09 Thread Paul B Mahol
Hi, patch attached. From 125cca58e8c29f376dac293227bd8e395d164687 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 9 Apr 2016 15:57:41 +0200 Subject: [PATCH] avcodec/shorten: fix decoding of very large (>2048) block sizes Signed-off-by: Paul B Mahol

Re: [FFmpeg-devel] [Patch][GSoC] Motion Estimation filter

2016-04-09 Thread Davinder Singh
hi here's the new patch. changes: fixed bugs, added documentation added a step option, by default, while searching for macro-block, it moves by 1 px in search area. this can be increased now. uses absolute values instead of squares. vector starts from center of macro-block, before it was at

Re: [FFmpeg-devel] [Patch][GSoC] Motion Estimation filter

2016-04-09 Thread Paul B Mahol
On 4/9/16, Davinder Singh wrote: > hi > here's the new patch. > > changes: fixed bugs, added documentation > added a step option, by default, while searching for macro-block, it moves > by 1 px in search area. this can be increased now. > uses absolute values instead of

[FFmpeg-devel] [PATCH 13/13] lavc/videotoolboxenc: Set colorimetry values

2016-04-09 Thread Rick Kern
Signed-off-by: Rick Kern --- configure| 3 + libavcodec/videotoolboxenc.c | 209 +++ 2 files changed, 212 insertions(+) diff --git a/configure b/configure index 94a66d8..10d4bab 100755 --- a/configure +++

[FFmpeg-devel] [PATCH 04/13] lavc/videotoolboxenc: Add entropy setting

2016-04-09 Thread Rick Kern
Add an entropy setting to choose between CAVLC and CABAC. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 32 1 file changed, 32 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index

[FFmpeg-devel] [PATCH 09/13] lavc/videotoolboxenc: Add keyframes_only property

2016-04-09 Thread Rick Kern
Outputs only I-frames when set. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 5430479..c9a60b7 100644 ---

[FFmpeg-devel] [PATCH 11/13] lavc/videotoolboxenc: Support for forced I-frames

2016-04-09 Thread Rick Kern
Setting AVFrame.pic_type to AV_PICTURE_TYPE_I will force an I-frame. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/libavcodec/videotoolboxenc.c

Re: [FFmpeg-devel] [PATCH 09/13] lavc/videotoolboxenc: Add keyframes_only property

2016-04-09 Thread Carl Eugen Hoyos
Rick Kern gmail.com> writes: > +{ "keyframes_only", "Output only I-frames", OFFSET(keyframes_only), I suspect this should check for -g 1 instead. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 13/13] lavc/videotoolboxenc: Set colorimetry values

2016-04-09 Thread Carl Eugen Hoyos
Rick Kern gmail.com> writes: > +enabled kCVImageBufferColorPrimaries_ITU_R_2020 && > add_cppflags -DHAVE_VT_BT2020_KEYS This is not ok, the define should be added to config.h. > +#ifndef HAVE_VT_BT2020_KEYS > +# define kCVImageBufferColorPrimaries_ITU_R_2020 CFSTR("ITU_R_2020") > +# define

Re: [FFmpeg-devel] [PATCH] Implement hdcd filtering

2016-04-09 Thread Carl Eugen Hoyos
Michael Niedermayer niedermayer.cc> writes: > On Thu, Apr 07, 2016 at 03:21:46PM +0200, Benjamin St wrote: > > > if the license is compatible with the LGPL then you could > > > be added to the exceptions > > > > > Is it compatible? I would say yes... (but I'm not sure) > > ill leave that to

Re: [FFmpeg-devel] [PATCH] [WIP] Updated MLP encoder - Qualification Task (TrueHD)

2016-04-09 Thread Jai Luthra
Hi, I've updated the patch (attached): * Fixed the build warnings * Applied atomnuker's changes to update the mlp_encode_frame function * Added AudioFrameQueue as suggested by atomnuker The encoder now works without any errors to silence and can encode stereo files with a valid bitstream. I

Re: [FFmpeg-devel] [PATCH] Implement hdcd filtering

2016-04-09 Thread Michael Niedermayer
On Sat, Apr 09, 2016 at 11:35:03PM +0200, Benjamin St wrote: > > > > Changelog entry and docs update missing > > > Fixed > > has this been tested against some reference / known to be correct > > output for some stream ? > > It has been tested again examples uploaded at ticket #4441 > > a

[FFmpeg-devel] [PATCH 12/13] lavc/videotoolboxenc: Support pixel aspect ratio

2016-04-09 Thread Rick Kern
Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 54 1 file changed, 54 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 0a79ee0..72743b5 100644 ---

[FFmpeg-devel] [PATCH 00/13] videotoolbox encoder features and fixes

2016-04-09 Thread Rick Kern
Added several encoding parameters (ticket #5357), and fixed some bugs. Rick Kern (13): lavc/videotoolboxenc: Use shared pixel buffer pool lavc/videotoolboxenc: Handle hwaccel format as input lavc/videotoolboxenc: Remove redundant code lavc/videotoolboxenc: Add entropy setting

Re: [FFmpeg-devel] [PATCH 12/13] lavc/videotoolboxenc: Support pixel aspect ratio

2016-04-09 Thread Carl Eugen Hoyos
Rick Kern gmail.com> writes: > +if (status) { > +av_log( > + avctx, > + AV_LOG_ERROR, > + "Error setting pixel aspect ratio to %d:%d: %d.\n", Why would the function call fail? I would expect that the pixel aspect ratio

[FFmpeg-devel] [PATCH]lavf/mpegts: Add extension "m2t"

2016-04-09 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #4862 for me. Please comment, Carl Eugen diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index e44da1f..90aa79f 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2839,6 +2839,7 @@ AVInputFormat ff_mpegts_demuxer = { .name =

Re: [FFmpeg-devel] [PATCH] Implement hdcd filtering

2016-04-09 Thread Carl Eugen Hoyos
Michael Niedermayer niedermayer.cc> writes: > has this been tested against some reference / known to > be correct output for some stream ? Ticket #4441 contains a file HDCD16.flac with an original stream from a DVD and HDCD32.flac which contains the output as produced by the Windows tool to

Re: [FFmpeg-devel] [Patch][GSoC] Motion Estimation filter

2016-04-09 Thread Davinder Singh
ok, applied the changes. with new closest vector condition. will add threshold now. On Sun, Apr 10, 2016 at 12:47 AM Paul B Mahol wrote: > On 4/9/16, Davinder Singh wrote: > > hi > > here's the new patch. > > > > changes: fixed bugs, added documentation >

[FFmpeg-devel] [PATCH 02/13] lavc/videotoolboxenc: Handle hwaccel format as input

2016-04-09 Thread Rick Kern
Handle AV_PIX_FMT_VIDEOTOOLBOX. This results in better energy usage and faster encoding, especially on iOS. When the buffer comes from the media server, no memcpy's are needed. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 26 +- 1 file

[FFmpeg-devel] [PATCH 10/13] lavc/videotoolboxenc: add concatentation properties

2016-04-09 Thread Rick Kern
Add frames_before and frames_after as hints that there will be frames before or after the frames produced in this session. This may help with concatenation issues like bit rate spikes. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 30

[FFmpeg-devel] [PATCH 07/13] lavc/videotoolboxenc: Handle out-of-memory and fix memory leak

2016-04-09 Thread Rick Kern
Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 196f00b..a3f7e5e 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@

[FFmpeg-devel] [PATCH 06/13] lavc/videotoolboxenc: Fix DTS

2016-04-09 Thread Rick Kern
Some devices output an invalid DTS when B-frames aren't used. Using PTS for the DTS in this case. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c

[FFmpeg-devel] [PATCH 05/13] lavc/videotoolboxenc: Fix AVCodecContext.has_b_frames usage.

2016-04-09 Thread Rick Kern
Now set by the encoder, not used as an input parameter. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index

[FFmpeg-devel] [PATCH 08/13] lavc/videotoolboxenc: Add realtime encoding property

2016-04-09 Thread Rick Kern
Hint to the encoder that encoding should be done in real-time, even at the expense of quality. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavcodec/videotoolboxenc.c

[FFmpeg-devel] [PATCH 03/13] lavc/videotoolboxenc: Remove redundant code

2016-04-09 Thread Rick Kern
Don't require hardware encoding and explicitly fallback to software if it fails. Enabling it without requiring it will use hardware encoding if available. Signed-off-by: Rick Kern --- libavcodec/videotoolboxenc.c | 20 1 file changed, 20 deletions(-) diff

Re: [FFmpeg-devel] [WIP] [GSoC] P frame support for FFV1 codec

2016-04-09 Thread Michael Niedermayer
On Sat, Apr 09, 2016 at 04:09:16PM +0100, Станислав Долганов wrote: > Capability problem fix and several new tests. P frame support via -pframe 1 > flag. patch and gsoc qualification ok Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Rewriting code

[FFmpeg-devel] [PATCH] swscale/arm: add yuv2planeX_8_neon

2016-04-09 Thread Matthieu Bouron
From: Matthieu Bouron --- Hello, The following patch add yuv2planeX_8_neon function for the arm platform. It is currently restricted to 8-bit per component sources until I fix fate issues with 10-bit sources (the dnxhd-*-10bit tests fail but I haven't figured