{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n# StreamWriter Basic Usage\n\n**Author**: [Moto Hira](moto@meta.com)_\n\nThis tutorial shows how to use :py:class:`torchaudio.io.StreamWriter` to\nencode and save audio/video data into various formats/destinations.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
This tutorial requires FFmpeg libraries.\n Please refer to `FFmpeg dependency
TorchAudio dynamically loads compatible FFmpeg libraries\n installed on the system.\n The types of supported formats (media format, encoder, encoder\n options, etc) depend on the libraries.\n\n To check the available muxers and encoders, you can use the\n following command\n\n```console\nffmpeg -muxers\nffmpeg -encoders