|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.qtcut.DestinationMovieInfo
public class DestinationMovieInfo
Constructor Summary | |
---|---|
DestinationMovieInfo(java.lang.String file,
SourceMovieInfo[] movies,
int soundIndex,
int soundOffset)
Constructor |
Method Summary | |
---|---|
void |
close()
|
void |
cut(int movieIndex,
java.lang.String start,
java.lang.String end,
int startOffset,
int durationOff)
Append a cut of a movie into this destination. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DestinationMovieInfo(java.lang.String file, SourceMovieInfo[] movies, int soundIndex, int soundOffset)
file
- name of the destination filemovies
- array with all movie sourcessoundIndex
- into array designating the sourc sourcesoundOffset
- start of the sound (in frames ?)Method Detail |
---|
public void cut(int movieIndex, java.lang.String start, java.lang.String end, int startOffset, int durationOff)
movieIndex
- index of the source moviestart
- start in the sourceend
- stop in the sourcestartOffset
- shift the start by this many frames towards the beginning of
the source movie.
This can be used for fine tuning in preview mode.
If the sound belonging to the cut in movie in the right channel starts to early, then use a positive number to correct it. Otherwise if the sound in the right channel is lagging behind use a negative number.
durationOff
- lengthen the cut by this much frames.
This can be used togeter with the startOffset and durationOff of the following cut to move the cut point.
To move the cut from A to B to a later point add an amount to durationOff of movie A and decrease both startOffset and duration of movie B by the same ammount.
To move the cut from A to B to an earlier point subtract an amount to durationOff of movie A and increase both startOffset and duration of movie B by the same ammount.
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |