Re: [FFmpeg-devel] [PATCH] libavcodec/vp9: export block structure when segmentation isn't enable

2020-08-26 Thread Yongle Lin
On Mon, Jul 13, 2020 at 2:57 PM Yongle Lin wrote: > > On Thu, Jul 9, 2020 at 2:23 PM Yongle Lin wrote: > >> >> >> On Mon, Jul 6, 2020 at 11:31 AM Yongle Lin >> wrote: >> >>> it makes sense to export block structure like src_x, src_y, width and

[FFmpeg-devel] [PATCH] libavcodec/vp9: export motion vector to side data in vp9

2020-08-13 Thread Yongle Lin
--- libavcodec/vp9.c | 102 ++ libavcodec/vp9block.c | 2 + libavcodec/vp9dec.h | 3 ++ 3 files changed, 107 insertions(+) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index fd0bab14a2..5289fb3099 100644 --- a/libavcodec/vp9.c +++

[FFmpeg-devel] [PATCH] fftools/ffprobe: export venc params side data

2020-08-13 Thread Yongle Lin
Printing venc params in ffprobe makes it easier for program to parse the data via ffprobe json output --- fftools/ffprobe.c | 33 + 1 file changed, 33 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 5515e1b31b..b20bddc897 100644 ---

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-17 Thread Yongle Lin
On Wed, Jul 15, 2020 at 4:13 PM Mark Thompson wrote: > On 15/07/2020 18:43, Yongle Lin wrote: > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 19 +++ > >

Re: [FFmpeg-devel] [PATCH] libavcodec/h264dec: export block type in H.264

2020-07-16 Thread Yongle Lin
On Wed, Jul 15, 2020 at 4:37 PM Mark Thompson wrote: > On 15/07/2020 22:05, Yongle Lin wrote: > > --- > > libavcodec/h264dec.c | 14 ++ > > 1 file changed, 14 insertions(+) > > > > diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c > &

[FFmpeg-devel] [PATCH] libavcodec/vp9: export block type in VP9

2020-07-15 Thread Yongle Lin
--- libavcodec/vp9.c | 10 ++ libavcodec/vp9block.c | 6 ++ libavcodec/vp9dec.h | 4 3 files changed, 20 insertions(+) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index fd0bab14a2..6bd6bd4fa9 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -1541,6 +1541,16

[FFmpeg-devel] [PATCH] libavcodec/h264dec: export block type in H.264

2020-07-15 Thread Yongle Lin
--- libavcodec/h264dec.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 1e2ca68449..b3de5290d0 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -816,6 +816,20 @@ static int h264_export_enc_params(AVFrame *f,

[FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-15 Thread Yongle Lin
add block type field to AVVideoBlockParams so we could either export or visualize it later. --- libavutil/video_enc_params.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index 43fa443154..8bf5f240c9 100644

Re: [FFmpeg-devel] [PATCH] libavcodec/vp9: export block structure when segmentation isn't enable

2020-07-13 Thread Yongle Lin
On Thu, Jul 9, 2020 at 2:23 PM Yongle Lin wrote: > > > On Mon, Jul 6, 2020 at 11:31 AM Yongle Lin > wrote: > >> it makes sense to export block structure like src_x, src_y, width and >> height when segmentation isn't enable so we could visualize and see th

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_codecview: add block structure visualization

2020-07-13 Thread Yongle Lin
On Thu, Jul 2, 2020 at 8:09 AM Michael Niedermayer wrote: > On Wed, Jul 01, 2020 at 05:42:48PM +0000, Yongle Lin wrote: > > example command line to visualize block decomposition: > > ./ffmpeg -export_side_data +venc_params -i input.webm -vf > > codecview=bs=true output.we

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_codecview: enable qp visualization for H264 and VP9

2020-07-13 Thread Yongle Lin
On Thu, Jul 9, 2020 at 2:18 PM Yongle Lin wrote: > > > On Mon, Jul 6, 2020 at 10:56 AM Yongle Lin > wrote: > >> >> >> On Thu, Jun 25, 2020 at 12:09 PM Yongle Lin >> wrote: >> >>> Add qp visualization in codecview filter which supports H

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_codecview: add block structure visualization

2020-07-09 Thread Yongle Lin
On Thu, Jul 2, 2020 at 8:09 AM Michael Niedermayer wrote: > On Wed, Jul 01, 2020 at 05:42:48PM +0000, Yongle Lin wrote: > > example command line to visualize block decomposition: > > ./ffmpeg -export_side_data +venc_params -i input.webm -vf > > codecview=bs=true output.we

Re: [FFmpeg-devel] [PATCH] libavcodec/vp9: export block structure when segmentation isn't enable

2020-07-09 Thread Yongle Lin
On Mon, Jul 6, 2020 at 11:31 AM Yongle Lin wrote: > it makes sense to export block structure like src_x, src_y, width and > height when segmentation isn't enable so we could visualize and see the > structure of the block. > --- > libavcodec/vp9.c | 8 +++- > 1 file cha

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_codecview: enable qp visualization for H264 and VP9

2020-07-09 Thread Yongle Lin
On Mon, Jul 6, 2020 at 10:56 AM Yongle Lin wrote: > > > On Thu, Jun 25, 2020 at 12:09 PM Yongle Lin > wrote: > >> Add qp visualization in codecview filter which supports H264 and VP9 >> codecs. Add options for luma/chroma qp and AC/DC qp as well. There is a old >

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-08 Thread Yongle Lin
On Tue, Jul 7, 2020 at 12:59 AM Anton Khirnov wrote: > Quoting Yongle Lin (2020-07-06 23:08:17) > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 20 > >

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
On Tue, Jul 7, 2020 at 4:08 PM Mark Thompson wrote: > On 07/07/2020 23:54, Lynne wrote: > > Jul 7, 2020, 23:47 by yongle.lin...@gmail.com: > > > >> add block type field to AVVideoBlockParams so we could either export or > visualize it later. > >> --- > >> libavutil/video_enc_params.h | 16

[FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
add block type field to AVVideoBlockParams so we could either export or visualize it later. --- libavutil/video_enc_params.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index 43fa443154..8bf5f240c9 100644

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
On Tue, Jul 7, 2020 at 10:54 PM Lynne wrote: > Jul 7, 2020, 23:47 by yongle.lin...@gmail.com: > > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 16 > > 1 file changed, 16 insertions(+)

[FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
add block type field to AVVideoBlockParams so we could either export or visualize it later. --- libavutil/video_enc_params.h | 16 1 file changed, 16 insertions(+) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index 43fa443154..52c0058f5b 100644 ---

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
On Tue, Jul 7, 2020 at 3:33 PM Lynne wrote: > Jul 7, 2020, 23:11 by yongle.lin...@gmail.com: > > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 16 > > 1 file changed, 16 insertions(+) >

[FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
add block type field to AVVideoBlockParams so we could either export or visualize it later. --- libavutil/video_enc_params.h | 16 1 file changed, 16 insertions(+) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index 43fa443154..c18dba7879 100644 ---

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
On Tue, Jul 7, 2020 at 2:09 PM Lynne wrote: > Jul 7, 2020, 21:25 by yongle.lin...@gmail.com: > > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 15 +++ > > 1 file changed, 15 insertions(+) >

[FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
add block type field to AVVideoBlockParams so we could either export or visualize it later. --- libavutil/video_enc_params.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index 43fa443154..bff5354a8d 100644 ---

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
On Tue, Jul 7, 2020 at 12:59 AM Anton Khirnov wrote: > Quoting Yongle Lin (2020-07-06 23:08:17) > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 20 > >

Re: [FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-07 Thread Yongle Lin
On Mon, Jul 6, 2020 at 3:08 PM Mark Thompson wrote: > On 06/07/2020 22:08, Yongle Lin wrote: > > add block type field to AVVideoBlockParams so we could either export or > visualize it later. > > --- > > libavutil/video_enc_params.h | 20 > >

Re: [FFmpeg-devel] [PATCH] avformat/isom: allow ISO 639 codes for mov

2020-07-07 Thread Yongle Lin
On Mon, Jul 6, 2020 at 3:23 PM Baptiste Coudurier < baptiste.coudur...@gmail.com> wrote: > Hi Yongle, I hope you are doing well > > > On Jul 6, 2020, at 11:04 AM, Yongle Lin wrote: > > > > On Fri, Jun 19, 2020 at 5:11 PM Yongle Lin <mailto:yongle.lin...@gmail.co

[FFmpeg-devel] [PATCH] libavutil/video_enc_params: add block type

2020-07-06 Thread Yongle Lin
add block type field to AVVideoBlockParams so we could either export or visualize it later. --- libavutil/video_enc_params.h | 20 1 file changed, 20 insertions(+) diff --git a/libavutil/video_enc_params.h b/libavutil/video_enc_params.h index 43fa443154..55b9fc4031 100644

[FFmpeg-devel] [PATCH] libavfilter/vf_codecview: add block structure visualization

2020-07-06 Thread Yongle Lin
example command line to visualize block decomposition: ./ffmpeg -export_side_data +venc_params -i input.webm -vf codecview=bs=true output.webm --- doc/filters.texi | 3 +++ libavfilter/vf_codecview.c | 41 ++ 2 files changed, 44 insertions(+) diff

[FFmpeg-devel] [PATCH] libavcodec/vp9: export block structure when segmentation isn't enable

2020-07-06 Thread Yongle Lin
it makes sense to export block structure like src_x, src_y, width and height when segmentation isn't enable so we could visualize and see the structure of the block. --- libavcodec/vp9.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libavcodec/vp9.c

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_codecview: enable qp visualization for H264 and VP9

2020-07-06 Thread Yongle Lin
On Thu, Jun 25, 2020 at 12:09 PM Yongle Lin wrote: > Add qp visualization in codecview filter which supports H264 and VP9 > codecs. Add options for luma/chroma qp and AC/DC qp as well. There is a old > way to visualize it but it's deprecated since version 58. > example command line

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_codecview: add block structure visualization

2020-07-06 Thread Yongle Lin
On Thu, Jul 2, 2020 at 8:09 AM Michael Niedermayer wrote: > On Wed, Jul 01, 2020 at 05:42:48PM +0000, Yongle Lin wrote: > > example command line to visualize block decomposition: > > ./ffmpeg -export_side_data +venc_params -i input.webm -vf > > codecview=bs=true output.we

Re: [FFmpeg-devel] [PATCH] avformat/isom: allow ISO 639 codes for mov

2020-07-06 Thread Yongle Lin
On Fri, Jun 19, 2020 at 5:11 PM Yongle Lin wrote: > Allow ISO 639 language codes for text tracks in mov format when > strictness is set to experimental > --- > libavformat/isom.c | 9 +++-- > libavformat/isom.h | 2 +- > libavformat/move

[FFmpeg-devel] [PATCH] libavfilter/vf_codecview: add block structure visualization

2020-07-01 Thread Yongle Lin
example command line to visualize block decomposition: ./ffmpeg -export_side_data +venc_params -i input.webm -vf codecview=bs=true output.webm --- doc/filters.texi | 3 +++ libavcodec/vp9.c | 8 +++- libavfilter/vf_codecview.c | 41 ++

[FFmpeg-devel] [PATCH] libavfilter/vf_codecview: enable qp visualization for H264 and VP9

2020-06-25 Thread Yongle Lin
Add qp visualization in codecview filter which supports H264 and VP9 codecs. Add options for luma/chroma qp and AC/DC qp as well. There is a old way to visualize it but it's deprecated since version 58. example command line to visualize qp: ./ffmpeg -export_side_data +venc_params -i input.mp4

[FFmpeg-devel] [PATCH] avformat/isom: allow ISO 639 codes for mov

2020-06-19 Thread Yongle Lin
Allow ISO 639 language codes for text tracks in mov format when strictness is set to experimental --- libavformat/isom.c | 9 +++-- libavformat/isom.h | 2 +- libavformat/movenc.c | 6 +++--- tests/fate/mov.mak | 3 +++

Re: [FFmpeg-devel] [PATCH] avformat/isom: enable extended language for mov

2020-06-19 Thread Yongle Lin
the patch and resent it to you. Best, Yongle On Thu, Jun 18, 2020 at 3:55 AM Derek Buitenhuis wrote: > On 12/06/2020 00:35, Yongle Lin wrote: > > Allow extended language codes using ISO designation for text tracks in > mov format when strictness is set to experimental > > --- >

Re: [FFmpeg-devel] [PATCH] avformat/isom: enable extended language for mov

2020-06-17 Thread Yongle Lin
Dear FFmpeg Development Team, I am an intern at Google working on FFmpeg open source project this summer. I sent a patch in my previous email last week. Could you please take a look at it and review the patch? I really appreciate it. Best, Yongle On Thu, Jun 11, 2020 at 11:35 PM Yongle Lin

[FFmpeg-devel] [PATCH] avformat/isom: enable extended language for mov

2020-06-11 Thread Yongle Lin
Allow extended language codes using ISO designation for text tracks in mov format when strictness is set to experimental --- This patch includes a support for mov format to extend language codes using ISO designation for text