Pages

Thursday, 14 November 2013

Li-Fi






Li-Fi refers to wireless communication systems using light as a medium instead of traditional radio frequencies, as in technology using the trademark Wi-Fi. Li-Fi has the advantage of being able to be used in electromagnetic sensitive areas such as in aircraft or nuclear power plants, without causing interference. However, the light waves used cannot penetrate walls which makes Li-Fi more secure relative to Wi-Fi.

The general term visible light communication (VLC), includes any use of the visible light portion of the electromagnetic spectrum to transmit information. The term Li-Fi was coined by Harald Haas from theUniversity of Edinburgh in the UK. The D-Light project at Edinburgh's Institute for Digital Communications was funded from January 2010 to January 2012. Has promoted this technology in his 2011 TED Global talk and helped start a company to market it.[5] PureVLC is an original equipment manufacturer (OEM) firm set up to commercialize 
Li-Fi products for integration with existing LED-lighting systems.
In October 2011, companies and industry groups formed the Li-Fi Consortium, to promote high-speed optical wireless systems and to overcome the limited amount of radio-based wireless spectrum available by exploiting a completely different part of the electromagnetic spectrum.A number of companies offer uni-directional VLC products.
VLC technology was exhibited in 2012 using Li-Fi. By August 2013, data rates of over 1.6 Gbps were demonstrated over a single color LED.[10] In September 2013, a press release said that Li-Fi, or VLC systems in general, do not require line-of-sight conditions.[11] In October 2013, it was reported Chinese manufacturers were working on Li-Fi development kits.
VLC communication is modeled after communication protocols established by the IEEE 802 workgroup. This standard defines the physical layer (PHY) and media access control (MAC) layer. The standard is able to deliver enough data rates to transmit audio, video and multimedia services. It takes count of the optical transmission mobility, its compatibility with artificial lighting present in infrastructures, the defiance which may be caused by interference generated by the ambient lighting. The MAC layer allows to use the link with the other layers like the TCP/IP protocol.
The standard defines three PHY layers with different rates:
  • The PHY I was established for outdoor application and works from 11.67 kbit/s to 267.6 kbit/s.
  • The PHY II layer allows to reach data rates from 1.25 Mbit/s to 96 Mbit/s.
  • The PHY III is used for many emissions sources with a particular modulation method called color shift keying (CSK). PHY III can deliver rates from 12 Mbit/s to 96 Mbit/s.
The modulations formats preconized for PHY I and PHY II are the coding on-off keying (OOK) and variable pulse position modulation (VPPM). The Manchester coding used for the PHY I and PHY II layers include the clock inside the transmitted data by representing a logic 0 with an OOK symbol "01" and a logic 1 with an OOK symbol "10", all with a DC component. The DC component avoids the light extinction in case of an extended line of logic 0.
Optical orthogonal frequency-division multiplexing (O-OFDM) modulation methods were modeled for data rates, multiple-access and energy efficiency.


Sunday, 21 July 2013

How to Subtitle Your Videos

How to Subtitle Your Videos

So you remove your DVD remotes, put in City of God DivX CD that you have illegally downloaded/ripped, and voila! No subtitles. You won’t understand even the swear words, so what’s the point? In India, we make movies in a zillion languages, yet good films are few and far between. We also have homegrown videos, where intelligibility of speech and vision is a debatable issue. So subtitles are a part of your DVD architecture that can make life a lot easier.

No worries, here are some tips for retrieving subtitles from the net, adding your own subs, changing their colour etc. I've added pointers on how to resync your subtitles if they go out of sync, as that also happens a lot, yielding funny lip movements. On a frank and serious note, these issues never arise in an original DVD or official download, and it actually is less stressful watching good ol’ box packs. But for anti-DRM folks out there, there's more...

Subtitle Resources

Resources for Subtitles
The first and best way to get your subtitles is to rip it out of the DVD. Let's run through the process. There are quite a few methods and softwares that do it, but I go by the following process. First get yourself VobSub from here. This is a free subtitle filtering utility that works on the Directshow environment. The files associated with it are .sub and .idx. There are other types of subtitle files; we will encounter them as we go along. VobSub is important as it is anyway needed to play subtitles for any AVI file in software media players, provided the .sub and .idx file are in the same directory as the movie, and with the same name.

DirectVobSub

Another option is to get SubRip from here. This essentially creates text files though the .srt extension. To create your own subtitles, the best software is a spanking new one called Aegisub, so grab it here. There used to be the famous Substation Alpha software, which is not being updated anymore, though it deserves a mention in any subtitle article. The file type it generates is .ssa (again a text), and the mentioned Aegisub supports it. Further, .srt files and many others are also supported. The last, and easiest, thing you can do is download .srt or .sub files from the Internet.

Aegisub

Adding Subtitles
There are two types of 'subbing': hard and soft. Which do you need? Wait, before that, what do they mean? Hard subbing means permanently adding the subs to your video (it will be in the pixels), whereas soft subbing lets you view the video with separate subtitles files being called by the codec, mainly in MPEG 4 part 2 and part 10 file types like DivX, Xvid, and H.264. But, if your DVD player doesn’t support DivX and you have only a VCD option, hard subbing is mandatory. Soft subbing is actually a misnomer; you have to just download the subtitle file, install Vobsub, place the file in the same directory, and watch the clip on something as generic as Windows Media Player. Don’t forget to rename the file to the movie’s name. Even if you create your own subs with Aegisub, you can export and save as normal .sub or .srt subtitle files and view them. Aegisub can be used to do timing and resynching edits, adjust frames per title, adjust colors of the subtitle, and every other small whim. The learning curve is quite flat, too.

VirtualDub

Hard subbing
This is the fun and involving part, though not that tough to execute. I use VirtualDub; you can get it here. It's probably the best AVI tool available. Install VirtualDub with all the plugin options; you are required to do this in the option provided while installation wizard. The main file we will need is actually from VobSub installation, namely called text sub, and it shows up as an option while running the wizard.

Once this is done, it's very easy. All you need is the sub file (placed in a folder you can remember). Then open VirtualDub, get in your video, go to filter (Ctrl+F), and add the text sub-filter. The plugin will open and ask for the subtitle file (.srt), so browse and locate it. That’s all. Preview once and render. It could take a while.

The end result after incorporating subtitles in videos

Conclusion
There are other means, but they are lengthier and require more plugins and steps. This gets the job done, and is practical. So, to sum up, you need to either download the files from the net, or create your own, then it’s up to you whether you want to hard sub or soft sub. Last but not least, do respect the developers of the software!

How to Make Animated GIFs from Videos

How to Make Animated GIFs from Videos
I'm sure we've all had our days when we visit a particular website or forum and go green in envy when we see posts or users with fancy animated GIFs ripped from a video. If you ever wished you wanted to learn how to create those GIFs, you've come to the right place.

In this tutorial, I'll explain the process of making an animated GIF from a particular scene in a video. It's not as hard as most people imagine it to be, so I'm sure by the time you're through reading this, you'll be able to whip out those GIFs at anytime of your choosing too. 

What you will need?
A software that will extract frames from a video, like VirtualDub or KMPlayer, and an image editing software that will put it together. For this tutorial, I'll be using KMPlayer and Photoshop (any Photoshop that comes without Image Ready will do - basically CS3 and above). You can also use free GIF makers like Beneton Movie GIF, but Photoshop usually gives out the best quality so that's what I use.

That's the video I'll be using, the Final Fantasy Versus XIII trailer that was shown at Square Enix's Production One press conference, earlier this month. Anyway, let's get a move on.

Frame Extraction
Play the video in KMPlayer and pause it a couple of seconds before the scene you want a GIF of starts. Once you've done that, right click on the video and go to Capture -> Frame Extract. You can also hit Ctrl + G on the keyboard if that's what you want.


Step One: Here we go

You'll be greeted by a window with a few options. The image below shows the optimum settings for a good quality GIF that's doesn't have too big a filesize. If you're planning on making a shorter GIF that needs to be very smooth, you can lower the Frames to Extract option to 2 every # frames, but be warned it substantially increases the file size.

 Step Two: Specifying the extraction parameters

