Welcome to the KDE Community Forums, the official forum board for KDE.
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
kwin video record
10 posts
• Page 1 of 1
![]() |
Tags: |
kwin video record
Hi,
I'm trying to get the "video record" tool working in kwin, but it doesn't seem to do anything.
Since I couldn't find any (recent) topics on the subject, I thought I'd start one here.
First, I changed the shortcut from "Meta+Ctrl+V" to "Meta+Alt+V", because by default it conflicts with the Amarok shortcut for "Stop playing after track".
Also "Meta+Ctrl" gives some strange stars dancing around (see picture), what does that mean??
But now the real question:
How do I get the 'video record' tool from the composite Kwin effects to actually work??
Because I have no idea where it leaves the video files (if anywhere) and it doesn't give any notice of recording after using the shortcut. All other Kwin features work fine now.
I did find this really old blog entry which stated that you need captury, so I tried but no result.
Thanks in advance for your replies!
[img=500x400]http://ifdb.eu/temp/screen.png[/img]
Is there no way to resize an image in BB code?? (If there is, please edit my post if you can or let me know.)
I'm trying to get the "video record" tool working in kwin, but it doesn't seem to do anything.
Since I couldn't find any (recent) topics on the subject, I thought I'd start one here.
First, I changed the shortcut from "Meta+Ctrl+V" to "Meta+Alt+V", because by default it conflicts with the Amarok shortcut for "Stop playing after track".
Also "Meta+Ctrl" gives some strange stars dancing around (see picture), what does that mean??
But now the real question:
How do I get the 'video record' tool from the composite Kwin effects to actually work??
Because I have no idea where it leaves the video files (if anywhere) and it doesn't give any notice of recording after using the shortcut. All other Kwin features work fine now.
I did find this really old blog entry which stated that you need captury, so I tried but no result.
Thanks in advance for your replies!
[img=500x400]http://ifdb.eu/temp/screen.png[/img]
Is there no way to resize an image in BB code?? (If there is, please edit my post if you can or let me know.)
Last edited by neverendingo on Sun Oct 19, 2008 5:54 pm, edited 1 time in total.
jaapkroe, proud to be a member of KDE forums since 2008-Oct.
RE: kwin video record
jaapkroe wrote:
Is there no way to resize an image in BB code?? (If there is, please edit my post if you can or let me know.)
There is, see the help documents for this forum, section mycode. Simply add =(width)x(height) to your img-tag. Updated your post.
But for your original question, sorry, never used that feature.
RE: kwin video record
Those dancing stars are a KWin 3D effect called "Track Mouse". i have never used KWin's recording feature, i don't even have it 

System Settings and Device Actions KCM maintainer


