Editing video on Linux with Cinelerra -- is easy, REALLY
By Kahlil JohnsonJzarecta. Wednesday, August 15, 2007 5:45:17 PM
So cinelerra.... many people think is hard but is not at all.
The first thing I wanted to do was watching a show from the source show which give a small tour of Cinelerra. Althought the tutorial wasn't really what I was expecting because it was too basic. What I wanted to achieve was using the multi-tracking system and also had some video transitions specially zoom and face. I also wanted to mix the audio of one video with the other and have a slide-show generated from pictures I have. None of these things were explained on that tutorial.
So I just bluntly typed /join #cinelerra and boom, I was there. After a few minutes I got people ready to answer any question I thought I should get. One of the first ones was file format specific since cinelerra didn't seem to read my JPEG images.
After a few minutes the response was that the images need to be resized to the format of the video. That means if the video was 320x240 the images should be around that size, so having a 1200x1020 image cinelerra would read it as a wav file.
So I used image magic and even if the bash script that they recommend on their wiki didn't work. I was able to just do a single convert for each image that I trully needed. I went to the imagemagick site and saw their basic tutorial on resizing.
convert rose.jpg -resize 50% rose.png
Cinelerra didn't complain once I resize the images, however I will get a 1 image per frame which can be as small as a millisecond. Since I wasn't making any subliminal movie I really wanted more than 1 miliseconds. So reading around, on the wiki I saw that I specify enable Import images with a duration of XX seconds. This can be enabled at the Settings > Preferences > Recording, the option is at the bottom of the dialog.
This solution make me able to also be able to expand the exposure time on the timeline by just using the mouse and dragging the block to expand it. With my slideshow setup almost done, what will come next was adding transitional effects so they well do things like fade and zoom.
So the way cinelerra's timeline works it will show you screenshots of the sequence from the video or image or the soundwave from the audio. But it will also have lines that will go across the timeline. These lines will have different colors and will be there for different reasons. Also this lines can be turned visible or not by poping out the Overlays at Windows > Show Overlay. This will give you a small dialog giving a check list of things like:
- Assets
- Titles
- Transitions
- Fade
- etc
We will focus on Fade, Camera X, Camera Y and Camera Z, this will give us the way to manipulate the different tracks. Having them appear or disappear will prevent us from creating nodes on a different line. So when you click on any of the lines a square (we call them nodes) will appear and you can drag them across the timeline. The dragging up and down will specify the value of that specific line, so for example if the Fade (white line) is dragged down, the element of that track will fade out.
You will be able to see a representation of those changes at the Compositor window. However, the compositor will just show the frame in which the cursor (vertical line) is positioned at. So make sure you have that cursor around the period you are producing the effect.
Another thing to watch out when dealing with timelines is that each timeline has some individual controls. I haven't played with many of them, but an important button is the 'record' button or output (red circle). If you are manipulating the lines, the changes will affect ALL THE TIMELINES hat have the record button activated. So make sure to isolate the record on the track you are working at.
I will still need to play more with this, but the end result was an awesome video. Try it yourself.
Interesting Links







