MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / _codec_context

Method _codec_context

scenedetect/backends/pyav.py:329–331  ·  view source on GitHub ↗

PyAV `av.codec.context.CodecContext` being used.

(self)

Source from the content-addressed store, hash-verified

327
328 @property
329 def _codec_context(self):
330 """PyAV `av.codec.context.CodecContext` being used."""
331 return self._video_stream.codec_context
332
333 def _get_duration(self) -> int:
334 """Get video duration as number of frames based on the video and set framerate."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected