Re: [FFmpeg-devel] [PATCH 1/4] libavcodec/adts_header: add frame_length field and avpriv function to parse AAC ADTS header

2021-10-12 Thread Steven Liu
t; +av_freep(phdr); > +return ret; > +} > + > +ret = ff_adts_header_parse(, *phdr); > +if (ret < 0) { > +av_freep(phdr); > +return ret; > +} > + > +return 0; > +#else > +return AVERROR(ENOSYS); > +#endif >

Re: [FFmpeg-devel] point releases

2021-10-07 Thread Steven Liu
> 在 2021年10月7日,17:15,Jan Ekström 写道: > > On Thu, Oct 7, 2021 at 12:13 PM Jan Ekström wrote: >> >> On Thu, Oct 7, 2021 at 11:09 AM Steven Liu wrote: >>> >>> Steven Liu 于2021年10月7日周四 上午10:41写道: >>>> >>>> Michael Niedermayer

Re: [FFmpeg-devel] point releases

2021-10-07 Thread Steven Liu
Steven Liu 于2021年10月7日周四 上午10:41写道: > > Michael Niedermayer 于2021年10月6日周三 下午5:35写道: > > > > Hi all > > > > I do plan to make releases from > > 4.4, 4.2, 4.1, 4.0, 3.4, 3.2, 2.8 branches > Why not include 4.3 or have some reason? Ok, i get it, because it

Re: [FFmpeg-devel] point releases

2021-10-06 Thread Steven Liu
Michael Niedermayer 于2021年10月6日周三 下午5:35写道: > > Hi all > > I do plan to make releases from > 4.4, 4.2, 4.1, 4.0, 3.4, 3.2, 2.8 branches Why not include 4.3 or have some reason? Thanks Steven ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH v2] avdevice/avfoundation: continue to try get packet if not in observed_quit mode

2021-09-22 Thread Steven Liu
> 2021年9月22日 下午7:09,Thilo Borgmann 写道: > > Hi, > > > On 18 Sep 2021, at 3:51, Steven Liu wrote: > >> Signed-off-by: Steven Liu >> --- >> libavdevice/avfoundation.m | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/libavde

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: continue to try get packet if not in observed_quit mode

2021-09-17 Thread Steven Liu
Thilo Borgmann 于2021年9月18日周六 上午12:12写道: > > Hi, Hi Thilo, > > On 19 Jul 2021, at 9:15, Steven Liu wrote: > > > move unlock_frames before return in observed_quit mode. > > before patch: > > ./ffmpeg -f avfoundation -i ":0" -y out.wav > > say som

[FFmpeg-devel] [PATCH v2] avdevice/avfoundation: continue to try get packet if not in observed_quit mode

2021-09-17 Thread Steven Liu
oise. look the into the code, it will return EAGAIN when transport control observation is not ctx->observed_quit. after patch: ./ffmpeg -f avfoundation -i ":0" -y out.wav say something to microphone ffplay out.wav will ok. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m |

Re: [FFmpeg-devel] [PATCH 1/4] libavcodec/adts_header: add frame_length field and avpriv function to parse AAC ADTS header

2021-09-16 Thread Steven Liu
Nachiket Tarate 于2021年9月1日周三 下午10:39写道: > > These will be used by HLS demuxer in case of sample decryption. > > Signed-off-by: Nachiket Tarate > --- > libavcodec/adts_header.c | 1 + > libavcodec/adts_header.h | 15 +++ > libavcodec/adts_parser.c | 31

[FFmpeg-devel] [PATCH] avutil/imgutils: use INT64_MAX for alloc buffer check and image size check

2021-09-14 Thread Steven Liu
check alloc buffer size limit from INT_MAX to INT64_MAX check stride and stride*(uint64_t)(h+128) look into the Picture size condition using INT_MAX is smaller, so make it to INT64_MAX maybe large enough for Picture. Signed-off-by: Steven Liu --- libavutil/imgutils.c | 2 +- libavutil

[FFmpeg-devel] [PATCH] avutil/imgutils: use INT64_MAX for check stride and stride*(uint64_t)(h+128)

2021-09-14 Thread Steven Liu
200:200 DAR 2:3], 25 fps, 25 tbr, 25 tbn Signed-off-by: Steven Liu --- libavutil/imgutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 9ab5757cf6..03abf1cece 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c

[FFmpeg-devel] [PATCH] avformat/hlsenc: remove unnecessary http/https shutdown status operate

