Download venv/lib/python3.11/site-packages/av/stream.pxd from ruslan14/App: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/spaces/ruslan14/App/resolve/main/venv/lib/python3.11/site-packages/av/stream.pxd
- Command line
-
hf download hf://spaces/ruslan14/App/venv/lib/python3.11/site-packages/av/stream.pxd
-
curl -L -o stream.pxd https://huggingface.co/spaces/ruslan14/App/resolve/main/venv/lib/python3.11/site-packages/av/stream.pxd
635 Bytes
| cimport libav as lib | |
| from av.codec.context cimport CodecContext | |
| from av.container.core cimport Container | |
| from av.frame cimport Frame | |
| from av.packet cimport Packet | |
| cdef class Stream: | |
| cdef lib.AVStream *ptr | |
| # Stream attributes. | |
| cdef readonly Container container | |
| cdef readonly dict metadata | |
| # CodecContext attributes. | |
| cdef readonly CodecContext codec_context | |
| # Private API. | |
| cdef _init(self, Container, lib.AVStream*, CodecContext) | |
| cdef _finalize_for_output(self) | |
| cdef _set_time_base(self, value) | |
| cdef _set_id(self, value) | |
| cdef Stream wrap_stream(Container, lib.AVStream*, CodecContext) | |