Re: [FFmpeg-devel] [PATCH] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-28 Thread Thomas Mundt
Hi Cosmin, Cosmin Stejerean via ffmpeg-devel schrieb am Sa., 25. Nov. 2023, 21:39: > Fixes #10688 > > Signed-off-by: Cosmin Stejerean > --- > libavfilter/vf_bwdif.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c > index 13

Re: [FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-11-30 Thread Thomas Mundt
Am Do., 30. Nov. 2023 um 01:23 Uhr schrieb Cosmin Stejerean via ffmpeg-devel : > From: Cosmin Stejerean > > Fixes #10688 > > Signed-off-by: Cosmin Stejerean > --- > libavfilter/vf_bwdif.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/vf_bwdi

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-02 Thread Thomas Mundt
Cosmin Stejerean via ffmpeg-devel schrieb am Sa., 2. Dez. 2023, 21:17: > From: Cosmin Stejerean > > Fixes #10688 > > Signed-off-by: Cosmin Stejerean > --- > libavfilter/vf_bwdif.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_bwdif.c b/libavfi

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-03-29 Thread Thomas Mundt
Am Do., 28. März 2019 um 16:51 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > --- > libavformat/mxf.h| 1 + > libavformat/mxfenc.c | 194 --- > 2 files changed, 145 insertions(+), 50 deletions(-) > > diff --git a/libavformat/mxf.h b

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-04-01 Thread Thomas Mundt
Am Sa., 30. März 2019 um 17:52 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > Hi Thomas, > > > On Mar 29, 2019, at 1:11 PM, Thomas Mundt wrote: > > > > > > […] > > > >> > 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0a,0x04,0x01,0x

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mxfenc: support XAVC long gop

2019-04-04 Thread Thomas Mundt
Hi Baptiste, Am Mi., 3. Apr. 2019 um 11:23 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > --- > libavformat/mxf.h| 1 + > libavformat/mxfenc.c | 197 --- > 2 files changed, 147 insertions(+), 51 deletions(-) > > diff --git a/libavf

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mxfenc: support XAVC long gop

2019-04-10 Thread Thomas Mundt
Hi Baptiste, Am Mi., 10. Apr. 2019 um 00:29 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > Hi Thomas, I hope you are doing well > > > On Apr 4, 2019, at 7:27 AM, Thomas Mundt wrote: > > > > Hi Baptiste, > > > > […] > > For

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-05-13 Thread Thomas Mundt
Hi Baptiste, Am Fr., 10. Mai 2019 um 17:51 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > --- > libavformat/Makefile | 2 +- > libavformat/avc.c| 188 ++ > libavformat/avc.h| 15 +++ > libavformat/hevc.c | 36 +--- > libavf

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-05-14 Thread Thomas Mundt
Hi Baptiste, Am Di., 14. Mai 2019 um 00:33 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > --- > libavformat/Makefile | 2 +- > libavformat/avc.c| 186 + > libavformat/avc.h| 15 +++ > libavformat/hevc.c | 36 +--- > libavfo

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-05-14 Thread Thomas Mundt
Hi Baptiste, Am Di., 14. Mai 2019 um 18:59 Uhr schrieb Baptiste Coudurier < baptiste.coudur...@gmail.com>: > --- > libavformat/Makefile | 2 +- > libavformat/avc.c| 186 + > libavformat/avc.h| 15 +++ > libavformat/hevc.c | 36 +--- > libavfo

[FFmpeg-devel] [PATCH] libavformat/mxfenc: Allow more bitrates for NTSC IMX50

2019-08-13 Thread Thomas Mundt
Hi, attached patch fixes ticket #8077. Please comment. Regards, Thomas 0001-libavformat-mxfenc-Allow-more-bitrates-for-NTSC-IMX5.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/f

Re: [FFmpeg-devel] [PATCH] libavformat/mxfenc: Allow more bitrates for NTSC IMX50

2019-08-14 Thread Thomas Mundt
Hi Tomas, Am Mi., 14. Aug. 2019 um 12:42 Uhr schrieb Tomas Härdin : > tis 2019-08-13 klockan 22:03 +0200 skrev Thomas Mundt: > > Hi, > > > > attached patch fixes ticket #8077. > > Please comment. > > Probably OK, bitrates lower than 5000 are fine in D-10 acco

Re: [FFmpeg-devel] [PATCH] libavformat/mxfenc: Allow more bitrates for NTSC IMX50

2019-08-15 Thread Thomas Mundt
Am Do., 15. Aug. 2019 um 11:01 Uhr schrieb Tomas Härdin : > ons 2019-08-14 klockan 22:18 +0200 skrev Thomas Mundt: > > Hi Tomas, > > > > Am Mi., 14. Aug. 2019 um 12:42 Uhr schrieb Tomas Härdin < > tjop...@acc.umu.se > > > : > > > tis 2019-08-13 klock

Re: [FFmpeg-devel] [PATCH] libavformat/mxfenc: Allow more bitrates for NTSC IMX50

2019-08-19 Thread Thomas Mundt
Am Fr., 16. Aug. 2019 um 23:31 Uhr schrieb Tomas Härdin : > tor 2019-08-15 klockan 13:55 +0200 skrev Thomas Mundt: > > Am Do., 15. Aug. 2019 um 11:01 Uhr schrieb Tomas Härdin < > tjop...@acc.umu.se > > > : > > > ons 2019-08-14 klockan 22:18 +0200 skr

[FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-23 Thread Thomas Mundt
Currently numerical option values are misinterpreted in vf_interlace filter. Patch attached. Regards, Thomas 0001-avfilter-vf_interlace-fix-numerical-options.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ff

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-27 Thread Thomas Mundt
Am Fr., 24. Aug. 2018 um 15:05 Uhr schrieb Paul B Mahol : > On 8/23/18, Thomas Mundt wrote: > > Currently numerical option values are misinterpreted in vf_interlace > > filter. > > Patch attached. > > > > Regards, > > Thomas >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-27 Thread Thomas Mundt
Am Mo., 27. Aug. 2018 um 19:40 Uhr schrieb Paul B Mahol : > On 8/27/18, Thomas Mundt wrote: > > Am Fr., 24. Aug. 2018 um 15:05 Uhr schrieb Paul B Mahol < > one...@gmail.com>: > > > >> On 8/23/18, Thomas Mundt wrote: > >> > Currently numerical opt

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-30 Thread Thomas Mundt
Am Mo., 27. Aug. 2018 um 20:40 Uhr schrieb Thomas Mundt : > Am Mo., 27. Aug. 2018 um 19:40 Uhr schrieb Paul B Mahol >: > >> On 8/27/18, Thomas Mundt wrote: >> > Am Fr., 24. Aug. 2018 um 15:05 Uhr schrieb Paul B Mahol < >> one...@gmail.com>: >&g

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-09-07 Thread Thomas Mundt
Am Do., 30. Aug. 2018 um 10:37 Uhr schrieb Thomas Mundt : > Am Mo., 27. Aug. 2018 um 20:40 Uhr schrieb Thomas Mundt < > tmund...@gmail.com>: > >> Am Mo., 27. Aug. 2018 um 19:40 Uhr schrieb Paul B Mahol > >: >> >>> On 8/27/18, Thomas Mundt wrote: >&g

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/yadif_common: Add field type tracking to help bwdif

2018-11-11 Thread Thomas Mundt
Am Sa., 10. Nov. 2018 um 18:47 Uhr schrieb Philip Langdale < phil...@overt.org>: > The bwdif filter can use common yadif frame management if we track > when a field is the first or last field in a sequence. While this > information is not used by yadif, the added benefit of removing the > duplicat

Re: [FFmpeg-devel] [PATCH 0/2] Update vf_bwdif to use yadif_common v2

2018-11-12 Thread Thomas Mundt
s to the common code. > > Assuming it's reasonable to do that tracking even though yadif doesn't > need it, we can then remove all the duplicated logic. > > v2: Rename enum values as recommened by Thomas Mundt. > > Philip Langdale (2): > avfilter/yadif_common: Add field

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bwdif: fix heap-buffer overflow

2019-10-14 Thread Thomas Mundt
Am So., 13. Okt. 2019 um 23:22 Uhr schrieb Paul B Mahol : > Fixes #8261 > > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_bwdif.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c > index 37165584cf..b6aed7a450 10064

Re: [FFmpeg-devel] [PATCH v2 1/2] avfilter/interlace: change lowpass_line function

2017-03-21 Thread Thomas Mundt
>>Thomas Mundt schrieb am Mo, 13.3.2017: > Hi, > > this patch set > 1) changes the lowpass_line function prototype in vf_interlace and > vf_tinterlace as suggested by James Almer. > 2) adds a complex (-1 2 6 2 -1) vertical low-pass filter to vf_interlace and >

