The following is a dump of my notes regarding Linux video over the last several months.
Flip Mino HD Video
|
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
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.
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
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:
Post a Comment