Attachments

class av.attachments.stream.AttachmentStream

Bases: Stream

An AttachmentStream represents a stream of attachment data within a media container. Typically used to attach font files that are referenced in ASS/SSA Subtitle Streams.

mimetype

Returns the MIME type of the attachment.

Return type:

str | None

name

Returns the file name of the attachment.

Return type:

str | None