Re: [FFmpeg-devel] Sponsoring feature for H.264 decoding with scaling factor (1/2, 1/4...) (if possible)

2016-06-20 Thread Eric Beuque
2016-06-20 0:35 GMT+02:00 Ivan Kalvachev : > On 6/17/16, Eric Beuque wrote: > > 2016-06-17 19:16 GMT+02:00 Michael Niedermayer : > > > >> On Fri, Jun 17, 2016 at 05:39:23PM +0200, Eric Beuque wrote: > >> > Hi, > >> > > >> > i'm posting here for a feature that is missing in ffmpeg (or may be i > >

Re: [FFmpeg-devel] Sponsoring feature for H.264 decoding with scaling factor (1/2, 1/4...) (if possible)

2016-06-20 Thread Michael Niedermayer
On Sun, Jun 19, 2016 at 11:42:42PM +0200, Eric Beuque wrote: > 2016-06-19 16:14 GMT+02:00 Michael Niedermayer : > > > On Sun, Jun 19, 2016 at 09:59:22AM +0200, Eric Beuque wrote: > > > 2016-06-18 13:46 GMT+02:00 Michael Niedermayer : > > > > > > > On Fri, Jun 17, 2016 at 07:26:59PM +0200, Eric Beu

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec{, _h264}: set FF_CODEC_CAP_SETS_PKT_DTS capability

2016-06-20 Thread Matthieu Bouron
On Sun, Jun 19, 2016 at 06:01:49PM +0200, Matthieu Bouron wrote: > On Fri, Jun 17, 2016 at 09:47:35AM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > And sets frames pkt_dts to AV_NOPTS_VALUE as we do not want lavc/utils > > to overwrite the field with incorrect values as the deco

Re: [FFmpeg-devel] Sponsoring feature for H.264 decoding with scaling factor (1/2, 1/4...) (if possible)

2016-06-20 Thread Eric Beuque
2016-06-20 9:57 GMT+02:00 Michael Niedermayer : > On Sun, Jun 19, 2016 at 11:42:42PM +0200, Eric Beuque wrote: > > 2016-06-19 16:14 GMT+02:00 Michael Niedermayer : > > > > > On Sun, Jun 19, 2016 at 09:59:22AM +0200, Eric Beuque wrote: > > > > 2016-06-18 13:46 GMT+02:00 Michael Niedermayer > : > >

[FFmpeg-devel] Is this a bug of Memory leak about NVENC

2016-06-20 Thread Ron
hi everyone; OS: ubuntu server 16.04 Driver Version: 361.42, GeForce GTX 970 Ffmpeg: ffmpeg-3.0.2.tar.bz2 configure: --enable-nonfree --enable-nvenc ffmpeg -y -i input.mp4 -c:a aac -c:v nvenc_hevc -f hevc output.hevc when I executed the ffmpeg,a part of memory leaked every time; before runn

Re: [FFmpeg-devel] [PATCH] lavf/mov: ignore ctts entries that do not apply to a least one sample

2016-06-20 Thread Matthieu Bouron
On Fri, Jun 17, 2016 at 01:26:10AM +0200, Michael Niedermayer wrote: > On Thu, Jun 16, 2016 at 05:26:14PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > Fixes packet pts of samples which contain ctts entries with count=0. > > --- > > > > Hello, > > > > The following patch fixes

Re: [FFmpeg-devel] [PATCH] lavf/mov: ignore ctts entries that do not apply to a least one sample

2016-06-20 Thread Matthieu Bouron
On Mon, Jun 20, 2016 at 11:22 AM, Matthieu Bouron wrote: > On Fri, Jun 17, 2016 at 01:26:10AM +0200, Michael Niedermayer wrote: > > On Thu, Jun 16, 2016 at 05:26:14PM +0200, Matthieu Bouron wrote: > > > From: Matthieu Bouron > > > > > > Fixes packet pts of samples which contain ctts entries with

[FFmpeg-devel] It happens on CTRL+C//re??Is this a bug of Memory leak about NVENC

2016-06-20 Thread Ron
It happens on CTRL+C; -- 原始邮件 -- 发件人: "Ron";; 发送时间: 2016年6月20日(星期一) 下午5:09 收件人: "ffmpeg-devel"; 主题: Is this a bug of Memory leak about NVENC hi everyone; OS: ubuntu server 16.04 Driver Version: 361.42, GeForce GTX 970 Ffmpeg: ffmpeg-3.0.2.tar.bz2 configur

