Skip to content

need help: There are some issues when segmenting videos #451

Description

@pengyouak

How to filter out short clips when segmenting videos?
How to re crop the beginning or end of each segment?

Activity

  1. Breakthrough commented on Oct 30, 2024

    @Breakthrough
    Owner

    How to filter out short clips when segmenting videos?

    You can do this pretty easily with a list comprehension:

    min_scene_len = 0.5
    scenes = [(start, end) for (start, end) in scenes if (end - start) >= min_scene_len]
    
    > How to re crop the beginning or end of each segment?
    
    Could you clarify what you mean by this?
  2. Repository owner locked and limited conversation to collaborators on Oct 30, 2024
  3. converted this issue into a discussion #453 on Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions