Desktop automation tools for managing common tasks such as renaming media files and making backups, as well as interacting with Adobe Premiere Pro using the `Pymiere` library (Windows only).
Project description
1. OVERVIEW
AWSOM
stands for: Amazing Ways to Search and Organise
Media. AWSOM
is a media automation toolkit, originally intended to
automate the Adobe Creative Cloud video production workflow at
South West London TV.
This Python package contains a mixture of OS-independent scripts for managing
common (desktop/LAN) automation tasks such as renaming media files and making backups, as well
as some exciting automations built on top of the superb Pymiere
library by
Quentin Masingarbe. Unfortunately
Pymiere
currently only works on Windows 10, so the corresponding AWSOM
automations are limited to Windows users as well (for now).
If you're interested in exploring the rest of the AWSOM toolkit, which is primarily aimed at serious YouTubers, video editors, and power-users of online video such as journalists, researchers, and teachers, please follow us on Twitter and start a conversation:
Both this package and a snazzy new web version of AWSOM
which we hope to launch soon provide a
tonne of powerful features completely free, but certain 'Pro' features like
Automatic Speech Recognition/Subtitling use third party services and may require
a registered account with us or them to access on a pay-per-use basis.
2. INSTALLATION
Very lightweight installation with only three dependencies: pymiere
, cleverdict
and pysimplegui
.
pip install AWSOM
or to cover all bases...
python -m pip install AWSOM --upgrade --user
3. BASIC USE
AWSOM
currently supports Sony's commonly used XDCAM format. More formats will be added soon, or feel free to get involved and contribute one!
-
Connect and power on your camera/storage device, then open up your Python interpreter/IDE:
import AWSOM AWSOM.ingest(from_device=True)
-
Follow the (beautiful
PySimpleGui
) prompts to give your project a name and category/prefix, and point it to a template.prproj
file to copy from. -
Go and have a cup of coffee, knowing that when you come back all the fiddly, non-creative, importy-draggy stuff will be done and you can get on with actual editing!
- New project Folder created on your main work hard drive.
- All media and metadata copied to subfolder
XDROOT
. - All clips, thumbnails and XML files renamed to include the project name.
MEDIAPRO.XML
updated with new names.- Your selected template .prproj file opened in Premiere Pro.
- Template file save with new project name to new folder.
- Rushes bin created if not already in the template.
- All clips imported into the Rushes bin.
- Rushes sequence created if not already in the template.
- All clips inserted in the Rushes sequence, all ready and waiting for you!
4. UNDER THE BONNET
None of AWSOM
's automations for Adobe Premiere Pro
would be possible without Pymiere
.
AWSOM
's library of choice for user interaction is PySimpleGui
which creates beautiful looking popups, input windows and output displays with very few lines of code. We think their documentation is really fun and accessible too which makes the learning-curve for newcomers really painless.
Internally, AWSOM
makes extensive use of CleverDict
, a handy custom data type which allows
developers to flexibly switch between Python dictionary {key: value}
notation
and object.attribute
notation. For more information about CleverDict
see:
https://pypi.org/project/cleverdict/
AWSOM
uses pathlib
in preference to os
wherever possible for handling files, directories, and drives.
The primary class used in AWSOM
is Project
which encapsulates all the control data used by the rest of the main program.
Functions and methods are generally as 'atomic' as possible, i.e. one function generally does just one thing and is kept as short as reasonably possible. The exception to this are workflow functions like ingest()
which by their nature chain together potentially long sequences of individual functions, passing a Project
object between them.
5. CONTRIBUTING
Please join our virtual team if you have an interest in video editing, production, workflow automation or simply have an idea for improving this package. We're particularly keen to connect with anyone who can help us make Pymiere
work on other Operating Systems and folk already active in the Adobe/Premiere/ExtendScript space or working on tools for Speech Recognition, Subtitles, Media Content Management, and online video generally (especially but not only YouTube). We're also on the lookout for professional help with UX/UI design and all things HTML/CSS to take our web app version of AWSOM
to the next level.
Our preferred process for onboarding new contributors is as follows:
- Say hello to us on Twitter initially so we can "put a face to the name".
- Fork this repository. Also STAR this repository for bonus karma!
- Create new branches with the following standardised names as required:
cosmetic
: for reformatting and changes to comments, README, or user input/output e.g. print(), input() and GUI.enhancements
: for new features and extensions to old featuresrefactoring
: for better ways to code existing featurestests
: for new or better test casesbugfix
: for solutions to existing issuesmiscellaneous
: for anything else
- We're a naively zealous fan of Test Driven Development, so please start by creating a separate
test_xyz.py
script for any coding changes, and document your tests (and any new code) clearly enough that they'll tell us everything we need to know about your rationale and implementation approach. - When you're ready and any new code passes all your/our tests, create a Pull Request from one of your branches (above) back to the
main
branch of this repository.
If you'd be kind enough to follow that approach it will speed things on their way and cause less brain-ache for us, thanks!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file AWSOM-0.14.tar.gz
.
File metadata
- Download URL: AWSOM-0.14.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c7bd005e1b1623964c4eaf0bb16548731c10d51e1bd2a047e0db4ac0e348128 |
|
MD5 | 523c711b1ee05d4d2eb7542ddb435c4b |
|
BLAKE2b-256 | aeb2782ec0015c99d0b7838b8ca61bcf3270365e2832b6e618406de89495b7d7 |