Once you're ready to extract the frames, click on Start in the window and then resume the video. It will start extracting the frames according to the parameters you've set and when you've crossed the scene you want as a GIF, stop the video and close the Frame Extraction window. You can even close KMPlayer itself if you want, because its work is done.

Step Three: Deleting unwanted images

There's one little thing left to do though. Earlier, I mentioned that you'd need to pause the video a couple of seconds before the scene you want, so that you inadvertently don't miss a second or two of the video. However, those frames have also been extracted, so browse to the folder you specified and clear out the un-needed frames that were captured from the video.

Important: Make sure you have only the images you want to use in your GIF in that folder - no other files, folders or images.

Image Editing
Now that you're done with that, you need to put it together in a GIF file and that's where Photoshop comes in. So load it up and go to File -> Scripts -> Load Files into Stack.

Step One: Loading Files into a Stack

A window will pop up, asking you what files you want to load into the stack. Click on the drop down box and select the folder (very important), then browse and select the folder which contains the extracted images. Photoshop will load them and display the file names in the black box below, so make sure the file names are all in there before you click okay.

Step Two: Telling Photoshop where to look

When you hit okay, Photoshop will begin the process of importing all these images as layers in one image file. Wait till it's done - you'll know if you look at the Layer toolbar. Once it's done, make sure the Animation toolbar is shown at the bottom of the screen. If it is not, go to Window and click on Animation. Anyway, you'll see one image in the Animation toolbar and all of them in the layer toolbar. There's a button on the top right of the Animation toolbar, click on it and select Make Frames from Layers. Photoshop will begin filling up the toolbar with all the layers, i.e. all the frames you extracted.

Step Three: Making Frames from Layers

Now all the images are in the animation toolbar and you can even preview your GIF by hitting play. But wait - it will initially play in reverse and at a pace that's much too fast. You'll need to fix that. First, select all the frames in the animation toolbar (click on the first one, then press shift and click on the last one). Then click on that button on the top-right of the toolbar again and click on Reverse Frames. Your images will now be in the right order.

Step Four: Reversing the frames

Now that the images are in the right order, you need to slow them down. All the frames will still be selected, so click on the text that says '0 sec' and on the menu that pops up, click on 0.1 seconds. Tada, your GIF-in-progress now plays in the right order and at the right speed.

Step Five: Slowing it down

We'll now do something known as tweening. If you just keeping playing your GIF on loop, which is what will happen once you put it up online, you'll notice it ends very abruptly and goes back to the beginning. You might get lucky with some GIFs that don't do this, but most of them will, so tweening becomes a very important step - it will add a transition right at the end so the whole thing doesn't seem abrupt.

Step Six: Tweening

Select the last image and look for an icon that looks like a chain link at the bottom of the animation toolbar. Click on it and a window with options will appear.

Step Seven: Tweening Options

In the drop down box, select First Frame and instruct it to add 3 Frames. The other parameters have to be the same as the ones in the above image. When that is done, you'll see three new transition frames at the end.

The next step is to resize the GIF.

Step Eight: Resizing

Click on Image -> Image Size, or hit Alt+Ctrl+I on your keyboard. In the window, make sure Constrain Proportions (so your image doesn't get squashed or skewed) and Resample Image are selected, and then change the height to anything between 150 pixels to 200 pixels. Keep in mind these affect file size majorly, so choose wisely. The longer the GIF, the smaller it needs to be to maintain a decent filesize and vice-versa.

Step Nine: Preparing to add a border

Now we'll need to add in a border to the image. Well, you don't really have to, but I'd recommend it so the image doesn't stick out like a sore thumb wherever you post it. Select the first frame in the animation toolbar, then click on Layer -> New Layer, or hit Shift+Ctrl+N on your keyboard. Make sure it's above the other images in the layer toolbar - it should be right on top.

Step Ten: Time to Stroke

Once the new layer has been added, click on it in the layer toolbar, then click on the image and select it completely by hitting Ctrl+A or going to Select -> Select All. Now go to Edit -> Stroke.
Step Eleven: Stroke Parameters

You'll have to apply strokes a total of three times. First, make a 3 pixel wide stroke in black (should be located on the inside, importantly), then a 2 pixel wide stroke in white and finally a 1 pixel wide stroke in black again. You should now have double borders and a pretty good looking GIF.

The border looks good, doesn't it?

Your GIF should now be ready. Hit play in the animation window to verify, and then go to File -> Save for Web & Devices, or hit Alt+Shift+Ctrl+S (!).

Step Twelve: Saving

The image below will show you the parameters you need to select. If your file's turning out to be too big, you have three recourses - reduce the image size (see Step Eight), reduce the number of colours it uses to 128, or reduce the dither level to 99% (no lower or it'll look extremely pixelated).

Step Thirteen: Save Parameters

Now save your file and voila, your GIF is ready! Now just upload it to any image hosting website like Imageshack or Tinypic and you can now show it off on the Internet. I hope you're now able to make GIFs on your own, and don't worry if it doesn't look too good because practise will make you much better.

In case you're wondering, you can click here to check out the GIF I made.

How to Easily Edit Your Videos at Home

How to Easily Edit Your Videos at Home

With prices of camcorders and digital cameras dropping, you would definitely have one at your disposal. Most entry-level camcorders usually have limited features for shooting videos. The most you can do is adjust the video capture parameters such as white balance and exposure values. When the video is displayed on the screen, you might fi nd it shoddy with insu  cient lighting, incorrect focusing, pale colors and other such issues. Using a simple freeware utility called vReveal, you can give these videos a professional touch with a few clicks. The utility can be used to crop and enhance your videos in minutes. You can download it from www.vreveal.com and install it to your computer.


Step 1: Getting ready
Download the video from your camera to the computer. You can also use existing videos or movies on your PC that need enhancement. Start vReveal, click on the ‘Import’ button and locate the video you wish to edit. The video thumbnail will be shown in the left pane under the ‘Gallery’ section. Double click on the video and it will be automatically sent to the ‘Enhance’ mode.


Step 2: Cropping and rotation
Mark the portion of the video that you wish to crop on the seek bar at the bottom of the video using the mouse (see the selected portion in the adjoining image). You can also rotate the video using the ‘Rotate’ icon located at the bottom.


Step 3: Enhancements
Now that you have selected the portion of video you require, it is time to enhance its quality. From the list of auto enhancement features (icons) on the left pane, select each ne
and notice the e  ect on the video in the work pane. You can either pause the video at a particular scene or play the video in a loop to see a live preview of the enhancement.

A pre-defi ned setting button called ‘One Click Fix’ can apply a bunch of enhancements to your video with a single click. This applies the following enhancements—‘Stabilize’ which removes minor handshakes and tilts, ‘Auto Contrast’ for brightness and contrast levels, ‘Auto White Balance’ for improving the colors and hue, ‘Sharpen’ for sharpening the image, ‘Clean’ to remove fi ne grains that are caused due to low light and finally ‘Deinterlace’ for correcting the interlaced video lines. You can additionally enhance the brightness using the slider in the ‘Fill Light’ option. Alternatively, you can select individual enhancement levels as per your preference.You can compare the output with the original video by clicking on the ‘Compare Original Vs Enhanced’ button at the bottom of the right pane. You can drag the slider on the playback area using the mouse cursor and preview the effect in real time.


Step 4: Fine tune
If you are not satisfied with the preset values, you can make fine adjustments to these enhancement options using the ‘Fine Tune’ mode. In this mode you can manually adjust each parameter using sliders in the respective section. In the ‘Fine Tune’ mode, you can get additional options such as ‘Focus’, ‘Color saturation’ and ‘Glow’.


Step 5: Adding effects
Once you have finished enhancing the video quality, you can add effects or simply finalize your videos and save it. To add effects, move over to the ‘Add Effects’ tab and you shall find six options for adding different effects to the video. These effects are ‘Black and White’, ‘Sepia’, Vivid Colors’, ‘Glow’, ‘Grain’, and ‘Vintage’.  These effects can also be fine-tuned in the ‘Fine Tune’ section.


