Commit 5a809aa0 authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Update notes on FFmpeg version (#3480)

Summary:
The nightly builds support FFmpeg version 4, 5 and 6.

Pull Request resolved: https://github.com/pytorch/audio/pull/3480

Differential Revision: D47482841

Pulled By: mthrok

fbshipit-source-id: 88267f5e83ddc7b1e866b35e57a87b985e2c78c9
parent cf53a486
......@@ -25,7 +25,7 @@ To use NVENC/NVDEC with TorchAudio, the following items are required.
TorchAudio’s official binary distributions are compiled to work with FFmpeg 4 libraries, and they contain the logic required for hardware-based decoding/encoding.
In the following, we build FFmpeg 4 libraries with NVDEC/NVENC support. If you would like to use FFmpeg 5, then you need to build TorchAudio with it.
In the following, we build FFmpeg 4 libraries with NVDEC/NVENC support. You can use FFmpeg 5 or 6 as well.
The following procedure was tested on Ubuntu.
......
......@@ -10,12 +10,12 @@ on laptop.
.. note::
This tutorial requires FFmpeg libraries (>=4.1, <4.4) and SentencePiece.
This tutorial requires FFmpeg libraries (>=4.1, <7) and SentencePiece.
There are multiple ways to install FFmpeg libraries.
If you are using Anaconda Python distribution,
``conda install 'ffmpeg<4.4'`` will install
the required FFmpeg libraries.
``conda install -c conda-forge 'ffmpeg<7'`` will install
compatible FFmpeg libraries.
You can install SentencePiece by running ``pip install sentencepiece``.
......
......@@ -13,12 +13,12 @@ apply various effects and codecs to waveform tensor.
#
# .. note::
#
# This tutorial requires FFmpeg libraries (>=4.1, <5).
# This tutorial requires FFmpeg libraries (>=4.1, <7).
#
# There are multiple ways to install FFmpeg libraries.
# If you are using Anaconda Python distribution,
# ``conda install -c anaconda 'ffmpeg<5'`` will install
# the required libraries.
# ``conda install -c conda-forge 'ffmpeg<7'`` will install
# compatible FFmpeg libraries.
#
######################################################################
......
......@@ -13,12 +13,12 @@ to perform online speech recognition.
#
# .. note::
#
# This tutorial requires FFmpeg libraries (>=4.1, <4.4) and SentencePiece.
# This tutorial requires FFmpeg libraries (>=4.1, <7) and SentencePiece.
#
# There are multiple ways to install FFmpeg libraries.
# If you are using Anaconda Python distribution,
# ``conda install 'ffmpeg<4.4'`` will install
# the required FFmpeg libraries.
# ``conda install -c conda-forge 'ffmpeg<7'`` will install
# compatible FFmpeg libraries.
#
# You can install SentencePiece by running ``pip install sentencepiece``.
......
......@@ -14,12 +14,12 @@ libavfilter provides.
#
# .. note::
#
# This tutorial requires FFmpeg libraries (>=4.1, <4.4).
# This tutorial requires FFmpeg libraries (>=4.1, <7).
#
# There are multiple ways to install FFmpeg libraries.
# If you are using Anaconda Python distribution,
# ``conda install -c anaconda 'ffmpeg<4.4'`` will install
# the required libraries.
# ``conda install -c conda-forge 'ffmpeg<7'`` will install
# compatible FFmpeg libraries.
#
######################################################################
......
......@@ -23,16 +23,13 @@ play audio and video.
#
# .. note::
#
# This tutorial requires torchaudio nightly build and FFmpeg libraries (>=4.1, <4.4).
#
# To install torchaudio nightly build, please refer to
# https://pytorch.org/get-started/locally/ .
#
# This tutorial requires FFmpeg libraries (>=4.1, <7).
#
# There are multiple ways to install FFmpeg libraries.
# If you are using Anaconda Python distribution,
# ``conda install 'ffmpeg<4.4'`` will install the required FFmpeg libraries,
# however, this distribution does not have SDL plugin, so it cannot play
# ``conda install -c conda-forge 'ffmpeg<7'`` will install
# compatible FFmpeg libraries.
# However, this distribution does not have SDL plugin, so it cannot play
# video.
#
......
......@@ -13,14 +13,12 @@ encode and save audio/video data into various formats/destinations.
#
# .. note::
#
# This tutorial requires torchaudio nightly build and FFmpeg libraries (>=4.1, <4.4).
#
# To install torchaudio nightly build, please refer to
# https://pytorch.org/get-started/locally/ .
# This tutorial requires FFmpeg libraries (>=4.1, <7).
#
# There are multiple ways to install FFmpeg libraries.
# If you are using Anaconda Python distribution,
# ``conda install 'ffmpeg<4.4'`` will install the required FFmpeg libraries.
# ``conda install -c conda-forge 'ffmpeg<7'`` will install
# compatible FFmpeg libraries.
#
######################################################################
......
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