---
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended
---
libavcodec/nvenc.c | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index a3b02fa..5694f17 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -867,15 +867,22 @@ static av_cold int nvenc_encod
---
libavcodec/nvenc.c | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index a3b02fa..5694f17 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -867,15 +867,22 @@ static av_cold int
nvenc_enc
Yes. That's stange, let me try again
On 2016/3/4 14:50, Timothy Gu wrote:
On Fri, Mar 04, 2016 at 12:45:47PM +0800, Agatha Hu wrote:
---
libavcodec/nvenc.c | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
This patched is corrupted by your mail c
---
libavcodec/nvenc.c | 33 -
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index a3b02fa..5694f17 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -867,15 +867,22 @@ static av_cold int nvenc_encod
Repost
-Original Message-
From: Agatha Hu
Sent: 2014年12月17日 15:49
To: 'Philip Langdale'; 'ffmpeg-devel@ffmpeg.org'
Cc: Abhijit Patait; Eric Young; Jaime Ieong; Andrew Fear; Stephen Warren; Andy
Ritger
Subject: RE: ffmpeg nvenc
Hi Phil,
We've almost finishe
You add many private unused options to make it "compatible" with a
libx264 command line. This is messy; private options mean what they
are, specific to the encoder.
- Coding style is broken, you have many tabs, trailing whitespac
On 2015/1/6 15:36, Philip Langdale wrote:
Doesn't work.
Signed-off-by: Philip Langdale
---
libavcodec/libnvenc.c | 7 +++
libavcodec/libnvenc.h | 3 +++
libavcodec/nvencoder.c | 6 --
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/libavcodec/libnvenc.c b/libavcod
When B frames >= 1, there'll be a invalid dts/pts warning during
encoding like:
[mp4 @ 0034cba0] Invalid DTS: 1024 PTS: 512 in output stream
0:0, replacing by guess
[mp4 @ 0034cba0] Invalid DTS: 1536 PTS: 1024 in output stream
0:0, replacing by guess
Set a -1 offset to dts to
;ll use my gmail
account to send it.
Agatha Hu
>From cd62a0c47eb77f16efae25966b729c0f30852263 Mon Sep 17 00:00:00 2001
From: agathah
Date: Wed, 7 Jan 2015 17:19:32 +0800
Subject: [PATCH] fix b frame settings
---
libavcodec/nvenc.c | 11 ++-
1 file changed, 10 insertions(+), 1 deleti
av_reduce(&dw, &dh, avctx->width, avctx->height, INT_MAX);
ctx->init_encode_params.darHeight = dw;
ctx->init_encode_params.darWidth = dh;
Agatha Hu
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Still using attachment to prevent word-wrapping.
For video streaming, repeatSPSPPS flag should be set as 1 besides
disableSPSPPS=0, elsewise if running ffmpeg before vlc/ffmpeg, there
will be no video header, decoder can't work properly.
Agatha Hu
On 2015/1/21 16:00, Reimar Döffinger wrote:
On 21.01.2015, at 07:17, Agatha Hu wrote:
On 2015/1/18 4:01, Philip Langdale wrote:
Here's the reply from NVENC engineers
It is not same thing as SAR. It is the display aspect ratio i.e width/height =
DAR/SAR
The calculation below shou
在 2015/1/22 12:29, Philip Langdale 写道:
On Thu, 22 Jan 2015 12:15:44 +0800
Agatha Hu wrote:
We will fix the issue in driver, overscan compensation will be
applied to input DAR *only* if the DAR is 4:3 or 16:9, otherwise
won't unnecessarily modify the aspect ratio for resolutions like
72
---
libavcodec/nvenc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 18bcd96..0e6ef43 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -742,8 +742,6 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)
---
libavcodec/nvenc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 18bcd96..0e6ef43 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -742,8 +742,6 @@ static av_cold int nvenc_encode_init(AVCodecContext
*avctx)
在 2015/10/9 17:38, Agatha Hu 写道:
---
libavcodec/nvenc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 18bcd96..0e6ef43 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -742,8 +742,6 @@ static av_cold int
---
libavcodec/nvenc.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 0e6ef43..083e494 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -912,6 +912,11 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)
---
libavcodec/nvenc.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 0e6ef43..083e494 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -912,6 +912,11 @@ static av_cold int nvenc_encode_init(AVCodecContext
*avctx
在 2015/10/28 14:53, Agatha Hu 写道:
---
libavcodec/nvenc.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 0e6ef43..083e494 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -912,6 +912,11 @@ static av_cold int
-map [out3] -an -vcodec nvenc_h264 -preset slow -profile:v main
-async 1 -b:v 25M -bufsize 25M -maxrate 25M -refs 1 -bf 2 $1_wvga.mp4 \
-map [out4] -an -vcodec nvenc_h264 -preset slow -profile:v main
-async 1 -b:v 10M -bufsize 10M -maxrate 10M -refs 1 -bf 2 $1_cif.mp4
Tha
在 2015/11/5 18:31, wm4 写道:
On Thu, 5 Nov 2015 16:23:04 +0800
Agatha Hu wrote:
2) We use AVFrame::opaque field to store a customized ffnvinfo struture
to prevent expensive CPU<->GPU transferration. Without it, the workflow
will be like CPU AVFrame input-->copy to GPU-->do CUDA res
---
libavcodec/nvenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..b8f7f91 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,9 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)
}
}
---
libavcodec/nvenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..b8f7f91 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,9 @@ static av_cold int nvenc_encode_init(AVCodecContext
*avctx)
}
}
在 2015/12/5 3:26, Timo Rothenpieler 写道:
--- libavcodec/nvenc.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index
43b8e78..b8f7f91 100644 --- a/libavcodec/nvenc.c +++
b/libavcodec/nvenc.c @@ -762,6 +762,9 @@ static av_cold int
nvenc_encode_init(AVC
add a check
Just aimed to increase image quality. Nvidia are doing some interal
tests to tune the quality
Agatha Hu
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
---
libavcodec/nvenc.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..f0e5a19 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,17 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)
---
libavcodec/nvenc.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..f0e5a19 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,17 @@ static av_cold int nvenc_encode_init(AVCodecContext
*avctx)
---
libavcodec/nvenc.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..6365434 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,17 @@ static av_cold int nvenc_encode_init(AVCodecC
---
libavcodec/nvenc.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..6365434 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,17 @@ static av_cold int nvenc_encode_init(AVCode
On 2015/12/11 11:10, Agatha Hu wrote:
---
libavcodec/nvenc.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 43b8e78..6365434 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -762,6 +762,17
duced performance that impacts some
higher resolutions which can't be encoded in realtime anymore.
If that's not the case, this LGTM.
No, it won't affect performance, we did lots of internal tests, mainly
focused on quality improvement. But if it makes performance worse we
won't app
My colleagues recently optimized some initial parameter settings for
nvenc extension, it improves the PSNR result by approximately 0.5dB. The
main idea is assign some optimized initialQPs.
I'll send the patch after integrate his improvement to nvenc.c
---
libavcodec/nvenc.c | 59
+-
1 file changed, 54 insertions(+), 5 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 5490652..7c683ea 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -610,8 +610,17 @@ static av
---
libavcodec/nvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 7c683ea..a20356f 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -580,7 +580,7 @@ static av_cold int nvenc_encode_init(AVCodecContext
*avctx)
lay", "Delays frame output by the given amount of frames.",
OFFSET(buffer_delay), AV_OPT_TYPE_INT, { .i64 = INT_MAX }, 0, INT_MAX,
VE },
{ NULL }
* Unknown Key
* 0xA6DA5D0F
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
I'll give you answer later. But there's a more urgent fix, I've sent the
patch, only one-line changed.
It's the creation flag of cuCtxCreate, currently is 0(default) which
will cause CPU thread spins when waiting for GPU to return thus decrease
the CPU performance.
Change it to 4(CU_CTX_SCHED_BLOCKING_SYNC) could solve it.
Agatha Hu
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
doesn't seem right at all, what is it supposed to do?
Keep in mind that twopass is a tristate, with the default beeing -1,
which means autoselect.
Sorry I made a mistake
+if (!ctx->twopass < 1) {
It should be
+if (ctx->twopass < 1) {
No wonder it does
From: ahu
---
libavcodec/nvenc.c | 59 +++-
1 file changed, 54 insertions(+), 5 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 3174b01..fd90f7b 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -610,8 +610,17 @
From: agathah
---
libavcodec/nvenc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 5490652..3174b01 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -580,7 +580,7 @@ static av_cold int nvenc_encode_init(AVCodecCont
---
libavcodec/nvenc.c | 101 ++--
1 file changed, 42 insertions(+), 59 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index fd90f7b..57aae33 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -800,69 +800,52 @@ static a
he log output.
Agatha Hu
---
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If y
在 2015/9/12 11:18, Philip Langdale 写道:
On Fri, 11 Sep 2015 17:32:06 +0800
Agatha Hu wrote:
From: ahu
---
libavcodec/nvenc.c | 59
+++- 1 file changed,
54 insertions(+), 5 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
42 matches
Mail list logo