You are not logged in.

#1 2009-01-12 04:34:46

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

How Do You Guys Edit Video?

I know this gets posted sometimes -- and I've done searches and such -- but what do you guys use for video editing? I guess I'm just to ignorant to figure it out, but:

Screencaps from recordmydesktop are in ogv format.
Avidemux doesn't like ogv.
Cinelerra doesn't like avi and crashes (lock up completely, no mouse, etc.) when "rewinding" ogv's.
Kino wants to convert everything to DV (I guess that's OK).
OpenMovieEditor crashes often and complains about ALSA and stuff in use.
I can't get Jack to stop telling me hw:0 is in use, so I've no idea there.

I need to mix multiple tracks with different and numerous sound files.

I've tried LIVES, but it is sooooo slow. I can;t make it do anything.
I've tried PiTiVi and it just doesn't even start on my machine. Running from command line just gets a two second pause and then nothing -- just a command line.

I am using Arch64, nothing from testing, and am willing to build from AUR. Does anyone have any clues or any suggestions?

Thanks in advance for your patience and endurance. I'm just feeling so defeated. I;ve used Linux as my only OS for two years, but this is something I really need help solving.


Matt

"It is very difficult to educate the educated."

Offline

#2 2009-01-12 05:24:23

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Well, I figured out how to get jack started -- I had to stop esd.

But pitivi still won't run. I get this error now:

cannot lock down memory for RT thread (Cannot allocate memory)

Arrghhh!


Matt

"It is very difficult to educate the educated."

Offline

#3 2009-01-12 06:24:57

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: How Do You Guys Edit Video?

You have to up the memlock value in /etc/security/limits.conf.  The amount of RAM you have, in kilobytes, divided by two should do.
(Note:  if you're not using a login manager with PAM support -- GDM, KDM, or SLiM-PAM -- this might not work.)

Last edited by Wintervenom (2009-01-12 15:22:30)

Offline

#4 2009-01-12 08:56:52

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: How Do You Guys Edit Video?

esd is still used??


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#5 2009-01-12 14:02:30

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

@test1000: I aparently had esd running because I had Gnome making system sounds. It gets started for that I believe.

@Wintervenom: I'll give that a whirl and see what happens.

Thanks guys for the help. I was really frustrated last night. I never once thought of leaving Arch, but I was getting rather aggravated. I figured I'd ask for help and "sleep on it". I still can't figure out why cinelerra won't "rewind" without just locking up hard, though.


Matt

"It is very difficult to educate the educated."

Offline

#6 2009-01-12 14:13:36

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: How Do You Guys Edit Video?

http://www.kdenlive.org/

Seems to be most promising and is quite usable compared to competition already.

Offline

#7 2009-01-12 15:49:46

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: How Do You Guys Edit Video?

It's more tuned to enhancing and linearly processing video and some audio, but still incredible: AviSynth. Hundreds, if not thousands, of very advanced filters, and it's a (simple) coding language in its own right.

It is tied to DirectShow and VfW sadly (still open source), but can work in Linux by using avs2yuv or avsproxy to convert the output of Wine AviSynth to raw YUV and pipe to Linux (very little to no speed loss).

Offline

#8 2009-01-12 20:53:15

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Cool! More options to look into.

Another question -- I use ALSA, but would life be any easier with OSS4 or does it matter?


Matt

"It is very difficult to educate the educated."

Offline

#9 2009-01-13 00:32:01

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Trying to build KDEnlive -- wouldn't you know it, it fails.  MLT won't build.

filter_sox.c: In function 'filter_get_audio':
filter_sox.c:293: error: 'sox_size_t' undeclared (first use in this function)
filter_sox.c:293: error: (Each undeclared identifier is reported only once
filter_sox.c:293: error: for each function it appears in.)
filter_sox.c:293: error: expected ';' before 'isamp'
filter_sox.c:294: error: expected ';' before 'osamp'
filter_sox.c:382: error: 'isamp' undeclared (first use in this function)
filter_sox.c:382: error: 'osamp' undeclared (first use in this function)
make[2]: *** [filter_sox.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-mlt/mlt/src/mlt-0.3.2/src/modules/sox'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-mlt/mlt/src/mlt-0.3.2/src/modules'
make: *** [all] Error 1
==> ERROR: Build Failed.

Sometimes I can't win for losing!


Matt

"It is very difficult to educate the educated."

Offline

#10 2009-01-13 01:04:08

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

OK, got kdenlive built.  Needed ffmpeg and x264 from [testing] and had to change the mlt package to v0.3.4.

When I run it I get:

kdenlive(15373)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found! 

KCrash: Application 'kdenlive' crashing...
sock_file=/home/mrunion/.kde4/socket-sweetchuck/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
KCrash failed to exec(), errno = 2

More searching....


Matt

"It is very difficult to educate the educated."

Offline

#11 2009-01-13 02:07:00

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Me again....

I still can't get kdenlive to run. I've tried numerous things. I get a segfault. I've even installed KDE 4.1 and it still doesn't run under that. I must be a glutton for punishment!

...still trying...


Matt

"It is very difficult to educate the educated."

Offline

#12 2009-01-13 03:43:38

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

FINALLY! I got it to compile AND run!  Yay!

I had to read the comments VERY close and adapt accordingly....but it DOES work.

Thanks for all the help, guys!

(And I think I kinda like KDE 4.1. I always end up going back to Gnome, but I just might stay a while on KDE4!)


Matt

"It is very difficult to educate the educated."

Offline

#13 2009-01-13 13:56:45

_oggy
Member
Registered: 2008-09-29
Posts: 26

Re: How Do You Guys Edit Video?

Care to share you solution with me? I've managed to reach the segfaulting stage wink

Offline

#14 2009-01-13 21:56:42

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Sure.  I'll "nut-shell" it here, then when I get home I can post PKGBUILDS if need be.  I used everything from AUR.

Install ffmpeg and x264 from [testing].

Install mlt. The PKGBUILD needs modified to use version 0.3.4. The mlt comments on mlt reference this post: http://bbs.archlinux.org/viewtopic.php?id=62453). I used onlt the version and md5 hash from that. Further down in the comments on mlt in the AUR, CedricR has some build switches to change, I did those too.

Install mlt++ The PKGBUILD needs modified to use version 0.3.4. just like mlt. I honeslty don't remember, but I don't *think* I had to change any switches or compile options. Again, I can reference my PKGBUILD when I get home.

Install kdenlive. I used the kdenlive 0.7.1-1 version, not the kdenlive-kde4-svn version. I built it from AUR and it finally ran fine.

In the process of getting all this stuff working I installed KDE 4.1. I don't *know* if any library happen to come on over from that whcih made a difference, but as can be seen from the posts above, the chronological order doesn't suggest that.

I have compiled it for my x86_64, so it you happen to be using x86_64, I could probably even ZIP the packages and send them to you if you want.


Matt

"It is very difficult to educate the educated."

Offline

#15 2009-01-13 22:44:45

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Here are my PKGBUILDS:

mlt

# Contributor: funkyou <spamopfer@nickname.berlin.de>
# Contributor: tardo <tardo@nagi-fanboi.net>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=mlt
pkgver=0.3.4
pkgrel=1
pkgdesc="An open source multimedia framework, designed and developed for television broadcasting."
arch=('i686' 'x86_64')
url="http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome"
license=('GPL')
depends=('sdl_image' 'libsamplerate' 'libdv' 'ffmpeg' 'kdelibs')
makedepends=('pkgconfig' 'ladspa')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=()

build() {
  cd $srcdir/$pkgname-$pkgver
  #. /etc/profile.d/kde.sh
  ./configure --prefix=/usr --enable-gpl --enable-shared --enable-theora \
      --enable-vorbis --enable-libogg --enable-mp3lame --enable-pp \
      --enable-shared-pp --enable-motion-est \
    --avformat-swscale --qimage-libdir=/usr/lib \
        --qimage-includedir=/usr/include/Qt --disable-sox
  make || return 1
  make DESTDIR=$pkgdir install || return 1
}

mlt++

# Contributor: funkyou <spamopfer@nickname.berlin.de>
# Contributor: Robert Emil Berge <filoktetes@linuxophic.org>

pkgname=mlt++
pkgver=0.3.4
pkgrel=1
pkgdesc="MLT is an open source multimedia framework, designed and developed for television broadcasting."
arch=('i686' 'x86_64')
url="http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome"
license=('LGPL')
depends=('mlt')
provides=('mltplusplus')
conflicts=('mltplusplus')
source=(http://downloads.sourceforge.net/mlt/mlt++-$pkgver.tar.gz)
md5sums=()

build() {
    cd $startdir/src/mlt++-$pkgver
    ./configure --prefix=/usr || return 1
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
}

kdenlive:

# $Id: PKGBUILD 63 2008-11-13 05:36:18Z djclue917 $
# old Maintainer: Darwin Bautista <djclue917@gmail.com>
# old Contributor: Darwin Bautista <djclue917@gmail.com>
# temp maintainer: kontakt.zuf@gmail.com

pkgname=kdenlive
pkgver=0.7.1
pkgrel=1
pkgdesc="A non-linear video editor for Linux"
arch=('i686' 'x86_64')
url="http://www.kdenlive.org/"
license=('GPL')
depends=('kdelibs>=4.1.0' 'mlt++>=0.3.0')
makedepends=('automoc4' 'cmake')
source=(http://downloads.sourceforge.net/kdenlive/kdenlive-$pkgver.tar.bz2)
md5sums=('194ab83358921b08bffa0f976c2af69f')

build() {
  cd "$srcdir/home/one/downloads/svn/clean/$pkgname-$pkgver"

  cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib -DCMAKE_BUILD_TYPE=Release
  make || return 1
  make DESTDIR="$pkgdir" install
}

Don't forget ffmpeg and x264 from [testing].


Matt

"It is very difficult to educate the educated."

Offline

#16 2009-01-13 23:45:16

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

Oh, just a note.  You may also need the following packages from [testing] in addition to ffmpeg and x264 (at least I did to get the stuff to work again!):

avidemux mplayer transcode vlc xine-lib sox gstreamer0.10-bad-plugins


Matt

"It is very difficult to educate the educated."

Offline

#17 2009-01-14 13:13:18

_oggy
Member
Registered: 2008-09-29
Posts: 26

Re: How Do You Guys Edit Video?

Muchos gracias, adding these flags:

--qimage-libdir=/usr/lib \
--qimage-includedir=/usr/include/Qt --disable-sox

to my mlt PKGBUILD did the trick!

Offline

#18 2009-01-17 03:04:42

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: How Do You Guys Edit Video?

kdenlive is great, but for some reason I have to remove qt3 to run it


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#19 2009-01-17 03:42:38

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: How Do You Guys Edit Video?

That's odd. I have both qt and qt3 packages and it runs fine. I really have no idea on that one!


Matt

"It is very difficult to educate the educated."

Offline

#20 2009-01-22 04:49:55

Emess
Member
From: Tokyo, Japan
Registered: 2008-01-20
Posts: 21

Re: How Do You Guys Edit Video?

I personally used Kdenlive until it broke in KDE3.5.10. When i mvoe to KDE4 I may give it a shot again. Until then, I use avs2yuv with avisynth in wine, and yatta/ymc handles all my IVTC. There really needs to be a decent manual IVTC app for *nix. Avidemux is ok once you transcode whatever source you're using to FFV1, but avs2yuv is still the best way to do any serious editing. A shame avisynth3 is vapourware.

E~

Offline

#21 2009-01-24 08:21:54

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: How Do You Guys Edit Video?

Kdenlive, but often that doesn't work right (it can still be very unstable sometimes), so sometimes I go into Windows for WMM sad

Offline

Board footer

Powered by FluxBB