Simple EDL reading library.
Project description
A python EDL (Edit Decision List) parsing library, based on the ruby EDL library by Julik Tarkhanov http://guerilla-di.org/edl/. Still a work in progress so collaboration welcome.
https://github.com/cgwire/edl-reader
Usage:
from edl import Parser parser = Parser("23.98") with open("file.edl") as f: edl = parser.parse(f) for event in edl.events: print("Event Number: %s" % (event.num)) print("Source file: %s" % (event.source_file)) print("Clip Name: %s " % (event.clip_name))
Accepted framerate values [‘60’, ‘59.94’, ‘50’, ‘30’, ‘29.97’, ‘25’, ‘24’, ‘23.98’] whole number frame rates are more tested than others, but the accuracy relies heavily on accuracy of the pytimecode library.
Documentation for pytimecode can be found [here](https://code.google.com/p/pytimecode/).
(The MIT License)
Copyright © 2013 Simon Hargreaves <simon@simon-hargreaves.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file edl_reader-0.1.14-py2.py3-none-any.whl
.
File metadata
- Download URL: edl_reader-0.1.14-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.28.2 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f046422f4e536367b51bee42dcadab22daa4d10999315f98d5fc37fad8c786 |
|
MD5 | 5388750c7dc9a103e565c0dbf5bf3a6b |
|
BLAKE2b-256 | 9f1ec29b03f1b56fdca9c3d03d0fd4d4f96fc17d294e45426ddfd1c9e8105024 |