Skip to content

Modules

API Reference

The library provides direct access to the MP4v2 C API through the pymp4v2.raw module. Key functions include:

  • MP4Read(filename) - Open an MP4 file for reading
  • MP4Create(filename) - Create a new MP4 file
  • MP4Modify(filename) - Open an MP4 file for modification
  • MP4Close(handle) - Close an MP4 file handle
  • MP4GetFilename(handle) - Get the filename associated with a handle
  • MP4Info(handle) - Get information about the MP4 file
  • MP4Dump(handle) - Dump the structure of the MP4 file

For a complete list of available functions, refer to the MP4v2 documentation and explore the pymp4v2.raw module.