Re: [FFmpeg-devel] [GSoC] Motion Interpolation

2016-06-20 Thread Davinder Singh
On Sat, Jun 18, 2016 at 3:16 AM Michael Niedermayer wrote: > On Fri, Jun 17, 2016 at 08:19:00AM +, Davinder Singh wrote: > [...] > > Yes, I did that, after understanding it completely. It now works with the > > motion vectors generated by mEstimate filter. Now I’m trying to improve > it > > b

Re: [FFmpeg-devel] [PATCH 2/2] swresample/x86: add support for exact_rational

2016-06-20 Thread Muhammad Faiz
On Thu, Jun 16, 2016 at 12:31 AM, Muhammad Faiz wrote: > phase_shift and phase_mask is removed > generally exact_rational=on is faster than exact_rational=off > > Signed-off-by: Muhammad Faiz > --- > libswresample/resample.c | 2 - > libswresample/resample.h | 3 -- > libswre

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec_h264: use ff_h264_decode_extradata to extract PPS/SPS

2016-06-20 Thread Matthieu Bouron
On Sun, Jun 19, 2016 at 07:44:44PM +0200, Matthieu Bouron wrote: > On Mon, Jun 13, 2016 at 02:37:29PM +0200, Matthieu Bouron wrote: > > On Mon, Jun 13, 2016 at 12:23:07PM +0200, Hendrik Leppkes wrote: > > > On Mon, Jun 13, 2016 at 11:51 AM, Matthieu Bouron > > > wrote: > > > > On Fri, Jun 10, 2016

Re: [FFmpeg-devel] [GSoC] Motion Interpolation

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 09:54:15AM +, Davinder Singh wrote: > On Sat, Jun 18, 2016 at 3:16 AM Michael Niedermayer > wrote: > > > On Fri, Jun 17, 2016 at 08:19:00AM +, Davinder Singh wrote: > > [...] > > > Yes, I did that, after understanding it completely. It now works with the > > > moti

Re: [FFmpeg-devel] [PATCH 02/13] lavf: update auto-bsf to new BSF API

2016-06-20 Thread Michael Niedermayer
On Sun, Jun 12, 2016 at 04:30:50PM -0500, Rodger Combs wrote: > --- > libavformat/internal.h | 5 +++-- > libavformat/mux.c | 45 +- > libavformat/segment.c | 6 +++-- > libavformat/utils.c| 59 > +- >

Re: [FFmpeg-devel] [PATCH 02/13] lavf: update auto-bsf to new BSF API

2016-06-20 Thread Jan Sebechlebsky
On 06/20/2016 02:04 PM, Michael Niedermayer wrote: On Sun, Jun 12, 2016 at 04:30:50PM -0500, Rodger Combs wrote: --- libavformat/internal.h | 5 +++-- libavformat/mux.c | 45 +- libavformat/segment.c | 6 +++-- libavformat/utils.c| 59 ++

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add myself for videotoolbox.c, remove vda* maintainer

2016-06-20 Thread Michael Niedermayer
On Thu, Jun 16, 2016 at 09:12:39AM -0400, Rick Kern wrote: > Person in MAINTAINERS hasn't responded to a patch on the ML or private > email, and doesn't maintain the files according to git. > > Signed-off-by: Rick Kern > --- > MAINTAINERS | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add pnm pipe demuxers

2016-06-20 Thread Clément Bœsch
On Thu, Jun 16, 2016 at 11:26:02AM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > Still unsure about the FATE changes. > Also couldn't test pgm vs pgmyuv due to a crash > --- > libavformat/Makefile| 5 + > libavformat/allformats.c| 5 + > libavformat/img2dec.c

Re: [FFmpeg-devel] [PATCH] lavf/mov: ignore ctts entries that do not apply to a least one sample

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 11:22:08AM +0200, Matthieu Bouron wrote: > On Fri, Jun 17, 2016 at 01:26:10AM +0200, Michael Niedermayer wrote: > > On Thu, Jun 16, 2016 at 05:26:14PM +0200, Matthieu Bouron wrote: > > > From: Matthieu Bouron > > > > > > Fixes packet pts of samples which contain ctts entri

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add pnm pipe demuxers

