Thursday, June 19, 2014

PowerDirector – Video Editor

PowerDirector – Video Editor
by CyberLink 

Well, this app is one of the best video editor for Android. Most functions are almost the same as PowerDirector PC version. You can add any media files, add effects, etc. This app is almost the same as iMovie (by Apple). In other words, this is the "iMovie for Android". Go try it!

Here is the description:

CyberLink brings the multi-award winning PowerDirector from PC to Android tablets! The most powerful video editor on the market, PowerDirector gives you the power to create amazing, awesome, engaging videos on-the-go. Import and edit videos, add effects and titles, and export HD video directly to Facebook or YouTube.

--- Currently only available for Android 7” tablets and above ---
With PowerDirector’s easy-to-use timeline interface, you can quickly create professional, effect rich videos with just a few swipes of your finger. Selecting and importing multiple videos is easy with PowerDirector’s drag-and-drop support, and the easy-to-view timeline makes it splitting, trimming and adding effects to your videos a breeze.

With PowerDirector on your tablet you can:
★ Have a professional style editor with timeline workspace
★ Drag-and-drop content and effects for quick, easy and accurate editing
★ Add photos and audio tracks to your videos
★ Select from over 20 effects to add to your videos
★ Add over 20 transition effects to your clips
★ Easily save your projects on your device to continue editing later
★ Export your creations to amazing HD 720p or Full HD 1080p*
★ Upload your amazing creations directly to Facebook or YouTube as soon as you’re done
★ Quickly access your saved projects as soon as you launch the app
* 1080p only available with in-app purchase

Android 4.1 (Jellybean) and above
Works best with:
Qualcomm Snapdragon S4 or higher
Samsung Exynos 5xxx or higher
Nvidia Tegra 3 or higher
Mediatek MT8125 or higher
Video: H.263 (.3PG, .MP4), H.264 AVC (.3PG, .MP4, .TS), MPEG-4 SP (.3PG), VP8 (.WEBM, .MKV)
Image: JPEG, GIF, PNG, BMP, WebP

Monday, April 28, 2014

Adjust volume of 16-bits audio buffer

Recently, I found that it is so hard to adjust volume of the audio buffer (yeah... I am new on audio).

In this post, I learned how to adjust volume of 16-bits audio buffer easily.

Here is the code:

private byte[] adjustVolume(byte[] audioSamples, double volume)
    byte[] array = new byte[audioSamples.length];
    for (int i = 0; i < array.length; i+=2) {
        // convert byte pair to short
        short audioSample = (short) ((short) ((audioSamples[i+1] & 0xff) << 8) | (audioSamples[i] & 0xff));

        audioSample = (short) (audioSample * volume);

        // convert back
        array[i] = (byte) audioSample;
        array[i+1] = (byte) (audioSample >> 8);

    return array;

You can see that the code below is storing audiobuffer using "byte" datatype which is 8-bits datatype. Since our audio buffer is 16-buts datatype, you need to convert it into 16-bits datatype (I used "short") by using shift method (you can find another method to do this). And then, you can do what you want using this audio sample. Finally, you need to convert it back from 16-bits (short) audio sample into 8-bits (byte) audio buffer.

Please note that the manipulation is using one audio sample (in here, it is 16-bits audio sample).


Wednesday, March 12, 2014

Stop ‘Trust This Computer’ Message Pop Up

After updating to iOS 7, many Windows users have reported that they are constantly getting the ‘Trust this computer” message pop up even after selecting ‘Trust’ when plugging in their iPhone or iPad. Here is a list of common fixes to resolve this annoying message. The first step you should try is to update your iTunes.

1. Go to Control Panel > Hardware & Sounds > Device Manager
2. Right-click the Apple device > Properties > ‘Hardware’ tab > Properties > ‘Driver’ tab > Update Driver..
3. Search for the driver in “C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers”
4. The driver should be named ‘usbaapl64′

Fix #2
1. Go to Control Panel > Hardware & Sounds > Device Manager
2. Right-click the Apple device > Properties > ‘Hardware’ tab > Properties > ‘Driver’ tab > Disable
3. The pop up should not appear anymore and the device will charge while plugged in

Fix #3
1. Control Panel > Uninstall a Program
2. Select ‘Apple Mobile Device Support’ and hit ‘Repair’

Fix #4
1. Remove all Apple programs from your computer (iTunes, Apple Software Update, Apple Mobile Support, etc.)
2. Restart computer and reinstall the latest version of iTunes

I'm using iPhone 4s with iOS 7.1 and Windows 7 iTunes To work properly between your iOS 7 and iTunes 11 in Windows 7, your drivers must be correct. The correct drivers will look like this: