Comments (4)
not sure if this is a typo but aaf2.open(my_file, 'w')
should be aaf2.open(my_file, 'rw')
from pyaaf2.
Sorry, that was a typo from my end.
The original snippet,
import aaf2
from datetime import datetime, timedelta
with aaf2.open(avid_file, 'rw') as aaf_file:
for item in aaf_file.content.compositionmobs():
item['CreationTime'].value = datetime.now() + timedelta(hours = 6)
from pyaaf2.
Sorry, that was a typo from my end. The original snippet,
import aaf2 from datetime import datetime, timedelta with aaf2.open(avid_file, 'rw') as aaf_file: for item in aaf_file.content.compositionmobs(): item['CreationTime'].value = datetime.now() + timedelta(hours = 6)
@markreidvfx Hy, it seems to be working now, I am a bit confused about it as I strictly remember, it was creating errors in avid.
Nevertheless, I was hoping for some suggestions on how to create empty sequence tracks like the one I have created in avid. Thanks a lot in advance.
from pyaaf2.
Avid can do weird things if you're modifying Mobs that are already in the system, you might have better luck if you also change the composition Mobs MobID too.
from pyaaf2.
Related Issues (20)
- Confused on how to add a new track HOT 4
- Destructive (in-place) change of MXF files HOT 3
- AAF create timeline of cuts with group clip HOT 1
- How to preserve link to source files after downloading an aaf from the server? HOT 1
- Create video essence from image sequence HOT 1
- Combining segments from two AAF-files to create a new single AAF-file HOT 1
- I cant get this code to work - any tips would be appreciated: HOT 1
- Need help to get timeline TC of certain effects HOT 1
- Simple Timeline Example (with linked MXFs) HOT 1
- Creating AAF with OperationGroup of type AudioWarp HOT 1
- Difference between group clips and sequences - both are composition mobs HOT 4
- packing signed/unsigned HOT 1
- Get Source Clip and put into new Timeline
- Manipulate an existing AAF's sequence timing HOT 1
- urlstring corruption above 254 character path. pyaaf2 or AMC? HOT 2
- AVX Parameter - Info HOT 2
- Help with setting Sequence start time HOT 1
- Added a property to Mobs.py - not sure of correct way to create pull request etc HOT 2
- AMA AAF from XAVC100 MXF op1a file
- Adding nested attributes to master mob attributes... HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyaaf2.