Revese TrackEvent

Kommentare

Thiago_Sase schrieb am 12.02.2025 um 21:48 Uhr

@jetdv

It would certainly take some thinking to get to the best solution.

That's for sure, Sir.

Thiago_Sase schrieb am 12.02.2025 um 21:49 Uhr

@nonam3 Thanks for the tip, I tried it, but did not work;

double playbackRate = evnt.PlaybackRate;


Timecode mediaOffset = MyTake.Offset;
Timecode eventLength = evnt.Length;


Timecode adjustedOffset = Timecode.FromMilliseconds(mediaOffset.ToMilliseconds() * playbackRate);


Timecode reversedStart = Timecode.FromMilliseconds(
    adjustedOffset.ToMilliseconds() + (MyTake.Length.ToMilliseconds() * playbackRate) - (eventLength.ToMilliseconds() * playbackRate)
);

 

Zuletzt geändert von Thiago_Sase am 12.02.2025, 21:50, insgesamt 1-mal geändert.

OS: Windows 10 22H2
CPU: Intel Core I7 12700
MEMORY: 32GB DDR4 3200MHz
GHAPHIC CARD: RTX 3060 8GB
HARD DRIVES: SSD for System and M.2 for Media Files

jetdv schrieb am 12.02.2025 um 21:58 Uhr

@Thiago_Sase, my thought would be:

  1. Change the Playback Rate to 1
  2. Change the length to match a Playback Rate of 1 (length / Playback Rate)
  3. Reverse the event
  4. Change the length back to the original event length
  5. Change the Playback Rate back to the original Playback Rate
Thiago_Sase schrieb am 12.02.2025 um 22:08 Uhr

 

@Thiago_Sase, my thought would be:

1. Change the Playback Rate to 1

2. Change the length to match a Playback Rate of 1 (length / Playback Rate)

3. Reverse the event

4. Change the length back to the original event length

5. Change the Playback Rate back to the original Playback Rate

@jetdv I'll try to create that structure, step by step, and see if solve the issue. Thanks.