2021-09-12 Thread Steven Liu
there have been get http/https shutdown status in ffurl_shutdown. so unnecessary http/https shutdown status operate. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index

[FFmpeg-devel] [RFC] Reconnect and PUT file continue by ffmpeg base https on windows

2021-09-11 Thread Steven Liu
Hello everyone, There have two tickets about Reconnect and PUT file continue by hlsenc. The first one is https://trac.ffmpeg.org/ticket/7975. It be fixed use the way ff_http_get_shutdown_status after furl_shutdown, But it get second problem. The ff_http_get_shutdown_status

Re: [FFmpeg-devel] [PATCH 1/4] libavcodec/adts_header: add frame_length field and avpriv function to parse AAC ADTS header

2021-08-15 Thread Steven Liu
ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > Looks ok to me, will fix some code style problem locally and push one week after if there have no objections. Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [RFC] Suggestion for a Nicer Integration with GitHub

2021-08-13 Thread Steven Liu
> 2021年8月13日 下午1:12,Soft Works 写道: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Steven Liu >> Sent: Friday, 13 August 2021 05:01 >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Cc: Steven L

Re: [FFmpeg-devel] [RFC] Suggestion for a Nicer Integration with GitHub

2021-08-12 Thread Steven Liu
mpeg, they can use any tools, whatever mail or GitHub. If the developer want submit patches to ffmpeg, of cause if the develop have intrested in ffmpeg, he can find the way in documents. If the developer have no interested in ffmpeg, you open all way to the developers. That way

Re: [FFmpeg-devel] [PATCH] avformat/hls: return ret when read_packet get exceptions

2021-08-04 Thread Steven Liu
> 2021年8月4日 下午2:30,Nicolas George 写道: > > Steven Liu (12021-08-04): >> Ok, "avformat/hls: return ret when read_packet return error codes." > > "forward error code" is the idiomatic wording, according to git log. What about “Return sensible error values

Re: [FFmpeg-devel] [PATCH] avformat/hls: return ret when read_packet get exceptions

2021-08-04 Thread Steven Liu
> 2021年8月4日 下午2:18,Nicolas George 写道: > > Steven Liu (12021-08-04): >> Subject: Re: [FFmpeg-devel] [PATCH] avformat/hls: return ret when read_packet >> get exceptions > > Nit: FFmpeg does not have exceptions, it has error codes. Ok, "avformat/hls: return r

[FFmpeg-devel] [PATCH] avformat/hls: return ret when read_packet get exceptions

2021-08-03 Thread Steven Liu
From: Steven Liu Should not modify to AVERROR_EOF value when get error number. for example: return HTTP ERROR return value when cannot get fragments from http protocol, for user get the point of problem. Reported-by: bevis Signed-off-by: Steven Liu --- libavformat/hls.c | 4 ++-- 1 file

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月27日星期二,Gyan Doshi 写道: > > > On 2021-07-27 04:28, Steven Liu wrote: > >> 在 2021年7月26日星期一,Gyan Doshi 写道: >> >> >>> On 2021-07-26 19:49, Steven Liu wrote: >>> >>> 在 2021年7月26日星期一,Gyan Doshi 写道: >>>> >>>> >

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月27日星期二,Hendrik Leppkes 写道: > On Mon, Jul 26, 2021 at 5:16 PM Gyan Doshi wrote: > > > > > > > > On 2021-07-26 19:49, Steven Liu wrote: > > > 在 2021年7月26日星期一,Gyan Doshi 写道: > > > > > >> > > >> On 2021-07-26 16:

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月26日星期一,Gyan Doshi 写道: > > > On 2021-07-26 19:49, Steven Liu wrote: > >> 在 2021年7月26日星期一,Gyan Doshi 写道: >> >> >>> On 2021-07-26 16:39, Steven Liu wrote: >>> >>> 2021年7月26日 下午6:57,Gyan Doshi 写道: >>>> >>>>&

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月26日星期一,Gyan Doshi 写道: > > > On 2021-07-26 16:39, Steven Liu wrote: > >> >> 2021年7月26日 下午6:57,Gyan Doshi 写道: >>> >>> Are you referring to the choice of FLV_CODECID values? >>> >> Not only, you can find whole history on: >&g

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
use case in China Mainland: https://github.com/CDN-Union/Code As many developers said in irc, maybe there need some add a new format looks like flv in RFC or IEEE, I think this is a better way, or choose mkv :D Thanks Steven Liu ___ ffmpeg-devel mai

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Thanks Steven Liu __

