Open TankNee opened 11 months ago
related to #27 and #28
what if I wanted to name frames by their actual id in the sequence instead of [0, N-1]?
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?
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].
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.