Table of Contents

Class H264Importer

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides methods for reading H.264 video files for use in the Content Pipeline

[ContentImporter(".mp4", DisplayName = "H.264 Video - MonoGame", DefaultProcessor = "VideoProcessor")]
public class H264Importer : ContentImporter<VideoContent>, IContentImporter
Inheritance
H264Importer
Implements
Inherited Members

Constructors

H264Importer()

Creates a new instance of H264Importer

public H264Importer()

Methods

Import(string, ContentImporterContext)

Called by the framework when importing a game asset. This is the method called by XNA when an asset is to be imported into an object that can be recognized by the Content Pipeline.

public override VideoContent Import(string filename, ContentImporterContext context)

Parameters

filename string

Name of a game asset file.

context ContentImporterContext

Contains information for importing a game asset, such as a logger interface.

Returns

VideoContent

Resulting game asset.