The otioconvert
program that ships with OpenTimelineIO has a handy feature that lets you pass arguments to adapters:
> otioconvert --help
...
-a ADAPTER_ARG, --adapter-arg ADAPTER_ARG
The otioconvert
program that ships with OpenTimelineIO has a handy feature that lets you pass arguments to adapters:
> otioconvert --help
...
-a ADAPTER_ARG, --adapter-arg ADAPTER_ARG
OTIO has a schema upgrading system, which allows newer versions of OTIO to read files from older versions of the library. There is no way to create files that are compliant with older versions of the library, however.
The goal is to build a system into OTIO that allows interoperability both forwards and backwards in version numbers.
From conversation w/ @spex_guy, who kindly explained the details below.
*T
is a value of only eight bytes, so copying it does not copy the memory it points to.[N]T
: contiguous buffer of type T
and compile time known length N
.[N]T
is equivalent to extern struct { v0: T, v1: T, ..., vN: T }
, so it will copy all values by value.Into the breach is an elegant tactical roguelike game. On a roughly 8x8 grid, a turn based battle takes place where a player team with about 3 units takes on a number of enemies, in an effort to defend the buildings in the area for about 5 turns.
Each player unit is given one action and one move, and the move must occur
This gist summarizes some issues with using the python pkg_resources
module, in particular its entry_points
functionality for python plugin support, specifically in the context of how the OpenTimelineIO project uses it.
The setuptools module is the older system for packaging and installing python code. The pkg_resource
module from setuptools can be used to look up information about packages that have been installed.
Goals:
#!/usr/bin/env python | |
"""Use ffmpeg to turn a movie into a .gif.""" | |
import os | |
import argparse | |
import subprocess | |
def parse_args(): | |
""" parse arguments out of sys.argv """ |