2016-06-20 Thread Carl Eugen Hoyos
Clément Bœsch pkh.me> writes: > +static int pgmyuv_probe(AVProbeData *p) > +{ > +int ret = pgmx_probe(p); > +return ret && av_match_ext(p->filename, "pgmyuv") ? ret : 0; You could add a comment that this format was invented within FFmpeg, I hadn't realized this. And you could check for

Re: [FFmpeg-devel] [PATCH 2/2] swresample/x86: add support for exact_rational

2016-06-20 Thread Michael Niedermayer
On Thu, Jun 16, 2016 at 12:31:04AM +0700, Muhammad Faiz wrote: > phase_shift and phase_mask is removed > generally exact_rational=on is faster than exact_rational=off > > Signed-off-by: Muhammad Faiz > --- > libswresample/resample.c | 2 - > libswresample/resample.h | 3 -- >

Re: [FFmpeg-devel] [PATCH] lavf/mov: ignore ctts entries that do not apply to a least one sample

2016-06-20 Thread Matthieu Bouron
On Mon, Jun 20, 2016 at 02:43:16PM +0200, Michael Niedermayer wrote: > On Mon, Jun 20, 2016 at 11:22:08AM +0200, Matthieu Bouron wrote: > > On Fri, Jun 17, 2016 at 01:26:10AM +0200, Michael Niedermayer wrote: > > > On Thu, Jun 16, 2016 at 05:26:14PM +0200, Matthieu Bouron wrote: > > > > From: Matth

[FFmpeg-devel] [PATCH] lavc/h264_ps: add ff_h264_ps_uninit and use it

2016-06-20 Thread Matthieu Bouron
From: Matthieu Bouron --- libavcodec/h264.c| 10 +- libavcodec/h264.h| 6 ++ libavcodec/h264_parser.c | 8 +--- libavcodec/h264_ps.c | 17 + 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add pnm pipe demuxers

2016-06-20 Thread Michael Niedermayer
On Thu, Jun 16, 2016 at 11:26:02AM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > Still unsure about the FATE changes. > Also couldn't test pgm vs pgmyuv due to a crash > --- > libavformat/Makefile| 5 + > libavformat/allformats.c| 5 + > libavformat/img2dec.c

Re: [FFmpeg-devel] [PATCH] lavc/h264_ps: add ff_h264_ps_uninit and use it

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 04:13:02PM +0200, Matthieu Bouron wrote: > From: Matthieu Bouron > > --- > libavcodec/h264.c| 10 +- > libavcodec/h264.h| 6 ++ > libavcodec/h264_parser.c | 8 +--- > libavcodec/h264_ps.c | 17 + > 4 files changed, 25

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Dan Parrot
Could a PPC maintainer verify that this patch integrates cleanly into the design? I would like to proceed with the remaining changes to close out ticket #5570 but since the first patch was rejected, I am unsure on whether I'll have to rewrite the code. Thanks. Dan. On Sun, 2016-06-19 at 21:57 +00

[FFmpeg-devel] [PATCH 2/3] avformat/segment: Ensure write_trailer is called

2016-06-20 Thread sebechlebskyjan
From: Jan Sebechlebsky Ensure that write_trailer is always called after successful write_header operation so underlying muxer is deinitialized. Signed-off-by: Jan Sebechlebsky --- This is a little tricky - we have to ensure that write_trailer is called if the write_header succeeded, however

[FFmpeg-devel] [PATCH 3/3] avformat/segment: Use deinit function to deinitialize muxer

2016-06-20 Thread sebechlebskyjan
From: Jan Sebechlebsky This commit moves all deinitialization of SegmentContext to seg_free_context function and registers this function as .deinit function of segment muxer. This also fixes memory leaks caused by context not being deinitialized when write_header call of segment muxer fails. Sig

[FFmpeg-devel] Fix memory leaks in segment muxer

2016-06-20 Thread sebechlebskyjan
From: Jan Sebechlebsky Hello, I've observed several memory leaks in segment muxer in case the failure happens in seg_init (write_header call). I'm sending patchset to fix those. Regards, Jan Jan Sebechlebsky (3): avformat/segment: Check write_header return value immediately avformat/segmen

[FFmpeg-devel] [PATCH 1/3] avformat/segment: Check write_header return value immediately

2016-06-20 Thread sebechlebskyjan
From: Jan Sebechlebsky Check write_header return value immediately after call, so in the successive statements we can assume the write_header was successful. Signed-off-by: Jan Sebechlebsky --- This is needed for the next patch in patchset. libavformat/segment.c | 9 + 1 file changed

Re: [FFmpeg-devel] [PATCH] lavc/h264_ps: add ff_h264_ps_uninit and use it

2016-06-20 Thread Matthieu Bouron
On Mon, Jun 20, 2016 at 05:00:22PM +0200, Michael Niedermayer wrote: > On Mon, Jun 20, 2016 at 04:13:02PM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > --- > > libavcodec/h264.c| 10 +- > > libavcodec/h264.h| 6 ++ > > libavcodec/h264_parser.c | 8

Re: [FFmpeg-devel] [PATCH] lavc/mediacodecdec_h264: use ff_h264_decode_extradata to extract PPS/SPS

2016-06-20 Thread Matthieu Bouron
On Mon, Jun 20, 2016 at 12:03:58PM +0200, Matthieu Bouron wrote: > On Sun, Jun 19, 2016 at 07:44:44PM +0200, Matthieu Bouron wrote: > > On Mon, Jun 13, 2016 at 02:37:29PM +0200, Matthieu Bouron wrote: > > > On Mon, Jun 13, 2016 at 12:23:07PM +0200, Hendrik Leppkes wrote: > > > > On Mon, Jun 13, 201

[FFmpeg-devel] [PATCH] fate: add test for alimiter

2016-06-20 Thread Petru Rares Sincraian
Hi there, Today I make a test for alimiter. Here is it :) Regards, Petru Rares.From f964d3524773df919d09df3316878997b8738f2b Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Mon, 20 Jun 2016 19:32:36 +0200 Subject: [PATCH] fate: add test for alimiter --- tests/fate/filter-audio.mak

