mendevi.decode.decode_and_store

mendevi.decode.decode_and_store(database: Path, env_id: int, src: Path, **kwargs)[source]

Decode 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 encoded.

**kwargs

Transmitted to decode().