Re: [FFmpeg-devel] [PATCH 3/3] libavfilter/dnn: Initialze DNNData variables

2023-09-20 Thread zhilizhao(赵志立)
> On Sep 20, 2023, at 10:26, wenbin.chen-at-intel@ffmpeg.org wrote: > > From: Wenbin Chen > > Signed-off-by: Wenbin Chen > --- > libavfilter/dnn/dnn_backend_tf.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/dnn/dnn_backend_tf.c >

Re: [FFmpeg-devel] [PATCH v2 1/1] lavc/qsvdec: fix dead loop of qsv decoding

2023-09-14 Thread zhilizhao(赵志立)
> On Sep 14, 2023, at 14:11, Xiang, Haihao > wrote: > > >> This seems like a bug in libmfx/libvpl. > > I agree there should be a bug in libmfx/libvpl, but we have to avoid this dead > loop in FFmpeg. Is it possible that a normal case which do take more than 500ms now break out early and

Re: [FFmpeg-devel] [PATCH v3] avformat/mov: add interleaved_read option

2023-09-13 Thread zhilizhao(赵志立)
> On Sep 14, 2023, at 09:41, Steven Liu wrote: > > Zhao Zhili 于2023年9月12日周二 01:10写道: >> >> From: Zhao Zhili >> >> For bad interleaved files, manually interleave multiple tracks at the >> demuxer level can trigger seeking back and forth, which can be >> dramatically slow depending on the

Re: [FFmpeg-devel] [PATCH 1/2] lavc/videotoolboxenc: Dump the encoder

2023-09-05 Thread zhilizhao(赵志立)
> On Sep 5, 2023, at 18:43, Richard Kern wrote: > > > >> On Sep 3, 2023, at 11:53 PM, Jun Zhao wrote: >> >> Dump the encoder, it's will help debug some case >> >> Signed-off-by: Jun Zhao >> --- >> libavcodec/videotoolboxenc.c | 20 >> 1 file changed, 20 insertions(+)

Re: [FFmpeg-devel] [PATCH 2/2] lavc/videotoolboxenc: Get the encoder supported properties

2023-09-05 Thread zhilizhao(赵志立)
> On Sep 5, 2023, at 17:36, myp...@gmail.com wrote: > > On Tue, Sep 5, 2023 at 3:52 PM Tomas Härdin wrote: >> >> mån 2023-09-04 klockan 11:53 +0800 skrev Jun Zhao: >>> Get the encoder supported properties list, it will be used for >>> feature support checks. >>> >>> Signed-off-by: Jun Zhao

Re: [FFmpeg-devel] [PATCH 2/2] lavc/videotoolboxenc: enable low-latency mode for HEVC

2023-08-31 Thread zhilizhao(赵志立)
> On Sep 1, 2023, at 09:13, myp...@gmail.com wrote: > > On Fri, Sep 1, 2023 at 2:13 AM Zhao Zhili wrote: >> >> >>> From: ffmpeg-devel On Behalf Of Jun Zhao >>> Sent: 2023年8月31日 22:50 >>> To: ffmpeg-devel@ffmpeg.org >>> Cc: Jun Zhao ; Jun Zhao >>> Subject: [FFmpeg-devel] [PATCH 2/2]

Re: [FFmpeg-devel] [PATCH] avcodec/jpegxl_parser: fix a compile error

2023-08-29 Thread zhilizhao(赵志立)
> On Aug 28, 2023, at 15:14, Tong Wu wrote: > > Compiler: MSVC 14.35.32215 > Error type: error C2099: initializer is not a constant > Related commit: 0c0dd23 avcodec/jpegxl_parser: add JPEG XL parser > > Signed-off-by: Tong Wu > --- > libavcodec/jpegxl_parser.c | 2 +- > 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: make pre-defined channel layouts C++ friendly

2023-08-28 Thread zhilizhao(赵志立)
> On Aug 20, 2023, at 20:53, Tomas Härdin wrote: > > tor 2023-08-17 klockan 22:03 +0800 skrev zhilizhao(赵志立): >> >> >>> On Aug 17, 2023, at 20:57, Tomas Härdin wrote: >>> >>> ons 2023-08-16 klockan 23:44 +0800 skrev Zhao Zhili: >&

Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: make pre-defined channel layouts C++ friendly

2023-08-17 Thread zhilizhao(赵志立)
> On Aug 17, 2023, at 20:57, Tomas Härdin wrote: > > ons 2023-08-16 klockan 23:44 +0800 skrev Zhao Zhili: >> From: Zhao Zhili >> >> C++ doesn't support designated initializers until C++20. We have >> a bunch of pre-defined channel layouts, the gains to make them >> usable in C++ exceed the

Re: [FFmpeg-devel] [PATCH] avformat/libsrt: Decode URL parameter strings

2023-08-10 Thread zhilizhao(赵志立)
> On Aug 11, 2023, at 00:13, Armin Hasitzka wrote: > > Hi again, > > we found this the other day when using a stream ID containing "%2F", > expecting this to be resolved to "/". While "%2F" could obviously be sent > decoded, "&" (decoded) would currently end the value and not be used, "+" >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Fix writing a sample size of 0 for PCM in MP4

2023-07-25 Thread zhilizhao(赵志立)
> On Jul 26, 2023, at 00:28, Raphaël Zumer wrote: > > Encoding PCM in MP4 currently causes subsequent decoding to fail due to a > sample size of 0. This doesn’t give a context on which case the sample size is 0. > Use bits per coded sample instead, which are set correctly based on my tests

Re: [FFmpeg-devel] [PATCH] use bits_per_coded_sample if bits_per_raw_sample equal to 0 in pcmc tag, fix bug #10433