Re: [FFmpeg-devel] Fix memory leaks in segment muxer

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 05:24:04PM +0200, sebechlebsky...@gmail.com wrote: > From: Jan Sebechlebsky > > Hello, > I've observed several memory leaks in segment muxer in case the > failure happens in seg_init (write_header call). > I'm sending patchset to fix those. > > Regards, > Jan > > Jan Se

Re: [FFmpeg-devel] [PATCH] fate: add test for alimiter

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 05:35:34PM +, Petru Rares Sincraian wrote: > Hi there, > > Today I make a test for alimiter. Here is it :) > > > Regards, > Petru Rares. > fate/filter-audio.mak|5 > ref/fate/filter-alimiter | 264 > +++ > 2 fil

Re: [FFmpeg-devel] [PATCH 1/2] Remove Benjamin Larsson from MAINTAINERS

2016-06-20 Thread Lou Logan
On Thu, 9 Jun 2016 21:21:22 +0200, Benjamin Larsson wrote: > --- > MAINTAINERS | 9 ++--- > 1 file changed, 2 insertions(+), 7 deletions(-) Applied after removing blocking trailing whitespace. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH v2 3/3] avformat/segment: Use deinit function to deinitialize muxer

2016-06-20 Thread sebechlebskyjan
From: Jan Sebechlebsky This commit moves all deinitialization of SegmentContext to seg_free_context function and registers this function as .deinit function of segment muxer. This also fixes memory leaks caused by context not being deinitialized when write_header call of segment muxer fails. Sig

Re: [FFmpeg-devel] [PATCH 2/2] swresample/x86: add support for exact_rational