[FFmpeg-devel] [PATCH] avfilter/vf_fps: fix duration

2017-03-21 Thread Thomas Mundt
Hi, attached patch will fix ticket #2674. It makes the fps filter duplicate or drop the last frame depending on the input and output frame rates. Tested with examples from ticket 2674 and other files at various frame rates. Regards, Thomas 0001-avfilter-vf_fps-fix-duration.patch Description: Bi

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: fix duration

2017-03-22 Thread Thomas Mundt
>>Michael Niedermayer schrieb am Mi, 22.3.2017: >>>On Tue, Mar 21, 2017 at 11:25:21PM +0000, Thomas Mundt wrote: >> Hi, >> >> attached patch will fix ticket #2674. >> It makes the fps filter duplicate or drop the last frame depending on the >>

[FFmpeg-devel] [PATCH v2] avfilter/vf_fps: fix duration

2017-03-23 Thread Thomas Mundt
Hi, after checking the fate sample and further testing I noticed that the stated framerate is not always correct and can lead to wrong results. I didn´t find one single method to make it work correct in any case, so I added a fallback. av_frame_get_pkt_duration works for most files. Otherwise th

[FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-03-24 Thread Thomas Mundt
Hi, attached patch will fix ticket #2674. Tested with examples from ticket 2674 and other files at various frame rates. v2: Use av_frame_get_pkt_duration to calculate count of duplication of last frame. Use average of the earlier pts steps when av_frame_get_pkt_duration is not set. v3: Write at

Re: [FFmpeg-devel] [PATCH v2 1/2] avfilter/interlace: change lowpass_line function

2017-03-28 Thread Thomas Mundt
>>Thomas Mundt schrieb am Di, 21.3.2017: >>>Thomas Mundt schrieb am Mo, 13.3.2017: >> Hi, >> >> this patch set >> 1) changes the lowpass_line function prototype in vf_interlace and >> vf_tinterlace as suggested by James Almer. >> 2) adds

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-03-29 Thread Thomas Mundt
>>Lou Logan schrieb am Do, 30.3.2017: > On Mon, 13 Mar 2017 16:23:46 + (UTC) > Thomas Mundt wrote: > > [...] >> index 09ca4d3..0b5b858 100644 >> --- a/libavfilter/vf_tinterlace.c >> +++ b/libavfilter/vf_tinterlace.c > [...] >> +static void lo

[FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-04-01 Thread Thomas Mundt
>>>Thomas Mundt schrieb am Fr, 24.3.2017: > Hi, > > > attached patch will fix ticket #2674. > Tested with examples from ticket 2674 and other files at various frame rates. > > v2: Use av_frame_get_pkt_duration to calculate count of duplication of last > frame.

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-04-01 Thread Thomas Mundt
>>>Thomas Mundt schrieb am Fr, 24.3.2017: > Hi, > > > attached patch will fix ticket #2674. > Tested with examples from ticket 2674 and other files at various frame rates. > > v2: Use av_frame_get_pkt_duration to calculate count of duplication of last > frame.

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration&In-Reply-To=<98109900.4785518.1490351969...@mail.yahoo.com>

2017-04-01 Thread Thomas Mundt
>>>Thomas Mundt schrieb am Fr, 24.3.2017: > Hi, > > > attached patch will fix ticket #2674. > Tested with examples from ticket 2674 and other files at various frame rates. > > v2: Use av_frame_get_pkt_duration to calculate count of duplication of last > frame.

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-04-02 Thread Thomas Mundt
>>>Nicolas George schrieb am Sa, 1.4.2017: > Le quartidi 4 germinal, an CCXXV, Thomas Mundt a écrit : >> v2: Use av_frame_get_pkt_duration to calculate count of duplication of last >> frame. >> Use average of the earlier pts steps when av_frame_get_pkt_duration

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-04-02 Thread Thomas Mundt
>>>Nicolas George schrieb am So, 2.4.2017: >>Le tridi 13 germinal, an CCXXV, Thomas Mundt a écrit : >... >> link->current_pts always returns the pts until the current (last) frame. >> I can calculate its duration for cfr video, but not for vfr. I need the pts

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-04-02 Thread Thomas Mundt
>>Nicolas George schrieb am So, 2.4.2017: >> Will you also fix the ticket or shall I make a new patch then? > > I do not understand what you mean. So I think I misunderstood. Sorry, please ignore that sentence. > And maybe you should find a mail user agent that works and does not > break threads

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-04-02 Thread Thomas Mundt
>>>Nicolas George schrieb am So, 2.4.2017: > Fortunately, you do not need to change your e-mail provider and address, > you only need to change your mail software: just choose and install a > real and good mail client instead of relying on webmails. You will gain > a lot in comfort; and if you con

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-05 Thread Thomas Mundt
>>>Thomas Mundt schrieb am Do, 30.3.2017: >>>Lou Logan schrieb am Do, 30.3.2017: >> On Mon, 13 Mar 2017 16:23:46 +0000 (UTC) >> Thomas Mundt wrote: >> >> [...] >>> index 09ca4d3..0b5b858 100644 >>> --- a/libavfilter/vf_tinterlace.

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-11 Thread Thomas Mundt
>>>Thomas Mundt schrieb am Mi, 5.4.2017: >>>>Thomas Mundt schrieb am Do, 30.3.2017: >>>>Lou Logan schrieb am Do, 30.3.2017: >>> On Mon, 13 Mar 2017 16:23:46 + (UTC) >>> Thomas Mundt wrote: >>> >>> [...] >>>>

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-12 Thread Thomas Mundt
>>>Michael Niedermayer schrieb am Mi, 12.4.2017: On Thu, Mar 30, 2017 at 12:21:58AM +0000, Thomas Mundt wrote: >> >>Lou Logan schrieb am Do, 30.3.2017: >> > On Mon, 13 Mar 2017 16:23:46 + (UTC) >> > Thomas Mundt wrote: >> > >> &

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-13 Thread Thomas Mundt
>>>James Almer schrieb am Do, 13.4.2017: >>>>On 4/12/2017 9:39 PM, Thomas Mundt wrote: >> >> James Almer suggested to change the function prototype. Which was easy in c, >> but for simd this is the best I can do. > > I didn't check, but I think

[FFmpeg-devel] [PATCH v3 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-20 Thread Thomas Mundt
Patch attached... 0002-avfilter-interlace-add-complex-vertical-low-pass-fil.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH v3 1/2] avfilter/interlace: change lowpass_line function prototype

2017-04-20 Thread Thomas Mundt
Hi, this patch set 1) changes the lowpass_line function prototype in vf_interlace and vf_tinterlace as suggested by James Almer. 2) adds a complex (-1 2 6 2 -1) vertical low-pass filter to vf_interlace and vf_tinterlace. This one slightly less reduces interlace 'twitter' but better retains detail

