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

Refactor image and video classes to support parallel and order flag #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TankNee
Copy link

@TankNee TankNee commented Dec 4, 2023

In order to allow katna to output pictures in chronological order, I added two flags, parallel and ordered, to katna's code and passed them in when creating the video. If set parallel to False and set ordered to True, the output keyframes will be ordered.

parallel and ordered processing
@TankNee
Copy link
Author

TankNee commented Dec 4, 2023

related to #27 and #28

@25Ruq
Copy link

25Ruq commented Feb 17, 2024

what if I wanted to name frames by their actual id in the sequence instead of [0, N-1]?

@TankNee
Copy link
Author

TankNee commented Feb 18, 2024

what if I wanted to name frames by their actual id in the sequence instead of [0, N-1]?

what is actual id in the sequence? the index of frame in the video chunk frame sequence?

@25Ruq
Copy link

25Ruq commented Feb 18, 2024

what if I wanted to name frames by their actual id in the sequence instead of [0, N-1]?

what is actual id in the sequence? the index of frame in the video chunk frame sequence?

Assuming a video with M frames numbered from 0 to M - 1, I want extracted frames to keep their number. for example, if M = 50, N = 5 (number of frames to extract). the extracted frames can be [0,17,20,33,49] instead of [0,1,2,3,4].

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

Successfully merging this pull request may close these issues.

2 participants