Archive for the Category » Application «

Openshot Video Editor on openSUSE

Openshot screenshot

Figure 1 : Openshot Application on openSUSE 11.2. Click for higher resolution

OpenShot Video Editor is an open-source, non-linear video editor for Linux, built with Python, GTK, and the MLT Framework. The project was started in August 2008 by Jonathan Thomas, with the objective to provide a stable, free, and friendly to use video editor.The function much similar with Kdenlive and Kino, both are a video editor for Linux.

Features :

* Support for many video, audio, and image formats (based on FFmpeg)
* Gnome integration (drag and drop support)
* Multiple tracks
* Clip resizing, trimming, snapping, and cutting
* Video transitions with real-time previews
* Compositing, image overlays, watermarks
* Title templates, title creation
* SVG friendly, to create and include titles and credits
* Scrolling motion picture credits
* Solid color clips (including alpha compositing)
* Support for Rotoscoping / Image sequences
* Drag and drop timeline
* Frame stepping, key-mappings: J,K, and L keys
* Video encoding (based on FFmpeg)
* Key Frame animation
* Digital zooming of video clips
* Speed changes on clips (slow motion etc)
* Custom transition lumas and masks
* Re-sizing of clips (frame size)
* Audio mixing and editing
* Presets for key frame animations and layout
* Ken Burns effect (making video by panning over an image)
* Digital video effects, including brightness, gamma, hue, greyscale, chroma key (bluescreen / greenscreen), and over 20 other video effects

OpenShot Video Editor originally written for Ubuntu. Official website provided the deb installer for Ubuntu and RPM for Fedora. openSUSE rpm currently not available on OpenShot website but openSUSE user may install it with package from Packman repositories.

Install Openshot

Install with zypper on openSUSE 11.2 :

zypper ar http://packman.iu-bremen.de/suse/11.2 packman-bremen
zypper ar http://download.opensuse.org/distribution/11.2/repo/oss/ oss
zypper ref && zypper in openshot

Note that you should have the oss repos available because openshot has dependency library available on oss repo.

Note for Indonesian openSUSE user:
Please use local repo for better speed on refreshing and installing the package

zypper mr -da
zypper ar http://kambing.ui.ac.id/opensuse/distribution/11.2/repo/oss/ oss-kambing
zypper ar http://kambing.ui.ac.id/opensuse/distribution/11.2/repo/non-oss/ non-oss-kambing
zypper ar http://kambing.ui.ac.id/opensuse-packman/suse/11.2/ packman-kambing
zypper ref && zypper in openshot

7 Lightweight Linux Browsers You may want to Consider for Fast Browsing Experience

Mozilla Firefox may becoming the most popular browser in Linux world but these are also some competitors such as Opera, Konqueror, Google Chrome, Epiphany and others. The above browser has similar function and quite nice to be used on a standard PC. Unfortunately, as a modern and complex  application, all listed browser need  a fast, modern computer with standard modern hardware, such as minimum 256 MB of RAM. If you trying to run one of these on the older hardware, the result may vary but most of them will running slow, even on 256 MB of RAM. Google Chrome may run faster than Mozilla Firefox but overall working with modern browser on an older PC  is very inconvenient.

The older hardware usually used for a few application or dedicated for one or two service which do not need much resources. Browser may be needed for managing web administration. Supporting all the Web standards may not required, rendering most pages correctly, much faster and require less system resources are the most important key points. Such programs usually don’t serve CSS, JavaScript, or more complicated HTML elements.

Actually, older hardware  isn’t the only factor to use lightweight browsers. People may choose to use lightweight browser even on modern hardware, only to get high performance and faster browser experience. GUI or text mode environment, operating system configuration and personal preferences are others factor why lightweight browsers has a unique position in modern computing.

Below are some lightweight Linux browsers for Linux you should consider for fast browsing experience :

1. Midori

Midori (緑, Japanese for green) is a web browser that aims to be lightweight and fast. It uses the WebKit rendering engine and the GTK+ 2 interface.

Features

  • Full integration with GTK+ 2
  • Fast rendering with WebKit
  • Tabs, windows and session management
  • Flexibly configurable Web Search.
  • User scripts and user styles support.
  • Straightforward bookmark management.
  • Customizable and extensible interface.
  • Extensions such as Adblock, form history, mouse gestures or cookie management.

Installing Midori on openSUSE should be easy with One-Click-Install feature on openSUSE Build Service link.

How to Add PHP & Javascript Code to Smarty Template (Serendipity, Pligg)

I manages various website and some of them are running on Serendipity blog engine or a Digg-looks-alike, Pligg. Both engine use Smarty framework based on PHP code. Although Smarty built from PHP engine, it has different style in code writing than another CMS based on PHP like WordPress. Smarty using their own tags that will be parsed on their engine, so adding Javascript or PHP code can not be directly written in the related tpl file (an extension for Smarty template).

If you wish to add a Javascript code like Google Adsense or a PHP code into Smarty template, use the following tips :

  1. Open your related tpl file and use {php} and {/php} tags to include the PHP file
    {php}include('/home//vavai/vavai.net/myphpfile.php');{/php}
    

    Please note that I would prefer to use absolute path and not the relative path instead.

  2. Open your related tpl file and use the {literal} and {/literal} tags to add the Javascript code. Place your Javascript code inside literal tags as shown on the following example :
    {literal}<script type="text/javascript">// <![CDATA[
    initializetabcontent("tags_comments")
    // ]]></script>{/literal}
    

On the sample #1, I would prefer to include the php file rather than write the PHP code directly on Smarty file. It will make a code a lot easier to manage, clean, easy to understand and we have a flexible way to add or remove the related file.

Switch to our mobile site