Re: [FFmpeg-devel] [PATCH v3 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-29 Thread Thomas Mundt
2017-04-20 23:54 GMT+02:00 Thomas Mundt : > Patch attached... > > Ping ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v3 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-05-02 Thread Thomas Mundt
2017-04-29 18:15 GMT+02:00 Thomas Mundt : > 2017-04-20 23:54 GMT+02:00 Thomas Mundt : > >> Patch attached... >> >> Ping > Ping ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v3 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-05-02 Thread Thomas Mundt
2017-05-02 19:14 GMT+02:00 James Almer : > On 5/2/2017 1:49 PM, Paul B Mahol wrote: > > On 5/2/17, Thomas Mundt wrote: > >> 2017-04-29 18:15 GMT+02:00 Thomas Mundt : > >> > >>> 2017-04-20 23:54 GMT+02:00 Thomas Mundt : > >>> > >>

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-06-13 Thread Thomas Mundt
2017-06-13 14:46 GMT+02:00 Nicolas George : > Le quintidi 25 prairial, an CCXXV, Thoms Mundt a écrit : > > Since I dont see any solution or wip for this, I could modify my patch > and > > remove the use of pkt_duration. This would only work for constant frame > rate > > input, but fixes ticket #26

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-06-13 Thread Thomas Mundt
2017-06-13 15:00 GMT+02:00 Nicolas George : > Le quintidi 25 prairial, an CCXXV, Thomas Mundt a écrit : > > Live with the open ticket or with the modified patch? > > Either, actually, but I meant the modified patch. > Okay, I´ll write the patch then and send it soon. Thanks a

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-06-13 Thread Thomas Mundt
2017-06-13 15:04 GMT+02:00 Thomas Mundt : > 2017-06-13 15:00 GMT+02:00 Nicolas George : > >> Le quintidi 25 prairial, an CCXXV, Thomas Mundt a écrit : >> > Live with the open ticket or with the modified patch? >> >> Either, actually, but I meant the modified p

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-06-15 Thread Thomas Mundt
2017-06-15 20:00 GMT+02:00 Nicolas George : > Le quintidi 25 prairial, an CCXXV, Thomas Mundt a écrit : > > Patch attached. This fixes ticket #2674. I inserted a FIXME message as a > > reminder. > > Please comment. > > I am sorry to say I do not like it. The timestamp c

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_fps: fix duration

2017-06-15 Thread Thomas Mundt
2017-06-15 21:23 GMT+02:00 Nicolas George : > Le septidi 27 prairial, an CCXXV, Thomas Mundt a écrit : > > Hmm, before rewriting and sending this patch I asked if it would have a > > chance to be pushed just to fix the ticket which is open for a very long > > time. Yo

Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash if unaligned data (ticket 6491)

2017-12-14 Thread Thomas Mundt
Hi, 2017-12-14 17:01 GMT+01:00 Martin Vignali : > Hello, > > > in attach patch to fix crash using this command line > ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf > crop=1440:1080,interlace -f null - > (ticket 6491) > > Use unaligned load, to avoid crash > this changes the color plan

Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash in low_pass_complex

2017-12-14 Thread Thomas Mundt
Hi, 2017-12-14 17:58 GMT+01:00 Martin Vignali : > Hello, > > related to ticket 6491 (crash using crop and vf_interlace) > > in attach patch to fix crash when data are unaligned, with low_pass_complex > filtering > (the previous patch, fix crash, for low_pass_simple filtering) > > > Can be test wi

Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash if unaligned data (ticket 6491)

2017-12-14 Thread Thomas Mundt
2017-12-14 21:33 GMT+01:00 Thomas Mundt : > Hi, > > 2017-12-14 17:01 GMT+01:00 Martin Vignali : > >> Hello, >> >> >> in attach patch to fix crash using this command line >> ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf >> crop=1440:108

Re: [FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-17 Thread Thomas Mundt
Hi, 2017-12-16 18:35 GMT+01:00 Martin Vignali : > 2017-12-16 14:48 GMT+01:00 Carl Eugen Hoyos : > > > 2017-12-16 14:17 GMT+01:00 Martin Vignali : > > > > > 002 : Checkasm test for lowpass_line > > > > The change to checkasm.mak contains unexpected tabs iiuc. > > > > New patch in attach > Please

Re: [FFmpeg-devel] avfilter/vf_interlace and vf_tinterlace : remove avx version

2017-12-17 Thread Thomas Mundt
Hi, 2017-12-16 18:38 GMT+01:00 Martin Vignali : > Hello, > > Following discussion "avfilter/vf_interlace : add checkasm for lowpass_line > and AVX2 version" > the AVX version seems to be slower than SSE > > Patch in attach remove it, for vf_interlace and vf_tinterlace (both use the > same SIMD) >

Re: [FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-18 Thread Thomas Mundt
2017-12-18 11:34 GMT+01:00 Martin Vignali : > > > > > > > Please also add the changes you made in patch 1 and avx2 to > vf_tinterlace. > > > > > > > > For patch 1, IMHO, it's not necessary (the modification is mainly to make > checkasm test easier to write, and like vf_interlace and vf_tinterlace

Re: [FFmpeg-devel] avfilter/vf_interlace : add checkasm for lowpass_line and AVX2 version

2017-12-19 Thread Thomas Mundt
2017-12-19 22:57 GMT+01:00 James Almer : > On 12/19/2017 6:40 PM, Martin Vignali wrote: > > 2017-12-19 21:59 GMT+01:00 James Almer : > > > >> On 12/19/2017 5:16 PM, Martin Vignali wrote: > > LGTM, thanks. > > >>> > >>> Pushed, thanks > >> > >> This broke several interlace fate tests

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: prevent over-sharpening with the complex low-pass filter

2017-08-31 Thread Thomas Mundt
2017-08-31 21:42 GMT+02:00 Michael Niedermayer : > On Wed, Aug 30, 2017 at 03:54:08AM +0200, Thomas Mundt wrote: > > Hi, > > > > we did a transcoding cascade test at work were over-sharpening became > > visible with the complex low-pass filter. This patch

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: prevent over-sharpening with the complex low-pass filter

2017-08-31 Thread Thomas Mundt
2017-09-01 1:22 GMT+02:00 Michael Niedermayer : > On Fri, Sep 01, 2017 at 01:18:11AM +0200, Michael Niedermayer wrote: > > On Thu, Aug 31, 2017 at 10:40:12PM +0200, Thomas Mundt wrote: > > > 2017-08-31 21:42 GMT+02:00 Michael Niedermayer >: > > > > > > >

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: prevent over-sharpening with the complex low-pass filter

2017-09-06 Thread Thomas Mundt
2017-09-01 1:55 GMT+02:00 Thomas Mundt : > 2017-09-01 1:22 GMT+02:00 Michael Niedermayer : > >> On Fri, Sep 01, 2017 at 01:18:11AM +0200, Michael Niedermayer wrote: >> > On Thu, Aug 31, 2017 at 10:40:12PM +0200, Thomas Mundt wrote: >> > > 2017-08-31 21

Re: [FFmpeg-devel] [PATCH] vf_fps: when reading EOF, using current_pts to duplicate the last frame if needed.

2017-09-08 Thread Thomas Mundt
Hi Thierry, 2017-09-08 19:03 GMT+02:00 Thierry Foucu : > --- > libavfilter/vf_fps.c| 42 ++ > +++- > tests/ref/fate/filter-fps | 6 ++ > tests/ref/fate/filter-fps-r | 4 > 3 files changed, 47 insertions(+), 5 deletions(-) > > diff --git a/

Re: [FFmpeg-devel] [PATCH] vf_fps: when reading EOF, using current_pts to duplicate the last frame if needed.

2017-09-11 Thread Thomas Mundt
Hi Thierry, 2017-09-11 23:00 GMT+02:00 Thierry Foucu : > Fix ticket #2674 > Tested with examples from ticket 2674. > --- > libavfilter/vf_fps.c| 40 +++- > tests/ref/fate/filter-fps | 6 ++ > tests/ref/fate/filter-fps-r | 4 > tests/ref/fa

Re: [FFmpeg-devel] [PATCH] vf_fps: when reading EOF, using current_pts to duplicate the last frame if needed.

2017-09-12 Thread Thomas Mundt
Hi Thierry, 2017-09-12 3:25 GMT+02:00 Thierry Foucu : > Fix ticket #2674 > Tested with examples from ticket 2674. > --- > > Update the Patch with the correct number of duplicate showing. > For exmaple, in case we up-sample one second video at 24fps by 2, we > should be getting 24 duplicate frames

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: prevent over-sharpening with the complex low-pass filter

2017-09-13 Thread Thomas Mundt
2017-09-06 22:15 GMT+02:00 Thomas Mundt : > 2017-09-01 1:55 GMT+02:00 Thomas Mundt : > >> 2017-09-01 1:22 GMT+02:00 Michael Niedermayer : >> >>> On Fri, Sep 01, 2017 at 01:18:11AM +0200, Michael Niedermayer wrote: >>> > On Thu, Aug 31, 2017 at 10:40:12PM +02

[FFmpeg-devel] [PATCH 0/3] avfilter/interlace: add support for 10 and 12 bit

2017-09-14 Thread Thomas Mundt
Hi, this patch set adds support for 10 and 12 bit to the interlace filters. This is useful for broadcasters transcoding high bit depth sources to AVC Intra or similar 10 bit video codecs. These patches need to be applied on top of the following patch, which is not pushed yet: http://ffmpeg.org/pip

[FFmpeg-devel] [PATCH 2/3] avfilter/tinterlace: use drawutils for pad mode

2017-09-14 Thread Thomas Mundt
Patch attached 0002-avfilter-tinterlace-use-drawutils-for-pad-mode.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 3/3] avfilter/interlace: add support for 10 and 12 bit

2017-09-14 Thread Thomas Mundt
Patch attached 0003-avfilter-interlace-add-support-for-10-and-12-bit.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 1/3] avfilter/interlace: simplify code

2017-09-14 Thread Thomas Mundt
Patch attached 0001-avfilter-interlace-simplify-code.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: prevent over-sharpening with the complex low-pass filter

2017-09-15 Thread Thomas Mundt
2017-09-13 23:35 GMT+02:00 Thomas Mundt : > 2017-09-06 22:15 GMT+02:00 Thomas Mundt : > >> 2017-09-01 1:55 GMT+02:00 Thomas Mundt : >> >>> 2017-09-01 1:22 GMT+02:00 Michael Niedermayer : >>> >>>> On Fri, Sep 01, 2017 at 01:18:11AM +0200, Michael N

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: prevent over-sharpening with the complex low-pass filter

2017-09-15 Thread Thomas Mundt
2017-09-15 22:26 GMT+02:00 Michael Niedermayer : > On Fri, Sep 15, 2017 at 04:38:16PM +0200, Thomas Mundt wrote: > > > Michael, is it possible for you to push this? > > will push > Thanks! also i see noone listed in MAINTAINERS for vf_(t)interlace > if noone objects,

Re: [FFmpeg-devel] [PATCH 3/3] avfilter/interlace: add support for 10 and 12 bit

2017-09-15 Thread Thomas Mundt
2017-09-15 22:15 GMT+02:00 Michael Niedermayer : > On Thu, Sep 14, 2017 at 10:58:01PM +0200, Thomas Mundt wrote: > > > Patch attached > > > > > libavfilter/interlace.h|4 - > > > libavfilter/tinterlace.h |4

[FFmpeg-devel] [PATCH] MAINTAINERS: add myself for bwdif and (t)interlace

2017-09-15 Thread Thomas Mundt
Requested by Michael 0001-MAINTAINERS-add-myself-for-bwdif-and-t-interlace.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 2/3 v2] avfilter/tinterlace: use drawutils for pad mode

