Skip to content

[Adobe/Premiere] Plugin likely incompatible with subclips with non-zero start timecode (same root cause as #25) #59

Description

@Talla

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

  1. Record/import a clip with a working, synced .gyroflow project (external gyro logger, e.g. NiYien/SenseFlow).
  2. In Premiere, create a subclip starting partway into the master clip (non-zero in-point).
  3. Apply the Gyroflow effect to the subclip → shaky/wrong output, even though the plugin correctly detects/loads the .gyroflow project.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions