How You Do That (HYDT) | Joining and Merging multiple mp4 Files | Linux | UBUNTU

First we need to install  GPAC , details of which can be found here and for Ubuntu repository we do apt-get with the command as below:

$ sudo apt-get install gpac

GPAC is Open Source Multimedia manipulation library. It can be used for performing many manipulations on multimedia files like AVI, MPG, TS, but mostly on ISO media files (e.g. MP4, 3GP).

GPAC comes bundled with a tool, named MP4Box, using which we can join multiple mp4 files by concatenating into one file without the need for re-encoding the mp4 files.

$ MP4Box -cat Intro01.mp4 -cat Intro02.mp4 -cat Intro03.mp4 OutputIntro.mp4

Credit citation | Original article at this Blog >> here

Advertisements

Linux, The power to run off a cloned OS from external USB Drive

I am loving Linux. Just have a look at this screenshot below, what with Linux Ubuntu 14.4 LTS cloned to an external Disk Drive and running very fine on my DELL XPS 17 with boot from USB.

All the Programming, Social, News, AV prowess and Linux chugs along nice and fine !

I also like the browser like Multiple Tabs that can be opened in the Nautilus File Manager ! Calculator App is also pretty advanced with Unit converter, and Currency Converter built-in it.

I also love the feature of Social Apps Plug-ins right on the desktop. You visit Twitter, Facebook, Google Plus in browser and it prompts to install the desktop app and once installed you get it in the Ubuntu sidebar!

So if you are still not on Linux, get it fast and enjoy your Linux !!!

Kazam_screenshot_00001

Customize Sublime Text Editor Monokai Theme UI

Sublime Text Editor is a very good text editor and with the Monokai Theme it is very easy on eyes and very pleasant to work with.

However, Monokai theme is dark and the currently selected tab in Monokai theme is pretty much dull. Here is a hack to make it bright.

First create a new file called Default.sublime-theme browsing to Preferences Menu > Browse Packages > User (Folder)

Put this text in this (new) Default.sublime-theme file:

[
   {“class”: “tab_control”, “attributes”: [“selected”, “file_medium_dark”],”tint_modifier”:[0, 204, 255, 80]}
]

Then ensure that we use a theme : Default.sublime-theme via Preferences > Settings (Default)

Thats it:

Result. Current Tab is highlighted nice and fine !

CaptureS1

Pure Sublime coding and running Java Program using Sublime Text Editor

Sublime Text editor is a great no-frills text editor that has been created keeping the programmer in mind. It has a vast array of various programming language syntax, coloring, and code insights.

We have the functionality of building (make) a Java program from within Sublime by pressing Ctrl+B

We can extend this functionality to run the Java program.

For this, Browse the sublime packages by Preferences > Browse Packages from the Sublime Editor Menu.

Capturesublime

Backup the Original JavaC.sublime-build file.

Open the JavaC.sublime-build file in NotePad or in sublime itself!

Replace this

{
    “cmd”: [“javac”, “$file”],
    “file_regex”: “^(…*?):([0-9]*):?([0-9]*)”,
    “selector”: “source.java”
}

with this (must be one single line)

{  “cmd”: [“javac”, “$file_name”,”&&”,”java”, “$file_base_name”],  “file_regex”: “^(…*?):([0-9]*):?([0-9]*)”,  “path”: “C:\\Java7\\bin\\”,  “selector”: “source.java”,  “shell”: true  }

where C:\\Java7\\bin\\ will be path to your Java JDK \bin

Code away. Build and Run !!!

Capturesublime2

UBUNTU | Cloning your Hard disk with OS, data and programs to external Hard drive using Clonezilla

Weekend DIY Tech Task!

Cloning your hard disk with OS, data and programs to external hard drive ( as a bootable OS ) using Clonezilla.

The beauty of this is that I cloned the OS (from my 15′ old lappie) and then ran it from the USB External Hard drive on a new 17′ Lappie and Ubuntu adapted the new screen, the settings and all !

I have tried the below steps for cloning my Ubuntu OS but should be equally applicable to any of the OS supported by Clonezilla, the freeware Cloning tool (www.clonezilla.org)

Once you have your Ubuntu OS installed and have updates and programs and n number of customizations done, it becomes a pain to lose the OS customization, packages, applications installed in the event  of a disk crash or any other reason by which you may no longer be able to use your OS.

Cloning as a solution (keeping a copy handy!)

This article covers cloning your Hard disk OS, data and programs to external Hard drive using Clonezilla. An illustration of what all is needed for cloning a disk or partition to another disk or partition is given below. Here, in the illustration below, Clonezilla has been copied over as a bootable image to a USB Stick and will be used to clone (SOURCE) hard disk (with OS , programs and all) to (DESTINATION) an external USB Drive with Boot-Loader so that the Ubuntu (or any such cloned OS) can run from the (DESTINATION) USB Drive also.

Screenshot_2015-07-12-18-03-44

The step-wise screenshots are shown below (Apologies for the pictures. The pictures are not exactly screenshots, rather phone camera clicks of the whole process !)

Assuming you already have Clonezilla as a bootable image on a USB stick, you must change the OS boot order to boot from USB.

When you boot from the USB, you will be presented with the Clonezilla screen as below

20150712_173321

Choose Live and proceed

Select Default selected options as shown in screens below

20150712_172800

20150712_172821

20150712_172836

Choose device to device option (as shown below) as we want to create a working and bootable OS on external hard drive.

20150712_173524

Choose disk to disk , laptop hard drive (sda) to external hard drive (sdc)

20150712_173612

Choose (Source) hda

20150712_173628

Choose (Target) sdc or your USB external Hard drive.You must be doubly sure to see what is selected as the target as Clonezilla will WIPE clean the selected target.

20150712_173653

You can check for or skip checking of source for bad sectors.

20150712_173707

20150712_173727

Clonezilla warns and asks twice for good confirmation about writing to the target.

20150712_173834

Important : Next, Clonezilla will ask if you want to make bootable the target (USB external drive) , enter Y for yes and proceed.

20150712_173914

Clonezilla now starts the cloning process.

20150712_174002

When the cloning process is finished, Clonezilla will ask you to either poweroff , or to reboot so that target is finalized and disks in use are properly unmounted. This is important as not doing so may render the target unbootable.

Thats it! Now you have a copy of your OS, complete with all logins, programs, and customization, ready to work off the external hard drive. Carry your OS in your pocket. Use whenever and wherever you like !

Enjoy !