Re: [FFmpeg-devel] [PATCH 2/6] avcodec/v4l2_m2m: fix cant typo

2018-12-29 Thread Michael Niedermayer
On Fri, Dec 28, 2018 at 11:35:52PM +0100, Moritz Barsnick wrote: > On Fri, Dec 28, 2018 at 22:22:53 +0100, Michael Niedermayer wrote: > > - * Reinitializes the V4L2m2mContext when the driver cant continue > > processing > > + * Reinitializes the V4L2m2mContext when the driver cannot continue > >

Re: [FFmpeg-devel] [PATCH] delogo filter: new "uglarm" interpolation mode added

2018-12-29 Thread Uwe Freese
Hello, here's a new version of the patch. Changes since the last version of the patch (mail from 27.12. 13:00), according the comments from Moritz and Carl Eugen: - using av_assert0 instead of throwing an error if planes > MAX_PLANES - using av_freep with the reference operator in uninit -

Re: [FFmpeg-devel] [PATCH 1/2] tools/target_dec_fate.sh: print some statistics

2018-12-29 Thread Carl Eugen Hoyos
> Am 29.12.2018 um 17:40 schrieb Derek Buitenhuis : > >> On 29/12/2018 09:47, Moritz Barsnick wrote: >> I believe this is the sort of math that won't work on old, non-POSIX >> Bourne shells. (I'm thinking Solaris /bin/sh here.) In case that >> even matters. > > I don't think we care about

Re: [FFmpeg-devel] [Compiled Failed] Trying to compile FFmpeg with mysofa and it failed at af_sofalizer.c:164:32

2018-12-29 Thread James Almer
On 12/29/2018 8:09 AM, Paul B Mahol wrote: > On 12/29/18, Ysy wrote: >> I was trying to compile FFmpeg with `--enable-libmysofa`, and it failed with >> this message below: >> >> src/libavfilter/af_sofalizer.c:164:32: error: implicit declaration of >> function

Re: [FFmpeg-devel] [PATCH 1/2] tools/target_dec_fate.sh: print some statistics

2018-12-29 Thread Derek Buitenhuis
On 29/12/2018 09:47, Moritz Barsnick wrote: > I believe this is the sort of math that won't work on old, non-POSIX > Bourne shells. (I'm thinking Solaris /bin/sh here.) In case that > even matters. I don't think we care about those, e.g.: ~/ffmpeg$ grep '+1)' configure eval

Re: [FFmpeg-devel] [PATCH] avcodec/prores_ks: fixed luma quantize if q >= MAX_STORED_Q

2018-12-29 Thread Derek Buitenhuis
On 28/12/2018 20:30, Alex Mogurenko wrote: > --- > libavcodec/proresenc_kostya.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) I think it's OK. I'll push it in 24 hours if noone else objects. - Derek ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH v2] mov: Remove duration-of-last-frame heuristic hack

2018-12-29 Thread Derek Buitenhuis
On 29/12/2018 10:36, Carl Eugen Hoyos wrote: > Please provide a sample. I mean, the hack being removing is *obviously* wrong and against the QTFF and ISOBMFF specs, to ignore values based on a heuristic. However, since you insist: http://chromashift.org/ffmpegsamps/valid_file.mp4 - Derek

Re: [FFmpeg-devel] [PATCH] libavcodec: Remove dynamic relocs from aarch64/h264idct_neon.S

2018-12-29 Thread Manoj Gupta
On Sat, Dec 29, 2018 at 2:32 AM Carl Eugen Hoyos wrote: > > 2018-12-29 0:12 GMT+01:00, Manoj Gupta : > > > I recently had a problem building ffmpeg for AArch64 where lld > > linker complained about text relocations in readonly segment. > > The following patch fixes the linker complains by

Re: [FFmpeg-devel] Install from Source on CentOS 7

2018-12-29 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2018-12-28 19:21, Moritz Barsnick wrote: > x265 messed it up, with a commit created 15 days ago: > http://ffmpeg.org/pipermail/ffmpeg-user/2018-December/042609.html Hmm, ok. It must have been authored 15 days ago, but commited after Dec 24th.

Re: [FFmpeg-devel] [PATCH] avcodec/dxva2_mpeg2.c: don't try to get surface index for absent frame

2018-12-29 Thread Hendrik Leppkes
On Wed, Dec 26, 2018 at 8:55 PM Anton Fedchin wrote: > > From: Anton Fedchin > > after 153b36f there is a possibility to crash when trying to get index of > a surface which points to nirvana. it may occurs when a mpeg2 stream starts > with non i-frame. > --- > libavcodec/dxva2_mpeg2.c | 4 ++--

