The Computer Club

learn, use and share free software and Linux

Subscribe to RSS feed

Posts tagged with "linux"

Editing video on Linux with Cinelerra -- is easy, REALLY

, , , ...

So driven by a mixture of geekiness curiosity and the motivation of doing something special. With just one week getting on with this program I was able to do a video mashup which surprisingly came out really really good. At least more than I thought I could achieve. So the whole project took me all night to finish it up but when it was done I was able to appreciate even better.

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.

CinelerraThe next step was going on one of my most effective ways on research which was asking people at the IRC. Freenode is known as the premier IRC server for all things open source. Even if most of the gnome stuff is on a different server at irc.gimp.org, freenode contains most projects that you will find related to KDE, Puppy, distros, etc.

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.

Video effectsAnother interesting area was using the video effects, even thought I didn't used that many effects I was able to use the Title effect to insert text at the beginning of the video. I wont get much about effect manipulation except that when you insert an effect into a timeline you will have a bar with a key on one extreme and a lens and icon on the other end. When you click on the lens a configuration dialog for the effect will come up.

I will still need to play more with this, but the end result was an awesome video. Try it yourself.

Interesting Links

Setting up a LAMP on your Box

, , , ...

Many new Linux users that were power users on Windows want to do things that they couldn't do on Windows. Now this is not a Linux vs. Windows post, nor doesn't mean there are ways to do it on Windows. But what I want to show here is a step by step method on having a web server up and running in no time including a personal blog. Feel free to read on.

Read more...

The Linux Web Designer

, , , ...

So many people that jump into Linux have some of the doubts on how can they migrate their work and still be effective in Linux. However most people have engraved work flows and demand certain process and applications. First question becomes:

Will my application run on Linux?

Most of this applications are proprietary and the parent company of the application might not have a Linux version. So once they face the application doesn't run.... but you can run this other Linux application the next problem will become:

Is this application has all my tools from my previous application?

On this step many commercial applications have become what many technologist called bloatware. Bloatware are applications that became bloated or they have gather so many features that try to become the trick of all trades.

So this post will give advice on how to implement the work flow for a web designer to keep doing their development using a complete suite of open source applications.

The HTML
One of the core things from HTML designers is the HTML, html is the end markup code that needs to be shoot at the browser. There are many tools that are HTML editors, however some designer have become used to use WYSIWYG or visual editors where they see a end representation of the webpage.

