Skip to main content
Ctrl+K
TorchCodec
TorchCodec
  • Installation
  • Interactive examples
  • API Reference
  • Glossary
  • Go to pytorch.org
    Ctrl+K
    • X
    • GitHub
    • Discourse
    • PyPi
  • Installation
  • Interactive examples
  • API Reference
  • Glossary
  • Go to pytorch.org
    Ctrl+K
    • X
    • GitHub
    • Discourse
    • PyPi

    Section Navigation

    • Decoding
      • Decoding a video with VideoDecoder
      • Decoding audio streams with AudioDecoder
      • Accelerated video decoding on GPUs with CUDA and NVDEC
      • Streaming data through file-like support
      • Exact vs Approximate seek mode: Performance and accuracy comparison
      • How to sample video clips
      • Parallel video decoding: multi-processing and multi-threading
      • TorchCodec Performance Tips and Best Practices
      • Decoding with custom frame mappings
      • Decoder Transforms: Applying transforms during decoding
    • Encoding
      • Encoding audio samples with AudioEncoder
      • Encoding video frames with VideoEncoder
    • Interactive examples
    • Encoding
    Rate this Page
    ★ ★ ★ ★ ★

    Encoding#

    Encoding audio samples with AudioEncoder

    Encoding audio samples with AudioEncoder

    Encoding video frames with VideoEncoder

    Encoding video frames with VideoEncoder
    Rate this Page
    ★ ★ ★ ★ ★

    previous

    Decoder Transforms: Applying transforms during decoding

    next

    Encoding audio samples with AudioEncoder

    Built with the PyData Sphinx Theme 0.15.4.

    previous

    Decoder Transforms: Applying transforms during decoding

    next

    Encoding audio samples with AudioEncoder

    Edit on GitHub
    Show Source

    Docs

    Access comprehensive developer documentation for PyTorch

    View Docs

    Tutorials

    Get in-depth tutorials for beginners and advanced developers

    View Tutorials

    Resources

    Find development resources and get your questions answered

    View Resources

    Stay in touch for updates, event info, and the latest news

    By submitting this form, I consent to receive marketing emails from the LF and its projects regarding their events, training, research, developments, and related announcements. I understand that I can unsubscribe at any time using the links in the footers of the emails I receive. Privacy Policy.

    © PyTorch. Copyright © The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For more information, including terms of use, privacy policy, and trademark usage, please see our Policies page. Trademark Usage. Privacy Policy.

    To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.

    © Copyright 2023-present, TorchCodec Contributors.

    Created using Sphinx 7.2.6.

    Built with the PyData Sphinx Theme 0.15.4.