Re: [FFmpeg-devel] [PATCH 1/4] libavcodec/adts_header: add frame_length field and avpriv function to parse AAC ADTS header

2021-07-22 Thread Steven Liu
; +return ret; > + > +return 0; > +#else > +return AVERROR(ENOSYS); > +#endif > +} > -- > 2.17.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listi

Re: [FFmpeg-devel] [PATCH V4] lavf/vf_ocr: add subregion support

2021-07-21 Thread Steven Liu
> 2021年7月12日 下午1:14,Lingjiang Fang 写道: > > follow comments from Steven Liu > --- > doc/filters.texi | 8 > libavfilter/vf_ocr.c | 45 +++- > 2 files changed, 52 insertions(+), 1 deletion(-) > > diff --g

[FFmpeg-devel] [PATCH] avformat/hlsenc: minus subtitle streams count when subtitle stream between video and audio streams

2021-07-20 Thread Steven Liu
-i input -map 0:a:0 -map 0:s:0 -map 0:v:0 -f hls .m3u8 will ok Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 5272ecabbb..28bfa73618 100644

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-20 Thread Steven Liu
"zhilizhao(赵志立)" 于2021年7月20日周二 下午4:09写道: > > > > > On Jul 20, 2021, at 3:50 PM, Steven Liu wrote: > > > > Thilo Borgmann 于2021年7月20日周二 下午3:37写道: > >> > >> Am 20.07.21 um 03:46 schrieb Andreas Rheinhardt: > >>> Steven L

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-20 Thread Steven Liu
Steven Liu 于2021年7月20日周二 下午5:31写道: > > "zhilizhao(赵志立)" 于2021年7月20日周二 下午4:09写道: > > > > > > > > > On Jul 20, 2021, at 3:50 PM, Steven Liu wrote: > > > > > > Thilo Borgmann 于2021年7月20日周二 下午3:37写道: > > >> > > >&g

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-20 Thread Steven Liu
Thilo Borgmann 于2021年7月20日周二 下午3:37写道: > > Am 20.07.21 um 03:46 schrieb Andreas Rheinhardt: > > Steven Liu: > >> From: Steven Liu > >> > >> Because these two member of AVFContext not be used. > >> > >> Signed-off-by: Steven Liu > &

[FFmpeg-devel] [PATCH] avformat/hlsenc: set http options before use delete http method

2021-07-19 Thread Steven Liu
Fix ticket: 9338 Set options which set by user from parent options. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 151ef6ec8f..5272ecabbb 100644 --- a/libavformat/hlsenc.c +++ b/libavformat

[FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-19 Thread Steven Liu
From: Steven Liu Because these two member of AVFContext not be used. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..5b4dea826c 100644 --- a/libavdevice

[FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-19 Thread Steven Liu
Because these two member of AVFContext not be used. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..5b4dea826c 100644 --- a/libavdevice/avfoundation.m +++ b

[FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-19 Thread Steven Liu
Because these two member of AVFContext not be used. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..5b4dea826c 100644 --- a/libavdevice/avfoundation.m +++ b

[FFmpeg-devel] [PATCH] avdevice/avfoundation: continue to try get packet if not in observed_quit mode

2021-07-19 Thread Steven Liu
ut.wav say something to microphone ffplay out.wav will ok. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..ddde640c80 100644 --- a/libavdevice/

Re: [FFmpeg-devel] [PATCH V3] lavf/vf_ocr: add subregion support

2021-07-05 Thread Steven Liu
_log(s, AV_LOG_WARNING, "config error, subregion changed to x=%d, > y=%d, w=%d, h=%d\n", > +x, y, w, > h); > +} > + > result = TessBaseAPIRect(s->tess, in->data[0], 1, > -

Re: [FFmpeg-devel] [PATCH] avfilter/vf_guided: support single input

2021-06-29 Thread Steven Liu
Steven Liu 于2021年6月14日周一 下午6:14写道: > > > > > 在 2021年6月14日,10:08,Xuewei Meng <928826...@qq.com> 写道: > > > > From: Xuewei Meng > > > > Support single input for guided filter by adding guidance mode. > > If the guidance mode is off, single i

Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: Add localtime_ms for millisecond precision

2021-06-15 Thread Steven Liu
> 2021年6月16日 上午9:56,Lingjiang Fang 写道: > > On Tue, 15 Jun 2021 11:42:44 +0800 > Steven Liu wrote: > >> Thilo Borgmann 于2021年6月15日周二 >> 上午3:14写道: >>> >>> Am 08.06.21 um 18:42 schrieb Thilo Borgmann: >>>> Hi, >>>

Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: Add localtime_ms for millisecond precision

2021-06-14 Thread Steven Liu
Thilo Borgmann 于2021年6月15日周二 上午3:14写道: > > Am 08.06.21 um 18:42 schrieb Thilo Borgmann: > > Hi, > > > > add %{localtime_ms} function to the drawtext filter. Same as %{localtime} > > but with additional millisecond part. > > Ping for a volunteer to actually have a look at the patch for review.

Re: [FFmpeg-devel] [PATCH] avfilter/vf_guided: support single input

2021-06-14 Thread Steven Liu
> 在 2021年6月14日,10:08,Xuewei Meng <928826...@qq.com> 写道: > > From: Xuewei Meng > > Support single input for guided filter by adding guidance mode. > If the guidance mode is off, single input is required. And > edge-preserving smoothing is conducted. If the mode is on, two > inputs are needed.

Re: [FFmpeg-devel] [PATCH] avfilter: add format_cuda filter

2021-06-11 Thread Steven Liu
> 在 2021年6月11日,22:43,Timo Rothenpieler 写道: Hi Timo, > > --- > configure | 2 + > doc/filters.texi| 46 ++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/cuda/vector_helpers.cuh | 14 +- >

Re: [FFmpeg-devel] [RFC PATCH] ffmpeg_videotoolbox: skip memory copy if hwaccel_output_format match

2021-06-10 Thread Steven Liu
"zhilizhao(赵志立)" 于2021年6月10日周四 下午12:15写道: > > Ping. > > > On Apr 27, 2021, at 1:09 PM, Zhao Zhili wrote: > > > > From: zhilizhao > > > > Simple test results: > > > > Command: > > ./ffmpeg -y -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld \ > > -i test.mp4 -an -c:v

Re: [FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: support expression of x y position

2021-06-08 Thread Steven Liu
Timo Rothenpieler 于2021年6月8日周二 下午6:23写道: > > It'd probably make sense to also copy over the option for evaluating the > expression per-frame or on init. > Given that this is usually going to run much faster than the software > overlay filter, the slight overhead from the expression could be much

[FFmpeg-devel] [PATCH v2] avfilter/vf_overlay_cuda: support expression of x y position

2021-06-08 Thread Steven Liu
and add per-frame / init mode for it. Signed-off-by: Steven Liu --- libavfilter/vf_overlay_cuda.c | 153 -- 1 file changed, 144 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index 8a4d2c4312..b2ed8de24e

[FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: support expression of x y position

2021-06-08 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_overlay_cuda.c | 129 +++--- 1 file changed, 120 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index 8a4d2c4312..9980b0137e 100644 --- a/libavfilter

Re: [FFmpeg-devel] [PATCH] doc/examples/muxing: remove unused arguments of open_video and open_audio

2021-06-07 Thread Steven Liu
> 2021年5月28日 下午9:36,Steven Liu 写道: > > Signed-off-by: Steven Liu > --- > doc/examples/muxing.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c > index fe1b9ded21..3986561b2f 100644 &g

Re: [FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: add hsub and vsub compute x and y positions

2021-06-07 Thread Steven Liu
> 2021年5月31日 下午3:16,Steven Liu 写道: > > fix problem when set x to odd number in nv12 by cuda, > > test step: > 1. ffmpeg -f lavfi testsrc2=s=176x144 -pix_fmt nv12 -t 1 output_overlay.yuv > 1. ffmpeg -f lavfi testsrc2=s=352x288 -pix_fmt nv12 -t 1 output_main.yu

Re: [FFmpeg-devel] [PATCH] avformat/http: Stop cookie_dict leaking on errors.

2021-06-02 Thread Steven Liu
Robert Bengtsson-Ölund 于2021年6月2日周三 上午1:12写道: > > This solves the memory leak reported in https://trac.ffmpeg.org/ticket/9273 > > Signed-off-by: Robert Bengtsson-Ölund > --- > libavformat/http.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/libavformat/http.c

[FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: add hsub and vsub compute x and y positions

2021-05-31 Thread Steven Liu
, both will right after patch. Signed-off-by: Steven Liu --- libavfilter/vf_overlay_cuda.c | 8 1 file changed, 8 insertions(+) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index b91ac9a713..37886a9d3b 100644 --- a/libavfilter/vf_overlay_cuda.c +++ b

Re: [FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Steven Liu
; -- > 2.31.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > lgtm Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] doc/examples/muxing: remove unused arguments of open_video and open_audio

2021-05-28 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/examples/muxing.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index fe1b9ded21..3986561b2f 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -242,8 +242,7 @@ static

Re: [FFmpeg-devel] [PATCH 1/2] lavfi/dnn_filter_common.h: remove filter option 'options'

2021-05-17 Thread Steven Liu
___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > Thanks Steven Liu

Re: [FFmpeg-devel] [PATCH 1/3] avfilter/vf_guided: Don't free frame we don't own

2021-05-14 Thread Steven Liu
nfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > Looks simply after patchset, lgtm Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http

Re: [FFmpeg-devel] [FFmpeg-cvslog] GSoC: Support fast guided filter.

2021-05-14 Thread Steven Liu
> 2021年5月14日 下午5:12,Anton Khirnov 写道: > > Quoting Xuewei Meng (2021-05-13 05:59:34) >> ffmpeg | branch: master | Xuewei Meng | Mon May 10 >> 21:42:31 2021 +0800| [43d70feb788318b124418c5c666f2120ee5ca930] | committer: >> Steven Liu >> >> GSoC: Sup

Re: [FFmpeg-devel] [PATCH] avfilter/guided: simplify subsampling assignment.

2021-05-13 Thread Steven Liu
lse { > -s->radius = 1; > -} > -} > -else { > -return AVERROR_BUG; > + if (s->radius >= s->sub) > + s->radius = s->radius / s->sub; > + else { > + s->radius = 1; > + } >

[FFmpeg-devel] [PATCH v2] avfilter/vf_guided: add null pointer check of ref_frame and main_frame

2021-05-13 Thread Steven Liu
fix CID: 1484785 check ref_frame and main_frame before use them Ignore previous patch please, this should better than that. Signed-off-by: Steven Liu --- libavfilter/vf_guided.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c

[FFmpeg-devel] [PATCH] avfilter/vf_guided: add null pointer check of ref_frame and main_frame

2021-05-13 Thread Steven Liu
fix CID: 1484785 check ref_frame and main_frame before use them Signed-off-by: Steven Liu --- libavfilter/vf_guided.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c index e7c689e7be..0868b9cd4f 100644 --- a/libavfilter

Re: [FFmpeg-devel] [PATCH] GSoC: Support fast guided filter.

2021-05-12 Thread Steven Liu
)); \ > +ctx->internal->execute(ctx, s->box_slice, , NULL, FFMIN(h, > nb_threads)); \ > t.src = B; > \ > t.dst = meanB;

Re: [FFmpeg-devel] [PATCH] avfilter/vf_guided: Add missing const

2021-05-10 Thread Steven Liu
> ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > LGTM Thanks Steven Liu ___

Re: [FFmpeg-devel] [PATCH v3] GSoC: Add guided filter

2021-05-09 Thread Steven Liu
> 2021年5月8日 下午6:20,Steven Liu 写道: > > > >> 2021年5月8日 下午6:06,Xuewei Meng <928826...@qq.com> 写道: >> >> V3: Add examples on how to use this filter, and improve the code style. >> V2: Implement the slice-level parallelism for guided filter. >

Re: [FFmpeg-devel] [PATCH v3] GSoC: Add guided filter

2021-05-08 Thread Steven Liu
ITY; > +s->fs.opaque = s; > +s->fs.on_event = process_frame; > + > +return ff_framesync_configure(>fs); > +} > + > +static int activate(AVFilterContext *ctx) > +{ > +GuidedContext *s = ctx->priv; > +return ff_framesync_activate(>fs); > +} > + > +static av_cold int init(AVFilterContext *ctx) > +{ > +return 0; > +} > + > +static av_cold void uninit(AVFilterContext *ctx) > +{ > +GuidedContext *s = ctx->priv; > +ff_framesync_uninit(>fs); > +return; > +} > + > + > +static int process_command(AVFilterContext *ctx, > + const char *cmd, > + const char *arg, > + char *res, > + int res_len, > + int flags) > +{ > +int ret = ff_filter_process_command(ctx, cmd, arg, res, res_len, flags); > + > +if (ret < 0) > +return ret; > + > +return 0; > +} > + > +static const AVFilterPad guided_inputs[] = { > +{ > +.name = "main", > +.type = AVMEDIA_TYPE_VIDEO, > +},{ > +.name = "reference", > +.type = AVMEDIA_TYPE_VIDEO, > +.config_props = config_input, > +}, > +{ NULL } > +}; > + > +static const AVFilterPad guided_outputs[] = { > +{ > +.name = "default", > +.type = AVMEDIA_TYPE_VIDEO, > +.config_props = config_output, > +}, > +{ NULL } > +}; > + > +AVFilter ff_vf_guided = { > +.name= "guided", > +.description = NULL_IF_CONFIG_SMALL("Apply Guided filter."), > +.init= init, > +.uninit = uninit, > +.query_formats = query_formats, > +.priv_size = sizeof(GuidedContext), > +.priv_class = _class, > +.activate= activate, > +.inputs = guided_inputs, > +.outputs = guided_outputs, > +.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | > AVFILTER_FLAG_SLICE_THREADS, > +.process_command = process_command, > +}; > -- > 1.9.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > Looks ok to me, waiting for other reviewers, Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] [GSOC] avfilter: added guided filter

2021-05-07 Thread Steven Liu
Andrey Moskalenko 于2021年5月3日周一 上午3:47写道: > > Added guided filter with subsampling and multithreading for speedup. Maybe not only use multithreading for speedup, also need some algorithms to improve it. What about the speedup compare data? > --- > doc/filters.texi | 25 +++ >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_dnn_classify: add result check for av_frame_get_side_data

2021-05-07 Thread Steven Liu
Guo, Yejun 于2021年5月7日周五 下午4:11写道: > > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Steven Liu > > Sent: 2021年5月7日 14:43 > > To: ffmpeg-devel@ffmpeg.org > > Cc: Steven Liu > > Subject: [FFmpeg-devel]

Re: [FFmpeg-devel] [PATCH 2/2] GSoC: Add guided filter

2021-05-07 Thread Steven Liu
Xuewei Meng <928826...@qq.com> 于2021年5月6日周四 下午10:59写道: > > This version can be executed by thread in slice level. > > To-Do-List: > > 1. Fast guided filter > > 2. Improve the derain/dehaze/denoise performance of guided filter > > Signed-off-by: Xuewei Meng <928826...@qq.com> > --- >

[FFmpeg-devel] [PATCH] avfilter/vf_dnn_classify: add result check for av_frame_get_side_data

2021-05-07 Thread Steven Liu
CID: 1482090 there can return null from av_frame_get_side_data, and will use sd->data after av_frame_get_side_data, so should check null return value. Signed-off-by: Steven Liu --- libavfilter/vf_dnn_classify.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfil

Re: [FFmpeg-devel] [PATCH 2/2] avformat/hls: use av_strncasecmp()

2021-05-06 Thread Steven Liu
> -- > 1.8.3.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subj

Re: [FFmpeg-devel] [PATCH] GSoC: Add guided filter To-Do-List: 1. Fast guided filter 2. Improve the derain/dehaze/denoise performance of guided filter

2021-05-04 Thread Steven Liu
XueweiMeng <928826...@qq.com> 于2021年5月3日周一 下午10:59写道: > > From: Xuewei Meng Todo comments should be mail context, not subject. > > Signed-off-by: Xuewei Meng > --- > doc/filters.texi | 21 +++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + >

[FFmpeg-devel] [PATCH] Revert "avformat/hlsenc: compute video_keyframe_size after write keyframe"

2021-05-01 Thread Steven Liu
This reverts commit b5ca8f2c66954614d81579082025f580efc0cffc. This commit will make new problem about tickets: 9193,9205 It flush data into file with init file context together, and it can get keyframe size, maybe need more method to get keyframe size. Signed-off-by: Steven Liu --- libavformat

Re: [FFmpeg-devel] [RFC PATCH] ffmpeg_videotoolbox: skip memory copy if hwaccel_output_format match

2021-04-27 Thread Steven Liu
_ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > lgtm &

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: set DataRateLimits for hevc

2021-04-25 Thread Steven Liu
EC_ID_HEVC) > +return AVERROR_EXTERNAL; > } > } > > -- > 2.31.1 > > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > &g

