libx264
-b:v 2000k -y tmp.264
Signed-off-by: Guo, Yejun
---
libavfilter/vf_scale.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index f741419..561391c 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
ffmpeg to libx264, the more encoders
can be added later.
Signed-off-by: Guo, Yejun
---
libavcodec/libx264.c | 40
libavutil/frame.c| 1 +
libavutil/frame.h| 19 +++
3 files changed, 60 insertions(+)
diff --git a/libavcodec/libx264.c
g
>
> A few comments below.
>
> On 12/12/2018 16:26, Guo, Yejun wrote:
> > +if (frame->rois_buf != NULL) {
> > +if (x4->params.rc.i_aq_mode == X264_AQ_NONE) {
> > +av_log(ctx, AV_LOG_ERROR, "Adaptive quantizat
;
> On 12/12/2018 16:26, Guo, Yejun wrote:
> > This patchset contains two patches.
> > - the first patch (this patch) finished the code and ask for upstream.
> > - the second patch is just a quick example on how to generate ROI info.
> >
> > The encoders such as l
aks for review, thanks.
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Guo, Yejun
> Sent: Thursday, December 13, 2018 12:26 AM
> To: ffmpeg-devel@ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 1/2] add support for
e_npp;
extern AVFilter ff_vf_scale_qsv;
extern AVFilter ff_vf_scale_vaapi;
extern AVFilter ff_vf_scale2ref;
+extern AVFilter ff_vf_sdr2hdr;
extern AVFilter ff_vf_select;
extern AVFilter ff_vf_selectivecolor;
extern AVFilter ff_vf_sendcmd;
diff --git a/libavfilter/vf_sdr2hdr.c b/libavfilter/vf_sdr
libx264
-b:v 2000k -y tmp.264
Signed-off-by: Guo, Yejun
---
libavfilter/vf_scale.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index f741419..6776ad9 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -437,6
encoders
can be added later.
Signed-off-by: Guo, Yejun
---
libavcodec/libx264.c | 56
libavutil/frame.c| 8
libavutil/frame.h| 24 ++
3 files changed, 88 insertions(+)
diff --git a/libavcodec/libx264.c b
maintain the ROI info
> > within AVFrame struct.
> >
> > TODO:
> > - remove code in vf_scale.c, it is just an example to generate ROI
> > info
> > - use AVBufferRef instead of current implementation within AVFrame
&
support for ROI-based encoding
>
> > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On
> Behalf
> > Of Guo, Yejun
> > Sent: Wednesday, December 5, 2018 5:59 PM
> > To: ffmpeg-devel@ffmpeg.org
> > Subject: [FFmpeg-devel] [PATCH] add support for R
] add support for ROI-based encoding
>
> On Wed, Dec 05, 2018 at 05:58:58PM +0800, Guo, Yejun wrote:
> > this patch is not ask for merge, it is more to get a feature feedback.
> >
> > The encoders such as libx264 support different QPs offset for
> > different MBs,
AVBufferRef instead of current implementation within AVFrame struct.
- add other encoders support
Signed-off-by: Guo, Yejun
---
libavcodec/libx264.c | 35 +++
libavfilter/vf_scale.c | 8
libavutil/frame.c | 9 +
libavutil/frame.h | 14
Signed-off-by: Guo, Yejun
---
configure | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/configure b/configure
index 3e9222e..37a39e3 100755
--- a/configure
+++ b/configure
@@ -3395,10 +3395,10 @@ drawtext_filter_suggest="libfontconfig libfr
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Zachary Zhou
> Sent: Wednesday, November 28, 2018 2:54 PM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Zhou, Zachary
> Subject: [FFmpeg-devel] [PATCH v3] libavfilter: add transpose_vaapi filter
>
>
)
will figure out a method for it.
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Guo, Yejun
> Sent: Friday, November 16, 2018 10:30 PM
> To: ffmpeg-devel@ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH V6] Add a filter impl
file locates).
For your convenient, I also dump png files from generated videos and combine
the before/after pngs into one file, see in png folder at the google drive.
Signed-off-by: Guo, Yejun
---
configure| 1 +
doc/filters.texi | 38 +++
libavfilter/Makefi
s and patches
> >
> > Cc: Liu Steven
> > Subject: Re: [FFmpeg-devel] [PATCH V5] Add a filter implementing HDR
> > image generation from a single exposure using deep CNNs
> >
> >
> >
> > > 在 2018年11月14日,下午8:15,Guo, Yejun
> 写
> > 道:
> &
file locates).
For your convenient, I also dump png files from generated videos and combine
the before/after pngs into one file, see in png folder at the google drive.
Signed-off-by: Guo, Yejun
---
configure| 1 +
doc/filters.texi | 36 +++
libavfilter/Makefi
peg development discussions and patches de...@ffmpeg.org>
> Cc: Liu Steven
> Subject: Re: [FFmpeg-devel] [PATCH V4] Add a filter implementing HDR
> image generation from a single exposure using deep CNNs
>
>
>
> > 在 2018年11月5日,下午3:42,Guo, Yejun 写
> 道:
> >
> &g
ask for comment or merge, thanks.
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Guo, Yejun
> Sent: Monday, October 29, 2018 11:19 AM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V4] Add a filte
Signed-off-by: Guo, Yejun
---
libswscale/options.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libswscale/options.c b/libswscale/options.c
index 7eb2752..db8210b 100644
--- a/libswscale/options.c
+++ b/libswscale/options.c
@@ -57,8 +57,8 @@ static const AVOption
any more comment? thanks.
> -Original Message-
> From: Guo, Yejun
> Sent: Tuesday, October 23, 2018 6:46 AM
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun ; Guo
> Subject: [PATCH V4] Add a filter implementing HDR image generation from a
> single exposure usi
78",
year = "2017"
https://github.com/gabrieleilertsen/hdrcnn
btw, as a whole solution, metadata should also be generated from
the sdr video, so to be encoded as a HDR video. Not supported yet.
This patch just focuses on this paper.
Signed-off-by: Guo, Yejun
---
confi
> -Original Message-
> From: Song, Ruiling
> Sent: Monday, October 22, 2018 10:02 PM
> To: FFmpeg development discussions and patches de...@ffmpeg.org>; Guo, Yejun
> Subject: RE: [FFmpeg-devel] [PATCH V3] Add a filter implementing HDR
> image reconstruction from a
AV_OPT_TYPE_PIXEL_FMT for filter option
remove some unnecessary code
Use in->linesize[0] and FFMAX/FFMIN
remove flag AVFILTER_FLAG_SLICE_THREADS
add av_log message when error
Signed-off-by: Guo, Yejun
---
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
liba
lementing HDR
> image reconstruction from a single exposure using deep CNNs
>
> Hi,
>
> How hard is it to support the native backend? which operations are missing
> or any other limitations?
>
> Em qua, 17 de out de 2018 às 05:47, Guo, Yejun
> escreveu:
ATCH V2] Add a filter implementing HDR
> image reconstruction from a single exposure using deep CNNs
>
> 2018-10-17 18:41 GMT+02:00, Guo, Yejun :
>
> > +short* outg = (short*)out->data[0];
> > +short* outb = (short*)out->data[1];
> > +short* ou
option
remove some unnecessary code
Use in->linesize[0] and FFMAX/FFMIN
remove flag AVFILTER_FLAG_SLICE_THREADS
add av_log message when error
Signed-off-by: Guo, Yejun
---
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vf_sdr2hdr.c | 266
thanks for the review, see in line.
> -Original Message-
> From: myp...@gmail.com [mailto:myp...@gmail.com]
> Sent: Wednesday, October 17, 2018 7:18 AM
> To: FFmpeg development discussions and patches de...@ffmpeg.org>
> Cc: Guo, Yejun ; g...@ffbox0-bg.ffmpeg.org
>
Subject: Re: [FFmpeg-devel] [PATCH] Add a filter implementing HDR image
> reconstruction from a single exposure using deep CNNs
>
> On 10/16/18, Guo, Yejun wrote:
> > see the algorithm's paper and code below.
> >
> > the filter's pa
ng deep
CNNs",
journal = "ACM Transactions on Graphics (TOG)",
number = "6",
volume = "36",
articleno= "178",
year = "2017"
https://github.com/gabrieleilertsen/hdrcnn
Signed-off-by: Guo, Yejun
---
Hi,
I'm trying a deep learning model with converts SDR (with format R8G8B8) to HDR
(with format R10G10B10) with ffmpeg. I wrote a video filter with only supported
format AV_PIX_FMT_RGB24 (see code below), it turns out that the format of the
input frame of the filter is R8G8B8, and so the
Did you try to build ffmpeg with TENSORFLOW_BACKEND enabled, and run it without
TF library? This case is possible when an end user install pre-built package
on a machine without TF library.
In function init, the logic is to fall back to cpu path (DNN_NATIVE) if unable
to load tensorflow
Re: [FFmpeg-devel] [GSOC] [PATCH] DNN module introduction and SRCNN
filter update
2018-05-29 5:14 GMT-03:00 Sergey Lavrushkin :
> 2018-05-29 4:08 GMT+03:00 Pedro Arthur :
>>
>> 2018-05-28 19:52 GMT-03:00 Sergey Lavrushkin :
>> > 2018-05-28 9:32 GMT+03:00 Guo, Yejun :
>&g
] DNN module introduction and SRCNN
filter update
2018-05-28 3:32 GMT-03:00 Guo, Yejun :
> looks that no tensorflow dependency is introduced, a new model format is
> created together with some CPU implementation for inference. With this
> idea, Android Neural Network would be a very good
looks that no tensorflow dependency is introduced, a new model format is
created together with some CPU implementation for inference. With this idea,
Android Neural Network would be a very good reference, see
https://developer.android.google.cn/ndk/guides/neuralnetworks/. It defines how
the
801 - 836 of 836 matches
Mail list logo