The situation is like this, I have a bunch of download movie (in .avi format) and .srt (subtitles) files along with all of those movie files. Since I don't have much time to watch the movies in my Mac/ PC or player, I want to keep it in my Palm Pre, so I can play it any moment I have some times (while waiting, perhaps). But since video player in Palm Pre doesn't support displaying .srt file while playing the video files, I have to convert it and hardcoded the .srt file so it could "attach" to the converted video files (.mp4 or .m4v, the same format that can be played in iPhone's or Palm Pre's video player).
Here's what you need:
1. Perian (go here to download and install if you haven't already installed it)
2. Quick Time (already installed in any Mac OS X)
3. .avi and .srt files (of course! :D )
And here's what you've got to do:
1. Install Perian
2. Go to System Preferences, open up the Perian and make sure you check "Load External Subtitles" on Subtitle Options section
3. Launch Quick Time and open up .avi file
4. If it plays well and your subtitle can show up then Perian works well
5. File - Save as.. and you can choose the directory where to save the file and file format
6. I choose iPhone format, so it saved as .m4v file
7. Done :)
Wednesday, June 8, 2011
Monday, June 6, 2011
How To Make Microsoft Office XP & 2003 able to open Microsoft Office 2007 and above File Formats
In order to be able to open Microsoft Office 2007 and above (.docx, .xlsx, .pptx, etc), Microsft Office 2003 and XP (2002) running on Windows XP must do several upgrade and install additional software.
For Microsoft Office XP,
1. You have to make sure that Service Pack 3 is installed, you can download it here
2. Start - Run, then copy - paste this: %programfiles%\Microsoft Office\Office10 and press ENTER
3. Find winword.exe, excel.exe and powerpnt.exe (for Standard version and above), right click on it - properties and click on Version tab
4. Upgrade your Microsoft Word (winword.exe) version to minimum of version 10.0.6804.0, from here
5. Upgrade your Microsoft Excel (excel.exe) version to minimum of version 10.0.6809.0, from here
6. Upgrade your Microsoft PowerPoint (powerpnt.exe) version to minimum of version 10.0.6804.0, from here
7. Download and install Compatibility Pack from here
For Microsoft Office 2003
1. Upgrade to Service Pack 3, download from here
2. Download and install Compatibility Pack from here
That's all you have to do on Windows XP. For any detail information, you can refer here
For Microsoft Office XP,
1. You have to make sure that Service Pack 3 is installed, you can download it here
2. Start - Run, then copy - paste this: %programfiles%\Microsoft Office\Office10 and press ENTER
3. Find winword.exe, excel.exe and powerpnt.exe (for Standard version and above), right click on it - properties and click on Version tab
4. Upgrade your Microsoft Word (winword.exe) version to minimum of version 10.0.6804.0, from here
5. Upgrade your Microsoft Excel (excel.exe) version to minimum of version 10.0.6809.0, from here
6. Upgrade your Microsoft PowerPoint (powerpnt.exe) version to minimum of version 10.0.6804.0, from here
7. Download and install Compatibility Pack from here
For Microsoft Office 2003
1. Upgrade to Service Pack 3, download from here
2. Download and install Compatibility Pack from here
That's all you have to do on Windows XP. For any detail information, you can refer here
Monday, May 30, 2011
Ubuntu Dynamips and Dynagen
Here's how to install Dynamips and Dynagen Cisco Router emulator on Ubuntu:
1. Installation
2. IOS image
Get yourself a Cisco IOS image to use with the emulator. It is a good idea to uncompress the image for better loading
3. Configure telnet client
You can configure your telnet client in /etc/dynagen.ini file, just uncomment this line:
4. Configuration file
You will need a configuration file for your router(s), you can see the example here: /usr/share/doc/dynagen/examples/sample_labs/simple1/simple1.net
The configuration will look like this:
[localhost]
[[7200]]
image = /opt/7200-images/c7200-jk9o3s-mz.124-7a.image
npe = npe-400
ram = 160
[[ROUTER R1]]
s1/0 = R2 s1/0
# No need to specify an adapter here, it is taken care of
# by the interface specification under Router R1
5. Starting Server and Management Console
To start the server
And you can start to console using command:
After that you can refer to this link for further reference.
1. Installation
# sudo apt-get install dynamips dynagen
2. IOS image
Get yourself a Cisco IOS image to use with the emulator. It is a good idea to uncompress the image for better loading
# unzip -p c7200-jk9s.mz.124-13b.bin> c7200-jk9s.mz.124-13b.image
3. Configure telnet client
You can configure your telnet client in /etc/dynagen.ini file, just uncomment this line:
telnet = xterm -T %d -e telnet %h %p > /dev/null 2>&1 &
4. Configuration file
You will need a configuration file for your router(s), you can see the example here: /usr/share/doc/dynagen/examples/sample_labs/simple1/simple1.net
The configuration will look like this:
[localhost]
[[7200]]
image = /opt/7200-images/c7200-jk9o3s-mz.124-7a.image
npe = npe-400
ram = 160
[[ROUTER R1]]
s1/0 = R2 s1/0
# No need to specify an adapter here, it is taken care of
# by the interface specification under Router R1
5. Starting Server and Management Console
To start the server
# dynamips -H 7200 &
And you can start to console using command:
# dynagen /usr/share/doc/dynagen/examples/sample_labs/simple1/simple1.net
After that you can refer to this link for further reference.
Friday, May 27, 2011
Accesing #webOS Device via WiFi using SFTP Client
I'm using this because I'm tired of connecting USB cable everytime I want to copy files between my Palm Pre and my MacBookPro. Actually there's only 5 simple steps to follow:
- Install Preware
- Use Preware to install SFTP and terminal application
- Use terminal application to generate keys for OpenSSH
- Transfer SSH keys to desktop via USB
- Configure SFTP client (I'm using Cyberduck on Mac OS X) on desktop and connect
1. Install Preware
You can see here for complete reference
2. Using Preware to install SFTP and Terminal application
Still, you can refer to previous link for usage guide. FYI, I'm using SDL Terminal, other options is Terminal and Terminus
3. Use terminal application to generate keys for openSSH
I just did these steps:
# cd /
# /opt/bin/ssh-keygen (press Enter key once to accept default filename, then Enter key twice for blank password)
# mv /home/root/.ssh/id_rsa.pub /home/root/.ssh/authorized_keys
Or you can read from wiki here
4. Transfer SSH keys to desktop via USB
First, run this command:
# mv /home/root/.ssh/id_rsa /media/internal/
Then connect your Pre to your desktop station via USB cable, and put it in Drive mode. Copy and save id_rsa file you've just copied to any safe place in your desktop station
5. Configure SFTP client on desktop and connect
First,you need to know your IP address on your Pre. Open Wifi and tap on current Wifi connection (SSID) to view the IP address.
Then, open your SFTP client. Since I'm using Cyberduck, for now I'm just explaining about how to use it on Cyberduck only. But, actually the steps are very similar on any SFTP client.
1. Click on Open Connection
2. Choose SFTP (SSH File Transfer Protocol).
3. Fill in username: root
4. Leave the password blank
5. More options -> check "Use Public Key Autentication"
6. Click Connect
Just wait and see :D
Subscribe to:
Posts (Atom)
