YoLinux.com Tutorial: OpenShot Video Editor

This tutorial covers the use of the OpenShot non-linear video editor as used on Linux.

Related YoLinux Tutorials:

°Linux Video

°Burn DVD on Linux

°Real Video Streaming

°Systems Administration

°Network configuration

°Internet Security

°Firefox Configuration / Plug-ins

°Public Domain Music

°Ripping MP3s

°Streaming MP3s

°YoLinux Tutorials Index




Free Information Technology Magazines and Document Downloads
TradePub link image


OpenShot Video Editor:

This is the clear winner for simple video editing that anyone can understand.

Also see our comprehensive list of Linux video editors.

Openshot Ubuntu 11.04 installation:
  • Openshot: apt-get install openshot openshot-doc
  • Video and Audio encoders: apt-get install x264 libx264-dev lame libmp3lame0 libavcodec-extra-52 ffmpeg
  • Inkscape advanced title generation: apt-get install inkscape

Steps to splice and edit a video:

  1. Generate a "Project": "File" + "New Project"
    Choose the folder in which all work related files will be located.
    Choose a "profile". This is the final format you wish to release a video in: NTSC, PAL, HD, etc.
  2. Add video clips to your project. Select the "+" graphic or "File" + "Import Files".
  3. Add titles (text to be displayed on the video whether by itself or super imposed) regardless of when you will be using them: Title + "New Title" The type of title can be chosen: Header, Footer, Standard, etc. The suffix 1, 2, 3, etc refers to various predefined locations for the given title type.
    Select "Create new Title" to define the file name and the actual title to be displayed.
    Select the font color. It is not enough to just select the color but you MUST select "Ok" or it is not saved.
  4. Drag and drop the video clips and titles onto "Track 1". This is for videos and title clips which are to be displayed in a sequence that you define. Right-click + "Properties" on any clip in the track to define the length of the clip (full length or reduced length. Fades at each end are defined here. Clips can be scaled to the full definition of the project here as well. This is important if mixing videos of various formats: HD, NTSC, etc.
  5. Titles which are to be superimposed onto the video must reside in a different trac: eg Track 2 The position is chosen to correspond to the timeline of the main track (eg. Track 1).
  6. When done select "File" + "Export Video". Name the output file (or take the default).
    • Select the "Profile" + "All Formats". Choose your encoding (eg MPEG 4 h.264, MPEG 2, OGG, etc).
      or
    • Select the "Profile" + "Web". Choose your Target (eg. YouTube-HD) and Video Profile (eg. HDV 720 30p). This generates an MPEG 4 video.
    Choose "Export Video".
Terms:
  • Play-head: The vertical red line which designates what is being previewed and the position in the timeline. Play-head can be moved using either the mouse or more precisely using the arrow keys.
  • Snapping: Aligning the end of one video with the beginning of another. Turn on snapping (select "Snapping Tool" icon). Snap video clips in the same track or to the "play-head".
  • Transition Up: transition into video clip/track (default)
    arrows point to the left edge of the video clip they apply to.
  • Transition Down: transition out of video clip/track (right-click the transition icon and select "Switch Direction")
    arrows point to the right edge of the video clip they apply to.
  • Fade: (right click the video clip/track and select the fade you want)
    • Slow fade in.
    • Slow fade out.
    • Slow fade in and out.
    • Fast fade in.
    • Fast fade out.
    • Fast fade in and out.

[Potential Pitfall]: If OpenShot crashes and you find that it will not restart, logout and log back in to the system and you should be able to launch OpenShot once again. This is an annoying bug talked about on forums and message boards and this is the only solution I have found to the problem. The error is ambiguously stated as "The program ‘openshot’ received an X Window System error."

[Potential Pitfall]: Ubuntu upgrade to 11.10 - somehow the codec support is removed in the upgrade and OpenShot mentions that the following packages are missing when you try and export video:
  • libx264
  • libmp3lame
These libraries are added with the command: apt-get install libavcodec-extra-52

The fix for the OpenShot video export error on Ubuntu 12.04 stating that libx264 was missing:
  • apt-get install lame
  • apt-get install faac
  • apt-get install x264
  • apt-get install ffmpeg
  • apt-get install libavcodec-extra-53
  • apt-get install libavutil-extra-51
  • apt-get install libavformat-extra-53
(the "extra" libs must follow the first four)
Restart OpenShot and retry exporting the video.

OpenShot screenshot:

OpenShot Linux video editor


OpenShot Tips:
  • The best way to avoid a crash is to not get ahead of the software execution. Select your operation and then wait for it to process your selection before proceeding any further.
  • OpenShot seems to create device contention when used with audio recorders, image editors and other video tools, thus avoid use with other tools which may cause conflict. Close any browser using flash.
  • Save regularly.
  • The Inkscape "Text Title" graphics have much more flexibility than the default built in text.
  • To remove the white border around title text, use Inkscape and select the arrow to put you in selection mode. Select the text to alter. Select from the toolbar "Object" + "Fill and Stroke ..." (or hit "ctrl + shift + f") to bring up the "Fill and Stroke" menu. Select the "Stroke style" tab and set the width to 0.0.
  • The left-right arrow keys will move the play-head a frame at time and is good for checking out intersections of cuts.
  • I prefer to turn snapping on. Default is typically off. This allows you to align a video start with the end of another or to the play-head.


Links:


Books:

OpenShot Video Editor
by Jesse Russell and Ronald Cohn
ISBN #5512282816 Book on Demand Ltd. (February 20, 2012)

Manual to the Linux video editor OpenShot


The Official Blender 2.3 Guide
by Ton Roosendaal, Stefano Selleri
ISBN #1593270410, No Starch Press

Manual to the 3-D graphics and animation program Blender.

Amazon.com
The Blender Book
by Carsten Wartmann
ISBN #1886411441, No Starch Press

Manual to the 3-D graphics and animation program Blender. This helps decipher the Blender interface.

Amazon.com
Editing Digital Video : The Complete Creative and Technical Guide
by Robert Goodman and Patrick McGrath
ISBN #0071406352, McGraw Hill

Help to develop skills to edit commercials, documentaries, feature films, and music videos; work with video, DVD, and Web-based media.

Amazon.com
   

    Bookmark and Share


Advertisements




Copyright © 2011 - 2012 by Greg Ippolito