2017-09-18 Thread Thomas Mundt
Patch 1/3 has already been applied. Patch attached. 0002-avfilter-tinterlace-use-drawutils-for-pad-mode.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 3/3 v2] avfilter/interlace: add support for 10 and 12 bit

2017-09-18 Thread Thomas Mundt
I tried to set up MIPS compiler for two days on windows and linux without success. Now I try it blind. This solution is based on the first suggestion James gave me at IRC. There might be room for improvement and an alternative solution with AV_RL16() / AV_WL16(). I used av_le2ne16() because it will

Re: [FFmpeg-devel] [PATCH 3/3 v2] avfilter/interlace: add support for 10 and 12 bit

2017-09-19 Thread Thomas Mundt
2017-09-19 4:09 GMT+02:00 James Almer : > On 9/18/2017 10:41 PM, Thomas Mundt wrote: > > I tried to set up MIPS compiler for two days on windows and linux without > > success. > > Now I try it blind. This solution is based on the first suggestion James > > gave me at I

Re: [FFmpeg-devel] [PATCH 3/3 v2] avfilter/interlace: add support for 10 and 12 bit

2017-09-19 Thread Thomas Mundt
2017-09-19 17:53 GMT+02:00 James Almer : > On 9/19/2017 5:02 AM, Thomas Mundt wrote: > > 2017-09-19 4:09 GMT+02:00 James Almer : > > > >> On 9/18/2017 10:41 PM, Thomas Mundt wrote: > >>> I tried to set up MIPS compiler for two days on windows and linux > wi

