mendevi.encode.encode_and_store

mendevi.encode.encode_and_store(database: Path, env_id: int, src: Path, **kwargs: dict) None[source]

Transcode a video file and store the result in the database.

Parameters

databasepathlike

The path of the existing database to be updated.

env_idint

The primary integer key of the environment.

srcpathlib.Path

The path of the video to be decoded.

**kwargs

Transmitted to encode().