![]() Registered Member ![]()
|
I'm trying to animate over a video of me sweeping the floor. The file is an mp4 but I don't know how to upload it as an image sequence/individual frames so I can draw over each frame. Any help?
|
![]() KDE Developer ![]()
|
There is a plugin that allows for that. You can download it here: https://github.com/scottpetrovic/animat ... -reference You need to download the zip file (Download or Clone -> Download ZIP), unpack it to the folder mentioned in the instruction below on the website, then open Krita, go to Configure Krita -> Python Plugin Manager -> and check "Animator Reference" plugin. Then you need to restart Krita and go to Tools -> Scripts -> Animator Reference.
This plugin is made by Scott who is one of the Krita volunteers, so you can consider using this plugin relatively safe. |
![]() Registered Member ![]()
|
I just tried using this on the 4.2.0 appimage. I haven't checked to see what version of Python I have installed but all the other plugins work.
The Python Plugin Manager showed 'Animator video reference' greyed out but ticked and when I moved the cursor over it an error message said, Module not loaded: Traceback (most recent call last): File: "/home/adminahab/.local/share/krita/ pykrita/animationimporter/_init_.py", line 1, in from .animationimporter import * Syntax error EOL while scanning string literal (animationimporter.py, line 395) Could not import animationimporter That line 395 has a long string with no terminating quote and a Windows path name with backslashes that seem to be treated as escape characters. I edited it to add a terminating quote and just stripped it down to a short and simple text message. EDITED: I was editing the original downloaded content folder, not the copy in the pykrita folder - sighs. It works fine now that I've edited the installed animationimporter script file. ![]() P.S. After the intial problems, I scratched it all and used Tools -> Scripts -> Import Python Plugin to import it from the downloaded .zip file. This is probably an easier way for most people to get it into krita. |
![]() Registered Member ![]()
|
I just updated the plugin on the github page. It should load ok now if you download the ZIP file and load it through the python importer under Tools. I recently just modified the instructions for the plugin as some Windows users were getting confused about adding things to the environment variables.
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
An EOL ( End of Line ) error indicates that the Python interpreter expected a particular character or set of characters to have occurred in a specific line of code, but that those characters were not found before the end of the line . This results in Python stopping the program execution and throwing a syntax error . The SyntaxError: EOL while scanning string literal error in python occurs when while scanning a string of a program the python hit the end of the line due to the following reasons: Missing quotes Strings spanning multiple lines Strings can't normally span multiple lines. If you don't want the string to appear on multiple lines but you want to initialize it on multiple lines (so you can read it more easily), you can "escape" the newline by putting a backslash before the newline. If you want it to appear on multiple lines, you can use triple quotes around the string. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]