Download python_embeded/Lib/site-packages/av/attachments/stream.pyx from hxrron/VTONmodels: direct link, hf CLI and curl.
- Browser
- Download file 664 Bytes
-
https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/av/attachments/stream.pyx
- Command line
-
hf download hf://hxrron/VTONmodels/python_embeded/Lib/site-packages/av/attachments/stream.pyx
-
curl -L -o stream.pyx https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/av/attachments/stream.pyx
664 Bytes
| from av.stream cimport Stream | |
| cdef class AttachmentStream(Stream): | |
| """ | |
| An :class:`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. | |
| """ | |
| def name(self): | |
| """ | |
| Returns the file name of the attachment. | |
| :rtype: str | None | |
| """ | |
| return self.metadata.get("filename") | |
| def mimetype(self): | |
| """ | |
| Returns the MIME type of the attachment. | |
| :rtype: str | None | |
| """ | |
| return self.metadata.get("mimetype") | |