Step 6: Finalizing
Now that your video looks good, playback the video to ensure the quality and effects are to your liking. If you find anything amiss, go back and redo the necessary steps. Once done, your video is ready to be finalized. You can either save the video on your system which can be later burned to a video disc or transcoded for your multimedia phone / portable media player or simply uploaded to your Facebook account or shared on YouTube—the software automatically sets the encoding parameters. To save it to your PC, click the ‘Computer’ icon and select the resolution and format of the output video file.

The ‘Advanced’ option allows you to choose the destination and quality of the video file. You can save it in the original resolution or upscale the resolution to 720p or 1080p and also set the video format (WMV or DivX). Once done, hit the ‘Save’ button and your video will be ready at the specifi ed destination in sometime. vReveal is a free utility designed for amateur videographers and is developed by ‘MotionDSP’. The software can harness the power of CUDA-enabled graphics cards by Nvidia and process videos five times faster. For this you need an Nvidia GeForce 8-series or better graphics card installed in your PC. The minimum requirements for running the application is a dual-core processor (Intel or AMD), 2 GB of RAM and Windows XP operating system.

However, you will get quicker results with a quad-core processor, 4 GB of RAM and Windows 7. For processing HD 1080p videos, the developer suggests an Nvidia 400-series graphics card with at least 512 MB of video memory. The free version is available for basic use and the Premium version is available for USD 39 (approx Rs 2,000) which enables features such as ‘Vintage’ and ‘Clean’ e  ects and the ability to process 720p and 1080p videos.

How to Add or remove apps from a custom ROM




How to: Add or remove apps from a custom ROM

The stock ROM installed on Android phones available today is filled with bloatware and in order to remove these apps, you need to root the phone, and install a root enabled file explorer. Enthusiasts love to try on custom ROMs on a regular basis to experience the tweaks and customisations added to the stock ROM by the developer. However, at times the developer also adds some unwanted apps to his ROM. For example, I prefer to use my own selected file explorer, home launcher, wallpapers and a few other necessary apps. Alongside, apps that are meant for my daily use need to be installed after that. Flashing a custom ROM, and then installing the necessary apps (either from the SD card or from the Play Store) all over again, takes up a lot of time. So why not have the favourite apps you always use, already present inside the ROM while flashing it?

Well, to answer this, “_Logie”, a developer on XDA, came up with a simple and powerful utility which has the ability to insert and remove apps into a custom ROM (.zip file) and recompile it. This new refreshed ROM can then be flashed to your phone with all unwanted apps removed and your preferred apps inside it. This saves time reinstalling your apps after you flash the custom ROM. The utility is named APK Swapper and all it does is help swap existing apps with new desired ones and rebuild the ROM, ready to be flashed. The utility is presently in its beta stage (Beta 11) and works on custom ROMs only. Stock ROMs and a few other custom ROMs won’t work (for now at least). So if it works for your handset, it is worth using it. Using this utility, you can get rid of unwanted apps, wallpapers, ringtones and insert your own favourite apps. Here is a step-by-step method to show you how to use it.

Requirements
1. Download the APK Swapper utility from here and unzip it to a folder on your desktop.
2. Download your custom ROM (or if you already have one) and place it on your desktop.
3. Keep your .apk (apps) files ready to insert them into your ROM.

Load your custom ROM and let the utility extract the files
Load your custom ROM and let the utility extract the files
  
Step 1: Start up the utility. Now drag and drop your custom ROM (.zip file) on the blue bar (on the top) in the utility’s window. The utility will highlight the progress in the bottom window once the file is dropped. You will notice that 7Zip (the archiving utility) will automatically extract the ROM’s contents into a temporary folder.

Remove or add apps according o your preference
Remove or add apps according o your preference

Step 2: Once all the files are extracted, you will see a list of all the apps inside the ROM in the centre window of the utility. These are the apps present inside the ROM. All you need to do is select the app you want to remove, right-click on it and from the context menu choose ‘Delete .APK’ under ‘.APK Options’. Using the same method, keep uninstalling the apps you don’t want. Using the same method you can insert your own apps into the ROM. To do this, right-click on any existing app, and from the context menu choose ‘Inject new .APK’ under ‘.APK Options’. Then browse to the location where you have stored the apps to be installed into the ROM and choose the files one by one or multiple files using the ‘Shift’ or ‘Control’ button. Note: Make sure you do not delete apps that you are not sure of. You might accidentally delete a system app or an important app and the final ROM will either crash or behave erratic. If you made an error, simply delete the ‘Temp’ folder inside the utility’s folder and start all over again.

