[FFmpeg-devel] [PATCH] libavcodec/amfenc_hevc.c: Fix video fast forward hanging issue on HEVC AMF.

2020-02-23 Thread nyanmisaka
Change wrong gops_per_idr default value from 60 to 1 as per AMD AMF documents. https://github.com/GPUOpen-LibrariesAndSDKs/AMF/blob/master/amf/doc/AMF_Video_Encode_API.pdf Fixed: http://trac.ffmpeg.org/ticket/7272 --- libavcodec/amfenc_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[FFmpeg-devel] [PATCH 1/2] libavcodec/qsvenc_hevc: add tier option

2022-11-01 Thread nyanmisaka
Without this change, MSDK/VPL always defaults the HEVC tier to MAIN if the -level is specified. Also, according to the HEVC specs, only level >= 4 can support High Tier. Signed-off-by: nyanmisaka --- libavcodec/qsvenc.c | 5 - libavcodec/qsvenc.h | 1 + libavcodec/qsvenc_hev

[FFmpeg-devel] [PATCH 1/2] libavcodec/qsvenc_hevc: add tier option

2022-11-01 Thread nyanmisaka
Without this change, MSDK/VPL always defaults the HEVC tier to MAIN if the -level is specified. Also, according to the HEVC specs, only level >= 4 can support High Tier. Signed-off-by: nyanmisaka --- libavcodec/qsvenc.c | 5 - libavcodec/qsvenc.h | 1 + libavcodec/qsvenc_hev

[FFmpeg-devel] [PATCH 2/2] doc/encoders: add doc of the tier option for hevc_qsv

2022-11-01 Thread nyanmisaka
Signed-off-by: nyanmisaka --- doc/encoders.texi | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 1a5216f8eb..e823d20657 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -3654,6 +3654,15 @@ Set the encoding profile (scc requires

[FFmpeg-devel] [PATCH 2/2] avfilter/hwupload_cuda: add YUVA420P format support

2021-02-02 Thread nyanmisaka
Signed-off-by: nyanmisaka --- libavfilter/vf_hwupload_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c index 8ee0825859..f01f202832 100644 --- a/libavfilter/vf_hwupload_cuda.c +++ b/libavfilter

[FFmpeg-devel] [PATCH] avfilter/overlay_cuda: fix framesync with embedded PGS subtitle

2021-02-02 Thread nyanmisaka
Signed-off-by: nyanmisaka --- libavfilter/vf_overlay_cuda.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index 2f0f860e50..f6ee43e929 100644 --- a/libavfilter/vf_overlay_cuda.c +++ b/libavfilter

[FFmpeg-devel] [PATCH] avfilter/hwupload_cuda: add YUVA420P format support

2021-02-02 Thread nyanmisaka
Signed-off-by: nyanmisaka --- libavfilter/vf_hwupload_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c index 8ee0825859..f01f202832 100644 --- a/libavfilter/vf_hwupload_cuda.c +++ b/libavfilter

[FFmpeg-devel] [PATCH 1/2] avfilter/overlay_cuda: fix framesync with embedded PGS subtitle

2021-02-02 Thread nyanmisaka
Signed-off-by: nyanmisaka --- libavfilter/vf_overlay_cuda.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index 2f0f860e50..f6ee43e929 100644 --- a/libavfilter/vf_overlay_cuda.c +++ b/libavfilter