WinFF is a very nice video converter for Linux and Windows platform. This is just a quick post for those who are getting this error “Unknown encoder ‘libmp3lame'” when trying to convert a video. If you want to explore the tool head over to their website. They also have a very descriptive and well articulated repository of “HOW TO” documentation here.
Installing the libavcodec-extra package resolved the problem for me. Run the following command in Ubuntu terminal:
$ sudo apt-get install ffmpeg libavcodec-extra-52
I use this tool extensively for converting videos to play on my Android devices (Nexus One and Gtablet :))
While going through HTML5 specs, I came across an interesting website called “html5test.com” that you can use to test how well your browser behaves and supports HTML5 specs (I know its still under construction).
Just for fun and curiosity I tried running the various browsers I use frequently on my Android tablet (gtablet) through “html5test.com” and observe how well they behave with HTML5 contents. And below are the screens in their undisputed raw format straight out of my Nexus One camera:
- Stock Android browser (Gingerbread stock): 182 + 1 bonus point
- Dolphin Mini (v2): 182 + 6 bonus points
- Opera Mobile (v11): 234 + 11 bonus points
For the curious ones, Firefox v4 running on my laptop scored 240 + 9 bonus points :).
Please Note: This exercise is in no way indicative of any browser related performance testing or any attempt to prove one browser is better than another. The idea was to run the website through the three browsers I use frequently on my android tablet (gtablet) and publish my findings. I tried being as generous as I could with the browser settings (like enabled everything, always load images, plugins enabled, etc).
A few caveats worth noting:
- Not all the three browsers allow/provide all settings (like could not find any setting for enabling/disabling flash or plugin in Opera Mini)
- Opera has a setting called “Opera Turbo”. I had it turned “OFF” (trying to play fair).
- To know what all features are tested, head over to http://html5test.com
Feel free to post your findings if you are using any other browser. Also I am not sure if these scores (“practically”) will vary for mobiles (vs Tablet).
This is just to put together some of the issues [none of them critical or showstoppers for me] that I found after installing the latest CyanogenMod 6 stable release. But I must say I simply love CyanogenMods. He always takes the Android to new heights raising the bar and expectations of his fan following which is growing exponentially.
Please note that my listing the issues and finding workarounds for some of them is just an attempt to help the new comers come out of their panic state without freaking and waiting for other’s to respond to their queries.
1. Video Recording Setting had certain important settings disabled. Refer the below screenshots. [
Still looking for a solution on this. Found the solution. See the bottom of this post.]
2. Battery started draining like anything as compared to CM R3. [ Calibrating the battery solved my problem]
3. Not able to login into Twitter [Cold booting (shutdown completely and then start) the system a couple of times just worked]
4. Enabling settings for displaying Battery percentage (on Status bar inside battery icon [CyanogenMod settings—> User Interface –> Status bar –> Battery percentage]) did not work. [Cold booting (shutdown completely and then start) the system a couple of times just worked]
5. Though not an issue, but was a kind of irritating for me. LauncherPro was excluded (at least I could not find after the installation) in the final release. [Installed from the Market].
But inspite of all these minor quirks I am loving my Nexus One more than ever 🙂
Thanks to Cyanogen for the awesome work !
[Update]: My bad. There is a “Custom” option under “Video Quality” menu. Selecting Custom option will enable all (and some additional hidden settings) in Video on your device :).
This is a quick post on how to install applications (.apk) on your Android device using the ADB (Android Debugging Bridge) command line utility.
Please note that this post is not intended to be a complete reference (neither a beginner tutorial) on adb. While writing my Android apps I usually have my emulator as well as my Android device (Nexus One) connected to my computer to see how the application layout is coming along. In case of multiple devices connected ( along with the emulator), simply “abd install pathToAPK.apk” will complain you that multiple devices are connected.
ADB provides the below command line option to direct apk to a particular device (emulator or your android device).
First do adb devices to see which all Android devices are connected to your computer.
|C:\ adb devices <Enter>List of devices attached
Now I know which all devices are connected and where I need to direct/send my apk. Use “–s” option to specify the serial number (the first column in above output) of the device (unique identifier of each device) and “-r” option to reinstall (ignore –r if you are doing a fresh install of the application on the device)
|adb -s 192.168.1.117:5555 install -r application.apk <Enter>
Hope this helps somebody like me 🙂
Keep coding for the cute little Android…!
Tip: Check out adbWireless app on Android Market for wireless and hasslefree connection to your device.
The steps to setup VNC server on Ubuntu desktop/laptop going to be exactly the same as my last post on the similar topic for IPhone (instead of NexusOne).
I will start directly from the step to install VNC client on NexusOne device (which is different for IPhone)
Step II: Setup VNC in NexusOne (though the steps should be pretty much the same for any mobile/system):
- Install a VNC client from the Android Market. I use “androidVNC” because of its simplicity, ease of configuration and its free.
- Run the NexusOne application and follow the instructions to connect your NexusOne VNC client with the Ubuntu VNC server. Use command ifconfig to get the VNC Server IP on Ubuntu machine. Use 5900 as the default port. Enter the same password as setup in Step 2 in the previous post while installing VNC server on Ubuntu machine.
That’s it. Enjoy controlling your Ubuntu system remotely through your smart phone. Though androidVNC client is not as advanced and elegant as its counterpart apps on IPhone, but it does the work. I have not tested the other free VNC clients for Android. Give them a try and see if they provide you a complete control of the remote Ubuntu system.
I found the following limitations with this (androidVNC) VNC client:
- It does not support pinch in/out for zooming in and out of the remote screen and dragging the screen too frequently is a bit irritating.
- Even at full resolution setting for remote desktop on the VNC client, the resolution of the remote system was not as descent as IPhone client delivers.
Please drop comments and your experiences with other VNC clients that you ever try out.
Below are some screenshots previewing the same. I have also created the below video for a quick demo [I apologize for the poor quality of the video because of low light conditions].