Some non-WYSIWYG editors will have quick links to the browsers. This might not be a solution for many users, but might be enough for a quick fix. A good editor that present a WYSIWYG interface and also bring you the tool to quickly see it on the browser is Quanta Plus. Other tool that also bring some GUI is NVU, NVU used to be the composer part of Netscape, the project has not been maintained in quite a while.
[http://images.linspire.com/applications/3373/6594/QuantaPlus/quanta1.png][/IMG]

The Syling -- CSS
Quanta is also a good tool to build CSS, CSS gain strength with the introduction of xhtml. This XHTML is a good practice to develop clean HTML and convert the styles, menu's, heading, lists through another markup language called CSS. CSS stands for Cascade Style Sheet, there used to be very good CSS editors but they were bought by the makers of the HTML product and was integrated making it bloated. Well here Quanta might fall into that classification as it has a whole interface to develop CSS within the editor.

There are however other css editors such as CSSed which will parse the CSS and even give you a sample output of the final view.

CSS is very good for different reasons specially the easily deployment of styles across a whole site. This improve the maintainability of the site.

The Graphics
Graphics are always a big part of the design of websites, banners, icons, and many other graphics are usually implemented into websites. The Gimp might be a good tool to use here, even if the interface might confuse some of the people used to commercial tools such as Photoshop, Corel Draw and many other graphical tools.

Gimp is a powerful graphic editing software, and one of the filters that might help many web designers is the py-slice extension which allow users to make a large graphic and slice it into different parts. This is usually used for design things like shadows, or frames of text within a site. This blog might be there is a frame that has a shadow on both edges of the body.

Other tool that is also gaining strength for web designers is the use of vectorial graphics, this is good to create shapes or forms that are useful when generating icons. This tool is called inkscape. Inkscape is vector based graphical element one of the advantages is that it can export to rasterize formats such as PNG.

Server Side Code
More and more sites are not just static html content, you might also have a programming language that will make the page content become dynamic. Dynamic languages like PHP, Python, Ruby, Perl are widely available in the linux distros. IDE's are also available and some IDE might be on the HTML editors, others might be specialized IDE like PHPmole.

Having all these tools might be helpful and they are very available on all linux sites.

Putting it all together
So here is the important part, you can have all the tools of the world but it really won't make sense to you until you have a workflow. Workflow is what web designers are really attached to. They know the tools but the tools are not very relevant if they don't do what they learned once following the random tutorials of the web or at the classroom.

So what a new Linux Web Designer need to learn is the workflow of the design on Linux. So where to start, what to do first. Usually web designers start with prototyping the site on a graphical tool. So we will be looking at Inkscape for our first tool to use. Why inkscape? Inkscape perform better with shapes, The Gimp is more specialized when playing around with the colors manipulation but not so good with shape manipulation. Also inkscape can import rasterize images.

First we will choose a resolution useful for us, so when we create a new document we will chose desktop_1028x760 which would be the standard on design. Then we will start inserting the boxes we will need, generate and put the icons that we need. Remember this is just a prototype since we will need to migrate to the CSS to emulate the positioning on inkscape.

Once finish we could export the design to gimp in case we want to slice it, here is an optional since depends on the developing way of the designer. Py-slice will help up slice the banner, graphics and icons. Once you generate the pieces of graphic you can just put it on nvu or quanta, and switch to the HTML code to pixel match it.

A good tool that I might have missed mention is the Firefox Web development plug in, which will enable you to also do a more detailed editing on the web page. This extension can be found here.

Hope this was enough for everyone to get started. I will do a follow up more detailed on how to enable to design into the coding part.

S.O.S. Linux

, , , ...

The internet changed everything, information at the tip of your hand. Linux is a product of the internet, when bringht people exchange information and start building they can make amazing things happen. However with all this information it is possible to be overwealmed and swamp in this information ocean.

Usually getting help becomes a strategy, with so many routes you really need to build a strategy to get knowledge you need. Here is a list of some of the tools that you might face when dealing wtih computer projects.

  • Web Pages
  • Documentation
  • FAQ
  • E-Mail
  • Mailing lists
  • Search Engines
  • Forums
  • Chat rooms
  • Instant Message
  • Meetup Groups


For people that are just jumping into Linux, help can be around the corner. From face to face support to remote personalized support, many free software projects might be the most supported software that you will ever know. This projects have many of the tools that were listed before. But let start listing the different options.

Web Pages
Webpage of the project is descriptive, if you have no idea about what it is, you could either get an answer on the front page or on the about option. Usually GUI software will have Screeshots so you can get a preview of the look n feel.

Other things you might want to check out are feature lists, hardware requirements and similar options.

Documentation
Documentation might be the next step of information from tutorials to manuals it will guide you however this might not be the usual next step since most users want to try first and then go to the doc as a reference.

The list will go on and on, however the goal is not just to mention the different methods but how can you combine them and build your strategy.

If it's linux operating system what you are looking forward to learn a good steps to get help would be to go to a LUG. LUGs are Linux user groups where linux users come together and even help others get linux in their machines as well as give some extra tips. Linux is a very social environment, you are constantly encourage to speek up, talk to your fellow users, to the developers, create a blog about it and even participate in events.

A LUG might be the easiest way to get a Linux distro, and build your guru list on your instant message. This is usually the best way to clear doubts that happen on the spot. Imagine you are working and suddenly you forgot that command to load your cdrom.

You can use GAIM to contact your buddy from the LUG and if he is available he will pobably tell you right away that is.
mount /mnt/cdrom
.

Great don't you think?

Since nobody is a guru on every topic, you might want to have more than 1 guru to relly upon. However this might be somehow intrussive and limited to the opinion of what your guru ask. Also not all of the questions require 'Guru Support'. So here you might want to get to a less personal method but more distributed.

Mailing lists are a great way to talk to many guru's at the same time. The way they work is that you send an email to a unique address and that address will send it to the rest of the members of that list. That way everyone will get your email and anyone can answer.

This answeres might vary but they will give you several ways for you to look at your problem and you will end up concentrating a lot of knowledge on the issue.

If you are not the person that want to recieve a lot of emails or you are just not an email person you can also use the Forum. Forums are more interactive than mailing lists in many cases, since everyone can just go back into the conversation they keep it more in focus and available for everyone to see. Forums can also work as a virtual meeting where you can get new gurus on your IM.

Forums are usually web-based and they have email notification so you don't have to go back everytime to check out if someone has answer you. You wil only get an email when an answer is available. Another tool that works as a group instant messenger is chat rooms. Most projects have an IRC room where you can instantly get response on many of your questions. Chat rooms as well as instant messanger are more flexible since you can add aditional questions upon their suggestions but the drawback is that they are so instant that the answer might not always be the next one.

Some of the questions you might have might already been said by other newbies, so if you think this is what is going on with you, I suggest to move back to the website and read the freaking manual. One of the most cliches phrases around when newbies usually don't work on their questions that well.

However the manuals are usually very detailed and not just that but they are constantly improved. Nowadays more manuals are kept on wiki format so you can ask for a better explanation on a certain section and improve the overal documentation of the program.

If you think that some topics are too bias or non specific, you can suggest a solution and instantly contribute back to the project.

A cousin of the manual is the FAQs or frequently asked questions, this are less detailed extractions of the documentation. Also might respond to things that might not be relevant to a manual such as the direction of the project or indirect topics.

With this general tour and so many projects to learn, you might want to start building your 'support network' and rapidly increase your knowledge of computer and maybe be the guru of so many new newbies. smile

Why linux users hate windows

, , , ...

One of the things that many people that use windows and don't know other OS, usually gets a bit puzzle is sometimes the brutal hatred expresed by people that use other OS. Many people are indeed intrigued by this, some of them get frigten and think they are bigotry.

If we had a ranting linux user on one side and a Windows power user on the other we will see very different pattern in the way of thinking.

The Windows View
Windows users will think that computers ought to be running windows, the line is straight, you just from Windows 98 to Windows ME to Windows XP and to Windows Vista. If you want other non-PC centric technology you have windows CE and then Windows Mobile.

You usually have software that should be in the computer such as microsoft office, internet explorer, windows media. Then we have all this other free downloads that you can install to get up to speed. This include Java, Flash, Acrobat reader etc.

Most windows (and mac) users think the OS is hard-builded with the computer (specially newbies) they dont understand the OS is shiftable, except of course when there is a new version and they have a bridge software usually called 'upgrade edition'. So they classify the computer environment as Macs and PC.

Recently immortalized on the famous apple commercials:

On this windows-centric world, the channels of distribution are set, windows users get their software either from websites or from stores. They have an installer CD or an installer file and it go through a window that will ask for information and install on their computer. After that they will see the application on the menu and they will be on their machines.

The Linux View
Most linux users were windows users at one point, however they were driven into linux for many reasons. One was the challence, other was the mouth to mouth recomendation. Another was that it was require for a lesson in college, other was that they find out that linux doesnt cost any money and all the software on top is also without any cost.

More mature linux users learn that there were difference in this aspect and even thought it is true most people start having an understanding that this is something completly different. They start seeing this is more like a social computing experiment where there is a community and that usually you have to communicate with people in order to improve yourself, this is when they learn the community.

When this Linux users look back into the windows world they found a cold, frivolous and intolerant world. They also see a lot of people with very limited view of what technology really is, they look more like droids that are guided by 1 company. That is when they start looking at this giant monolitic company and usually making smoke screen, cheats, and bullying to hold back from people realizing there is technology outside of their world.

This is when the hate really start, when they see people being unable to figure out the world outside of windows. When they see the constant issues that this OS present yet the users don't really seem to realize. They just think this is the way that the machine works.

From then on is a constant frustration from the manufacturers not supporting anything else than windows, government making rulings based that there is only one OS. This sentiment is usually shared and start growing as more and more people get organized around the world and launch campaing against a monocultural digital world.

This is only an abstract of what I have seen as an ex-Windows power user running into Linux several years ago and completely moving to Linux and getting good every day now.

Looking for members

, ,

So I just made this group around 24hrs ago, this group is desperately looking for Linux users to join. Share your tips, your insight, links and many other things you think is valuable to the collective knowledge. Oh and keep using Opera smile. You can also message me if you need any help jumping in.

Updating link

, , , ...

Some guys at the #LinuxActionShow at IRC told me to add some links to my past post, so here they are:

Cosmopod: http://www.cosmopod.com
NX Client: http://www.nomachine.com
Qemu for Windows: http://www.h7.dion.ne.jp/~qemu-win/
OpenOffice.org, Firefox, Gaim
LiveCd: http://www.frozentech.com/content/livecd.php

My 5 step GNU/Linux incursion program

, , , ...

So after having a lot of experience with Windows people wanting to move to Linux. I am listing a 5 step program to get used to Linux. Linux is not Windows, and for many users it needs to click in order to understand the differences.

So here is the list that I compiled on how to taste linux, get into it, understand it, practice it and finally migrated to it.

  • Installing free software for windows - this is the first step, totally windows supported apps that will help you feel at home when you run linux. Firefox, OpenOffice.org, Thunderbird, Gimp, Cygwin all this are available for windows.
  • Comopod.com - This is a free service that will put a Linux desktop on your PC without touching your PC sort of a remote desktop into a linux desktop running KDE.
  • Live CDs - Live cds will run off your ram and wont touch windows this is useful to learn about different distributions.
  • Qemu on Windows - Is an emulator that will allow you to virtualize the process of installing linux on a fake virtual computer.
  • Dual Booting Linux - Having linux and windows running is the 'standard' of most linux users. This is great to still go back to windows for emergencies.
  • Running linux everywhere - You drop windows and you are completely migrated into linux, u master all ur needs on linux and u are happy living free.


Please be sure to check on some of the pics of the different implementations of this.