[FFmpeg-devel] [PATCH] avfilter/interlace: rename two variables for consistency

2017-09-19 Thread Thomas Mundt
The attached patch needs to be applied on top of "avfilter/interlace: add support for 10 and 12 bit". Thanks. 0001-avfilter-interlace-rename-two-variables-for-consiste.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 3/3 v2] avfilter/interlace: add support for 10 and 12 bit

2017-09-23 Thread Thomas Mundt
2017-09-23 20:24 GMT+02:00 Michael Niedermayer : > On Tue, Sep 19, 2017 at 10:35:30PM +0200, Thomas Mundt wrote: > > 2017-09-19 17:53 GMT+02:00 James Almer : > > > > > On 9/19/2017 5:02 AM, Thomas Mundt wrote: > > > > 2017-09-19 4:09 GMT+02:00 James Almer : &g

Re: [FFmpeg-devel] [PATCH] avfilter/interlace: rename two variables for consistency

2017-09-25 Thread Thomas Mundt
2017-09-19 22:54 GMT+02:00 Thomas Mundt : > The attached patch needs to be applied on top of > "avfilter/interlace: add support for 10 and 12 bit". > Thanks. > Ping This patch is needful cosmetic after last commit. ___ ffmpeg-dev

Re: [FFmpeg-devel] [PATCH 5/5] ffmpeg: send EOF pts to filters.

