It wasn't me. You can't prove anything.


2009-10-25

Linux video notes

The following is a dump of my notes regarding Linux video over the last several months.


Flip Mino HD Video

General Notes

As far as I can tell from the forums, I'm lucky to have gotten anything to work at all. Mpeg 4 renders faster besides.

kdenlive

Home Page

Numbers

It looks like mpeg 4 (mp4) 12000k (single pass because 2 pass keeps crashing) is going to be the best bet.

Issue

Symptom:

Grayed out render button for most codecs, Would only output to DV format. Plenty of useful effects.

Fix:

codec install link.

Command line:

sudo apt-get install libavcodec-unstripped-52 libavdevice-unstripped-52 libavfilter-unstripped-0 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0

Rerun the Run Configuration Wizard under tools menu.

More Issues

Takes a long time to render when first adding a clip. Long time to render regardless. Just plane hammers my box.

During playback, the scale moves and causes more stress on the machine.

Cinelerra

Home Page

Won't load the video that comes off the Flip. I get a green screen when I try to play it and a ton of errors. If I convert first to mp4 Cinelerra looks good.

LiVES

Home Page

Will not install properly in my Ubuntu 9.04 x86.

Avidemux for YouTube.

Home Page

Playback is very choppy. No editing tools other than cut. It is the only one I've gotten to work so far at the YouTube settings below..

Settings from YouTube

Video
MPEG4-AVC (x264)
From the Flip, you have to re-render to get this format.
Audio
MP3 or AAC preferred 44.1 khz
If the sound is off more and more as the video plays, make sure you re-render at 44.1 khz.

Kino

Home Page

Just plane blows. Meant for getting video off video cameras and not much else. Only does DV format and skews video like mad when you output to one of its standard formats.

old 2009-09-26

Using Fedora 10 Linux.

Plays fine in MPlayer.

Kino takes many times too long to import a simple video. Then the resolution is completely ruined.

avidemux works, but the sound is a mile off.

mplayer works, but the sound is a mile off.


Trying VMWare.

It turns out the problem with the audio is in MPlayer, not the editors or the Flip Device. It appears avidemux works for an editor, but I cannot view the finished product because my computer is to slow. I need to come up with a way to get the video playback to force the sound to match the proper frame. I'll figure it out eventually.

...

  After minutes delving though the man pages I found the following that seems to work. There is a bit of skip at the beginning, but what the hell.

/usr/bin/player -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all $1

It looks like this command allows mplayer to skip frames of the video in order to match to the audio. The mplayer folks were very helpful by giving several reasons and example code when it detects a problem such as this. For the record, the error message was extremely helpful.


Cinelerra on Fedora 10 (Did not work)

Found the following for Fedora 9. Substituted "10" for "9" in the kwizart.net link and it installed.

Link

Fedora 9

To install Cinelerra from kwizart repository (x86 and x86_64) do

su -

rpm -ivh http://rpm.livna.org/livna-release-9.rpm

rpm -ivh http://rpms.kwizart.net/kwizart-release-9.rpm

yum install cinelerra --enablerepo=kwizart

Tips:

1 - This package tweaks the kernel.shmmax value in /etc/sysctl.conf so there is no need for you to modify it.

2 - This version points to the system fonts path in /usr/share/fonts (instead of /usr/lib(64)/cinelerra/fonts).

This is needed for the title plugin. It needs fonts.dir (which is usually deprecated) to be regenerated.

You can do:

yum install ttmkfdir xorg-x11-font-utils

and then in each subdirectories of /usr/share/fonts that you want to be seen by the title plugin, so for example:

cd /usr/share/fonts/

ttmkfdir && mkfontdir

Building Cinelerra (works so far)

  • Downloaded the community code.
  • Ran the configure script.
  • Installed RPM Fusion repo. Livna is has been rolled in to RPM Fusion apparently.
  • Started resolving the missing bits.
  • Had to download fftw-devel, and libmp3lame manually. They were not in the repos.

So far, I've only brought up the windows and stopped. That was such a victory, I'm worried about finding the problems with what is left.

Fixing that Memory error more permanently

Link

Cinelerra started giving the error message regarding shmmax. This should be the amount of memory shared between process by the kernel. After some work with google I found an easy solution - in the terminal I gave:

sudo gedit /etc/sysctl.conf

and at the end of this file I added the line

kernel/shmmax=0x7fffffff

I saved the file and I made

sudo sysctl -p

Now cinelerra [will] run fine.

It's a very powerfull software, it's worth some troubble.

From some commenter on my blog. No idea if it works.

This appears to be straight off Cinelerra's page. I tried this, but the Cinelerra package was not listed under kwizart repository.

You should have rpmfusion too free and non-free

su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

kwizart repository for fedora10 ==> rpm -ivh http://rpms.kwizart.net/kwizart-release-10.rpm

When done just yum install cinelerra-cv

Good luck.


No comments: