Unverified Commit 7ea38b32 authored by Prabhat Roy's avatar Prabhat Roy Committed by GitHub
Browse files

Added documentation for video backend (#4382)



* Added documentation for video backend

* Update README.rst
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
parent 136a16ea
......@@ -106,6 +106,20 @@ otherwise, add the include and library paths in the environment variables ``TORC
.. _libjpeg: http://ijg.org/
.. _libjpeg-turbo: https://libjpeg-turbo.org/
Video Backend
=============
Torchvision currently supports the following video backends:
* [pyav](https://github.com/PyAV-Org/PyAV) (default) - Pythonic binding for ffmpeg libraries.
* video_reader - This needs ffmpeg to be installed and torchvision to be built from source. There shouldn't be any conflicting version of ffmpeg installed. Currently, this is only supported on Linux.
.. code:: bash
conda install -c conda-forge ffmpeg
python setup.py install
Using the models on C++
=======================
TorchVision provides an example project for how to use the models on C++ using JIT Script.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment