This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Fame, fortune & helping Krita in Under 30 Seconds! (almost)

Tags: None
(comma "," separated)
User avatar
Kubuntiac
Registered Member
Posts
786
Karma
2
Calling all artists (yes, you!)

Krita 2.4 will be released soon, and here's a 30 second item you can do, to help a lot, and have your name and website promoted in the release video!

Image

Next time you paint (family friendly content) in Krita just run this one command in an empty folder beforehand. It will create a timelapse video that keeps your machine fast. (It's limited to only 2 frames per second, instead of 15-60, and uses very little disk space):

Code: Select all
ffmpeg -f x11grab -r 2 -s `xdpyinfo | grep 'dimensions:'|awk '{print $2}'` -i :0.0 -qscale 3 Krita-screencapture_%d.jpg


Afterwards just do ctrl+c to finish capture, zip up the folder, upload to somewhere like Mediafire and post the url here with the name and website you want included.

This will help to promote the Krita 2.4 launch hugely and get you seen as part of Krita's publicity campaign.

Many thanks for your help. Let's make this release go huge! :D
Bugsbane

Last edited by Kubuntiac on Sun Jan 08, 2012 9:14 pm, edited 2 times in total.
User avatar
flareingfira
Registered Member
Posts
19
Karma
0
OS
This sounds very exciting! A few questions: how do you run the code in an empty folder? I'm still a newbie to linux and I'm not so sure how to go about it. And when do you need it by?
User avatar
Kubuntiac
Registered Member
Posts
786
Karma
2
All you really need to do is open a terminal (from the gnome/unity menu, or konsole from the kde menu) and paste the command above.

Then just select all the files (in your home folder) that look like Krita_Screencast_1234.jpg and add them to a zip file (in kde, right click compress > As Zip/Tar archive. In nautilus select the files > right click > compress > tar.gz)

Then just upload the file to Mediafire.com. Feel free to ask if you have any questions!
User avatar
artsymptom
Registered Member
Posts
70
Karma
0
OS
User avatar
flareingfira
Registered Member
Posts
19
Karma
0
OS
I'm guessing I have to put in the dimensions as I'm getting this error:[x11grab @ 0xd4d540] Could not open X display.

Where do I insert it in?
User avatar
Kubuntiac
Registered Member
Posts
786
Karma
2
@ artsymptom - Preferably in the next week. Definitely in the next 2, assuming that 2.4 is being released at the end of the month. I am completely *not* sure about this however, and need to get a rough idea of whether we're likely to see the release earlier / later. Right now RC1 is due in 2 days and there's only so much time after that before we go final...

@flaringfira - Try it with your dimensions entered manually, eg on my screen it's:

ffmpeg -f x11grab -r 2 -s 1360x768 -i :0.0 -qscale 3 Krita-screencapture_%d.jpg
User avatar
flareingfira
Registered Member
Posts
19
Karma
0
OS
Sorry, have another problem with the code.I tried:
ffmpeg -f x11grab -r 2 -s 1440x900 -i :0.0 -qscale 3 Krita-screencapture_%d.jpg
I get the same error.
But when I but in:
ffmpeg -f x11grab -r 2 -s `xdpyinfo | grep '1440x900:'|awk '{print $2}'` -i :0.0 -qscale 3 Krita-screencapture_%d.jpg

I get: ffmpeg: failed to set value '-i' for option 's'

What am I doing wrong?
User avatar
Kubuntiac
Registered Member
Posts
786
Karma
2
@flaringfira - Not sure. I copy your command (just changing for my screen resolution) and it works fine. An alternative though would be to make sure you have recordmydesktop installed and run the following (adjusting the height / width to your screen):

Code: Select all
recordmydesktop --width 1360 --height 768 --full-shots --fps 2 --no-sound


It will make a much larger file, but should work.
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS
flareingfira wrote:Sorry, have another problem with the code.I tried:
ffmpeg -f x11grab -r 2 -s 1440x900 -i :0.0 -qscale 3 Krita-screencapture_%d.jpg
I get the same error.


the -i flag seems not correctly filled. try :
Code: Select all
ffmpeg -f x11grab -r 2 -s 1440x900 -i :0.0+0,0 -qscale 3 Krita-screencapture_%d.jpg


User avatar
flareingfira
Registered Member
Posts
19
Karma
0
OS
Deevad wrote:
the -i flag seems not correctly filled. try :
Code: Select all
ffmpeg -f x11grab -r 2 -s 1440x900 -i :0.0+0,0 -qscale 3 Krita-screencapture_%d.jpg


I get: [x11grab @ 0x19e2540] Could not open X display.
:0.0+0,0: Input/output error

However, the record my desktop way seems to be working. So I guess I'll do it that way.
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS
I delete this post. Wrong video. I'll post another one soon.


bkurdali
Registered Member
Posts
6
Karma
0
OS
I'm getting slowdowns in painting while this is running... maybe my computer is not that fast! will try it also with recordmydesktop to see if that works better.
bkurdali
Registered Member
Posts
6
Karma
0
OS
hey , the zip of .jpg's is quite big! I'm pretty sure a webm would be much smaller, and easier to upload, does that sound ok?
User avatar
Kubuntiac
Registered Member
Posts
786
Karma
2
Thanks Basam,

Yeah that would be fine. Just please use a fairly high quality setting as it's going to be composited and re-encoded at the end.
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]