docs.rs failed to build mp4e-1.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
mp4e
A simple MP4 muxer library for pure Rust.
Introduction
mp4e is a simple MP4 muxing library that allows you to create standard MP4 files and fragmented MP4 (fMP4) files. It supports both H.264/AVC and H.265/HEVC video codecs as well as AAC and Opus audio codecs.
Implementation Reference
This library's implementation is partially inspired by minimp4.
License
This project is licensed under the MIT License.
Usage Examples
Add this to your Cargo.toml:
[]
= "1.0"
Creating a Standard MP4 File
use File;
use BufWriter;
use ;
Creating a Fragmented MP4 File (fMP4)
use File;
use BufWriter;
use ;
Supported Codecs
Video Codecs
- H.264/AVC
- H.265/HEVC
Audio Codecs
- AAC-LC
- AAC-Main
- AAC-SSR
- AAC-LTP
- HE-AAC
- HE-AAC-v2
- Opus
Limitations
The current version of mp4e only supports the following track configuration:
- Up to 1 video track
- Up to 1 audio track (optional)
- Only supports audio data with original sample bits of 16 (PCM 16-bit)