Skip to content
forked from ccnmtl/xmeml

XML parser for Final Cut Pro <xmeml> files, focusing on reading files fast. This fork also adds a reader that supports the iter protocol for effortless parsing, and methods to find audible clips.

License

Notifications You must be signed in to change notification settings

havardgulldahl/xmeml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iterative interface to your timeline

This repository is a fork of https://github.com/ccnmtl/xmeml to add xmeml.iter, a module to iteratively parse xmeml project files. This is crucial for speed and memory constraints.

Documentation of the iter API: https://havardgulldahl.github.io/xmeml/

Usage example

if __name__ == '__main__':
    import sys
    xmeml = XmemlParser(sys.argv[1])
    clips, files = xmeml.audibleranges(0.0300) # find audio clips that are audible (volume above a certain threshold
    print([clip for clip in clips.iteritems()]) # iterate with the iter protocol

About

XML parser for Final Cut Pro <xmeml> files, focusing on reading files fast. This fork also adds a reader that supports the iter protocol for effortless parsing, and methods to find audible clips.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%