Documentation
Documentation
The documentation for Bento4 consists of pages hosted on this site, documents stored as files in the source distribution and SDKs, as well as embedded documentation in the source code header files.
MPEG DASH Packager
The MPEG DASH Overview page is the starting point for information on MPEG DASH packaging.
For a more advanced, detailed set of options, you can also directly consult the documentation for the mp4dash tool.
HLS Packager
The HLS Overview page is the starting point for information HLS packaging.
For a more advanced and detailed set of options, you can also directly consult the documentation for the mp4hls tool.
Tools Documentation
mp4infodisplays high level info about an MP4 file, including all tracks and codec detailsmp4dumpdisplays the entire atom/box structure of an MP4 filemp4editadd/insert/remove/replace atom/box items of an MP4 filemp4extractextracts an atom/box from an MP4 filemp4encryptencrypts an MP4 file (multiple encryption schemes are supported)mp4decryptdecrypts an MP4 file (multiple encryption schemes are supported)mp4dcfpackagerencrypts a media file into an OMA DCF filemp4compactconvertsstsztables intostz2tables to create more compact MP4 filesmp4fragmentcreates a fragmented MP4 file from a non-fragmented one.mp4splitsplits a fragmented MP4 file into discrete filesmp4tagshow/edit MP4 metadata (iTunes-style and others)mp4muxmultiplexes one or more elementary streams (H264, AAC) into an MP4 filemp42aacextract a raw AAC elementary stream from an MP4 filemp42avcextract a raw AVC/H.264 elementary stream from an MP4 filemp42hlsconverts an MP4 file to an HLS (HTTP Live Streaming) presentation, including the generation of the segments and .m3u8 playlist as well as AES-128 and SAMPLE-AES (for FairPlay) encryption. This can be used as a replacement for Apple’s mediafilesegmenter tool.mp42tsconverts an MP4 file to an MPEG2-TS file.mp4dashcreates an MPEG DASH output from one or more MP4 files, including encryption.mp4dashclonecreates a local clone of a remote or local MPEG DASH presentation, optionally encrypting the segments as they are cloned.mp4hlscreates a multi-bitrate HLS master playlist from one or more MP4 files, including support for encryption and I-frame-only playlists. This can be used as a replacement for Apple’s variantplaylistcreator tool.
Library API Documentation
Some of the API documentation is produced from the source code comments using Doxygen. The doxygen output is available as a windows CHM file in Bento4.chm, and a set of HTML pages zipped together in Bento4-HTML.zip (to start, open the file named index.html with an HTML browser)
Licensing
Consult the about page for GPL and non-GPL licensing information.