2023-07-25 Thread zhilizhao(赵志立)
> On Jul 24, 2023, at 10:41, hung kuishing wrote: > > Signed-off-by: clarkh > --- > libavformat/movenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index f1cc80b1b3..d08c056438 100644 > --- a/libavformat/movenc.c >

Re: [FFmpeg-devel] [Internet][PATCH 1/3] avcodec/videotoolboxenc: use color parameters conversion from avutil

2023-07-22 Thread zhilizhao(赵志立)
> On Jul 16, 2023, at 17:13, Zhao Zhili wrote: > > From: Zhao Zhili > > --- > libavcodec/videotoolboxenc.c | 137 --- > 1 file changed, 13 insertions(+), 124 deletions(-) > Patchset applied. ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 01/33] fftools/ffmpeg_mux_init: return errors from of_open() instead of aborting

2023-07-13 Thread zhilizhao(赵志立)
> On Jul 13, 2023, at 18:55, Anton Khirnov wrote: > > --- > fftools/ffmpeg_mux_init.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c > index 6ab541d7c5..8a3e7b98cf 100644 > ---

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: fix intraRefreshPeriod setting

2023-07-06 Thread zhilizhao(赵志立)
> On Jul 6, 2023, at 18:23, Timo Rothenpieler wrote: > > On 06/07/2023 14:00, Zhao Zhili wrote: >> From: Zhao Zhili >> Regression since 99dfdb45. intraRefreshPeriod access cc->gopLength, >> which has been overwritten to NVENC_INFINITE_GOPLENGTH before. >> Fixes #10445. >> --- >>

Re: [FFmpeg-devel] [PATCH 2/3] avformat/tee: use av_dict_pop

2023-06-25 Thread zhilizhao(赵志立)
> On May 1, 2023, at 19:44, Marvin Scholz wrote: > > This is a well-defined way to "steal" the value of the dict entry. > --- > libavformat/tee.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavformat/tee.c b/libavformat/tee.c > index

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: remove AUTO_PROFILE define

2023-06-25 Thread zhilizhao(赵志立)
> On Jun 24, 2023, at 17:21, Tomas Härdin wrote: > > fre 2023-06-09 klockan 19:14 +0800 skrev Zhao Zhili: >> From: Zhao Zhili >> >> Use FF_PROFILE_UNKNOWN as auto mode. > > Won't this break code that relies on AUTO_PROFILE? On the other hand If you mean that setting profile via the integer

Re: [FFmpeg-devel] [PATCH 04/21 v2] tests/fate: add a test for -streamloop with transcoding video+audio

2023-06-19 Thread zhilizhao(赵志立)
> On Jun 19, 2023, at 20:29, James Almer wrote: > > On 6/16/2023 3:01 AM, Anton Khirnov wrote: >> --- >> Now using aacdec_fixed with s32le output >> --- >> tests/fate/ffmpeg.mak | 4 + >> tests/ref/fate/ffmpeg-streamloop-transcode-av | 151 ++ >> 2

Re: [FFmpeg-devel] [PATCH 04/21 v2] tests/fate: add a test for -streamloop with transcoding video+audio

2023-06-19 Thread zhilizhao(赵志立)
> On Jun 16, 2023, at 14:01, Anton Khirnov wrote: > > --- > Now using aacdec_fixed with s32le output > --- > tests/fate/ffmpeg.mak | 4 + > tests/ref/fate/ffmpeg-streamloop-transcode-av | 151 ++ > 2 files changed, 155 insertions(+) > create mode 100644

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix overallocation when reading pssh/saiz

2023-06-12 Thread zhilizhao(赵志立)
> On Jun 12, 2023, at 20:06, Marvin Scholz (ePirat) wrote: > > Hi, > >> On 12. Jun 2023, at 13:56, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> mov_try_read_block() allocates 1MB at least, which can be more than >> enough. It was called when reading saiz box, which can appear >>

Re: [FFmpeg-devel] [Internet][PATCH 1/6] avcodec/cbs: add API to discard units by AVDiscard

2023-06-12 Thread zhilizhao(赵志立)
> On May 29, 2023, at 20:32, zhilizhao(赵志立) wrote: > > Ping. Any comments on the idea? > >> On May 18, 2023, at 05:23, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> --- >> libavcodec/cbs.c | 21 +++

Re: [FFmpeg-devel] [PATCH] avformat/mov: Don't allocate unnecessarily large blocks of memory

2023-06-08 Thread zhilizhao(赵志立)
> On Jun 9, 2023, at 07:51, Hendi wrote: > > mov_try_read_block is regularly called with sizes such as 48 bytes, > but would allocate 1 MiB each time, hogging more and more memory > until playback ends. > > Fixes #7641 and #9243. It’s a quick fix, but I’m afraid the two tickets are caused by

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: respect AVCodecContext->{width, height}

2023-06-08 Thread zhilizhao(赵志立)
> On Jun 8, 2023, at 13:47, Xiang, Haihao > wrote: > > From: Haihao Xiang > > width and height may be known from the container > > Signed-off-by: Haihao Xiang > --- > libavcodec/qsvdec.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavcodec/qsvdec.c

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS attribute of H.264

2023-05-29 Thread zhilizhao(赵志立)
> On May 30, 2023, at 12:44, Lance Wang wrote: > > On Tue, May 30, 2023 at 11:09 AM "zhilizhao(赵志立)" > wrote: > >> >> >>> On May 30, 2023, at 09:03, Lance Wang wrote: >>> >>> On Mon, May 29, 2023 at 10:16 PM Zhao Zhili >

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS attribute of H.264