Once everything is done, simply compile the new ROM
Once everything is done, simply compile the new ROM
  
Step 3: Once you are satisfied with removing unwanted apps and inserting the wanted ones, the new, refreshed ROM needs to be compiled into a .zip file back again. Once again, right-click on any app and click on ‘Compile New .ZIP ROM File’ under ‘.zip Options’. Now the utility will ask you to give the new ROM file a name and the destination where it should be created. Give in the required name and hit the ‘Save’ button. The new ROM will be recompiled as a new name in the destination folder you entered. You will see a message informing you that it will take a while to do so. The time taken to recompile the new ROM will depend on the size of the ROM and the speed of your PC. Once the compilation is finished, you will receive a dialogue box confirming the same. You can now try out your new ROM on your Android handset.

Give in a new name and destination for the ROM.
Give in a new name and destination for the ROM.

Note: Flashing an altered ROM can brick your phone. This utility, as we mentioned earlier, is in a beta phase and the developer is making all possible changes with the help of testers and users from all over the globe. When you are using this app, make sure you read all the pros and cons of the utility and use the latest version. We, and the developer of the utility, are not responsible for any damage to your phone by using this utility. Do this entirely at your own risk.




Thursday, 20 June 2013

Puran Utilities

Puran Defrag
A set of more than 20 software utilities including but not limited to utilities that can help you get the best performance out of your computer. It also provides an automatic and a one click solution to keep your computer clean and error free.

Disk CheckHelps you to fix errors, recover bad sectors on your hard disk using chkdsk.
 UninstallerHelps you to uninstall software that you do not need and also software that you are not able to uninstall otherwise.
 Puran Startup ManagerHelps you to enable/disable Windows startup items. It assists your decision in various forms.
 Puran Service ManagerHelps you to enable/disable Windows services. It assists your decision in various forms.
 Puran Disk CleanerHelps you to find and delete junk files from your computer. It is highly customizable too.
 Puran Delete Empty FoldersHelps you to delete empty folders from your system. It is extremely fast.
 Fix ShortcutsHelps you to automatically fix or delete broken shortcuts.
 Puran Registry CleanerHelps you to clean Windows registry for better performance.
 Puran Registry DefragHelps you to defrag and compact Windows registry for better performance.
 Puran DefragHelps you to automatically defrag and optimize your hard disk drives.
 Puran Duplicate File FinderHelps you to find duplicate files on your computer. It is highly customizable and extremely fast.
 Data RecoveryHelps you to recover data from your damaged media like scratched DVDs, VCDs, BLU Rays etc.
 Puran File RecoveryHelps you to recover deleted files from your hard disk, pen drive, memory card. Basically any storage medium.
 Disk FilesHelps you to look into details of files distribution on your computer. It is highly customizable.
 Gaming PCHelps you to create a Gaming Environment on your PC to give your games/apps best of your computer.
 Permanent DeleteHelps you to delete your files permanently so that they cannot be recovered by any software.
 Puran Wipe DiskHelps you to wipe entire disk or just free space so that no files on it can be recovered.
 Puran Shutdown TimerHelps you to schedule various shutdown tasks. Many scheduling options are available.
 SplitterHelps you to spilt any file into files of specified size.
 Delete HistoryHelps you to delete history and other data of various applications including web browsers.
 Minimal PCHelps you to close and switch back all the specified services/processes on your computer in a click.
 Batch FixHelps you to automatically keep your system clean and error free by running selected utilities.
 Maintenance WizardHelps you to run selected utilities in a pre-defined order for getting best performance out of your computer.

Compatibility

   Puran Utilities is compatible with Windows XP/2003/Vista/2008/7/8 including 64 bit versions. It provides native support for 64 bit versions. 


 Supports Windows Xp/2003/Vista/2008/7/8
 Native support for 64Bit Windows
 Its Free! 

   Puran Utilities Download