[FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Muhammad Faiz
Fix mismatched checksum on fate-filter-pixfmts-super2xsai. Signed-off-by: Muhammad Faiz --- libavfilter/vf_super2xsai.c | 4 ++-- tests/ref/fate/filter-pixfmts-super2xsai | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_super2xsai.c b

[FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html Need someone test it on big-endian machine. libavfilter/drawutils.c | 48 + libavfilter/vf_rotate.c | 26

[FFmpeg-devel] [PATCH 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-27 Thread Muhammad Faiz
Fix inconsistent checksums between gbrap10be and gbrap10le on fate-filter-pixfmts. Signed-off-by: Muhammad Faiz --- libswscale/swscale_unscaled.c| 3 +++ tests/ref/fate/filter-pixfmts-copy | 2 +- tests/ref/fate/filter-pixfmts-crop | 2 +- tests/ref/fate/filter-pixfmts

[FFmpeg-devel] [PATCH 4/5] avfilter/vf_lut: support native-endian instead of little-endian

2019-01-27 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html Need someone test it on big-endian machine. libavfilter/vf_lut.c | 95 1 file changed, 42 insertions(+), 53 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 7:19 PM Carl Eugen Hoyos wrote: > > 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > > Fix mismatched checksum on fate-filter-pixfmts-super2xsai. > > I believe this patch and 2/5 are unrelated and should be > committed independently of the patchset

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos wrote: > > 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > > > -bgra64bec8d3217bf58d34f080ac88c0b0012c77 > > +bgra64leb71d75a928aac14cb768403e6f6a9910 > > bgra64leb71d75a928aac14cb768403

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos wrote: > > 2019-01-27 15:05 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos wrote: > >> > >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > >> > >> > -b

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 9:17 PM Carl Eugen Hoyos wrote: > > 2019-01-27 15:07 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 7:19 PM Carl Eugen Hoyos wrote: > >> > >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz : > >> > Fix mismatched checksum on f

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: > > > > On Sun, 27 Jan 2019, Muhammad Faiz wrote: > > > Signed-off-by: Muhammad Faiz > > --- > > Old thread is here: > > https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195941.html > &g

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer wrote: > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote: > > regardless of the actual supported formats. > > This allows filters to support only native-endian formats, > > and also allows consisten

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 10:54 PM Carl Eugen Hoyos wrote: > > 2019-01-27 16:07 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos wrote: > >> > >> 2019-01-27 15:05 GMT+01:00, Muhammad Faiz : > >> > On Sun, Jan 27, 2019

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 11:02 PM Carl Eugen Hoyos wrote: > > 2019-01-27 16:18 GMT+01:00, Muhammad Faiz : > > On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: > >> > >> > >> > >> On Sun, 27 Jan 2019, Muhammad Faiz wrote: > >> > >

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/drawutils: support native-endian instead of little endian

2019-01-27 Thread Muhammad Faiz
On Sun, Jan 27, 2019 at 11:21 PM Marton Balint wrote: > > > > On Sun, 27 Jan 2019, Muhammad Faiz wrote: > > > On Sun, Jan 27, 2019 at 5:25 PM Marton Balint wrote: > >> > >> > >> > >> On Sun, 27 Jan 2019, Muhammad Faiz wrote: > >>

Re: [FFmpeg-devel] [PATCH 1/5] tests/fate-run: only support le format result on pixfmts

2019-01-27 Thread Muhammad Faiz
On Mon, Jan 28, 2019 at 3:07 AM Michael Niedermayer wrote: > > On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote: > > On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer > > wrote: > > > > > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad F

Re: [FFmpeg-devel] [PATCH 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-27 Thread Muhammad Faiz
On Mon, Jan 28, 2019 at 2:52 AM Michael Niedermayer wrote: > > On Sun, Jan 27, 2019 at 04:36:16PM +0700, Muhammad Faiz wrote: > > Fix inconsistent checksums between gbrap10be > > and gbrap10le on fate-filter-pixfmts. > > > > Signed-off-by: Muhammad Faiz > > --

[FFmpeg-devel] [PATCH v2 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-28 Thread Muhammad Faiz
Fix inconsistent checksums between gbrap10be and gbrap10le on fate-filter-pixfmts. Signed-off-by: Muhammad Faiz --- libswscale/swscale_unscaled.c| 3 +++ tests/ref/fate/filter-pixfmts-copy | 2 +- tests/ref/fate/filter-pixfmts-crop | 2 +- tests/ref/fate/filter-pixfmts

[FFmpeg-devel] [PATCH v2 5/5] avfilter/drawutils: support native-endian instead of little-endian

2019-01-28 Thread Muhammad Faiz
This should make code run faster on big-endian platform. Change fate to use native-endian mode. Signed-off-by: Muhammad Faiz --- libavfilter/drawutils.c | 36 +++-- libavfilter/vf_rotate.c | 26 ++-- libavfilter/vf_tinterlace.c

[FFmpeg-devel] [PATCH v2 3/5] avfilter/vf_super2xsai: fix big-endian writing

2019-01-28 Thread Muhammad Faiz
Fix mismatched checksum on fate-filter-pixfmts-super2xsai. Signed-off-by: Muhammad Faiz --- libavfilter/vf_super2xsai.c | 4 ++-- tests/ref/fate/filter-pixfmts-super2xsai | 16 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libavfilter

[FFmpeg-devel] [PATCH v2 4/5] avfilter/vf_lut: support native-endian instead of little-endian

2019-01-28 Thread Muhammad Faiz
This should make code run faster on big-endian platform. Change fate to use native-endian mode. Signed-off-by: Muhammad Faiz --- libavfilter/vf_lut.c | 123 ++ tests/fate/filter-video.mak | 2 +- tests/ref/fate/filter-pixfmts-lut | 105

Re: [FFmpeg-devel] [PATCH v2 2/5] swscale/swscale_unscaled: add missing gbrap10 on ff_get_unscaled_swscale

2019-01-28 Thread Muhammad Faiz
On Tue, Jan 29, 2019 at 5:14 AM Michael Niedermayer wrote: > > On Mon, Jan 28, 2019 at 05:07:38PM +0700, Muhammad Faiz wrote: > > Fix inconsistent checksums between gbrap10be and gbrap10le > > on fate-filter-pixfmts. > > > > Signed-off-by: Muhammad Faiz > > --

Re: [FFmpeg-devel] [PATCH] swresample/x86/resample: extend resample_double to support avx and fma3

2017-03-18 Thread Muhammad Faiz
On Thu, Mar 16, 2017 at 11:37 AM, Muhammad Faiz wrote: > benchmark: > sse2 10.670s > avx 8.763s > fma3 8.380s > > Signed-off-by: Muhammad Faiz > --- > libswresample/x86/resample.asm| 15 --- > libswresample/x86/resample_init.c | 10 ++ >

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: add attack option

2017-04-07 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- doc/filters.texi | 5 + libavfilter/avf_showcqt.c | 39 --- libavfilter/avf_showcqt.h | 3 +++ libavfilter/version.h | 2 +- 4 files changed, 41 insertions(+), 8 deletions(-) diff --git a/doc/filters.texi b

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: add attack option

2017-04-09 Thread Muhammad Faiz
On Sat, Apr 8, 2017 at 9:56 AM, Muhammad Faiz wrote: > Signed-off-by: Muhammad Faiz > --- > doc/filters.texi | 5 + > libavfilter/avf_showcqt.c | 39 --- > libavfilter/avf_showcqt.h | 3 +++ > libavfilter/version.h

Re: [FFmpeg-devel] [PATCH] lavu/attributes: add av_never_inline macro

2017-04-12 Thread Muhammad Faiz
On Thu, Apr 13, 2017 at 3:10 AM, Rostislav Pehlivanov wrote: > Very useful for determining hot functions without recompiling everything > with inlining disabled. > > Signed-off-by: Rostislav Pehlivanov > --- > libavutil/attributes.h | 10 ++ > libavutil/version.h| 2 +- > 2 files ch

[FFmpeg-devel] [PATCH 5/7] ff*: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- ffmpeg.c| 10 +- ffmpeg_filter.c | 2 +- ffplay.c| 24 ffprobe.c | 22 +++--- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 143322c..156cced

[FFmpeg-devel] [PATCH 7/7] tests: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- tests/api/api-flac-test.c | 4 ++-- tests/api/api-seek-test.c | 2 +- tests/api/api-threadmessage-test.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/api/api-flac-test.c b/tests/api/api-flac-test.c index 7b48059

[FFmpeg-devel] [PATCH 6/7] examples: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- doc/examples/filtering_audio.c | 2 +- doc/examples/filtering_video.c | 2 +- doc/examples/transcoding.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c index 679218c

[FFmpeg-devel] [PATCH 4/7] avfilter: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- libavfilter/af_afade.c | 6 +++--- libavfilter/af_amerge.c| 2 +- libavfilter/af_apad.c | 2 +- libavfilter/af_aphaser.c | 2 +- libavfilter/af_aresample.c | 2 +- libavfilter/af_ashowinfo.c | 6

[FFmpeg-devel] [PATCH 1/7] avcodec: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- libavcodec/ac3dec.c | 2 +- libavcodec/cpia.c | 8 +++ libavcodec/cuvid.c | 6 ++--- libavcodec/decode.c | 62 - libavcodec/encode.c | 2 +- libavcodec/exr.c| 2 +- libavcodec

[FFmpeg-devel] [PATCH 2/7] avformat: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- libavformat/mux.c| 2 +- libavformat/uncodedframecrcenc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index 3a5e876..4e21083 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c

[FFmpeg-devel] [PATCH 3/7] avdevice: do not use AVFrame accessor

2017-04-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz --- libavdevice/alsa_enc.c | 2 +- libavdevice/lavfi.c| 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavdevice/alsa_enc.c b/libavdevice/alsa_enc.c index bddc61f..0bef625 100644 --- a/libavdevice/alsa_enc.c +++ b/libavdevice

Re: [FFmpeg-devel] [PATCH 1/7] avcodec: do not use AVFrame accessor

2017-04-23 Thread Muhammad Faiz
On Sat, Apr 22, 2017 at 4:27 PM, wm4 wrote: > On Sat, 22 Apr 2017 16:04:22 +0700 > Muhammad Faiz wrote: > >> Signed-off-by: Muhammad Faiz >> --- > > +1 to patches 1-7. As long as the accessors only trivially access > public fields, it's better (and less ugly

Re: [FFmpeg-devel] [PATCH] pthread_frame: ignore errors during draining

2017-04-24 Thread Muhammad Faiz
On Tue, Apr 25, 2017 at 1:57 AM, wm4 wrote: > This is needed to get compatibility with the behavior before the > recent decode.c restructuring merge, and fixes fate failures with > this: > > make fate-h264-attachment-631 THREADS=32 > > For every 4 threads, a frame is dropped at the point at whic

[FFmpeg-devel] [PATCH] avfilter/lavfutils: use image2pipe demuxer on ff_load_image

2017-04-25 Thread Muhammad Faiz
allow protocols other than file to be used for example, use data protocol to embed a file in script Signed-off-by: Muhammad Faiz --- libavfilter/lavfutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index 706badf

Re: [FFmpeg-devel] [PATCH] pthread_frame: ignore errors during draining

2017-04-25 Thread Muhammad Faiz
On Tue, Apr 25, 2017 at 4:09 PM, Hendrik Leppkes wrote: > On Tue, Apr 25, 2017 at 4:32 AM, Muhammad Faiz wrote: >> On Tue, Apr 25, 2017 at 1:57 AM, wm4 wrote: >>> This is needed to get compatibility with the behavior before the >>> recent decode.c restructuring mer

[FFmpeg-devel] [PATCH] pthread_frame: set err from the thread that return frame

2017-04-25 Thread Muhammad Faiz
when frame is received, not from other threads. Should fix fate failure with THREADS>=4: make fate-h264-attachment-631 THREADS=4 Signed-off-by: Muhammad Faiz --- libavcodec/pthread_frame.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/pthread_frame.c b/libavco

Re: [FFmpeg-devel] [PATCH] pthread_frame: ignore errors during draining

2017-04-25 Thread Muhammad Faiz
On Tue, Apr 25, 2017 at 6:58 PM, wm4 wrote: > On Tue, 25 Apr 2017 17:29:10 +0700 > Muhammad Faiz wrote: > >> On Tue, Apr 25, 2017 at 4:09 PM, Hendrik Leppkes wrote: >> > On Tue, Apr 25, 2017 at 4:32 AM, Muhammad Faiz wrote: >> >> On Tue, Apr 25, 2017 at

Re: [FFmpeg-devel] [PATCH] pthread_frame: set err from the thread that return frame

2017-04-25 Thread Muhammad Faiz
On Wed, Apr 26, 2017 at 4:09 AM, wm4 wrote: > On Tue, 25 Apr 2017 23:52:04 +0700 > Muhammad Faiz wrote: > >> when frame is received, not from other threads. >> >> Should fix fate failure with THREADS>=4: >> make fate-h264-attachment-631 THREADS=

[FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-04-26 Thread Muhammad Faiz
This should fix Ticket6349 Since 383057f8e744efeaaa3648a59bc577b25b055835, framequeue may generate unaligned frame data. Signed-off-by: Muhammad Faiz --- libavcodec/libmp3lame.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libavcodec/libmp3lame.c b

Re: [FFmpeg-devel] [PATCH] lavfi: make ff_framequeue_skip_samples() more useful.

2017-04-26 Thread Muhammad Faiz
On Tue, Apr 25, 2017 at 9:42 PM, Kyle Swanson wrote: > Hi, > > On Sun, Jan 29, 2017 at 11:54 AM, Nicolas George wrote: >> >> Le decadi 10 pluviôse, an CCXXV, Muhammad Faiz a écrit : >> > LGTM >> >> Thanks, pushed. &

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-04-26 Thread Muhammad Faiz
On Wed, Apr 26, 2017 at 5:34 PM, wm4 wrote: > On Wed, 26 Apr 2017 17:16:05 +0700 > Muhammad Faiz wrote: > >> This should fix Ticket6349 >> >> Since 383057f8e744efeaaa3648a59bc577b25b055835, framequeue may >> generate unaligned frame data. >> >> Signed

Re: [FFmpeg-devel] [PATCH] pthread_frame: set err from the thread that return frame

2017-04-26 Thread Muhammad Faiz
On Wed, Apr 26, 2017 at 10:34 PM, Ronald S. Bultje wrote: > Hi, > > On Wed, Apr 26, 2017 at 1:21 AM, Muhammad Faiz wrote: > >> On Wed, Apr 26, 2017 at 4:09 AM, wm4 wrote: >> > On Tue, 25 Apr 2017 23:52:04 +0700 >> > Muhammad Faiz wrote: >> > >>

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-04-26 Thread Muhammad Faiz
On Wed, Apr 26, 2017 at 8:53 PM, wm4 wrote: > On Wed, 26 Apr 2017 20:09:58 +0700 > Muhammad Faiz wrote: > >> On Wed, Apr 26, 2017 at 5:34 PM, wm4 wrote: >> > On Wed, 26 Apr 2017 17:16:05 +0700 >> > Muhammad Faiz wrote: >> > >>

Re: [FFmpeg-devel] [PATCH] pthread_frame: set err from the thread that return frame

2017-04-27 Thread Muhammad Faiz
On Thu, Apr 27, 2017 at 2:59 AM, wm4 wrote: > On Thu, 27 Apr 2017 01:20:53 +0700 > Muhammad Faiz wrote: > >> On Wed, Apr 26, 2017 at 10:34 PM, Ronald S. Bultje >> wrote: >> > Hi, >> > >> > On Wed, Apr 26, 2017 at 1:21 AM, Muhammad Faiz wrote:

Re: [FFmpeg-devel] [PATCH] pthread_frame: set err from the thread that return frame

2017-04-27 Thread Muhammad Faiz
On Thu, Apr 27, 2017 at 5:30 AM, Marton Balint wrote: > > > On Wed, 26 Apr 2017, Ronald S. Bultje wrote: > >> Hi, >> >> On Wed, Apr 26, 2017 at 2:20 PM, Muhammad Faiz wrote: >> >>> On Wed, Apr 26, 2017 at 10:34 PM, Ronald S. Bultje >>> wro

Re: [FFmpeg-devel] [PATCH] pthread_frame: set err from the thread that return frame

2017-04-27 Thread Muhammad Faiz
On Fri, Apr 28, 2017 at 12:16 AM, Muhammad Faiz wrote: > On Thu, Apr 27, 2017 at 5:30 AM, Marton Balint wrote: >> >> >> On Wed, 26 Apr 2017, Ronald S. Bultje wrote: >> >>> Hi, >>> >>> On Wed, Apr 26, 2017 at 2:20 PM, Muhammad Faiz wrot

[FFmpeg-devel] [PATCH] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-27 Thread Muhammad Faiz
So, all frames and errors are correctly reported in order. Fix fate failure with THREADS>=4: make fate-h264-attachment-631 THREADS=4 Suggested-by: wm4, Ronald S. Bultje, Marton Balint Signed-off-by: Muhammad Faiz --- libavcodec/decode.c| 3 ++- libavcodec/pthread_frame.c |

[FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-28 Thread Muhammad Faiz
wm4, Ronald S. Bultje, Marton Balint Signed-off-by: Muhammad Faiz --- libavcodec/decode.c| 21 +++-- libavcodec/internal.h | 3 +++ libavcodec/pthread_frame.c | 15 +++ 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/libavcodec/decode.

Re: [FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-28 Thread Muhammad Faiz
On Fri, Apr 28, 2017 at 5:51 PM, wm4 wrote: > On Fri, 28 Apr 2017 17:19:13 +0700 > Muhammad Faiz wrote: > >> So, all frames and errors are correctly reported in order. >> Also limit the numbers of error during draining to prevent infinite loop. >> >> This

Re: [FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-28 Thread Muhammad Faiz
On Fri, Apr 28, 2017 at 5:55 PM, Ronald S. Bultje wrote: > Hi, > > On Fri, Apr 28, 2017 at 6:19 AM, Muhammad Faiz wrote: >> >> So, all frames and errors are correctly reported in order. >> Also limit the numbers of error during draining to prevent infinite loop. >&

Re: [FFmpeg-devel] [PATCH] avfilter/lavfutils: use image2pipe demuxer on ff_load_image

2017-04-28 Thread Muhammad Faiz
On Tue, Apr 25, 2017 at 2:43 PM, Muhammad Faiz wrote: > allow protocols other than file to be used > for example, use data protocol to embed a file in script > > Signed-off-by: Muhammad Faiz > --- > libavfilter/lavfutils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

Re: [FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-28 Thread Muhammad Faiz
On Fri, Apr 28, 2017 at 11:23 PM, Muhammad Faiz wrote: > On Fri, Apr 28, 2017 at 5:55 PM, Ronald S. Bultje wrote: >> Hi, >> >> On Fri, Apr 28, 2017 at 6:19 AM, Muhammad Faiz wrote: >>> >>> So, all frames and errors are correctly reported in order. >

Re: [FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-28 Thread Muhammad Faiz
On Sat, Apr 29, 2017 at 6:01 AM, Michael Niedermayer wrote: > On Fri, Apr 28, 2017 at 11:23:10PM +0700, Muhammad Faiz wrote: >> On Fri, Apr 28, 2017 at 5:55 PM, Ronald S. Bultje wrote: >> > Hi, >> > >> > On Fri, Apr 28, 2017 at 6:19 AM, Muhammad Faiz wrote: &

Re: [FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-29 Thread Muhammad Faiz
On Sat, Apr 29, 2017 at 6:18 AM, Muhammad Faiz wrote: > On Sat, Apr 29, 2017 at 6:01 AM, Michael Niedermayer > wrote: >> On Fri, Apr 28, 2017 at 11:23:10PM +0700, Muhammad Faiz wrote: >>> On Fri, Apr 28, 2017 at 5:55 PM, Ronald S. Bultje >>> wrote: >>> &g

[FFmpeg-devel] [PATCH] avfilter/decode: do not treat discarded frames as eof when draining

2017-04-29 Thread Muhammad Faiz
Fix fate failures: make fate-mov THREADS=32 Signed-off-by: Muhammad Faiz --- libavcodec/decode.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index edfae55..6ec423b 100644 --- a/libavcodec/decode.c +++ b/libavcodec

Re: [FFmpeg-devel] [PATCH] avfilter/decode: do not treat discarded frames as eof when draining

2017-04-30 Thread Muhammad Faiz
On Sun, Apr 30, 2017 at 12:50 PM, Muhammad Faiz wrote: > Fix fate failures: > make fate-mov THREADS=32 > > Signed-off-by: Muhammad Faiz > --- > libavcodec/decode.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/dec

[FFmpeg-devel] [PATCH] avcodec/decode: do not treat discarded frames as eof when draining

2017-04-30 Thread Muhammad Faiz
Fix fate failures: make fate-mov THREADS=32 Signed-off-by: Muhammad Faiz --- libavcodec/decode.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index edfae55..6ec423b 100644 --- a/libavcodec/decode.c +++ b/libavcodec

Re: [FFmpeg-devel] [PATCH v2] avcodec/pthread_frame, decode: allow errors to happen on draining

2017-04-30 Thread Muhammad Faiz
On Sun, Apr 30, 2017 at 8:27 PM, wm4 wrote: > On Sun, 30 Apr 2017 06:09:18 +0700 > Muhammad Faiz wrote: > >> On Sat, Apr 29, 2017 at 6:18 AM, Muhammad Faiz wrote: >> > On Sat, Apr 29, 2017 at 6:01 AM, Michael Niedermayer >> > wrote: >> >> On Fri, Ap

Re: [FFmpeg-devel] [PATCH] avcodec/decode: do not treat discarded frames as eof when draining

2017-04-30 Thread Muhammad Faiz
On Sun, Apr 30, 2017 at 8:31 PM, wm4 wrote: > On Sun, 30 Apr 2017 14:04:33 +0700 > Muhammad Faiz wrote: > >> Fix fate failures: >> make fate-mov THREADS=32 >> >> Signed-off-by: Muhammad Faiz >> --- >> libavcodec/decode.c | 12 ++-- >

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-04-30 Thread Muhammad Faiz
On Thu, Apr 27, 2017 at 3:51 PM, Nicolas George wrote: > L'octidi 8 floréal, an CCXXV, Michael Niedermayer a écrit : >> I agree >> in fact i added such a flag in 2011 >> (4d34b6c1a1254850e39a36f08f4d2730092a54db) >> within the API of that time to avfilter > > It was not a bad idea, but it should

[FFmpeg-devel] [PATCH v2] avcodec/decode: do not treat discarded frames as eof when draining

2017-04-30 Thread Muhammad Faiz
Fix fate failures: make fate-mov THREADS=32 Signed-off-by: Muhammad Faiz --- libavcodec/decode.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index edfae55..e330f14 100644 --- a/libavcodec/decode.c +++ b/libavcodec

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-04-30 Thread Muhammad Faiz
On Mon, May 1, 2017 at 5:02 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi| 7 + > libavfilter/Makefile| 1 + > libavfilter/af_afirfilter.c | 411 > > libavfilter/allfilters.c| 1 + > 4 fi

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-04-30 Thread Muhammad Faiz
On Mon, May 1, 2017 at 12:16 AM, wm4 wrote: > On Sun, 30 Apr 2017 23:55:02 +0700 > Muhammad Faiz wrote: > >> On Thu, Apr 27, 2017 at 3:51 PM, Nicolas George wrote: >> > L'octidi 8 floréal, an CCXXV, Michael Niedermayer a écrit : >> >> I agree

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-04-30 Thread Muhammad Faiz
On Mon, May 1, 2017 at 12:06 AM, Nicolas George wrote: > Le primidi 11 floréal, an CCXXV, Muhammad Faiz a écrit : >> Are you working on these? Because currently I'm not. > > There is nothing to work on yet: the message you answer to is raising a > question about the global

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-05-01 Thread Muhammad Faiz
On Mon, May 1, 2017 at 11:22 PM, Kyle Swanson wrote: > Hi, > > On Mon, May 1, 2017 at 3:18 AM, Paul B Mahol wrote: >> On 4/30/17, Nicolas George wrote: >>> Le primidi 11 floreal, an CCXXV, Muhammad Faiz a ecrit : >>>> Are you working on these? Because current

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-05-01 Thread Muhammad Faiz
On Tue, May 2, 2017 at 12:45 AM, Paul B Mahol wrote: > On 5/1/17, Muhammad Faiz wrote: >> On Mon, May 1, 2017 at 11:22 PM, Kyle Swanson wrote: >>> Hi, >>> >>> On Mon, May 1, 2017 at 3:18 AM, Paul B Mahol wrote: >>>> On 4/30/17, Nicolas Geor

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-05-01 Thread Muhammad Faiz
On Tue, May 2, 2017 at 1:05 AM, Paul B Mahol wrote: > On 5/1/17, Muhammad Faiz wrote: >> On Tue, May 2, 2017 at 12:45 AM, Paul B Mahol wrote: >>> On 5/1/17, Muhammad Faiz wrote: >>>> On Mon, May 1, 2017 at 11:22 PM, Kyle Swanson wrote: >>>>> H

[FFmpeg-devel] [PATCH] ffmpeg: count packets when queued

2017-05-01 Thread Muhammad Faiz
Because write_packet() fakely writes packets to muxer by queueing them when muxer hasn't been initialized, it should also increment frame_number fakely. This is required because code in do_streamcopy() rely on frame_number. Should fix Ticket6227 Signed-off-by: Muhammad Faiz --- ffmpeg.c

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-02 Thread Muhammad Faiz
On Mon, May 1, 2017 at 3:30 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure | 2 + > doc/filters.texi| 10 ++ > libavfilter/Makefile| 1 + > libavfilter/af_afirfilter.c | 409 > > lib

[FFmpeg-devel] [PATCH v2] ffmpeg: count packets when queued

2017-05-02 Thread Muhammad Faiz
Because write_packet() fakely writes packets to muxer by queueing them when muxer hasn't been initialized, it should also increment frame_number fakely. This is required because code in do_streamcopy() rely on frame_number. Should fix Ticket6227 Signed-off-by: Muhammad Faiz --- ffmpeg.c

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-05-02 Thread Muhammad Faiz
On Mon, May 1, 2017 at 11:45 PM, Ronald S. Bultje wrote: > Hi, > > On Mon, May 1, 2017 at 12:44 PM, Ronald S. Bultje > wrote: > >> Hi, >> >> On Sun, Apr 30, 2017 at 1:16 PM, wm4 wrote: >> >>> I think it's probably ok to push your current patch, since the original >>> author of the patch who brok

Re: [FFmpeg-devel] [PATCH v2] avcodec/decode: do not treat discarded frames as eof when draining

2017-05-02 Thread Muhammad Faiz
On Mon, May 1, 2017 at 9:01 PM, wm4 wrote: > On Mon, 1 May 2017 07:36:35 +0700 > Muhammad Faiz wrote: > >> Fix fate failures: >> make fate-mov THREADS=32 >> >> Signed-off-by: Muhammad Faiz >> --- >> libavcodec/decode.c | 8 +--- >

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: count packets when queued

2017-05-02 Thread Muhammad Faiz
On Wed, May 3, 2017 at 12:58 AM, Michael Niedermayer wrote: > On Tue, May 02, 2017 at 02:39:46PM +0700, Muhammad Faiz wrote: >> Because write_packet() fakely writes packets to muxer by queueing >> them when muxer hasn't been initialized, it should also increment >> frame

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-03 Thread Muhammad Faiz
On Wed, May 3, 2017 at 1:47 AM, Paul B Mahol wrote: > On 5/2/17, Muhammad Faiz wrote: >> On Mon, May 1, 2017 at 3:30 PM, Paul B Mahol wrote: >>> Signed-off-by: Paul B Mahol >>> --- >>> configure | 2 + >>> doc/filters.texi

[FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-04 Thread Muhammad Faiz
This should fix Ticket6349. Since 383057f8e744efeaaa3648a59bc577b25b055835, framequeue may generate unaligned frame data. Signed-off-by: Muhammad Faiz --- libavfilter/avfilter.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c

Re: [FFmpeg-devel] [PATCH] avcodec/libmp3lame: properly handle unaligned frame data

2017-05-04 Thread Muhammad Faiz
On Fri, May 5, 2017 at 3:15 AM, Kyle Swanson wrote: > Hi, > > On Tue, May 2, 2017 at 12:18 PM, wm4 wrote: >> On Tue, 2 May 2017 16:16:35 +0200 >> Nicolas George wrote: >> >>> Le duodi 12 floréal, an CCXXV, Paul B Mahol a écrit : >>> > This is all one big mess. >>> >>> It is, but I will not take

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-05 Thread Muhammad Faiz
On Wed, May 3, 2017 at 4:12 PM, Muhammad Faiz wrote: > On Wed, May 3, 2017 at 1:47 AM, Paul B Mahol wrote: >> On 5/2/17, Muhammad Faiz wrote: >>> On Mon, May 1, 2017 at 3:30 PM, Paul B Mahol wrote: >>>> Signed-off-by: Paul B Mahol >>>> --- >>&

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-05 Thread Muhammad Faiz
On Fri, May 5, 2017 at 5:00 PM, Nicolas George wrote: > Le sextidi 16 floréal, an CCXXV, Muhammad Faiz a écrit : >> This should fix Ticket6349. >> Since 383057f8e744efeaaa3648a59bc577b25b055835, framequeue may >> generate unaligned frame data. >> >

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-05 Thread Muhammad Faiz
On Sat, May 6, 2017 at 2:33 AM, Paul B Mahol wrote: > On 5/5/17, Muhammad Faiz wrote: >>>>> Is pts handled correctly here? Seem it is not derived from input pts. >>>>> >>>> >>>> It can not be derived in any other way. >>>

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-05 Thread Muhammad Faiz
On Sat, May 6, 2017 at 2:30 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure| 2 + > doc/filters.texi | 10 + > libavfilter/Makefile | 1 + > libavfilter/af_afir.c| 484 > +++ > libavfilter/a

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-06 Thread Muhammad Faiz
On Sat, May 6, 2017 at 3:54 PM, Paul B Mahol wrote: > On 5/6/17, Muhammad Faiz wrote: >> On Sat, May 6, 2017 at 2:30 AM, Paul B Mahol wrote: >>> Signed-off-by: Paul B Mahol >>> --- >>> configure| 2 + >>> doc/filters.texi

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-06 Thread Muhammad Faiz
On Fri, May 5, 2017 at 11:22 PM, Nicolas George wrote: > Le sextidi 16 floréal, an CCXXV, Muhammad Faiz a écrit : >> But if documentation >> says that data should be aligned to 4-bytes but I align it to >> 32-bytes, then there

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_realign().

2017-05-06 Thread Muhammad Faiz
On Sat, May 6, 2017 at 4:20 PM, Nicolas George wrote: > TODO Actual implementation. > > Signed-off-by: Nicolas George > --- > libavutil/frame.h | 9 + > 1 file changed, 9 insertions(+) > > > Here is a proposal for actually fixing the alignment problems that are all > over the place in th

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_realign().

2017-05-06 Thread Muhammad Faiz
On Sat, May 6, 2017 at 9:39 PM, Nicolas George wrote: > Le septidi 17 floréal, an CCXXV, Muhammad Faiz a écrit : >> Whatever the result here (accepted or rejected), we still need a fix >> without API change. Otherwise, it can't go to 3.3 branch. > > There is no API ch

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-06 Thread Muhammad Faiz
On Sat, May 6, 2017 at 9:36 PM, Ronald S. Bultje wrote: > Hi Muhammad, > > On Sat, May 6, 2017 at 10:13 AM, Muhammad Faiz wrote: > >> On Fri, May 5, 2017 at 11:22 PM, Nicolas George wrote: >> > Le sextidi 16 floréal, an C

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-06 Thread Muhammad Faiz
On Sat, May 6, 2017 at 9:35 PM, Ronald S. Bultje wrote: > Hi, > > On Fri, May 5, 2017 at 12:17 PM, Nicolas George wrote: > >> Le sextidi 16 floréal, an CCXXV, Hendrik Leppkes a écrit : >> > Blocking crash fixes on silly arguments doesn't help anyone. Send a >> >> My argument is not silly: the cod

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-06 Thread Muhammad Faiz
On Sun, May 7, 2017 at 2:49 AM, Paul B Mahol wrote: > On 5/6/17, Muhammad Faiz wrote: >> On Sat, May 6, 2017 at 2:33 AM, Paul B Mahol wrote: >>> On 5/5/17, Muhammad Faiz wrote: >>>>>>> Is pts handled correctly here? Seem it is not derived from input p

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-06 Thread Muhammad Faiz
On Sat, May 6, 2017 at 2:30 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure| 2 + > doc/filters.texi | 10 + > libavfilter/Makefile | 1 + > libavfilter/af_afir.c| 484 > +++ > libavfilter/a

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-07 Thread Muhammad Faiz
On Fri, May 5, 2017 at 1:01 PM, Muhammad Faiz wrote: > This should fix Ticket6349. > Since 383057f8e744efeaaa3648a59bc577b25b055835, framequeue may > generate unaligned frame data. > > Signed-off-by: Muhammad Faiz > --- > libavfilter/avfilter.c | 26 +++

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_realign().

2017-05-07 Thread Muhammad Faiz
On Sun, May 7, 2017 at 6:34 PM, Marton Balint wrote: > > On Sat, 6 May 2017, Nicolas George wrote: > >> Le septidi 17 floréal, an CCXXV, Muhammad Faiz a écrit : >>> >>> As far as I know. No new features can go to release branch. >>> Or maybe I'm

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-07 Thread Muhammad Faiz
On Mon, May 8, 2017 at 1:22 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure| 2 + > doc/filters.texi | 30 +++ > libavfilter/Makefile | 1 + > libavfilter/af_afir.c| 541 > +++ > libavfilter

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-08 Thread Muhammad Faiz
On Mon, May 8, 2017 at 3:43 PM, Paul B Mahol wrote: > On 5/8/17, Muhammad Faiz wrote: >> On Mon, May 8, 2017 at 1:22 AM, Paul B Mahol wrote: >>> Signed-off-by: Paul B Mahol >>> --- >>> configure| 2 + >>> doc/filters.texi

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-08 Thread Muhammad Faiz
On Mon, May 8, 2017 at 6:59 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure| 2 + > doc/filters.texi | 23 ++ > libavfilter/Makefile | 1 + > libavfilter/af_afir.c| 544 > +++ > libavfilter/

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-08 Thread Muhammad Faiz
On Mon, May 8, 2017 at 11:06 PM, Paul B Mahol wrote: > On 5/8/17, Muhammad Faiz wrote: >> On Mon, May 8, 2017 at 6:59 PM, Paul B Mahol wrote: >>> Signed-off-by: Paul B Mahol >>> --- >>> configure| 2 + >>> doc/filters.texi

Re: [FFmpeg-devel] [PATCH] avfilter: add arbitrary audio FIR filter

2017-05-08 Thread Muhammad Faiz
On Tue, May 9, 2017 at 5:03 AM, Paul B Mahol wrote: > On 5/8/17, Muhammad Faiz wrote: >> On Mon, May 8, 2017 at 11:06 PM, Paul B Mahol wrote: >>> On 5/8/17, Muhammad Faiz wrote: >>>> On Mon, May 8, 2017 at 6:59 PM, Paul B Mahol wrote: >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter: add arbitrary audio FIR filter

2017-05-10 Thread Muhammad Faiz
On Wed, May 10, 2017 at 1:55 AM, Paul B Mahol wrote: > ffmpeg | branch: master | Paul B Mahol | Thu Jan 26 > 17:03:08 2017 +0100| [49bbfb9d13936ee8bb7fee9983ca3710dc683a2e] | committer: > Paul B Mahol > > avfilter: add arbitrary audio FIR filter > > Signed-off-by: Paul B Mahol > >> http://git.

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_check_align().

2017-05-11 Thread Muhammad Faiz
On Tue, May 9, 2017 at 8:19 PM, Nicolas George wrote: > diff --git a/libavutil/frame.c b/libavutil/frame.c > index 24d5d5f184..e8467a1cd6 100644 > --- a/libavutil/frame.c > +++ b/libavutil/frame.c > @@ -781,3 +781,21 @@ const char *av_frame_side_data_name(enum > AVFrameSideDataType type) > }

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-16 Thread Muhammad Faiz
On Sun, May 7, 2017 at 8:18 PM, Nicolas George wrote: > L'octidi 18 floréal, an CCXXV, James Almer a écrit : >> Will that complete fix be ready and be backport-enabled (AKA, no new >> API) in the coming days? > > It can. Right now, I am waiting for a comment from Hendrik, who seemed > to have obje

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-16 Thread Muhammad Faiz
On Wed, May 17, 2017 at 6:33 AM, Ronald S. Bultje wrote: > Hi, > > On Tue, May 16, 2017 at 7:23 PM, Muhammad Faiz wrote: > >> On Sun, May 7, 2017 at 8:18 PM, Nicolas George wrote: >> > L'octidi 18 floréal, an CCXXV, James Almer a écrit : >> >> Wil

Re: [FFmpeg-devel] [PATCH] avfilter: align data frame when needed

2017-05-16 Thread Muhammad Faiz
On Wed, May 17, 2017 at 10:47 AM, James Almer wrote: > On 5/16/2017 11:28 PM, Ronald S. Bultje wrote: >> Hi, >> >> On Tue, May 16, 2017 at 7:43 PM, Muhammad Faiz wrote: >> >>> On Wed, May 17, 2017 at 6:33 AM, Ronald S. Bultje >>> wrote: >&

  1   2   3   4   5   6   >