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

Cannot get firewire capture to work

Tags: None
(comma "," separated)
broadstairs
Registered Member
Posts
66
Karma
0
OS

Cannot get firewire capture to work

Tue Feb 09, 2016 10:53 pm
I have version 15.12.1 installed on opensuse leap 42.1 and it works OK except I am unable to get firewire capture working. I am able to run dvgrab interactively from the console and connect to my camcorder so that part is working.

Any ideas why please?

Stuart

Update: I have tested both Kino and LiVES and both will capture from my firewire camcorder with no problems at all. So my problem is kdenlive itself which is a shame because at least until now it has been my preferred editor, and still is for editing but I need f/w capture to work.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Firewire capture works for me.
I documented how in the wiki https://userbase.kde.org/Kdenlive/Manua ... g#Firewire - back on an old version. Should be pretty much the same now.

What happens when you try.
broadstairs
Registered Member
Posts
66
Karma
0
OS
Well for a start there is no Record Monitor. Also when I show record controls on the Clip monitor the drop down only shows Webcam and Screen Grab. If I go into the settings to configure the default to be Firewire it is not saved when I exit kdenlive. So there is no connect icon/button to select.

Stuart

Update: running kdenlive from a console I am seeing

mlt_repository_init: failed to dlopen /usr/lib64/mlt-6/libmltgtk2.so
(dlopen: cannot load any more object with static TLS)
Removing cache at "/home/stuart/.cache/kdenlive-thumbs.kcache"
QXcbConnection: XCB error: 8 (BadMatch), sequence: 4506, resource id: 77594789, major code: 155 (Unknown), minor code: 11

and lots of the QXcbConnection: XCB error when the mouse is over a resize part of the screen.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
might be a bug I guess. Kdenlive does write a fair bit of noize to the console. And not all of it represents issues that you need to worry about.
But that mlt_repository_init: failed to dlopen /usr/lib64/mlt-6/libmltgtk2.so could represent an issue.
You do have melt installed ?
broadstairs wrote:I am able to run dvgrab interactively from the console and connect to my camcorder so that part is working.

Use that as a workaround I guess
broadstairs
Registered Member
Posts
66
Karma
0
OS
Yes melt is installed both melt and melt6, and that module exists in that library.

Stuart
jessej
Registered Member
Posts
12
Karma
0
OS
I faced same thing, but further investigation reveals that fireware capture was lost in code refactoring due to manpower. See another post: https://forum.kde.org/viewtopic.php?f=269&t=135282 and discussion on release post: https://kdenlive.org/2016/08/kdenlive-16-08-0-is-here/#comment-53.

So I guess this thread can be marked as solved.
broadstairs
Registered Member
Posts
66
Karma
0
OS
Well it seems that firewire capture will be lost for ever which is a shame. Seems to me that as dvgrab works it would be a relatively simple task to interface to it.

Stuart
vpinon
KDE Developer
Posts
708
Karma
6
OS
Maybe not forever: it's still on the todo list...
georgekar
Registered Member
Posts
2
Karma
0
There are three solutions.
1) Using a daily build from version 9.10 (I have one in my Ubuntu Studio 16.04). Just extract the folder and make executable the start-kdenlive file. (find kdenlive-ubuntu14.04-x86-20161010.tar.bz2). If you have latest version of Kdenlive, you can use it for any other task except for firewire capturing (and you can update it). Daily Build is isolated in a folder with all libraries for private use.
Use "-s 0" for capturing any size of video scene from tape.
I have a copy, in Dropbox here: https://www.dropbox.com/s/sylp9cfju0ce7 ... r.bz2?dl=0

2) You can use dvgrab from terminal.

3) You can use a front end for dvgrab written in gambas. You can find here: https://github.com/M2000Interpreter/DVmateEn
(you have to install gambas 3). If you open with the language's editor you can see the code, and maybe you can change it.
jeffcole
Registered Member
Posts
1
Karma
0
georgekar wrote:There are three solutions.
1) Using a daily build from version 9.10 (I have one in my Ubuntu Studio 16.04). Just extract the folder and make executable the start-kdenlive file. (find kdenlive-ubuntu14.04-x86-20161010.tar.bz2). If you have latest version of Kdenlive, you can use it for any other task except for firewire capturing (and you can update it). Daily Build is isolated in a folder with all libraries for private use.
Use "-s 0" for capturing any size of video scene from tape.
I have a copy, in Dropbox here: https://www.dropbox.com/s/sylp9cfju0ce7 ... r.bz2?dl=0

2) You can use dvgrab from terminal.

3) You can use a front end for dvgrab written in gambas. You can find here: https://github.com/M2000Interpreter/DVmateEn
(you have to install gambas 3). If you open with the language's editor you can see the code, and maybe you can change it.


Thanks for these.

For 1) Unfortunately the download from your Dropbox produces an error when I try to run start-kdenlive
Code: Select all
./start-kdenlive: line 217: /home/cv/Downloads/kdenlive/./bin/kdenlive: No such file or directory

So I found the daily build from http://build.mltframework.org/viewType. ... ypeId=bt32 (Debian 8 64bit - went to View Build Artefacts http://build.mltframework.org/viewLog.h ... ypeId=bt32) which worked when I installed dependencies that were missing
Code: Select all
apt install kdelibs-bin kdelibs5-data kdelibs5-plugins oxygen-icon-theme breeze-icon-theme libqjson0 libkrossui4 libknotifyconfig4 libknewstuff3-4 libkio5 libkdeui5
It works because the daily builds are also only supplying a ver 0.9.10 version of Kdenlive - as stated at the bottom of https://old.kdenlive.org/download-development

For 2) dvgrab from terminal does work but won't be useful for someone who isn't familiar with the command line (ie my colleagues).

For 3) your gambas runtime took a while to work out how to run it - I did need to install gambas3 for dependencies but rather than open it in Gambas I just needed to make it executable (and open in the default option of Xterm in my Xubuntu 16.04). However setting the location had no effect - the files were stored in the home folder like the default location for dvgrab. Plus I wanted to be able to set some arguments for dvgrab - like set it to record in DV AVI type 1 and set the filesize limit to 4000MiB as I am recording to fat32 (which I can do easily in the Kdenlive above). Otherwise it would've been perfect as I only want to be able to capture for archival purposes.

Unfortunately gambas executables do not contain any source code and so aren't editable like you suggest - see https://sourceforge.net/p/gambas/mailma ... /28390199/
georgekar
Registered Member
Posts
2
Karma
0
This is the source
when unzip source files are hidden so you have to change options to view hidden files (perhaps ctrl+h)
but you can open it in gambas as is.
https://github.com/M2000Interpreter/DVm ... mateEn.zip

My Kdenlive 9 stopped using Firewire the last week so my program works fine (also it is newer version, which set folder from textbox, and add name to timestamp from firewire from the second textbox.
Sometimes we lost connection (before capturing)
We can open the same program second time, copy the two textboxes and make a new connection. Maybe a switch off in camera and the turning on fix the problem. Last thing we can do, is to change cable port in firewire hub.
When start capturing make new files in each scene. Also now there is no cut in 4Giga, if scene is to big.
You can monitor capture, to view and hear video from camera monitor only.


Bookmarks



Who is online

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