2023-05-29 Thread zhilizhao(赵志立)
> On May 30, 2023, at 09:03, Lance Wang wrote: > > On Mon, May 29, 2023 at 10:16 PM Zhao Zhili wrote: > >> From: Zhao Zhili >> >> Signed-off-by: Zhao Zhili >> --- >> libavformat/hlsenc.c | 14 -- >> 1 file changed, 12 insertions(+), 2 deletions(-) >> >> diff --git

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/h264_mp4toannexb_bsf: refactor start_code_size handling

2023-05-29 Thread zhilizhao(赵志立)
> On May 29, 2023, at 23:54, myp...@gmail.com wrote: > > On Fri, May 19, 2023 at 4:41 PM Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> start_code_size depends on whether PS comes from out-of-band or >> in-band. Make the code more readable. >> --- >> libavcodec/h264_mp4toannexb_bsf.c | 34

Re: [FFmpeg-devel] [Internet][PATCH 1/6] avcodec/cbs: add API to discard units by AVDiscard

2023-05-29 Thread zhilizhao(赵志立)
Ping. Any comments on the idea? > On May 18, 2023, at 05:23, Zhao Zhili wrote: > > From: Zhao Zhili > > --- > libavcodec/cbs.c | 21 + > libavcodec/cbs.h | 17 + > libavcodec/cbs_internal.h | 6 ++ > 3 files changed, 44 insertions(+) >

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/h264_mp4toannexb_bsf: refactor start_code_size handling

2023-05-29 Thread zhilizhao(赵志立)
Ping for the patchset. > On May 20, 2023, at 00:41, Zhao Zhili wrote: > > From: Zhao Zhili > > start_code_size depends on whether PS comes from out-of-band or > in-band. Make the code more readable. > --- > libavcodec/h264_mp4toannexb_bsf.c | 34 --- > 1 file

Re: [FFmpeg-devel] Request: consider use codec id "sowt" instead of "ipcm" for LPCM_S16LE in mp4 muxer

2023-05-23 Thread zhilizhao(赵志立)
> On May 24, 2023, at 08:45, Joseph Chris wrote: > > Hello, > > I am writing this mail for request consider use codec id "sowt" instead of > "ipcm" for AV_CODEC_ID_PCM_S16LE in mp4 muxer, and AV_CODEC_ID_PCM_S16BE > accordingly. This only needs a minor change on code: > > diff --git

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_subtitles: add wrap_unicode option

2023-05-22 Thread zhilizhao(赵志立)
> On May 22, 2023, at 19:03, Lance Wang wrote: > > On Mon, May 22, 2023 at 12:05 PM Zhao Zhili wrote: > >> From: Zhao Zhili >> >> So CJK can be wrapped automatically. >> >> Signed-off-by: Zhao Zhili >> --- >> v2: Don't overwrite wrap automatically for native ASS >> >>

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: add low latency decoding

2023-05-22 Thread zhilizhao(赵志立)
> On May 22, 2023, at 14:52, xufuji456 <839789...@qq.com> wrote: > > The low-latency decoding mode has available in Android api 30. > See > https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY > > Signed-off-by: xufuji456 <839789...@qq.com> >

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: replace VT_H264Profile with avctx profile

2023-05-21 Thread zhilizhao(赵志立)
> On May 21, 2023, at 22:41, xufuji456 <839789...@qq.com> wrote: > > For compatibility with constrained_baseline in the future, > replace VT_H264Profile/VT_HEVCProfile with avctx->profile. > > Signed-off-by: xufuji456 <839789...@qq.com> > --- > libavcodec/videotoolboxenc.c | 55

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: replace VT_H264Profile with avctx profile

2023-05-21 Thread zhilizhao(赵志立)
> On May 22, 2023, at 11:05, zhilizhao(赵志立) wrote: > >> On May 21, 2023, at 22:41, xufuji456 <839789...@qq.com> wrote: >> >> For compatibility with constrained_baseline in the future, >> replace VT_H264Profile/VT_HEVCProfile with avctx->profile.

Re: [FFmpeg-devel] [PATCH] avformat/tests/imf: fix memleak

2023-05-19 Thread zhilizhao(赵志立)
> On May 20, 2023, at 01:40, Zhao Zhili wrote: > > From: Zhao Zhili > > It breaks fate test with asan. > > Signed-off-by: Zhao Zhili > --- > libavformat/tests/imf.c | 2 ++ > 1 file changed, 2 insertions(+) > It has already been fixed. Please drop the patch.

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: add low-latency encoding

2023-05-18 Thread zhilizhao(赵志立)
> On May 19, 2023, at 11:17, xufuji456 <839789...@qq.com> wrote: > > When using low-latency mode, it eliminates frame reordering > and follows a one-in-one-out encoding mode > > Signed-off-by: xufuji456 <839789...@qq.com> > --- > libavcodec/videotoolboxenc.c | 11 +++ > 1 file changed,