2017-10-03 Thread Thomas Mundt
Hi Nicolas, 2017-09-07 10:59 GMT+02:00 Nicolas George : > Signed-off-by: Nicolas George > --- > ffmpeg.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/ffmpeg.c b/ffmpeg.c > index b95addd277..1d248bc269 100644 > --- a/ffmpeg.c > +++ b/ffmpeg.c > @@ -2223,14

Re: [FFmpeg-devel] [PATCH] lavfi/avfilter.c: Correct guess_status_pts to account for differing link timebases.

2017-10-06 Thread Thomas Mundt
2017-10-06 4:49 GMT+02:00 Sasi Inguva : > Signed-off-by: Sasi Inguva > --- > libavfilter/avfilter.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c > index 58917ed445..ec7dfc0bd3 100644 > --- a/libavfilter/

Re: [FFmpeg-devel] [PATCH] lavfi/avfilter.c: Correct guess_status_pts to account for differing link timebases.

2017-10-06 Thread Thomas Mundt
2017-10-06 10:01 GMT+02:00 Nicolas George : > Le quartidi 14 vendémiaire, an CCXXVI, Sasi Inguva a écrit : > > Signed-off-by: Sasi Inguva > > --- > > libavfilter/avfilter.c | 16 > > 1 file changed, 8 insertions(+), 8 deletions(-) > > You are right, this change is needed. Thanks

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: Fallback to duration_dts, when duration_pts can't be determined.

2017-10-10 Thread Thomas Mundt
2017-10-10 3:27 GMT+02:00 Sasi Inguva : > This is required for FLV files, for which duration_pts comes out to be > zero. > > Signed-off-by: Sasi Inguva > --- > fftools/ffmpeg.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c > index 6d64bc1043..5f3

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: Fallback to duration_dts, when duration_pts can't be determined.

2017-10-10 Thread Thomas Mundt
2017-10-10 19:44 GMT+02:00 wm4 : > On Tue, 10 Oct 2017 10:36:58 -0700 > Sasi Inguva wrote: > > > This is required for FLV files, for which duration_pts comes out to be > zero. > > > > Signed-off-by: Sasi Inguva > > --- > > fftools/ffmpeg.c | 9 +++-- > > 1 file changed, 7 insertions(+), 2 d

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: Fallback to duration_dts, when duration_pts can't be determined.

2017-10-10 Thread Thomas Mundt
2017-10-10 19:36 GMT+02:00 Sasi Inguva : > This is required for FLV files, for which duration_pts comes out to be > zero. > > Signed-off-by: Sasi Inguva > --- > fftools/ffmpeg.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: Fallback to duration_dts, when duration_pts can't be determined.

2017-10-12 Thread Thomas Mundt
Hi Michael, 2017-10-12 1:28 GMT+02:00 Michael Niedermayer : > On Tue, Oct 10, 2017 at 10:26:13PM +0200, Thomas Mundt wrote: > > 2017-10-10 19:36 GMT+02:00 Sasi Inguva : > > > > > This is required for FLV files, for which duration_pts comes out to be > > > zero

Re: [FFmpeg-devel] R: [PATCH] MXF format fix for Sony Station compatibility

2017-10-24 Thread Thomas Mundt
2017-10-24 12:35 GMT+02:00 : > >From 2a657145a9b6bc2c1beb450100fe2d4d80ee Mon Sep 17 00:00:00 2001 > From: "Axel Technology" > Date: Mon, 23 Oct 2017 18:02:58 +0200 > Subject: [PATCH] Sony XDCAM Fix > > Signed-off-by: Axel Technology > --- > libavformat/mxfenc.c | 112 > +++

Re: [FFmpeg-devel] [PATCH] avfilter: add BobWeaver deinterlacing filter

