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

Video Never Processes #14

Open
Lost-10 opened this issue May 9, 2021 · 7 comments
Open

Video Never Processes #14

Lost-10 opened this issue May 9, 2021 · 7 comments

Comments

@Lost-10
Copy link

Lost-10 commented May 9, 2021

When I start processing a video, it creates a new image then a new layer then completely freezes.
I don't know if it's just taking very long, but I don't have the patience to wait and see.
The videos I've tried aren't even 1MB and have 88 frames, but the same problem happened on both.
krita_Gqn6S1UqQL

It detects ffmpeg, I had it directly located in the Krita bin folder, but I added it to my environmental variables when I noticed this happening.

@KnowZero
Copy link

You are gonna have to provide more information. Like what platform are you using? What krita are you using(appimage, flatpak, ppa)? Do you see the frames being dumped in the folder? What version of ffmpeg? What format is the video you are importing?

@Lost-10
Copy link
Author

Lost-10 commented May 22, 2021

You are gonna have to provide more information. Like what platform are you using? What krita are you using(appimage, flatpak, ppa)? Do you see the frames being dumped in the folder? What version of ffmpeg? What format is the video you are importing?

I just downloaded the latest version from the site using the Windows 64 installer, and I'm using ffmpeg 4.4 on an MP4 format video.

This is what happens whenever I try to do it,
qNdAwDzW5W

@KnowZero
Copy link

Since the first frame is imported, it means that ffmpeg is exporting the frames correctly and Krita is importing them.

Here is a few things you can try:

  1. Move the video to a completely new folder. If there is an images folder in the same directory, this plugin can break or destroy that folder. As mentioned in issue Method of temp folder usage is potentially unsafe #12 . So move the video to its own folder to insure there is no images folder there. (you may have an images folder from a broken build)

  2. If the issue still happens, go check the images folder in this new path and see if all the frames are there. If they are, try importing the frames manually through the image sequence import.

  3. If the issue continues to happen, see if you can import a smaller amount of frames.

@JNotelddim
Copy link

@KnowZero I'm having the same issue.

Windows 10, Krita 4.4.5, just installed this plugin today.

I tried moving the video into its own folder, and that did help in making sure the frames show up in the images folder -- but it seems to hang when it tries getting the rest of the frames after the first into Krita.

@JNotelddim
Copy link

Seems to me like maybe the images are being deleted prematurely, like they haven't actually made it into the krita timeline yet at this point?

Also, I wonder if it's hanging because it's trying to delete the folder while the folder is in use?
If I let the plugin keep "processing" and try to delete the empty "/images" folder after the plugin has deleted the frames, then I get an OS error about not being able to delete it while it's in use.

@KnowZero
Copy link

@JNotelddim I highly suggest updating to latest Krita 5.0.2, the feature was implemented natively without need for a plugin. There are also a TON of animation improvements and fixes.

If you wish to continue using Krita 4 for whatever reason, you can try commenting out the line 226-229 and then handle it manually. Or set up a QTimer to check on the frames.

@JNotelddim
Copy link

@KnowZero hey that's great to know, thanks a ton!

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

No branches or pull requests

3 participants