Re: [FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add VP8 encoder

2023-05-16 Thread zhilizhao(赵志立)
Failed to build since missing +DECLARE_MEDIACODEC_ENCODER(vp8, "VP8", AV_CODEC_ID_VP8) Fixed locally and pushed as 416fd1b. > On May 17, 2023, at 01:34, Samuel Raposo Vieira Mira > wrote: > > > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add AV1 encoder

2023-05-16 Thread zhilizhao(赵志立)
Pushed as acd37fd. > On May 17, 2023, at 00:26, Samuel Raposo Vieira Mira > wrote: > > > > <0001-avcodec-mediacodec-Add-AV1-encoder.patch><0001-avcodec-mediacodec-Add-AV1-encoder.patch.b64>___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org >

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_get_buffer2

2023-05-16 Thread zhilizhao(赵志立)
> On May 16, 2023, at 15:52, Hendrik Leppkes wrote: > > On Tue, May 16, 2023 at 4:07 AM Xiang, Haihao > wrote: >> >> From: Haihao Xiang >> >> Intel MediaSDK and oneVPL expect contiguous allocation for data[i], >> however there are mandatory padding bytes between data[i] and data[i+1]. >>

Re: [FFmpeg-devel] [PATCH v1] libavfi/dnn: add Paddle Inference as one of DNN backend

2023-05-09 Thread zhilizhao(赵志立)
> On May 10, 2023, at 10:25, WenzheWang wrote: > > Dear Madam or Sir, > > > Hope this email finds you well. > > > I am writing this email since i recently found FFmepg remove DNN native > backend, and i will be really grateful if you let me know if there is any > new plan on

Re: [FFmpeg-devel] [PATCH] avformat/demux: in case of no timestamps, calculate dts based on previous dts and duration

2023-05-05 Thread zhilizhao(赵志立)
> On May 5, 2023, at 19:31, Jan Ekström wrote: > > From: Martin Machalek > > Adds DTS to packets which would otherwise break tbr calculation > within libavformat, as well as packet rate calculation in ffmpeg. > > An example of such input would be an MPEG-TS stream where a whole > GOP is put

Re: [FFmpeg-devel] [Internet]Re: [PATCH] avcodec/options_table: reorder nokey after nointra

2023-05-04 Thread zhilizhao(赵志立)
> On Apr 26, 2023, at 15:41, Steven Liu wrote: > > Zhao Zhili 于2023年4月26日周三 10:49写道: >> >> From: Zhao Zhili >> >> So the values are in ascending order. >> >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/options_table.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/avcodec: fix UB NULL+0

2023-05-04 Thread zhilizhao(赵志立)
> On Apr 26, 2023, at 20:49, zhilizhao(赵志立) wrote: > >> On Apr 12, 2023, at 01:49, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> --- >> libavcodec/avcodec.c | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/avcodec: fix UB NULL+0

2023-04-26 Thread zhilizhao(赵志立)
> On Apr 12, 2023, at 01:49, Zhao Zhili wrote: > > From: Zhao Zhili > > --- > libavcodec/avcodec.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c > index fb1362290f..5a96899d50 100644 > --- a/libavcodec/avcodec.c >

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread zhilizhao(赵志立)
> On Apr 23, 2023, at 17:42, Marton Balint wrote: > > On Sun, 23 Apr 2023, Anton Khirnov wrote: > >> Quoting Marton Balint (2023-04-23 11:12:38) >>> >>> >>> On Sat, 22 Apr 2023, Anton Khirnov wrote: >>> Quoting Zhao Zhili (2023-04-22 14:56:34) > From: Zhao Zhili > > Fix

Re: [FFmpeg-devel] [PATCH 1/2] lavc/libopenh264: Support full range videos in transcoding

2023-04-20 Thread zhilizhao(赵志立)
> On Apr 18, 2023, at 23:33, Jun Zhao wrote: > > Support full range videos when transcoding, enabled the > YUVJ420P to avoid auto scale from YUVJ420P to YUV420P According to "Towards YUVJ removal" http://ffmpeg.org/pipermail/ffmpeg-devel/2022-December/304718.html > So, as was discussed at

Re: [FFmpeg-devel] [PATCH v2] avformat/mov: fix 2 compile errors

2023-03-16 Thread zhilizhao(赵志立)
> On Mar 16, 2023, at 13:48, Xiang, Haihao > wrote: > > On Do, 2023-03-16 at 13:32 +0800, Tong Wu wrote: >> Compiler: MSVC 14.35.32215 >> Error type: error C2059: syntax error: '}' >> Related commit: 9e1ffed fate/mov: add PCM in mp4 test >> d7e8643 avformat/mov: parse ISO-14496-12

Re: [FFmpeg-devel] [PATCH v3 4/5] avformat/movenc: add PCM in mp4 support

2023-03-06 Thread zhilizhao(赵志立)
> On Mar 6, 2023, at 20:28, Tomas Härdin wrote: > >> +static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext *pb, >> MOVTrack *track) >> +{ >> +int64_t pos = avio_tell(pb); >> +int config = 0; >> +int ret; >> +uint8_t *speaker_pos = NULL; >> +const AVChannelLayout

Re: [FFmpeg-devel] [PATCH v3 3/5] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-03-06 Thread zhilizhao(赵志立)
> On Mar 6, 2023, at 20:26, Tomas Härdin wrote: > >> +int ff_mov_get_channel_config_from_layout(const AVChannelLayout >> *layout, int *config) >> +{ >> +// Set default value which means any setup in 23001-8 >> +*config = 0; >> +for (int i = 0; i <

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: reset pointer, which could be reused by Android and iOS

2023-03-03 Thread zhilizhao(赵志立)
> On Mar 3, 2023, at 14:51, xufuji456 <839789...@qq.com> wrote: > > --- > fftools/ffmpeg.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c > index 743bc0c6b6..0ce9531235 100644 > --- a/fftools/ffmpeg.c > +++ b/fftools/ffmpeg.c > @@ -569,6

Re: [FFmpeg-devel] [PATCH v2 0/4] Add hevc alpha layer decoding basic support

2023-03-02 Thread zhilizhao(赵志立)
> On Mar 2, 2023, at 18:11, Anton Khirnov wrote: > > Quoting zhilizhao(赵志立) (2023-02-28 10:00:15) >> >>> On Jan 6, 2023, at 23:52, Zhao Zhili wrote: >>> >>> From: Zhao Zhili >>> >>> v2: >>> 1. Check vps_max_layers and v

Re: [FFmpeg-devel] [PATCH] lavc/avcodec.h: extend documentation for avcodec_open2()

2023-02-28 Thread zhilizhao(赵志立)
> On Mar 1, 2023, at 06:40, Stefano Sabatini wrote: > > On date Tuesday 2023-02-28 23:28:56 +0100, Stefano Sabatini wrote: >> In particular, clarify how to set options in the codec context, and mention >> when to use >> avcodec_parameters_to_context(). >> >> Fix trac issue

Re: [FFmpeg-devel] [PATCH 4/4] lavc/mediacodecenc: List supported pixel formats on configuration error

2023-02-28 Thread zhilizhao(赵志立)
> This patch has been released by Epic Games' legal department. > --- > libavcodec/mediacodecenc.c | 46 ++ > 1 file changed, 46 insertions(+) > > diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c > index 03c80cbf99..1b8a2837c4 100644 > ---

Re: [FFmpeg-devel] [PATCH 3/4] lavc/mediacodec_wrapper: Add function for probing supported color formats

2023-02-28 Thread zhilizhao(赵志立)
> This patch has been released by Epic Games' legal department. This patch has the same -Wdeclaration-after-statement issue as patch 2/4. PS: I’m not sure whether the legal statement is appropriate as commit message. It should be self-evident for patches sending to the mailing list :) > --- >

Re: [FFmpeg-devel] [PATCH 2/4] lavc/mediacodec_wrapper: Refactor ff_AMediaCodecList_getCodecNameByType()

2023-02-28 Thread zhilizhao(赵志立)
> > A lot shorter, nested variables and keeps going in case of exceptions. > Makes use of C99 declarations. > > This patch has been released by Epic Games' legal department. This patch triggered multiple warning: warning: mixing declarations and code is incompatible with standards before C99

Re: [FFmpeg-devel] [PATCH 1/4] lavc/mediacodecenc: Add pix2color_fmt() and color2pix_fmt()

2023-02-28 Thread zhilizhao(赵志立)
> +static int pix2color_fmt(AVCodecContext *avctx, enum AVPixelFormat pix_fmt) > +{ > +for (int i = 0; i < FF_ARRAY_ELEMS(color_formats); i++) { > +if (pix_fmt == color_formats[i].pix_fmt) { > +return color_formats[i].color_format; > +} > +} > +

Re: [FFmpeg-devel] [PATCH v2 0/4] Add hevc alpha layer decoding basic support

2023-02-28 Thread zhilizhao(赵志立)
> On Jan 6, 2023, at 23:52, Zhao Zhili wrote: > > From: Zhao Zhili > > v2: > 1. Check vps_max_layers and vps_max_layer_id inside hevc decoder > 2. Add hevc_extract_layer bsf to do the job rather than modifing > hevc_metadata, > 3. Check vps_max_layers_minus1 and vps_max_layer_id inside bsf

Re: [FFmpeg-devel] [PATCH v2 1/8] avformat/movenc: add PCM in mp4 support

2023-02-27 Thread zhilizhao(赵志立)
> On Feb 28, 2023, at 04:24, Jan Ekström wrote: > > On Fri, Feb 24, 2023 at 8:29 PM Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> It's defined by ISO/IEC 23003-5. >> >> Fixes ticket #10185 >> >> Signed-off-by: Zhao Zhili > > Technically if you wanted to split these commits, then this

Re: [FFmpeg-devel] [PATCH] Fix broken build on Android due to broken asm-generic/termbits.h include

2023-02-27 Thread zhilizhao(赵志立)
> On Feb 23, 2023, at 23:01, Hendrik Leppkes wrote: > > On Thu, Feb 23, 2023 at 3:37 PM copypaste wrote: >> It gets included because this platform does indeed have Video4Linux so some >> of the aarch64 stuff is relevant. Furthermore I think that the HEVC stuff >> includes it. >> > > If

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread zhilizhao(赵志立)
> On Feb 27, 2023, at 18:03, Michael Niedermayer wrote: > > essOn Sat, Feb 25, 2023 at 12:03:02AM +0800, Wang Bin wrote: >> > >> version_major.h |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> a87056c2fe65d68b2cf5d1de06be28ea40c69b73 >>

Re: [FFmpeg-devel] [PATCH v1] lavu/hwcontext_vaapi: sync surface before export its DRM handle

2023-02-23 Thread zhilizhao(赵志立)
> On Feb 24, 2023, at 13:45, Fei Wang > wrote: > > According to description of vaExportSurfaceHandle in libva, vaSyncSurface > must be called if the contents of the surface will be read. > > Fixes ticket #9967. > > Signed-off-by: Fei Wang > --- > libavutil/hwcontext_vaapi.c | 11

Re: [FFmpeg-devel] [PATCH major bump 1/6] libavutil/hdr_dynamic_vivid_metadata: fix AVHDRVividColorToneMappingParams

2023-02-02 Thread zhilizhao(赵志立)
> On Feb 2, 2023, at 16:16, Anton Khirnov wrote: > > Quoting Zhao Zhili (2023-02-02 08:02:03) >> From: Zhao Zhili >> >> There are two group of three_Spline params. Fix the struct >> definition and usecases inside libavcodec, libavfilter and ffprobe. >> >> Co-Author: Houxiang ZHU >>

Re: [FFmpeg-devel] [PATCH] avformat/assenc: fix incorrect copy of null terminator

2023-01-31 Thread zhilizhao(赵志立)
> On Jan 18, 2023, at 22:31, Tim Angus wrote: > > When writing a subtitle SSA/ASS subtitle file, the > AVCodecParameters::extradata buffer is written directly to the output, > potentially including a null terminating character, which is sometimes > present. The result is the output having a

Re: [FFmpeg-devel] [PATCH v2] avutil/{color_utils, csp}: merge color_utils into csp and expose API

2023-01-30 Thread zhilizhao(赵志立)
> On Jan 31, 2023, at 02:22, Leo Izen wrote: > > On 1/30/23 12:08, Zhao Zhili wrote: >>> -Original Message- >>> From: ffmpeg-devel On Behalf Of Leo Izen >>> Sent: 2023年1月31日 0:50 >>> To: ffmpeg-devel@ffmpeg.org >>> Cc: Leo Izen >>> Subject: [FFmpeg-devel] [PATCH v2]

Re: [FFmpeg-devel] [PATCH] ffprobe: use pkt->dts to compute interval ts when pts is missing

2023-01-16 Thread zhilizhao(赵志立)
> On Jan 17, 2023, at 07:41, Stefano Sabatini wrote: > > On date Monday 2023-01-16 11:01:51 +0800, "zhilizhao(赵志立)" wrote: >> >>> On Jan 1, 2023, at 03:26, Stefano Sabatini wrote: >>> >>> On date Wednesday 2022-07-13 02:02:17 +0200, Stefan

Re: [FFmpeg-devel] [Internet][PATCH 1/5] avcodec/videotoolbox: fix NULL pointer dereference

2023-01-15 Thread zhilizhao(赵志立)
> On Jan 9, 2023, at 20:50, Zhao Zhili wrote: > > From: Zhao Zhili > > In the code path of av_videotoolbox_default_init/init2(), > avctx->internal->hwaccel_priv_data is NULL and passed to > decoder_cb.decompressionOutputRefCon. Then it will be dereferenced > inside

Re: [FFmpeg-devel] [PATCH] avcodec/h264_mp4toannexb: fix missing SPS/PPS to IDR frames

2023-01-15 Thread zhilizhao(赵志立)
> On Jan 10, 2023, at 23:31, Zhao Zhili wrote: > > On Tue, 2023-01-10 at 07:41 +0100, Andreas Rheinhardt wrote: >> Zhao Zhili: >>> From: Zhao Zhili >>> >>> If there is a single group of SPS/PPS before an IDR frame, but no >>> SPS/PPS after that, we will miss the chance to reset >>>

Re: [FFmpeg-devel] [PATCH] ffprobe: use pkt->dts to compute interval ts when pts is missing

2023-01-15 Thread zhilizhao(赵志立)
> On Jan 1, 2023, at 03:26, Stefano Sabatini wrote: > > On date Wednesday 2022-07-13 02:02:17 +0200, Stefano Sabatini wrote: >> For some samples the pkt->pts is always missing, use the pkt->dts >> instead. If some pkt->pts is missing but isn’t always missing, isn’t it mixed the use of pts and

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: Add loop parameter to animated AVIF

2023-01-12 Thread zhilizhao(赵志立)
> On Jan 13, 2023, at 04:45, Vignesh Venkatasubramanian > wrote: > > The HEIF specification permits specifying the looping behavior of > animated sequences by using the EditList (elst) box. The track > duration will be set to the total duration of all the loops (or > infinite) and the

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-12 Thread zhilizhao(赵志立)
> On Jan 13, 2023, at 03:13, Rémi Denis-Courmont wrote: > > Le keskiviikkona 11. tammikuuta 2023, 10.52.08 EET Paul B Mahol a écrit : >>> Sorry for the break, I’m trying to figure out how to make it compatible >>> with Windows. >> >> Is this even portable? > > If you build FFmpeg correctly,

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-11 Thread zhilizhao(赵志立)
> On Jan 12, 2023, at 09:26, Xiang, Haihao > wrote: > > On Wo, 2023-01-11 at 17:10 +0800, zhilizhao(赵志立) wrote: >>> On Jan 11, 2023, at 16:52, Paul B Mahol wrote: >>> >>> On 1/11/23, "zhilizhao(赵志立)" wrote: >>>>

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-11 Thread zhilizhao(赵志立)
> On Jan 11, 2023, at 16:52, Paul B Mahol wrote: > > On 1/11/23, "zhilizhao(赵志立)" wrote: >> >> >>> On Jan 11, 2023, at 15:53, Xiang, Haihao >>> wrote: >>> >>> On Wo, 2023-01-11 at 11:18 +0800, zhilizha

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-11 Thread zhilizhao(赵志立)
> On Jan 11, 2023, at 16:31, zhilizhao(赵志立) wrote: > > > >> On Jan 11, 2023, at 15:53, Xiang, Haihao >> wrote: >> >> On Wo, 2023-01-11 at 11:18 +0800, zhilizhao(赵志立) wrote: >>>> On Jan 9, 2023, at 11:17, zhilizhao(赵志立) wrote: >>

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-11 Thread zhilizhao(赵志立)
> On Jan 11, 2023, at 15:53, Xiang, Haihao > wrote: > > On Wo, 2023-01-11 at 11:18 +0800, zhilizhao(赵志立) wrote: >>> On Jan 9, 2023, at 11:17, zhilizhao(赵志立) wrote: >>> >>>> On Dec 15, 2022, at 01:10, Zhao Zhili wrote: >>>> >>

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec/mediacodecdec: check ff_Build_SDK_INT return value

2023-01-10 Thread zhilizhao(赵志立)
> On Jan 10, 2023, at 21:37, Tomas Härdin wrote: > > tis 2023-01-10 klockan 19:35 +0800 skrev Zhao Zhili: >> From: Zhao Zhili >> >> --- >> v3: when target API <= 24 ==> when target API < 24 >> v2: add comments >> >> libavcodec/mediacodecdec.c | 8 +++- >> 1 file changed, 7

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/videotoolboxenc: fix error code

2023-01-10 Thread zhilizhao(赵志立)
> On Jan 4, 2023, at 10:38, Steven Liu wrote: > > Zhao Zhili 于2023年1月4日周三 10:35写道: >> >> From: Zhao Zhili >> >> 1. Fix return 0 on success. >> 2. Fix return OS error code passthrough. >> --- >> libavcodec/videotoolboxenc.c | 8 ++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) >>

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: pass error code through

2023-01-10 Thread zhilizhao(赵志立)
> On Jan 4, 2023, at 10:35, zhilizhao(赵志立) wrote: > > > >> On Jan 4, 2023, at 02:11, Tomas Härdin wrote: >> >> tis 2023-01-03 klockan 18:18 +0800 skrev Zhao Zhili: >>> From: Zhao Zhili >>> >>> Signed-off-by: Zhao Zhili >>>

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-10 Thread zhilizhao(赵志立)
> On Jan 9, 2023, at 11:17, zhilizhao(赵志立) wrote: > >> On Dec 15, 2022, at 01:10, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> v2: >> 1. Forbid pass file descriptor via fd:{num}, instead of -fd option >> 2. Set CLOEXEC >> 3. Prefer f

Re: [FFmpeg-devel] [PATCH v2 2/2] ibavformat/mov: Add support for exporting poster time.

2023-01-09 Thread zhilizhao(赵志立)
> On Oct 5, 2022, at 22:25, Bryce Chester Newman wrote: > > From: Bryce Chester Newman > > Change demuxer option name from > poster_time_location > to export_poster_time_location. > > Export the poster_time_location if available. > The poster_time_location is calculated using > the

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mediacodecdec: check ff_Build_SDK_INT return value

2023-01-09 Thread zhilizhao(赵志立)
> On Jan 9, 2023, at 20:34, Tomas Härdin wrote: > > tis 2023-01-10 klockan 00:36 +0800 skrev Zhao Zhili: >> From: Zhao Zhili >> >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/mediacodecdec.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-08 Thread zhilizhao(赵志立)
> On Dec 15, 2022, at 01:10, Zhao Zhili wrote: > > From: Zhao Zhili > > v2: > 1. Forbid pass file descriptor via fd:{num}, instead of -fd option > 2. Set CLOEXEC > 3. Prefer fd over pipe for fftools > > v1: dup file descriptor > > Zhao Zhili (8): > avformat/file: add fd option for pipe >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: Add loop parameter to animated AVIF

2023-01-06 Thread zhilizhao(赵志立)
> On Jan 6, 2023, at 01:34, Vignesh Venkatasubramanian > wrote: > > On Thu, Jan 5, 2023 at 1:45 AM "zhilizhao(赵志立)" > wrote: >> >> >> >>> On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian >>> wrote: >>&g

Re: [FFmpeg-devel] [RFC PATCH 2/4] avcodec/cbs_h2645: keep nal->nuh_layer_id > 0

2023-01-05 Thread zhilizhao(赵志立)
> On Jan 5, 2023, at 19:18, James Almer wrote: > > On 1/5/2023 1:14 PM, Zhao Zhili wrote: >> From: Zhao Zhili >> --- >> libavcodec/cbs_h2645.c | 3 --- >> 1 file changed, 3 deletions(-) >> diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c >> index 4ee06003c3..b12abede29 100644 >>

Re: [FFmpeg-devel] [RFC PATCH 3/4] avcodec/hevcdec: add nuh_layer_id option

2023-01-05 Thread zhilizhao(赵志立)
> On Jan 5, 2023, at 19:21, James Almer wrote: > > On 1/5/2023 1:14 PM, Zhao Zhili wrote: >> From: Zhao Zhili >> It can be used to decode selected independent non-base layer. One >> use case is alpha layer decoding. >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/hevcdec.c | 20

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: Add loop parameter to animated AVIF

2023-01-05 Thread zhilizhao(赵志立)
> On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian > wrote: > > The HEIF specification permits specifying the looping behavior of > animated sequences by using the EditList (elst) box. The track > duration will be set to the total duration of all the loops (or > infinite) and the duration

Re: [FFmpeg-devel] [PATCH 1/2] avformat/movenc: Add movie_timescale option to AVIF

2023-01-05 Thread zhilizhao(赵志立)
> On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian > wrote: > > Allow specifying the movie_timescale options to AVIF ouptut. > > This also makes sure that when movie_timescale is not specified, > the default value of 1000 is used instead of 0. Animated AVIF > files which don't specify

Re: [FFmpeg-devel] [Internet]Re: [PATCH v2 5/7] avcodec/mediacodecenc: remove the strategy to create DTS

2023-01-04 Thread zhilizhao(赵志立)
> On Jan 4, 2023, at 18:16, Anton Khirnov wrote: > > Does this mean the encoder will produce packets with dts=AV_NOPTS_VALUE? MediaCodec should not encode B frames by default, so dts = pts by default. B frames can be enabled explicitly, in that case dts is AV_NOPTS_VALUE. Android system’s MP4

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: pass error code through

2023-01-03 Thread zhilizhao(赵志立)
> On Jan 4, 2023, at 02:11, Tomas Härdin wrote: > > tis 2023-01-03 klockan 18:18 +0800 skrev Zhao Zhili: >> From: Zhao Zhili >> >> Signed-off-by: Zhao Zhili >> --- >> libavcodec/videotoolboxenc.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec.c: flush pes buffer while rtsp seek

2022-12-28 Thread zhilizhao(赵志立)
ad from recvbuf with recvbuf_len = 0 ? How is it possible? >>> >>> +rt->recvbuf_pos = 0; >>> >>> +rt->recvbuf_len = 0; >>> >>> +ff_mpegts_seek_flush(rt->ts); >>> >>> +} > > > > -邮件

Re: [FFmpeg-devel] [PATCH] avformat/rtpproto: add support for RTP/UDP socket reuse

2022-12-26 Thread zhilizhao(赵志立)
> On Dec 27, 2022, at 05:47, Nicolas George wrote: > > "zhilizhao(赵志立)" (12022-12-26): >> Just use the same socket file descriptor. Don’t use OS dependent hack to >> implement a feature. > > SO_REUSEADDR is absolutely not a hack. I agree that it is

Re: [FFmpeg-devel] [PATCH] avformat/rtpproto: add support for RTP/UDP socket reuse

2022-12-25 Thread zhilizhao(赵志立)
> On Dec 26, 2022, at 07:52, Camille Oudot > wrote: > > On Sun, 2022-12-25 at 11:00 +0100, Rémi Denis-Courmont wrote: > > >> Again, there is also REUSEPORT, which is what you'd want on Linux in >> this case, but behaves differently on BSD and doesn't exist at all on >> Windows (IIRC). > >

Re: [FFmpeg-devel] [PATCH] libavformat/rtspdec.c: flush pes buffer while rtsp seek

2022-12-22 Thread zhilizhao(赵志立)
> On Dec 22, 2022, at 11:32, tanwei (D) wrote: > > Fixes ticket #9949. > > > Signed-off-by: t00660896 > > --- > > libavformat/mpegts.c| 20 > > libavformat/mpegts.h| 1 + > > libavformat/rtpdec.c| 7 +++ > > libavformat/rtpdec.h|

Re: [FFmpeg-devel] [PATCH v3 3/7] avcodec/mediacodecenc: use bsf to handle crop

2022-12-20 Thread zhilizhao(赵志立)
> On Dec 21, 2022, at 02:24, Tomas Härdin wrote: > > tor 2022-12-15 klockan 01:37 +0800 skrev Zhao Zhili: >> On Wed, 2022-12-14 at 18:08 +0100, Tomas Härdin wrote: >> >>> >>> I think we might want something for this inside lavf somewhere, so >>> that >>> encoders can signal dimension

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils: add -mask_url to replace the protocol address in the command with the asterisk (*)

2022-12-19 Thread zhilizhao(赵志立)
> On Dec 19, 2022, at 21:40, Marvin Scholz wrote: > > > On 19 Dec 2022, at 14:37, Nicolas George wrote: > >> Marvin Scholz (12022-12-19): >>> IIUC this means the `-mask_url` option has to be the first option passed, >>> which seems a bit of an unfortunate requirement and is not documented at

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils: add -safe to replace the user name and password in the protocol address

2022-12-18 Thread zhilizhao(赵志立)
> On Dec 19, 2022, at 14:50, Wujian(Chin) wrote: > > >>> On Dec 17, 2022, at 15:36, Wujian(Chin) wrote: >>> >>> The Protocol address may contain the user name and password. The ps -ef >>> command may expose the plaintext. >>> The -safe parameter option is added to replace the user name and

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix buffering issue on playing HTTP(s)/mp4.

2022-12-18 Thread zhilizhao(赵志立)
d the same file twice. > >> 2022年12月19日 下午2:18,zhilizhao(赵志立) 写道: >> >> [你通常不会收到来自 quinkbl...@foxmail.com 的电子邮件。请访问 >> https://aka.ms/LearnAboutSenderIdentification,以了解这一点为什么很重要] >> >>> On Dec 19, 2022, at 12:24, Chen, Jinkai wrote: >>> >&

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix buffering issue on playing HTTP(s)/mp4.

2022-12-18 Thread zhilizhao(赵志立)
> On Dec 19, 2022, at 12:24, Chen, Jinkai wrote: > > Using separated HTTP connection for each stream, > prevent from reading audio and video in long distance, > which cause seeking(http request) repeatedly. > Storing the user options when open input, > and make sure that can be passed to

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils: add -safe to replace the user name and password in the protocol address

2022-12-18 Thread zhilizhao(赵志立)
> On Dec 17, 2022, at 15:36, Wujian(Chin) wrote: > > The Protocol address may contain the user name and password. The ps -ef > command may expose the plaintext. > The -safe parameter option is added to replace the user name and password in > the command line with the asterisk (*). The patch

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec_wrapper: include stdbool.h

2022-12-18 Thread zhilizhao(赵志立)
> On Dec 16, 2022, at 11:39, Zhao Zhili wrote: > > From: Zhao Zhili > > Since NDK failed to do that: > https://github.com/android/ndk/issues/1281 > --- > libavcodec/mediacodec_wrapper.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/mediacodec_wrapper.c

Re: [FFmpeg-devel] [PATCH v2 0/7] MediaCodec encoder: Fix width/height alignment issue and add more options

2022-12-16 Thread zhilizhao(赵志立)
> On Dec 15, 2022, at 23:25, Zhao Zhili wrote: > > On Wed, 2022-12-07 at 17:31 +0800, Zhao Zhili wrote: >> From: Zhao Zhili >> >> v2: >> Reorder 1/7 and 2/7. >> >> Zhao Zhili (7): >> avcodec/mediacodecenc: make each encoder has its own option >> avcodec/mediacodecenc: add bitrate_mode

Re: [FFmpeg-devel] [PATCH v3] avformat/movenc: correct write_colr warning placement

2022-12-14 Thread zhilizhao(赵志立)
> On Dec 14, 2022, at 19:58, Gyan Doshi wrote: > > The old warning is no longer applicable in the inner block after > c5b20cfe19. > --- > libavformat/movenc.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index

  1   2   3   4   >