Re: [FFmpeg-devel] [PATCH] doc/formats: Add documentation for skip_estimate_duration_from_pts

2018-07-24 Thread Gyan Doshi
On 25-07-2018 04:19 AM, Michael Niedermayer wrote: + +@item skip_estimate_duration_from_pts @var{bool} (@emph{input}) +skip duration calculation from pts. The function this is in is only called for MPEG-PS or seekable MPEG-TS. We should note that. The comment above the function says it's

Re: [FFmpeg-devel] [PATCH] swresample/swresample: Fix input channel count in resample_first computation

2018-07-24 Thread Marcin Gorzel
Looks good, thanks Michael! On Tue, Jul 24, 2018 at 6:15 PM Michael Niedermayer wrote: > Found-by: Marcin Gorzel > Signed-off-by: Michael Niedermayer > --- > libswresample/swresample.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libswresample/swresample.c

Re: [FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

2018-07-24 Thread Michael Niedermayer
On Tue, Jul 24, 2018 at 06:55:08AM -0700, Marcin Gorzel wrote: > On Mon, Jul 23, 2018 at 7:52 AM Michael Niedermayer > wrote: > > > On Sat, Jul 21, 2018 at 07:31:12PM +0100, Marcin Gorzel wrote: > > > Rematrixing supports up to 64 channels. However, there is only a limited > > number of channel

Re: [FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

2018-07-24 Thread Michael Niedermayer
On Tue, Jul 24, 2018 at 02:55:47PM +0100, Marcin Gorzel wrote: > Rematrixing supports up to 64 channels. However, there is only a limited > number of channel layouts defined. Since the in/out channel count is > currently obtained from the channel layout, for undefined layouts (e.g. for > 9, 10,

[FFmpeg-devel] [PATCH] swresample/swresample: Fix input channel count in resample_first computation

2018-07-24 Thread Michael Niedermayer
Found-by: Marcin Gorzel Signed-off-by: Michael Niedermayer --- libswresample/swresample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 5bd39caac4..6d28e6a798 100644 --- a/libswresample/swresample.c +++

Re: [FFmpeg-devel] [PATCH] doc/formats: Add documentation for skip_estimate_duration_from_pts

2018-07-24 Thread myp...@gmail.com
On Wed, Jul 25, 2018 at 6:50 AM Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > --- > doc/formats.texi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/doc/formats.texi b/doc/formats.texi > index a97d61063a..738a4bb6e2 100644 > --- a/doc/formats.texi > +++

Re: [FFmpeg-devel] [PATCH 0/2] add sad 32x32 with sse2/avx2 optimizations.

2018-07-24 Thread myp...@gmail.com
On Tue, Jul 17, 2018 at 7:25 PM Jun Zhao wrote: > > V2: - update performance data > - hold on minterpolate filter improvement (need to more talk for > minterpolate improvement) > > Jun Zhao (2): > lavutil/pixelutils: add sad_32x32 in pixelutils API. > avutil/pixelutils: sad_32x32

[FFmpeg-devel] [PATCH] doc/formats: Add documentation for skip_estimate_duration_from_pts

2018-07-24 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/formats.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/formats.texi b/doc/formats.texi index a97d61063a..738a4bb6e2 100644 --- a/doc/formats.texi +++ b/doc/formats.texi @@ -220,6 +220,9 @@ ffprobe -dump_separator " @item max_streams

[FFmpeg-devel] [PATCH] Fixed incorrect timestamps and initialization issues in transcoding.c example.

2018-07-24 Thread Brian C . Wiles
--- doc/examples/transcoding.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c index a83fa3a185..bf653f7c50 100644 --- a/doc/examples/transcoding.c +++ b/doc/examples/transcoding.c @@ -2,6 +2,7 @@ * Copyright

Re: [FFmpeg-devel] [PATCH]lavf/mov: Make auxiliary_offsets consistently size_t.

2018-07-24 Thread Carl Eugen Hoyos
2018-07-21 22:43 GMT+02:00, Michael Niedermayer : > On Sat, Jul 21, 2018 at 03:52:19PM +0200, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch fixes a warning on ppc32: >> libavformat/mov.c: In function ‘mov_read_saio’: >> libavformat/mov.c:6207:45: warning: assignment from incompatible >>

Re: [FFmpeg-devel] [RFC] Make the user help mailing lists subscription only

2018-07-24 Thread Lou Logan
On Tue, Jul 17, 2018, at 2:43 PM, Lou Logan wrote: > I'm considering changing the ffmpeg-user and libav-user mailing lists to > only accept messages from subscribed users. Implemented. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] Why not integrate libyuv as a scale filter

2018-07-24 Thread Carl Eugen Hoyos
2018-07-23 16:39 GMT+02:00, Jeff <163j...@163.com>: > It seems like libyuv has better performace on scaling > than libswscale. Which platform did you test? Iirc, libswscale supports slices but the scale filter does not, so there is a possibility to improve the performance (from a user's

Re: [FFmpeg-devel] [PATCH v4][GSOC] avfilter: added colorconstancy

2018-07-24 Thread Thilo Borgmann
Am 24.07.18 um 19:07 schrieb Paul B Mahol: > On 7/24/18, Rostislav Pehlivanov wrote: >> On 24 July 2018 at 17:10, Paul B Mahol wrote: >> >>> On 7/24/18, Rostislav Pehlivanov wrote: On 23 July 2018 at 21:36, Thilo Borgmann wrote: > Am 19.07.18 um 08:26 schrieb Thilo Borgmann:

Re: [FFmpeg-devel] [PATCH v4][GSOC] avfilter: added colorconstancy

2018-07-24 Thread Paul B Mahol
On 7/24/18, Rostislav Pehlivanov wrote: > On 24 July 2018 at 17:10, Paul B Mahol wrote: > >> On 7/24/18, Rostislav Pehlivanov wrote: >> > On 23 July 2018 at 21:36, Thilo Borgmann wrote: >> > >> >> Am 19.07.18 um 08:26 schrieb Thilo Borgmann: >> >> > >> >> > >> >> >> Am 16.07.2018 um 13:41

Re: [FFmpeg-devel] [PATCH v4][GSOC] avfilter: added colorconstancy

2018-07-24 Thread Rostislav Pehlivanov
On 24 July 2018 at 17:10, Paul B Mahol wrote: > On 7/24/18, Rostislav Pehlivanov wrote: > > On 23 July 2018 at 21:36, Thilo Borgmann wrote: > > > >> Am 19.07.18 um 08:26 schrieb Thilo Borgmann: > >> > > >> > > >> >> Am 16.07.2018 um 13:41 schrieb Mina : > >> >> > >> >> Hi, > >> >> > >> >>

Re: [FFmpeg-devel] [PATCH v4][GSOC] avfilter: added colorconstancy

2018-07-24 Thread Paul B Mahol
On 7/24/18, Rostislav Pehlivanov wrote: > On 23 July 2018 at 21:36, Thilo Borgmann wrote: > >> Am 19.07.18 um 08:26 schrieb Thilo Borgmann: >> > >> > >> >> Am 16.07.2018 um 13:41 schrieb Mina : >> >> >> >> Hi, >> >> >> >> This patch introduces Grey-Edge algorithm as part of the Color >>

Re: [FFmpeg-devel] [PATCH v4][GSOC] avfilter: added colorconstancy

2018-07-24 Thread Rostislav Pehlivanov
On 23 July 2018 at 21:36, Thilo Borgmann wrote: > Am 19.07.18 um 08:26 schrieb Thilo Borgmann: > > > > > >> Am 16.07.2018 um 13:41 schrieb Mina : > >> > >> Hi, > >> > >> This patch introduces Grey-Edge algorithm as part of the Color > Constancy Filter project in GSOC. > >> > >> V4 changes: >

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_d3d11va: fix type arguments passed to IDXGIAdapter2_GetDesc()

2018-07-24 Thread Jean-Baptiste Kempf
LGTM. DXGI_ADAPTER_DESC2 should only be used for IDXGIAdapter2::GetDesc2() On Tue, 24 Jul 2018, at 01:47, James Almer wrote: > libavutil/hwcontext_d3d11va.c: In function 'd3d11va_device_create': > libavutil/hwcontext_d3d11va.c:554:46: warning: passing argument 2 of >

Re: [FFmpeg-devel] video filter with R8G8B8 input and R10G10B10 output

2018-07-24 Thread Paul B Mahol
On 7/24/18, Guo, Yejun wrote: > Hi, > > I'm trying a deep learning model with converts SDR (with format R8G8B8) to > HDR (with format R10G10B10) with ffmpeg. I wrote a video filter with only > supported format AV_PIX_FMT_RGB24 (see code below), it turns out that the > format of the input frame of

Re: [FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

2018-07-24 Thread Marcin Gorzel
On Mon, Jul 23, 2018 at 7:52 AM Michael Niedermayer wrote: > On Sat, Jul 21, 2018 at 07:31:12PM +0100, Marcin Gorzel wrote: > > Rematrixing supports up to 64 channels. However, there is only a limited > number of channel layouts defined. Since the in/out channel count is > currently obtained

[FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

2018-07-24 Thread Marcin Gorzel
Rematrixing supports up to 64 channels. However, there is only a limited number of channel layouts defined. Since the in/out channel count is currently obtained from the channel layout, for undefined layouts (e.g. for 9, 10, 11 channels etc.) the rematrixing fails. This patch changes rematrix

Re: [FFmpeg-devel] [PATCH 3/5] Renamed reinterlace to tinterlace

2018-07-24 Thread Vasile Toncu
Fixed tabs. Thank you for the feedback. On Fri, Jul 20, 2018 at 7:27 PM, Paul B Mahol wrote: > On 7/20/18, Vasile Toncu wrote: > > Hi, > > > > Did you have the time to take a look at patches 2 and 3? It's everything > > fine? > > Yes and no, patches have tabs. Please fix that. >

Re: [FFmpeg-devel] [PATCH 2/5] Added reinterlace filter

2018-07-24 Thread Vasile Toncu
Fixed tabs. On Mon, Jul 16, 2018 at 4:50 PM, Vasile Toncu wrote: > Hello, > > I have updated patch 2, it shall work now. > > Thank you, > Vasile Toncu > > > On Mon, Jul 16, 2018 at 4:49 PM, Vasile Toncu > wrote: > >> Hello, >> >> I have updated patch 2, it shall work now. >> >> Thank you, >>

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: drop invalid index table segments when sorting them

2018-07-24 Thread Marton Balint
On Wed, 18 Jul 2018, Tomas Härdin wrote: fre 2018-07-13 klockan 23:43 +0200 skrev Marton Balint: This way we can guess a proper index instead of using an invalid one. Fixes seeking in the sample of ticket #5671. > Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 25

[FFmpeg-devel] video filter with R8G8B8 input and R10G10B10 output

2018-07-24 Thread Guo, Yejun
Hi, I'm trying a deep learning model with converts SDR (with format R8G8B8) to HDR (with format R10G10B10) with ffmpeg. I wrote a video filter with only supported format AV_PIX_FMT_RGB24 (see code below), it turns out that the format of the input frame of the filter is R8G8B8, and so the