Adobe 65009963 Scripting Guide - Page 68

FootageSource alphaMode attribute, FootageSource conformFrameRate attribute, FootageSource

Page 68 highlights

JavaScript Reference FootageSource object 68 FootageSource alphaMode attribute app.project.item(index).mainSource.alphaMode app.project.item(index).proxySource.alphaMode Description The alphaMode attribute of footageSource defines how the alpha information in the footage is to be interpreted. If hasAlpha is false, this attribute has no relevant meaning. Type An AlphaMode enumerated value; (read/write). One of: AlphaMode.IGNORE AlphaMode.STRAIGHT AlphaMode.PREMULTIPLIED FootageSource conformFrameRate attribute app.project.item(index).mainSource.conformFrameRate app.project.item(index).proxySource.conformFrameRate Description A frame rate to use instead of the nativeFrameRate value. If set to 0, the nativeFrameRate is used instead. It is an error to set this value if FootageSource.isStill is true. It is an error to set this value to 0 if removePulldown is not set to PulldownPhase.OFF. If this is 0 when you set removePulldown to a value other than PulldownPhase.OFF, then this is automatically set to the value of nativeFrameRate. Type Floating-point value in the range [0.0.. 99.0]; read/write. FootageSource displayFrameRate attribute app.project.item(index).mainSource.displayFrameRate app.project.item(index).proxySource.displayFrameRate Description The effective frame rate as displayed and rendered in compositions by After Effects. If removePulldown is PulldownPhase.OFF, then this is the same as the conformFrameRate (if non-zero) or the native Frame Rate (if conform FrameRate is 0). If re move Pu lldown is not Pu lldownPhase .OFF , this is conformFrameRate * 0.8, the effective frame rate after removing 1 of every 5 frames. Type Floating-point value in the range [0.0.. 99.0]; read-only. 68

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193

68
JavaScript Reference
FootageSource object
68
FootageSource alphaMode attribute
app.project.item
(index)
.mainSource
.
alphaMode
app.project.item
(index)
.proxySource
.
alphaMode
Description
The alphaMode attribute of footageSource defines how the alpha information in the footage is to be inter-
preted. If hasAlpha is false, this attribute has no relevant meaning.
Type
An
AlphaMode
enumerated value; (read/write). One of:
AlphaMode.IGNORE
AlphaMode.STRAIGHT
AlphaMode.PREMULTIPLIED
FootageSource conformFrameRate attribute
app.project.item
(index)
.mainSource
.
conformFrameRate
app.project.item
(index)
.proxySource
.
conformFrameRate
Description
A frame rate to use instead of the
nativeFrameRate
value. If set to 0, the
nativeFrameRate
is used instead.
It is an error to set this value if
FootageSource.isStill
is true. It is an error to set this value to 0 if
remove-
Pulldown
is not set to
PulldownPhase.OFF
. If this is 0 when you set
removePulldown
to a value other than
PulldownPhase.OFF
, then this is automatically set to the value of
nativeFrameRate
.
Type
Floating-point value in the range [0.0.. 99.0]; read/write.
FootageSource displayFrameRate attribute
app.project.item
(index)
.mainSource
.
displayFrameRate
app.project.item
(index)
.proxySource
.
displayFrameRate
Description
The effective frame rate as displayed and rendered in compositions by After Effects.
If
removePulldown
is
PulldownPhase.OFF
, then this is the same as the
conformFrameRate
(if non-zero) or
the
nativeFrameRate
(if
conformFrameRate
is 0). If
removePulldown
is not
PulldownPhase.OFF
, this is
conformFrameRate
* 0.8, the effective frame rate after removing 1 of every 5 frames.
Type
Floating-point value in the range [0.0.. 99.0]; read-only.