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

How do you create a screen movie?

Tags: None
(comma "," separated)
bfrueh
Registered Member
Posts
2
Karma
0

How do you create a screen movie?

Sun Oct 12, 2008 5:29 pm

Hey all,



I am running Kdenlive 0.7 beta on Ubuntu 8.10 beta. The software looks really promising. Question: I read that 0.7 supports screen movies. I have looked on the site and in the product and cannot figure out how to do it. Any ideas?



Thanks,



Ben



Bugsbane
Registered Member
Posts
107
Karma
0

Screen movies? What do you mean by that?

bfrueh
Registered Member
Posts
2
Karma
0

I think the term used on the site is screen grab:

http://www.kdenlive.org/node/2



Quote:
Capture

* Firewire capture: DV and HDV

* Video4Linux capture: support for webcams (requires ffmpeg)

* Screen grab: grab your desktop or a region of it with sound (ffmpeg compiled with "--enable-x11grab" required)



I have been looking for a usable open source product that runs on Ubuntu that lets me do two things I currently do with Camtasia Studio 5.0 on Windows:




  • Capture and edit demos[/*:m]

  • sequence and set the duration of pngs against audio on a timeline[/*:m]


Thanks a bunch. The new release and the drupal site look great.



Ben

[/]


madsdyd
Registered Member
Posts
204
Karma
0

Basically you just have to do as it says: add --enable-x11grab to ffmpeg configure line.



When you run your Kdenlive, you click on "Capture monitor", then select "Screen grab" from the drop down menu, then click the record button, and follow the instructions.



There is a page in the settings, where you can set some options for screen capture.



Note, that if you used the wizard to compile Kdenlive, there are currently no way to enable screen grab. I have a new version of the Wizard ready, but is waiting for jb to implement some minor changes in Kdenlive before I want to release it.

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
I noticed yesterday that although I am able to select screeb grab in the capture monitor (as described also above), upon pressing the record button nothing is really captured.

I used the Builder Wizard indeed.

I wondered if I missed some dependency or so, but apparently it has to do with the Builder Wizard, or do I understand that wrong?


What I do:



- Press the record button.

- After a short while, a message appears telling me to mark a region

- I mark a region

- I press Enter

- Recording starts (message is show in the monitor)

- After a while, I press the record button to stop recording

- The clip shows up in the projectree.



Could you perhaps try the new version of the Wizard I have just uploaded? There was an issue with the wizard _not_ updating the settings for MLT in Kdenlive - perhaps this is related.



Thanks,



Mads

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
Perhaps I should recompile kdenlive as well after recompiling FFmpeg?

Thus I decided to run the KBW 0.6.0 again and then noticed (!) that upon pressing the " advanced" button the enable x11 grab support feature was by default unchecked!

(this is the same screen as where you can check "append date" and " install as root" underneath this there is the advanced button).



Thus I guess/hope that the problem was that by running the current wizard FFmpeg is not configured for x11 grab support by default.



@Mads: Perhaps this option (hidden under the advanced button) should be selected / marked on by default?



Now that I try to compile and install again via KBW and the x11grab support enabeld I get:

The operation was a failure.

This error was returned:'FAILURE Some kind of error occured: Unable to build ffmpeg'.



This is because it can only be done as root.



However when I try to use the option Install as root I get right at the beginning of the wizard this error message:



This error was returned:'FAILURE Some kind of error occured: Some kind of error occured while calling /usr/kde/3.5/bin/kdesu. Unable to proceed'.



To summarize I encountered two problems:

1) x11 grab support is not enabled by default

2) option 1) fails for apparently kdesu or kdesudo can not be called properly (is it possible to use su and sudo in the wizard instead of kdesu and kdesudo?), in the folder /usr/kde/3.5/bin/ however kdesu is present, so I do not know whether trying to install as root fails, one should expect a pop-up window demanding you for your root password.



Hi again



Yes, sorry, you are probably right about the x11grab and enabled by default. My bad. Apologies, should have mentioned it, things went a little fast there. Will enable by default in next version.



Could I ask you to email me the log from the run, where you failed to install? Also, what distro/version are you running? And, what version of KDE are you _running_, and what version are you trying to compile against? (if you are running kde3, kde-config should tell, otherwise kde4-config).



Also, could you try to run the wizard without installing as root, and trying to install into /tmp/kdenlive (The page titled "Compile options", just write /tmp/kdenlive in the Install dir. Then test that install. If it works, we will take it from there!



Thanks in advance.

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
Hi,

The error emssages that pops up immediately after I give the GO in " install as root" modus is:



The operation was a failure.

This error was returned:'FAILURE Some kind of error occured: Some kind of error occured while calling /usr/kde/3.5/bin/kdesudo. Unable to proceed'.

What do you want to do now: Close the wizard, view the log from the build process or continue? (Cancel this dialog)



=========================

Of course in my /usr/kde/3.5/bin/ kdesu and kdesudo are present



In the view log it states in the part where it goes wrong:

(...)

KBWLOG: Checking for sudo requirement

KBWLOG: sudo is needed

KBWLOG: DCOPREF is kmdr-executor-7264, using kdesudo or kdesu

kdesudo: Onbekende optie: '--comment'. (dutch for unknown option: '--comment'.)

kdesudo: Gebruik --help voor een overzicht van de beschikbare commandoregelopties.

KBWERROR: Some kind of error occured while calling /usr/kde/3.5/bin/kdesudo. Unable to proceed

KBWTRACE: Entering feedback_result @ = FAILURE Some kind of error occured: Some kind of error occured while calling /usr/kde/3.5/bin/kdesudo. Unable to proceed

KBWTRACE: Entering feedback_status @ = FAILURE Some kind of error occured: Some kind of error occured while calling /usr/kde/3.5/bin/kdesudo. Unable to proceed

(...)



I use Pardus 2008.1 and KDE 3.5.10 and kernel 2.6.25.16-108



Thanks.



Could you:



a) Try a non-root install to /tmp/kdenlive as suggested above



b) do this for me in a terminal and paste the output:

which kdesudo

ls -l `which kdesudo`

kdesudo --help

kdesudo --version



Thanks



Mads

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
Option 2 that is as non-root trying to install in /tmp/kdenlive also fails when x11 grab support is enabeld:

pop-up window says:

The operation was a failure.

This error was returned:'FAILURE Some kind of error occured: Unable to build ffmpeg'.

What do you want to do now: Close the wizard, view the log from the build process or continue? (Cancel this dialog)



view log says:

cp -p ffmpeg_g ffmpeg

cp: kan het normale bestand 'ffmpeg' niet aanmaken: Toegang geweigerd (cannot build " normal file" ffmpeg: acces denied)

make: *** [ffmpeg] Fout 1

make: *** Wachten op onvoltooide taken...

KBWERROR: Unable to build ffmpeg

KBWTRACE: Entering feedback_result @ = FAILURE Some kind of error occured: Unable to build ffmpeg

KBWTRACE: Entering feedback_status @ = FAILURE Some kind of error occured: Unable to build ffmpeg

KBWTRACE: Entering cmd @ = dcop kmdr-executor-12239 KommanderIf setText LabelFeedback FAILURE Some kind of error occured: Unable to build ffmpeg



==============



I have now chmod-ded 777 ffmpeg and ffmpeg.g in the /ffmpeg source folder, and am trying one more time to see whether I can apss this point...



Hi again.



Ignore option a) in my previous post - we have crossed eachother.



I think this error may occur, because you have some files owned by root in your source folder? Could that be? Perhaps ffmpeg is so organized, that files get copied during the "make install" step, to the source dir, by the current id, that could explain it.



Perhaps you could try to provide a completely clean directory for the sources, that is, use e.g. /tmp for the sources too. That would mean some time spent downloading the source files, but at least we could make sure that root ownership issues was not an issue.

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:


$ kdesudo --help
Gebruik: kdesudo [Qt-opties] [KDE-opties] command

Voert een programma uit met verhoogde toegangsrechten.

Algemene opties:
--help Hulp over de opties tonen
--help-qt Qt-specifieke opties tonen
--help-kde KDE-specifieke opties tonen
--help-all Alle opties tonen
--author Auteurinformatie tonen
-v, --version Versie-informatie tonen
--license Licentie-informatie tonen
-- Einde van de opties

Argumenten:
command Specificeert het uit te voeren commando

Opties:
-c Specificeert het uit te voeren commando []
-f Commando uitvoeren onder target uid als niet schrijfbaar is []
-u Specificeert de 'target uid' [root]
-n Wachtwoord niet onthouden
-s De daemon stoppen (alle wachtwoorden worden vergeten)
-t Terminaluitvoer inschakelen (wachtwoorden worden niet vastgelegd).
-p Prioriteitswaarde instellen: 0 <= prio <= 100, 0 is het laagst [50]
-r Realtime scheduling gebruiken
--nonewdcop Laat commando bestaande DCOP-server gebruiken
--noignorebutton Knop 'Negeren' verbergen
-i Pictogram opgeven om te gebruiken in de wachtwoorddialoog
-d Het commando dat wordt uitgevoerd niet in de dialoog tonen


$ kdesudo --version
Qt: 3.3.8b
KDE: 3.5.10
KDE su: 1.0


Ok, thanks. Your version of kdesudo - which I really suspect is kdesu - does not support the --comment option. I will make a new version of the wizard that checks for --comment in the help output.



I may be done with this in 15 minutes, and will upload a "special" version, which I would really like for you to try.

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
OK I will await the special version and then start that one including new downloads in a new folder and give it another try.

I appreciate the time you spend helping me, but I guess somehow I am helping you to optimise the wizard as well :D



PS what I would like to emphasise that as mentioned I did succes to install Kdenlive 0.7.0 by use of the Wizard 0.6.0 but ONLY as non-root (problem 1) and that bot as root or non-root I get error messages when I try to install with x11grab support enabled (in disabled mode I apparently somehow succeede in installing).



Will try one more time without the append date setting marked.



Would be great to know what it says from completely pristine dirs. I have no real idea what --enable-x11grab requires - I just googled a bit, and it seems there may be some more magic one has to do in some cases.



Anyway, please find attached a "special" version of the wizard, that tests for --comment to kdesudo. I would very much appreciate the log from a run into empty directories with this version - with or without installing as root.



[attachment=0]kdenlive_builder_wizard.kmdr.bz2[/attachment]



Thanks



Mads



P.S. You are right about me optimizing the wizard! But, thats the real purpose of it - to collect the knowledge required to succesfully compile Kdenlive into a program that can actually do it for you. Which again should enable people that do not read g++ manuals for bedtime to actually get a working Kdenlive installation :-)

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
trying now as non-root with source dir /tmp with no previous source files present in it and option download, compile and install

(which may take a while...)



problem 1 is (of course) solved: x11grab support is now marked enabled by defaultin the wizard



Remember that /tmp is typically deleted when you reboot your system.



And also, x11grab is now enabled, because the wizard remembers your choices. So its not because I changed anything. (Because I didn't :-) )

madsdyd
Registered Member
Posts
204
Karma
0

medman wrote:
pop ups says:

The operation was a success.



[...]



and yes screen grab does the " capturing..." now as it should



That leaves only the install as root problems I had but those are not really relevant for me then now that all installs fine.



Sounds good!



Re the root install: It would be nice to know if it works, but I am pretty confident it will work. So, thanks for helping improve the Wizard - for the benefit of others :-)



Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]