Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature]: Add columns for time position in project #80

Open
ramen opened this issue Sep 4, 2024 · 2 comments
Open

[feature]: Add columns for time position in project #80

ramen opened this issue Sep 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ramen
Copy link
Contributor

ramen commented Sep 4, 2024

Feature Description

The start and end times in the transcript table view are relative to a particular source file. It would also be useful to know the position of a given segment or word in the project. Note that this is a changing value, since media items can be moved around.

Use Case

For projects with media items that have been cropped, moved, and otherwise edited, the positions in the project may be different and in a different order than the transcript results, which are based on the location of events in the original source files.

Additional Context

Each transcript item has a reference to its related media item. This may not always be available, for instance, if we add import support.

We may want some kind of interval function to see if the positions change, since this would not be very efficient to do on every rendering frame.

@ramen ramen added the enhancement New feature or request label Sep 4, 2024
@smrl
Copy link
Contributor

smrl commented Nov 14, 2024

Potential challenge if I understand correctly: There also may be multiple instances of the same source file in the timeline, so there's not a guaranteed single exclusive value for that data.

@mikeylove
Copy link
Contributor

some thoughts on this one:

  • transcript segments each include a field for:
    1. item -> GUID of associated MediaItem
    2. take -> GUID of associated MediaTrack
    3. file -> appears to be source filename, sans-path, sans-extension
  • add a raw "filename" field? full path+extension
  • ReaSpeechWorker collapses a "process" request down into one job-per-source file
  • maybe have a top level "timeline" field
    • maintains a sorted list of MediaItems that were transcribed
    • generating something like an SRT means scanning this and referencing entries in segments by their item/take GUIDs
  • how to handle overlap in MediaItems on the timeline or multiple MediaTakes within one item?
  • maybe an auxiliary TranscriptSegmentOffset module to facilitate mapping between source file and project timeline positions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants