> In general, you don't create FileSourceFactories directly. Instead you ask
> the project's SourceList instance to add uris to itself. When a uri is
> successfully imported, a signal will be emitted from the SourceList object.
> Once you have a factory, you can add it to the project timeline with the
> timeline.addSourceFactory method.
>
> In the case of still images, the actual class that will be created is
> PictureFileSourceFactory, and I bring this up because this is where
> default_duration of 5 seconds is hard-coded.
Haven't been entirely successful with this yet. What should be
listening (that's a connect, I gather) for the SourceList emit?
I put debugging statements all over sourcelist.py and couldn't see
what was wrong.
Now I have something like:
project = Project(uri="/home/josh/test")
sourcelist = SourceList(project=project)
for i in range(1,100):
uri= "/home/josh/anim/%03d.png" % i
sourcelist.addUri(uri=uri)
------------------------------------------------------------------------------
_______________________________________________
Pitivi-pitivi mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pitivi-pitivi