2016-02-16 Thread Thomas Mundt
>>> Paul B Mahol schrieb am Di, 16.2.2016:On 2/8/16, Thomas >>> Mundt wrote: >>>>> Hendrik Leppkes schrieb am Mo, 8.2.2016: >>> How does the speed compare to YADIF? >>> Or in other words, is it usable in real-time, or rather designed for >&

Re: [FFmpeg-devel] [PATCH] avfilter: add BobWeaver deinterlacing filter

2016-02-16 Thread Thomas Mundt
>>> Paul B Mahol schrieb am Di, 16.2.2016: >>>> On 2/8/16, Thomas Mundt wrote: >>>>> Hendrik Leppkes schrieb am Mo, 8.2.2016: >>> How does the speed compare to YADIF? >>> Or in other words, is it usable in real-time, or rather design

Re: [FFmpeg-devel] [PATCH] avfilter: add BobWeaver deinterlacing filter

2016-02-18 Thread Thomas Mundt
>>> Paul B Mahol schrieb am Mi, 17.2.2016: > If nobody plans to comment on code I will apply this soon. I´ve seen you applied it. Thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter/vf_bwdif: add x86 SIMD for 8bit

2016-02-28 Thread Thomas Mundt
The attached patch is my first SIMD code. It is more than 3x faster, so optimisations work. But experienced programmers may find some more improvement. I´m not really happy with the extra mov instructions needed in x86_32 for mrefs3 and prefs3 because of the register limitations. I tried a lot, b

[FFmpeg-devel] [PATCH v2] avfilter/vf_bwdif: add x86 SIMD

2016-03-05 Thread Thomas Mundt
This new patch adds x86 SIMD support up to 12 bit. Please comment. Signed-off-by: Thomas Mundt --- libavfilter/bwdif.h | 72 +++ libavfilter/vf_bwdif.c | 69 +++ libavfilter/x86/Makefile| 2 + libavfilter/x86/vf_bwdif.asm| 266

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_bwdif: add x86 SIMD

2016-03-10 Thread Thomas Mundt
>>> Thomas Mundt wrote: >> This new patch adds x86 SIMD support up to 12 bit. Please comment. > > Not much use I guess, but on sse2 8 bit content it tests OK = faster + > md5sum the same as without the patch. > > Are you considering going further with this

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_bwdif: add x86 SIMD

2016-03-15 Thread Thomas Mundt
>>>James Almer schrieb am So, 13.3.2016: > Since you adapted quite a bit of this code from yadif simd, the copyright > header should reflect that. Agreed. I´ll send a patch... ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mail

[FFmpeg-devel] [PATCH] avfilter/vf_bwdif: Add yadif base information to copyright header

2016-03-15 Thread Thomas Mundt
Signed-off-by: Thomas Mundt --- libavfilter/x86/vf_bwdif.asm | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/x86/vf_bwdif.asm b/libavfilter/x86/vf_bwdif.asm index 11aa025..147b7c6 100644 --- a/libavfilter/x86/vf_bwdif.asm +++ b/libavfilter/x86/vf_bwdif.asm @@ -3,6 +3,10

[FFmpeg-devel] [PATCH 1/4] avfilter/vf_colormatrix: increase precision

2016-03-25 Thread Thomas Mundt
Signed-off-by: Thomas Mundt --- libavfilter/vf_colormatrix.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 4a57fe0..ecd7a97 100644 --- a/libavfilter/vf_colormatrix.c +++ b

[FFmpeg-devel] [PATCH 2/4] avfilter/vf_colormatrix: add bt.2020 colorspace

2016-03-25 Thread Thomas Mundt
Signed-off-by: Thomas Mundt --- doc/filters.texi | 3 +++ libavfilter/vf_colormatrix.c | 38 ++ 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 528e0f8..a438f6d 100644 --- a/doc

[FFmpeg-devel] [PATCH 3/4] avfilter/vf_colormatrix: clean up and simplify calculations

2016-03-25 Thread Thomas Mundt
Signed-off-by: Thomas Mundt --- libavfilter/vf_colormatrix.c | 49 +++- 1 file changed, 21 insertions(+), 28 deletions(-) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 6840b91..5fe9ce3 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH 4/4] avfilter/vf_colormatrix: add 10 & 12 bit depth support

2016-03-25 Thread Thomas Mundt
Signed-off-by: Thomas Mundt --- libavfilter/vf_colormatrix.c | 182 ++- 1 file changed, 179 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 5fe9ce3..92224b6 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH 0/4] avfilter/vf_colormatrix: add UHD support

2016-03-25 Thread Thomas Mundt
These patches add bt.2020 colorspace and 10 and 12 bit depth support. The calculation of the Y component is simplified but with identical results. Some unused variables are removed. The YUV croma coefficients are calculated instead of taken from a rough rounded table. Since these calculations happ

  1   2   >