MWCapture SDK Mac 3.4.62314

- Home
- Development Library
- Release Notes

mw_mp4

## Overview

mw_mp4 module creates MP4/MOV files, which helps you convert the H264/H265 videos and AAC/ADTS audios into mp4 or mov files for playback. For more information about the MP4 file format, refer to the following standards documents: ISO/IEC 14496-12:2012 Information technology — Coding of audio-visual objects — Part 12: ISO base media file format. QuickTime movie files (.mov) is an extensible multimedia framework developed by Apple Inc.

Besides creating the MP4 file, mw_mp4 also supports the following features:

- Adding captioning or subtitles to the MP4/MOV files.
- Repairing the MP4/MOV files corrupted during recording by accident.

The mw_mp4.h file contains the definition of data structures and functions.

## Key Features

- Recording MP4/MOV Files

  mw_mp4 can convert video and audio streams in the following formats into MP4/MOV files.

  - H.264 or H.265 (HEVC) video tracks, which you can obtain from encoders such as ffmpeg or the mw_venc.
  - AAC/ADTS audio tracks, which you can obtain from encoders such as ffmpeg.
  - CC608 or CC708 captions. For more information about Closed Caption, refer to page_feature_closed_caption.

- Repairing MP4/MOV Files

  The recorded MP4/MOV files may be damaged caused by power outage or system crash, and cannot playback. The corrupt files can be fixed by the page_examples_cpp_cmd_mp4repair example.

## Example

1. Mp4Repair demonstrates how to fix the corrupt MP4/MOV files produced by the mw_mp4.
2. AVCapture demonstrates how to record MP4 files.
3. HDRCapture demonstrates how to record HDR MP4 files.