Re: [FFmpeg-devel] Major bump

2021-04-20 Thread Steven Liu
av_sha512_update >- av_buffer_alloc >- av_buffer_allocz >- av_buffer_create >- av_buffer_realloc >- av_buffer_pool_init > - av_buffer_pool_init2 > * AVBufferRef.size changed from int to size_t > * "compressed" AVComponentDescriptor fields >

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: Also fetch final partial segment

2021-04-14 Thread Steven Liu
> 2021年4月14日 上午3:42,Matt Robinson 写道: > > On Tue, 6 Apr 2021 at 02:36, Steven Liu wrote: >> >>> 2021年4月6日 上午1:45,Matt Robinson 写道: >>> >>> Currently, the DASH demuxer omits the final segment for a non-live >>> stream (using Segmen

Re: [FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: check ctx->hwctx->internal null pointer

2021-04-10 Thread Steven Liu
Timo Rothenpieler 于2021年4月10日周六 下午8:34写道: > > Can you test if > https://github.com/BtbN/FFmpeg/commit/454d5c5d3eda7b5356f961a0e1b66f3a56d95363 > Also fixes the issue? Yes, it can fix the issue Thanks Timo. Thanks Steven ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: check ctx->hwctx->internal null pointer

2021-04-09 Thread Steven Liu
From: Steven Liu because it will cannot get ctx->hwctx->internal value when get ctx->hwctx->internal->cuda_dl value. so should check if internal is null. before patch: liuqi@chinaffmpeg:~/multimedia/build$ ./ffmpeg_g -hwaccel_device 0 -hwaccel cuda -pix_fmt nv12 -s 1920x108

Re: [FFmpeg-devel] Major bump

2021-04-05 Thread Steven Liu
> 2021年4月6日 上午10:02,Steven Liu 写道: > > Is this typo? Maybe you want said avcodec_find_best_pix_fmt2? av_find_best_pix_fmt_of_2 Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listin

Re: [FFmpeg-devel] Major bump

2021-04-05 Thread Steven Liu
av_md5_update >- av_md5_sum >- av_murmur3_update >- av_ripemd_update >- av_sha_update >- av_sha512_update >- av_buffer_alloc >- av_buffer_allocz >- av_buffer_create >- av_buffer_realloc >- av_buffer_pool_init > - av_buff

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: Also fetch final partial segment

2021-04-05 Thread Steven Liu
> ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". LGTM Thanks Steven Liu ___

Re: [FFmpeg-devel] 4.4 Release Name

2021-04-02 Thread Steven Liu
> 2021年4月2日 下午5:59,Michael Niedermayer 写道: > > Von Neumann Von Neumann lgtm :D Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above,

Re: [FFmpeg-devel] [RFC PATCH] avformat/dashdec: Improve implementation

2021-03-28 Thread Steven Liu
> 在 2021年3月29日,04:50,Derek Buitenhuis 写道: > > On 28/03/2021 21:05, Carl Eugen Hoyos wrote: >> The patch clearly mentions that it is a "rework". >> If the maintainer likes it, it would be nice if it can be simplified but >> this may not be possible. > > Of course it's /possible/. People have

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
> 2021年3月21日 下午8:07,Steven Liu 写道: > >> >> 2021年3月21日 下午8:00,Piyush Chauhan 写道: >> >>> >>> 21 Mar 2021, 17:01, Steven Liu >>> >> Yes, that is ok if you want, and other students can post their code too. >>> I think I need

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
> 2021年3月21日 下午8:00,Piyush Chauhan 写道: > >> >> 21 Mar 2021, 17:01, Steven Liu >> > Yes, that is ok if you want, and other students can post their code too. >> I think I need clarify that you have half chance for the qualification. >> And I have not see

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Thanks Steven Liu ___

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
> 2021年3月21日 下午6:10,Steven Liu 写道: > > > >> 2021年3月21日 下午6:03,Paul B Mahol 写道: >> >> >> >> On Sun, Mar 21, 2021 at 10:58 AM Steven Liu wrote: >> >> >>> 2021年3月21日 下午5:42,Paul B Mahol 写道: >>> >>> >&

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
> 2021年3月21日 下午6:03,Paul B Mahol 写道: > > > > On Sun, Mar 21, 2021 at 10:58 AM Steven Liu wrote: > > > > 2021年3月21日 下午5:42,Paul B Mahol 写道: > > > > > > > > On Sun, Mar 21, 2021 at 10:35 AM Steven Liu wrote: > > > >

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
> 2021年3月21日 下午5:42,Paul B Mahol 写道: > > > > On Sun, Mar 21, 2021 at 10:35 AM Steven Liu wrote: > > > > 2021年3月21日 下午5:27,Piyush Chauhan 写道: > > > > Hello Steven, > > > > Eagerly waiting for your reply. > You looks rush to fi

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-21 Thread Steven Liu
ch I leaved. I think if will not so rush to finish this project if you really read that. > > > Piyush > > On Sat, 20 Mar 2021 at 02:20, Piyush Chauhan > wrote: > 15 Mar 2021, 07:14, Steven Liu : > Hi Piyushi Chanuhan, > > 1st. You could try u

Re: [FFmpeg-devel] GSOC 2021 project Guided Filter

2021-03-15 Thread Steven Liu
documentations yet. > > > > *Regards* > *Shubham* > > > On Fri, Mar 12, 2021 at 4:36 PM Steven Liu wrote: > >> >> >>> 2021年3月12日 下午6:27,Shubham Sahoo 写道: >>> >>> Hi everyone, >>> >>> I'm Shubham Sahoo, an

Re: [FFmpeg-devel] Guided Filter Project | GSoC 2021

2021-03-14 Thread Steven Liu
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] GSOC 2021 project Guided Filter

2021-03-12 Thread Steven Liu
3. And try to implement a filter for that. > > Thanks > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ.

Re: [FFmpeg-devel] [PATCH] lavu: add VKAPI hwcontext implementation

2021-03-12 Thread Steven Liu
gt; > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

Re: [FFmpeg-devel] [PATCH 1/1] libavformat/hls: Reset options after open_url_keepalive() fails

2021-03-10 Thread Steven Liu
ling list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". LGTM Thanks Steven Liu ___ ffmpeg

Re: [FFmpeg-devel] DRM decryption with FFmpeg

2021-03-09 Thread Steven Liu
peg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Hi , Maybe you want do it with Nachiket Tarate, he is trying to do it. Hi Nachik

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for decryption of HLS streams in MPEG-TS format protected using SAMPLE-AES encryption

2021-03-08 Thread Steven Liu
earing from you. You could make 4 or 5 patch merge two phase to one patchset. > > Best Regards, > Nachiket Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] Next major release?