2016-06-20 Thread Muhammad Faiz
On Mon, Jun 20, 2016 at 8:16 PM, Michael Niedermayer wrote: > On Thu, Jun 16, 2016 at 12:31:04AM +0700, Muhammad Faiz wrote: >> phase_shift and phase_mask is removed >> generally exact_rational=on is faster than exact_rational=off >> >> Signed-off-by: Muhammad Faiz >> --- >> libswresample/resamp

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Michael Niedermayer
On Sun, Jun 19, 2016 at 09:57:42PM +, Dan Parrot wrote: > First commit addressing Trac ticket #5570. Functions defined in > libswscale/input.c > have corresponding SIMD definitions in libswscale/ppc/input_vsx.c > --- > libswscale/ppc/Makefile |1 + > libswscale/ppc/input_vsx.c|

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Dan Parrot
On Tue, 2016-06-21 at 00:45 +0200, Michael Niedermayer wrote: > On Sun, Jun 19, 2016 at 09:57:42PM +, Dan Parrot wrote: > > First commit addressing Trac ticket #5570. Functions defined in > > libswscale/input.c > > have corresponding SIMD definitions in libswscale/ppc/input_vsx.c > > --- > >

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 05:55:47PM -0500, Dan Parrot wrote: > On Tue, 2016-06-21 at 00:45 +0200, Michael Niedermayer wrote: > > On Sun, Jun 19, 2016 at 09:57:42PM +, Dan Parrot wrote: > > > First commit addressing Trac ticket #5570. Functions defined in > > > libswscale/input.c > > > have corr

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Dan Parrot
On Tue, 2016-06-21 at 01:06 +0200, Michael Niedermayer wrote: > On Mon, Jun 20, 2016 at 05:55:47PM -0500, Dan Parrot wrote: > > On Tue, 2016-06-21 at 00:45 +0200, Michael Niedermayer wrote: > > > On Sun, Jun 19, 2016 at 09:57:42PM +, Dan Parrot wrote: > > > > First commit addressing Trac ticket

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Michael Niedermayer
On Mon, Jun 20, 2016 at 06:38:18PM -0500, Dan Parrot wrote: > On Tue, 2016-06-21 at 01:06 +0200, Michael Niedermayer wrote: > > On Mon, Jun 20, 2016 at 05:55:47PM -0500, Dan Parrot wrote: > > > On Tue, 2016-06-21 at 00:45 +0200, Michael Niedermayer wrote: > > > > On Sun, Jun 19, 2016 at 09:57:42PM

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Dan Parrot
On Tue, 2016-06-21 at 02:22 +0200, Michael Niedermayer wrote: > On Mon, Jun 20, 2016 at 06:38:18PM -0500, Dan Parrot wrote: > > On Tue, 2016-06-21 at 01:06 +0200, Michael Niedermayer wrote: > > > On Mon, Jun 20, 2016 at 05:55:47PM -0500, Dan Parrot wrote: > > > > On Tue, 2016-06-21 at 00:45 +0200,

Re: [FFmpeg-devel] [PATCH 1/2] avformat/oggparsevorbis: use the base64 decode size macro

2016-06-20 Thread James Almer
On 6/16/2016 7:30 PM, James Almer wrote: > Allocate the memory needed for the decoded data rather than the > encoded data. > > Signed-off-by: James Almer > --- > libavformat/oggparsevorbis.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Patchset pushed.

[FFmpeg-devel] [PATCH] libavformat/matroskaenc: omit segment UID for webm

2016-06-20 Thread Michael Bradshaw
Hi, Attached patch removes SegmentUID element from WebM files, as it's unsupported in WebM[1]. Please review/apply. Thanks, Michael [1]: https://www.webmproject.org/docs/container/#SegmentUID 0001-libavformat-matroskaenc-omit-segment-UID-for-webm.patch Description: Binary data __

Re: [FFmpeg-devel] [PATCH] Fix videotoolbox compile error on OS X 10.8.

2016-06-20 Thread Dan Dennedy
On Sun, Jun 19, 2016 at 9:25 PM Richard Kern wrote: > > > On Jun 19, 2016, at 6:11 PM, Dan Dennedy wrote: > > > > Fixes error: > > libavcodec/videotoolbox.c:511:18: error: implicit declaration of > > function 'CMVideoFormatDescriptionCreateFromH264ParameterSets' is > > invalid in C99 > > > > Thi

Re: [FFmpeg-devel] [PATCH] PPC64: Add IBM POWER8 SIMD Implementation

2016-06-20 Thread Dan Parrot
On Tue, 2016-06-21 at 02:22 +0200, Michael Niedermayer wrote: > On Mon, Jun 20, 2016 at 06:38:18PM -0500, Dan Parrot wrote: > > On Tue, 2016-06-21 at 01:06 +0200, Michael Niedermayer wrote: > > > On Mon, Jun 20, 2016 at 05:55:47PM -0500, Dan Parrot wrote: > > > > On Tue, 2016-06-21 at 00:45 +0200,

Re: [FFmpeg-devel] [PATCH] Fix videotoolbox compile error on OS X 10.8.

2016-06-20 Thread Dan Dennedy
On Mon, Jun 20, 2016 at 9:45 PM Dan Dennedy wrote: > On Sun, Jun 19, 2016 at 9:25 PM Richard Kern wrote: > >> >> > On Jun 19, 2016, at 6:11 PM, Dan Dennedy wrote: >> > >> > Fixes error: >> > libavcodec/videotoolbox.c:511:18: error: implicit declaration of >> > function 'CMVideoFormatDescription