Symptom
Applying the Gyroflow effect to a Premiere subclip (non-zero in-point relative to its master clip) produces wrong/shaky stabilization. Applying the same effect to the full master clip on the timeline (same underlying media, same .gyroflow project, trimmed to the identical in/out) stabilizes correctly.
Likely root cause
Same class of bug as #25, but in the Adobe plugin instead of OFX. In adobe/src/premiere.rs, the per-frame timestamp fed to the stabilizer is derived only from:
let mut trim_range = None;
if let Ok(pr::PropertyData::Int64(start)) = filter.video_segment_suite.node_property(media_node.1, pr::Property::Media_InPointMediaTimeAsTicks) {
if let Ok(pr::PropertyData::Int64(end)) = filter.video_segment_suite.node_property(media_node.1, pr::Property::Media_OutPointMediaTimeAsTicks) {
let start = filter.video_segment_suite.transform_node_time(clip_node, start)?;
...
}
}
...
let frame = render_params.clip_time() as f64 / fps_ticks;
There's no lookup for a subclip's true source-start-frame relative to the master media (the piece #25 identified as missing for OFX/Resolve, later fixed there via a new Resolve 20 API). Since the .gyroflow project's gyro data is anchored to the master file's own timeline (frame 0 = start of the original media), if clip_time()/in-point ticks resolve relative to the subclip's own local zero instead of the master file's zero, every frame is fed the wrong gyro sample — actively wrong rotation, not just missing stabilization.
Repro
- Record/import a clip with a working, synced
.gyroflow project (external gyro logger, e.g. NiYien/SenseFlow).
- In Premiere, create a subclip starting partway into the master clip (non-zero in-point).
- Apply the Gyroflow effect to the subclip → shaky/wrong output, even though the plugin correctly detects/loads the
.gyroflow project.
- Drag the same master clip onto the timeline instead, trim to the identical in/out, apply the effect → stabilizes correctly.
Versions
- Gyroflow-Adobe-windows.aex v2.1.1.178 (2025-08-24 release)
- Premiere Pro, Windows 11
- Source: 3840x2160@50fps, external gyro (SenseFlow/NiYien),
.gyroflow v4 project format
Related: #25
Symptom
Applying the Gyroflow effect to a Premiere subclip (non-zero in-point relative to its master clip) produces wrong/shaky stabilization. Applying the same effect to the full master clip on the timeline (same underlying media, same
.gyroflowproject, trimmed to the identical in/out) stabilizes correctly.Likely root cause
Same class of bug as #25, but in the Adobe plugin instead of OFX. In
adobe/src/premiere.rs, the per-frame timestamp fed to the stabilizer is derived only from:There's no lookup for a subclip's true source-start-frame relative to the master media (the piece #25 identified as missing for OFX/Resolve, later fixed there via a new Resolve 20 API). Since the
.gyroflowproject's gyro data is anchored to the master file's own timeline (frame 0 = start of the original media), ifclip_time()/in-point ticks resolve relative to the subclip's own local zero instead of the master file's zero, every frame is fed the wrong gyro sample — actively wrong rotation, not just missing stabilization.Repro
.gyroflowproject (external gyro logger, e.g. NiYien/SenseFlow)..gyroflowproject.Versions
.gyroflowv4 project formatRelated: #25