animator-video-reference
animator-video-reference copied to clipboard
Video Never Processes
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.
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.
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?
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,
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:
-
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 #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)
-
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.
-
If the issue continues to happen, see if you can import a smaller amount of frames.
@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.
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?
https://github.com/scottpetrovic/animator-video-reference/blob/5924ea7f91199d3f7d4c7f9c3e8087beb2e19d6e/animationimporter/animationimporter.py#L226
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.
@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.
@KnowZero hey that's great to know, thanks a ton!