mendevi.probe¶
Perform the metrics and video properties measures.
Functions
|
Open a new conn if the previous one is not already opened. |
|
Measure the properties of the video. |
Details
- mendevi.probe.open_ro(database: Path, lock_conn: tuple[Lock, Connection] | None) Connection[source]
Open a new conn if the previous one is not already opened.
- mendevi.probe.probe_and_store(database: Path, video: Path, lock_conn: tuple[Lock, Connection] | None = None, **kwargs: dict) tuple[Lock, Connection] | None[source]
Measure the properties of the video.
Parameters¶
- databasepathlike
The path of the existing database to be updated.
- videopathlib.Path
The source video file to be annalysed.
- lock_conn: tuple[Lock, sqlite3.Connection], optional
A read only database connection.
- **kwargsdict
All the metrics