FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Class MediaContainerFormat

    Represents a base class for media container file formats used in video processing.

    Inheritance
    object
    MediaContainerFormat
    Namespace: FulcrumFS.Videos
    Assembly: FulcrumFS.Videos.dll
    Syntax
    public abstract class MediaContainerFormat
    Remarks

    Each MediaContainerFormat represents one specific container file format with a unique primary extension. While ffmpeg groups some formats together under the same demuxer (e.g., mov/mp4/m4a/3gp/3g2/mj2 share a single demuxer, and matroska/webm share another), this type distinguishes them strictly: content is verified against the expected file extension and a mismatch is treated as an error rather than silently reconciled.

    Properties

    Name Description
    AllResultFormats

    Gets a list of all supported media container formats that have writing support (SupportsWriting).

    AllSourceFormats

    Gets a list of all supported media container formats for source files (with writable ones first).

    Avi

    Gets the AVI media container format. Extension: .avi.

    Extensions

    Gets the file extensions associated with this media container format (including the leading '.'). Most formats have a single extension; some have aliases (e.g., .mpeg and .mpg) that all refer to the same underlying format.

    FileFormat

    Gets the corresponding FileFormat used for content validation.

    M2ts

    Gets the MPEG-TS (192-byte packet, Blu-ray style) media container format. Extensions: .m2ts (primary), .mts.

    M4A

    Gets the MPEG-4 audio (M4A) media container format. Extension: .m4a.

    MP4

    Gets the MP4 media container format. Extension: .mp4. This is currently the only format that supports muxing (writing) output.

    Mj2

    Gets the Motion JPEG 2000 (MJ2) media container format. Extension: .mj2.

    Mkv

    Gets the Matroska (MKV) media container format. Extension: .mkv.

    Mov

    Gets the QuickTime/MOV media container format. Extension: .mov.

    Mpeg

    Gets the MPEG-PS media container format. Extensions: .mpg (primary), .mpeg.

    Name

    Gets the name of the container format as used in ffprobe output (format_name). Multiple MediaContainerFormat instances may share the same demuxer name when ffmpeg groups them under a single demuxer (e.g., all ISO BMFF formats share "mov,mp4,m4a,3gp,3g2,mj2").

    PrimaryExtension

    Gets the primary file extension associated with this media container format (including the leading '.').

    SupportsWriting

    Gets a value indicating whether this container format supports being written to, i.e., whether we support muxing for it.

    TS

    Gets the MPEG-TS (188-byte packet) media container format. Extension: .ts.

    Tg2

    Gets the 3GPP2 (3G2) media container format. Extension: .3g2.

    Tgp

    Gets the 3GPP (3GP) media container format. Extension: .3gp.

    WebM

    Gets the WebM media container format. Extension: .webm.

    Methods

    Name Description
    NameMatches(string)

    Determines whether the specified format name (from ffprobe) matches this media container format.

    © Singulink. All rights reserved.