Skip to content

Use Ffmpeg (or PyAV) for saving motion events (.avi -> .mp4) #61

Description

@Breakthrough

Using ffmpeg instead of the OpenCV VideoWriter will be faster (allows GPU-based encoding), provide significantly higher quality (or even skip re-encoding entirely by using stream copying), and resolve various issues, e.g. with frame skipping. It also exposes some interesting possibilities for parallelism, since now the video encoding can happen in a separate thread/process.

Also need to add template parameter for video output name format, since right now it's hard-coded (e.g. video-DSME-000).

Will resolve #27.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions