[FFmpeg-devel] [PATCH V5] libavfilter: add transpose_vaapi filter
Li, Zhong
zhong.li at intel.com
Tue Dec 18 11:30:14 EET 2018
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Zachary Zhou
> Sent: Tuesday, December 18, 2018 5:01 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Zhou, Zachary <zachary.zhou at intel.com>
> Subject: [FFmpeg-devel] [PATCH V5] libavfilter: add transpose_vaapi filter
>
> Swap width and height when do clock/cclock rotation Add 180/180_flip
> options
>
> ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
> -hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
> -c:v h264_vaapi output.h264
>
> Signed-off-by: Zachary Zhou <zachary.zhou at intel.com>
> ---
> configure | 2 +
> libavfilter/Makefile | 1 +
> libavfilter/allfilters.c | 1 +
> libavfilter/vf_transpose_vaapi.c | 360
> +++++++++++++++++++++++++++++++
> 4 files changed, 364 insertions(+)
> create mode 100644 libavfilter/vf_transpose_vaapi.c
>
Appling patch failed. I guess you may need to rebase your patch based on latest master branch:
pwclient git-am 11457
Applying patch #11457 using 'git am'
Description: [FFmpeg-devel,V5] libavfilter: add transpose_vaapi filter
Applying: libavfilter: add transpose_vaapi filter
.git/rebase-apply/patch:122: indent with spaces.
vpp_ctx->va_context,
.git/rebase-apply/patch:123: indent with spaces.
NULL, 0,
.git/rebase-apply/patch:124: indent with spaces.
&pipeline_caps);
.git/rebase-apply/patch:126: indent with spaces.
av_log(avctx, AV_LOG_ERROR, "Failed to query pipeline "
.git/rebase-apply/patch:127: indent with spaces.
"caps: %d (%s).\n", vas, vaErrorStr(vas));
error: patch failed: configure:3480
error: configure: patch does not apply
error: patch failed: libavfilter/Makefile:393
error: libavfilter/Makefile: patch does not apply
error: patch failed: libavfilter/allfilters.c:372
error: libavfilter/allfilters.c: patch does not apply
Patch failed at 0001 libavfilter: add transpose_vaapi filter
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
More information about the ffmpeg-devel
mailing list