format-create

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Media format creation and property access example.

Demonstrates how to create an AMediaFormat, populate it with MIME type, resolution, and bitrate using the chaining API, and then query values back with GetInt32. The idiomatic API accepts Go strings for key names.

This program must run on an Android device with NDK media support.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL