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

Extract single frame from video #61

Open
jmmaxwell opened this issue Oct 29, 2020 · 6 comments
Open

Extract single frame from video #61

jmmaxwell opened this issue Oct 29, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@jmmaxwell
Copy link

Is it possible to extract a single frame from a video using this trimmer? If not, is that an enhancement you would consider adding? Regardless, thanks for your excellent package!

@sbis04
Copy link
Owner

sbis04 commented Nov 19, 2020

I think what you want to get is a single image of a particular frame from the video. Then, for that purpose, there is already a plugin available: video_thumbnail.

@jmmaxwell
Copy link
Author

jmmaxwell commented Nov 19, 2020

Hi Souvik, thanks for your response! I don't actually need to create video thumbnails (though thank you for pointing me toward that package). I'm currently using the trimmer to allow users to extract multiple short GIFs from a single long video. I'm interested in allowing them to extract many images from that same video just like I'm allowing them to extract GIFs. Does that make sense?

@sbis04
Copy link
Owner

sbis04 commented Nov 20, 2020

Yes, I understood. I believe that can also be done using the video_thumbnail plugin. You can define the time (in ms) from where you want to take the image, and set the image quality to 100%, so it will generate a high-quality image. So, you will get images generated from your defined timestamp.

If there is already an implementation of this, I think it's not wise to do it again.

Actually, I am also using that plugin to show the preview of the video (in form of images) in the VideoEditor of my plugin.

@qbait
Copy link

qbait commented Dec 3, 2020

What about a thumbnail picker? Can we configure VideoEditor to be a picker for the single frame?

@sbis04
Copy link
Owner

sbis04 commented Dec 7, 2020

@qbait @jmmaxwell okay, I understood what you guys want to tell. The video_thumbnail plugin provides the functionality but there is no UI component like VideoEditor in that.

Currently, this plugin can't be configured to pick a single frame, because that will also require some changes in the UI of the TrimEditor.

Though I didn't have any such enhancement in the timeline. I will try to implement that once I get some time (probably by the end of December)

@sbis04 sbis04 added the enhancement New feature or request label Dec 7, 2020
@jmmaxwell
Copy link
Author

Hi @sbis04, I was just curious if you had a chance to work on this at all? Again, thanks for your excellent work on this!

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