Frame extraction rule #33
Replies: 6 comments 3 replies
-
So given the smaller sized video, you should be getting all keyframes by default, and you should have a keyframe for each different text. You can run the command with |
Beta Was this translation helpful? Give feedback.
-
I had the same thought of LLM not being able to read the frames, but then I started inspecting the extracted frames by looking at the saved frames folders, and the problem is that it doesn't extract the all frames. I will do more testing with Claude to change the frame.py, let's see how it goes. |
Beta Was this translation helpful? Give feedback.
-
hey man, sorry for delayed response, I was trying different solution to get the full picture on the frame extraction. I'm in process of testing the "pysceneDetect", any thought on this? I'll test your solution tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Hi @byjlw , I did test with new frame.py, but I don't seem to get better results. And for the above video, I get 0 frames(I was getting 1 previously). If you'd like to test on your end: https://we.tl/t-Za7vRVQ4k6 |
Beta Was this translation helpful? Give feedback.
-
looks like i need a login to download that video. |
Beta Was this translation helpful? Give feedback.
-
@byjlw is it okay if I reach you out in DMs? Not sure how to do it on github, it would be way faster for this, I changed the frame extraction to the pyscenedetect, and getting betters results, i'd like to show you firsthand |
Beta Was this translation helpful? Give feedback.
-
Hi @byjlw
The frame extraction works fine on the multiple scene(different background & setup) videos, but in single scene(no change on the background), it is not detecting the new text overlays.
Video: https://streamable.com/gqeyzj
It only extracts single frame(attached), but there are other overlay text appearance too.
I tried changing the frame.py with Claude sonnet 3.5, and it offered me new implementation to detect the text changes, but the change made the frame.py so sensitive that every other frame is being captured.
What do you think about this?
Beta Was this translation helpful? Give feedback.
All reactions