* [FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: use open GOP by default
@ 2022-10-06 7:51 Xiang, Haihao
2022-10-06 11:35 ` Andreas Rheinhardt
0 siblings, 1 reply; 3+ messages in thread
From: Xiang, Haihao @ 2022-10-06 7:51 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Haihao Xiang
From: Haihao Xiang <haihao.xiang@intel.com>
HEVC spec has CRA frame which allows random access with open GOP, hence
it can achieve higher compression efficiency.
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
---
libavcodec/qsvenc_hevc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index a5bf915954..ba83987151 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -294,7 +294,7 @@ static const FFCodecDefault qsv_enc_defaults[] = {
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "trellis", "-1" },
- { "flags", "+cgop" },
+ { "flags", "-cgop" },
{ NULL },
};
--
2.17.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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: use open GOP by default
2022-10-06 7:51 [FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: use open GOP by default Xiang, Haihao
@ 2022-10-06 11:35 ` Andreas Rheinhardt
2022-10-07 2:45 ` Xiang, Haihao
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Rheinhardt @ 2022-10-06 11:35 UTC (permalink / raw)
To: ffmpeg-devel
Xiang, Haihao:
> From: Haihao Xiang <haihao.xiang@intel.com>
>
> HEVC spec has CRA frame which allows random access with open GOP, hence
> it can achieve higher compression efficiency.
>
> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
> ---
> libavcodec/qsvenc_hevc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
> index a5bf915954..ba83987151 100644
> --- a/libavcodec/qsvenc_hevc.c
> +++ b/libavcodec/qsvenc_hevc.c
> @@ -294,7 +294,7 @@ static const FFCodecDefault qsv_enc_defaults[] = {
> { "qmin", "-1" },
> { "qmax", "-1" },
> { "trellis", "-1" },
> - { "flags", "+cgop" },
> + { "flags", "-cgop" },
> { NULL },
> };
>
If you want open GOP as default, you can just remove the entry, as open
GOP is the default anyway.
- Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: use open GOP by default
2022-10-06 11:35 ` Andreas Rheinhardt
@ 2022-10-07 2:45 ` Xiang, Haihao
0 siblings, 0 replies; 3+ messages in thread
From: Xiang, Haihao @ 2022-10-07 2:45 UTC (permalink / raw)
To: ffmpeg-devel
> Xiang, Haihao:
> > From: Haihao Xiang <haihao.xiang@intel.com>
> >
> > HEVC spec has CRA frame which allows random access with open GOP, hence
> > it can achieve higher compression efficiency.
> >
> > Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
> > ---
> > libavcodec/qsvenc_hevc.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
> > index a5bf915954..ba83987151 100644
> > --- a/libavcodec/qsvenc_hevc.c
> > +++ b/libavcodec/qsvenc_hevc.c
> > @@ -294,7 +294,7 @@ static const FFCodecDefault qsv_enc_defaults[] = {
> > { "qmin", "-1" },
> > { "qmax", "-1" },
> > { "trellis", "-1" },
> > - { "flags", "+cgop" },
> > + { "flags", "-cgop" },
> > { NULL },
> > };
> >
>
> If you want open GOP as default, you can just remove the entry, as open
> GOP is the default anyway.
>
Thanks for pointing it out, I will update the patch.
BRs
Haihao
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-07 2:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 7:51 [FFmpeg-devel] [PATCH] lavc/qsvenc_hevc: use open GOP by default Xiang, Haihao
2022-10-06 11:35 ` Andreas Rheinhardt
2022-10-07 2:45 ` Xiang, Haihao
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git