[FFmpeg-devel] [PATCH] doc: Add libtoch backend option to dnn_processing

Guo, Yejun yejun.guo at intel.com
Fri Mar 22 03:55:38 EET 2024



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> wenbin.chen-at-intel.com at ffmpeg.org
> Sent: Thursday, March 21, 2024 2:51 PM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH] doc: Add libtoch backend option to
> dnn_processing
> 
> From: Wenbin Chen <wenbin.chen at intel.com>
> 
> Signed-off-by: Wenbin Chen <wenbin.chen at intel.com>
> ---
>  doc/filters.texi | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi index 913365671d..20605e72b2
> 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -12069,11 +12069,21 @@ need to build and install the OpenVINO for C
> library (see  @code{--enable-libopenvino} (--extra-cflags=-I... --extra-ldflags=-
> L... might  be needed if the header files and libraries are not installed into
> system path)
> 
> + at item torch
> +Libtorch backend. To enable this backend you need to build and install
> +Libtroch for C++ library. Please download cxx11 ABI version (see
> + at url{https://pytorch.org/get-started/locally})
> +and configure FFmpeg with @code{--enable-libtorch
> +--extra-cflag=-I/libtorch_root/libtorch/include
> +--extra-cflag=-I/libtorch_root/libtorch/include/torch/csrc/api/include

"s" is missed in extra-cflags


More information about the ffmpeg-devel mailing list