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

Video4Linux Lag and Unable to Screen Grab

Tags: None
(comma "," separated)
Blargh
Registered Member
Posts
2
Karma
0
I'm using Kdenlive on Ubuntu 10.04 (installed from the Software Center) on an AMD64 5000 x2 machine with an nVidia 8800GT Graphics Card, just as a heads up.

Anyway, I'm having a couple issues with Kdenlive so far, and I'd really like to tackle them.

The first is Video4Linux lag. When I enable real-time webcam capture, there's literally a 5 second delay before any movement is translated to the screen, which becomes very distracting.

My second problem is Screen Grabbing. Whenever I hit the record button, nothing happens at all. I've tried changing the settings, re-installing recordmydesktop (which works just fine, just not when I try to record through kdenlive) and it's still unresponsive.

Anyway, I appreciate the help in advance.
ttill
Registered Member
Posts
372
Karma
0
Does kdenlive report the recordmydesktop bin to be found in the screen grab configure dialog (button next to record button)?
ddennedy
Registered Member
Posts
1315
Karma
1
For the V4L lag, I do not think there is much you can do about it because low latency was not an emphasis. Basically, we are running a 'ffmpeg | ffplay' pipe in a manner such that we can embed the ffplay window. There is buffering in the pipe and ffplay which makes this somewhat high latency. Long term there might be a solution by using MLT 's ffmpeg libs integration, but it needs additional work to make it support simultaneous monitoring and capture.

As for recordmydesktop integration, maybe its command line options changed in some recent versions. We will have to check this. If you file a bug (if it does not already exist), then we can track it easier.


ttill
Registered Member
Posts
372
Karma
0
rev 4411 means that the bug was fixed in the development version of kdenlive at revision 4411. This will be included in the next release of kdenlive.
Hope this helps.
ttill
Registered Member
Posts
372
Karma
0
You can try out sunab's unstable repository:
http://kdenlive.org/user-manual/downloading-and-installing-kdenlive/pre-compiled-packages/ubuntu-packages
But I'm not sure if it will work with 10.04 and how often they are updated (according to the page weekly, so the package should already include rev 4411).
Another option would be to compile kdenlive:
http://kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source
It should be enough to just compile kdenlive (and not ffmpeg, mlt)
Blargh
Registered Member
Posts
2
Karma
0
Thanks for all the help. I can live with the camera lag, but I suppose I'll have to wait for the next stable release for recordmydesktop to work with Kdenlive.

Is there any idea when it might be released and added to the Ubuntu repository?
kaputtnik
Registered Member
Posts
11
Karma
0
OS
Hello,

had the same Problem: kdenlive does not start recordmydesktop. System is kubuntu 10.04.

While ubuntu not put new releases of a Program in one Version and the next version of ubuntu comes in october 2010, i compile and install it from source. Its quite easy, fast and fixes the Problem :-)

- uninstall: kdenlive
- you may have to reinstall: melt
- Install: build-essential, subversion and checkinstall
- Open a Terminal (the terminal within dolphin is enough)
- to install nessesary denpendings to build kdenlive, run: sudo apt-get build-dep kdenlive
- change to a directory, where you will store the svn-version (example: ~/kdenlive-svn)
- to download and save the svn-version automtically, run command: svn checkout https://kdenlive.svn.sourceforge.net/svnroot/kdenlive/trunk/kdenlive
- change into the directory: cd kdenlive
- add directory: mkdir build
- change to this directory: cd build
- run: cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- run: sudo checkinstall

checkinstall wants few answers, but you can allways accept per "return".

Have fun!

Links:
- http://wiki.ubuntuusers.de/Subversion#Subversion-zur-Installation-neuer-Software-nutzen
- http://kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-kdenlive
- http://wiki.ubuntuusers.de/Programme_kompilieren/Alternativen#CMake


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]