RE: kwin video record
The video record plugin is ridiculously difficult to use and it really needs more love. Here's what I did to make the present windows video:
- Activate the effect, it will give no indication of activity except a lower framerate
- Video recordings are saved to ~/kwin_video*.cps
- Run `cpsrecode -i kwin_video1.cps -o kwin_video1.y4m` This will convert the file to something that mencoder can read
- Run `mencoder kwin_video1.y4m -o kwin_video1.avi -ovc xvid -xvidencopts fixed_quant=2 -vf scale=550:350` This will convert the video to an XviD AVI with a quality of "2" (Whatever that means) with the resolution of 550x350.
If anyone can work out a nicer way to do it please mention it here. Maybe we should give it a GUI for KDE 4.3.
- Activate the effect, it will give no indication of activity except a lower framerate
- Video recordings are saved to ~/kwin_video*.cps
- Run `cpsrecode -i kwin_video1.cps -o kwin_video1.y4m` This will convert the file to something that mencoder can read
- Run `mencoder kwin_video1.y4m -o kwin_video1.avi -ovc xvid -xvidencopts fixed_quant=2 -vf scale=550:350` This will convert the video to an XviD AVI with a quality of "2" (Whatever that means) with the resolution of 550x350.
If anyone can work out a nicer way to do it please mention it here. Maybe we should give it a GUI for KDE 4.3.
RE: kwin video record
Zarin wrote:The video record plugin is ridiculously difficult to use and it really needs more love. Here's what I did to make the present windows video:
- Activate the effect, it will give no indication of activity except a lower framerate
- Video recordings are saved to ~/kwin_video*.cps
- Run `cpsrecode -i kwin_video1.cps -o kwin_video1.y4m` This will convert the file to something that mencoder can read
- Run `mencoder kwin_video1.y4m -o kwin_video1.avi -ovc xvid -xvidencopts fixed_quant=2 -vf scale=550:350` This will convert the video to an XviD AVI with a quality of "2" (Whatever that means) with the resolution of 550x350.
If anyone can work out a nicer way to do it please mention it here. Maybe we should give it a GUI for KDE 4.3.
Thanks Zarin that works fantastic!
One small thing, the files are saved in "~/Documents/kwin_video*.cps" for me.
I still have some issues with the graphics, but the basics are definitively working now.
I'll post what I did here:
- packages
Make sure you have the mencoder package installed- Code: Select all
sudo apt-get -y install mencoder
- video record
Enable "Video Record" desktop plugin:
System settings -> Desktop -> Desktop effects -> All Effects-> Video Record
There you can also configure the keyboard-shortcut if you want.
Start the video record: for me this is "meta(=win)+alt+v" - encode
- option 1
I scripted this part (might come in handy if you want to do it more often), to get it run- Code: Select all
cd /usr/bin/
sudo wget http://ifdb.eu/temp/dodavideo
sudo chmod 777 dodavideo
Now you can run it on any cps video you have, e.g.- Code: Select all
dodavideo ~/Documents/kwin_video1.cps
- option 2
Just run the commands for yourself- Code: Select all
cd ~/Documents
cpsrecode -i kwin_video1.cps -o kwin_video1.y4m
mencoder kwin_video1.y4m -o kwin_video1.avi -ovc xvid -xvidencopts fixed_quant=2 -vf scale=550:350
- option 1
I agree that it's much too difficult way for ordinary usage, "Video Record" should encode for itself on ending the stream. And I think there are some issues (bugs?) with cpsrecode, because it gives a seg-fault for large files and nasty graphics otherwise for me.
jaapkroe, proud to be a member of KDE forums since 2008-Oct.
RE: kwin video record
Maybe one or both you want to make up the last two postings and make one in the tutorial forum?
RE: kwin video record
Zarin wrote:- Run `cpsrecode -i kwin_video1.cps -o kwin_video1.y4m` This will convert the file to something that mencoder can read
- Run `mencoder kwin_video1.y4m -o kwin_video1.avi -ovc xvid -xvidencopts fixed_quant=2 -vf scale=550:350` This will convert the video to an XviD AVI with a quality of "2" (Whatever that means) with the resolution of 550x350.
That should be doable in one step -- like
- Code: Select all
cpsrecode -i kwin_video1.cps -o - | mencoder - -okwin_video1.avi -ovc xvid -xvidencopts bitrate=900
Adjust mencoder options as you like.
Last edited by Earthwings on Thu Oct 23, 2008 6:45 pm, edited 1 time in total.
RE: kwin video record
Earthwings wrote:Zarin wrote:- Run `cpsrecode -i kwin_video1.cps -o kwin_video1.y4m` This will convert the file to something that mencoder can read
- Run `mencoder kwin_video1.y4m -o kwin_video1.avi -ovc xvid -xvidencopts fixed_quant=2 -vf scale=550:350` This will convert the video to an XviD AVI with a quality of "2" (Whatever that means) with the resolution of 550x350.
That should be doable in one step -- like
- Code: Select all
cpsrecode -i kwin_video1.cps -o - | mencoder - -okwin_video1.avi -ovc xvid -xvidencopts bitrate=900
Adjust mencoder options as you like.
When I try to use pipes mencoder just complains that it can't detect the video stream format. Have you tried it?
RE: kwin video record
Piped command works fine for me, except there a space has gone missing.
-okwin_video1.avi -> -o kwin_video1.avi
-okwin_video1.avi -> -o kwin_video1.avi
- Code: Select all
cpsrecode -i kwin_video1.cps -o - | mencoder - -o kwin_video1.avi -ovc xvid -xvidencopts bitrate=900
jaapkroe, proud to be a member of KDE forums since 2008-Oct.
RE: kwin video record
I record my desktop with Kdenlive.
Mandriva_User, proud to be a member of KDE forums since 2008-Oct.
10 posts
• Page 1 of 1
del.icio.us
|
Digg
|
Google
|
Identi.ca
|
Reddit
|
Slashdot
|
StumbleUpon
|
Technorati
|
Who is online
Registered users: alkiros, Bing [Bot], Google [Bot], lueck, SecretCode, trebor, virgolus, Yahoo [Bot]

Feed
Search
FAQ
Policy
KDE.org
KDE.news
Planet KDE
More 





openSUSE

Arch
Kubuntu

del.icio.us
Digg
Google
Identi.ca
Reddit
Slashdot
StumbleUpon
Technorati