2021-03-07 Thread Steven Liu
ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Thanks Steven Liu ___ ffmpeg-devel ma

Re: [FFmpeg-devel] [PATCH 1/2] avformat/dashdec: Ensure strings are zero-terminated

2021-03-02 Thread Steven Liu
fmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". patchset lgtm Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for decryption of HLS streams in MPEG-TS format protected using SAMPLE-AES encryption

2021-02-28 Thread Steven Liu
> 2021年3月1日 下午3:22,Nachiket Tarate 写道: > > On Mon, Mar 1, 2021 at 11:30 AM Steven Liu wrote: >> >> >> >>> 2021年3月1日 下午12:55,Nachiket Tarate 写道: >>> >>> This is an updated version of the patch in which I have added the check. If >

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for decryption of HLS streams in MPEG-TS format protected using SAMPLE-AES encryption

2021-02-28 Thread Steven Liu
ould be a half part patch. > > Best Regards, > Nachiket Tarate > > On Mon, Mar 1, 2021 at 10:13 AM Steven Liu wrote: > >> >> >>> 2021年3月1日 下午12:35,Nachiket Tarate 写道: >>> >>> @Steven Liu >>> >>> Can we merge this

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for decryption of HLS streams in MPEG-TS format protected using SAMPLE-AES encryption

2021-02-28 Thread Steven Liu
> 2021年3月1日 下午12:35,Nachiket Tarate 写道: > > @Steven Liu > > Can we merge this patch ? I’m waiting update patch for fragment mp4 encryption. After new version of the patchset I will test and review. > > Best Regards, > Nachiket Tarate > > On Wed, Feb 24, 2

Re: [FFmpeg-devel] Proposal of two projects for GSoC

2021-02-25 Thread Steven Liu
Artem Galin 于2021年2月24日周三 下午11:46写道: > > Hello, > > > > Please find the proposal for the following two projects for GSoC this year. > > The FATE project had been proposed earlier already but I don't know why it > didn't happen. > > I previously got the feedback from Thilo Borgmann and would be

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-02-11 Thread Steven Liu
> 在 2021年2月3日,09:11,Steven Liu 写道: > > > >> 2021年2月2日 下午10:51,Nachiket Tarate 写道: >> >> Hello Steven, >> >> Was this test passing earlier (without my patch) ? > Hi Nachiket, > no, and it to support sample aes without your patch >>

<    1   2   3   4   5   6   7   8   9   10   >