Skip to main content

System for categorizing video files

This is a work in process. We are using it to help our pastime of making amateur videos of urban wildlife.

Our use case

We have multiple Blink cameras around the property and a 4K trail camera. Fortunately the most interesting videos we collect contain wild life visiting the property. We enjoy making amateur videos of interesting species and antics.

The problem is that we record hundreds of 30 sec videos per day, most of which are wind rustling plants or animals moving fast enough that they are out of the frame before the recording starts.

This project is an attempt to facilitate preprocessing and sorting the image files into different directories.

The directories we use to sort incoming files are based on what we expect. For example when we look at the blink cameras we separate them by animal after we all out people:

  • bird
  • cat
  • coyote
  • possum
  • racoon
  • rat
  • skunk
  • squirrel
  • other
  • furtherReview
  • trash

The workflow

The vsorter program leverages any modern browser to present the movies with the option to display

preprocessing

If the input movie recordings are in AVI format the mkmp4 program will convert the video and adjust the volume.

MP4 movies can be bassed through the same program for automatic gain control

Programs

vsorter - command line preprocessor

The vsorter program leverages any modern browser to present the movies with the option to display at up to 5x speed or as slow as 0.25x. When the SUBMIT button is pressed the indiviual movies are moved to the apropriate directories.

vmover - flask app to respond to the web page decisions

The actual moving is done in the background by a Python web application running on the "localhost".

blink-summary - count movies by camera

When we have a lot of movies to sort I like to do it by camera. This program looks at the downloaded movies in a directory tree and count how many are from each camera.

Metadata

Release files for video-sorter 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for video-sorter 0.1.6
File Size Uploaded
video_sorter-0.1.6.tar.gz 31.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for video-sorter 0.1.6
File Interpreter ABI Platform
video_sorter-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 60.9 kB

Release files / video_sorter-0.1.6.tar.gz

Download URL video_sorter-0.1.6.tar.gz
Size 31.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f03c4ba778cca8c88ec131741d2b731864edaf640b6e1a14ad2d46205189530c
BLAKE2b-256 checksum
How to use checksums
6e70ac2a4515632ab307018ba346d36754e736773c4d9e216d1692e552ceaedb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / video_sorter-0.1.6-py3-none-any.whl

Download URL video_sorter-0.1.6-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddc6b27cf131208abb62e5c455c0c4caffedf89ddcf9f4a777d94a01b86b21c2
BLAKE2b-256 checksum
How to use checksums
24ba748b806c713950a22b25c9f2ece56dc817dffe6ac10c6287983e0a959f6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page