Re: [FFmpeg-devel] [Compiled Failed] Trying to compile FFmpeg with mysofa and it failed at af_sofalizer.c:164:32

2018-12-29 Thread Ysy
Oh I forget that. Thanks. Feel that I was a fool  ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 2/2] ffmpeg: allow disabling streams by type for inputs

2018-12-29 Thread Gyan
-vn/-an/-sn/-dn now work for inputs Gyan. From b6efe47010cda7b9d53d7464d68f5c63d0df7ff7 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sat, 29 Dec 2018 16:19:09 +0530 Subject: [PATCH 2/2] ffmpeg: allow disabling streams by type for inputs -vn/-an/-sn/-dn now works for input. Streams are

Re: [FFmpeg-devel] [Compiled Failed] Trying to compile FFmpeg with mysofa and it failed at af_sofalizer.c:164:32

2018-12-29 Thread Paul B Mahol
On 12/29/18, Ysy wrote: > I was trying to compile FFmpeg with `--enable-libmysofa`, and it failed with > this message below: > > src/libavfilter/af_sofalizer.c:164:32: error: implicit declaration of > function 'mysofa_neighborhood_init_withstepdefine' is invalid in C99 >

[FFmpeg-devel] [PATCH 1/2] ffmpeg: skip disabled streams

2018-12-29 Thread Gyan
At Michael's suggestion, earlier patch broken into two. This one stops discarded streams from being processed. A few more checks added. Gyan From fef4f27c42058b40547181e45073517abc9a57ea Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sat, 29 Dec 2018 16:17:05 +0530 Subject: [PATCH 1/2]

Re: [FFmpeg-devel] [PATCH] avcodec/dxva2_mpeg2.c: don't try to get surface index for absent frame

2018-12-29 Thread Carl Eugen Hoyos
2018-12-22 14:12 GMT+01:00, Anton Fedchin : > From: Anton Fedchin > > after 153b36f there is a possibility to crash when trying to get index of > a surface which points to nirvana. it may occurs when a mpeg2 stream starts > with non i-frame. > --- > libavcodec/dxva2_mpeg2.c | 4 ++-- > 1 file

Re: [FFmpeg-devel] possible bug

2018-12-29 Thread Carl Eugen Hoyos
2018-12-28 16:25 GMT+01:00, Bogárdi Mátyás : > Hello, I have got this warning in StaxRip: "encoder : Lavc58.35.100 flac > [dca @ 023cd4738e40] 10 XLL channels is not implemented. Update your > FFmpeg version to the newest one from Git. If the problem still occurs, it > means that your file has

Re: [FFmpeg-devel] [PATCH v2] mov: Remove duration-of-last-frame heuristic hack

2018-12-29 Thread Carl Eugen Hoyos
2018-12-28 17:07 GMT+01:00, Derek Buitenhuis : > On 24/12/2018 19:55, Derek Buitenhuis wrote: >> This breaks totally valid files that get caught in its heuristic. >> >> This, according to the commit message, is my own doing, having asked >> Michael to implement this check and providing a sample

[FFmpeg-devel] [Compiled Failed] Trying to compile FFmpeg with mysofa and it failed at af_sofalizer.c:164:32

2018-12-29 Thread Ysy
I was trying to compile FFmpeg with `--enable-libmysofa`, and it failed with this message below: src/libavfilter/af_sofalizer.c:164:32: error: implicit declaration of function 'mysofa_neighborhood_init_withstepdefine' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

Re: [FFmpeg-devel] [PATCH] libavcodec: Remove dynamic relocs from aarch64/h264idct_neon.S

2018-12-29 Thread Carl Eugen Hoyos
2018-12-29 0:12 GMT+01:00, Manoj Gupta : > I recently had a problem building ffmpeg for AArch64 where lld > linker complained about text relocations in readonly segment. > The following patch fixes the linker complains by referring to a > local label instead of function name. Do you know why

Re: [FFmpeg-devel] [PATCH 1/2] tools/target_dec_fate.sh: print some statistics

2018-12-29 Thread Moritz Barsnick
On Sat, Dec 29, 2018 at 02:35:18 +0100, Michael Niedermayer wrote: > +CACHED=$((CACHED+1)) I believe this is the sort of math that won't work on old, non-POSIX Bourne shells. (I'm thinking Solaris /bin/sh here.) In case that even matters. Moritz