Pham Ngoc Hai personal web site

Syndicate

Misc
MP4 video encoding for Motorola Xoom
 
Written by Pham Ngoc Hai, on 02-08-2011 07:01

If you try to play those 1080p, 720p mkv files directly in your Xoom, you'll find it very jerky and seeking/skipping takes forever. That's because Xoom only supports base line profile of H264, in order to play those files smoothly, you need to reencode them.

I dont want to install handbrake so what I use is:

ffmpeg -i /path/to/file.mkv -threads 4 -vcodec libx264 -x264opts ref=3:bframes=0:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0:cabac=0:weightp=0 -acodec libfaac -ab 128k -ac 2 -ar 48000 -crf 24 -f mp4 outfile.mp4

Last update: 02-08-2011 07:04

Published in : Computer stuff, Misc
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Motorola Xoom and Adobe Reader
 
Written by Pham Ngoc Hai, on 26-04-2011 07:33

I just got my Motorola Xoom Wifi only a few days ago, one of the reasons that I bought it is because I want to read ebooks (pdf, chm...) on it so I spent a huge amount of time getting Adobe Reader on it. Obviously it's not on the Android market since this is a Honeycomb device, so I tried appbrain, now I can see Adobe Reader but Xoom still refuses to install it. I also tried to install a few free pdf readers but none of them actually shows the pdf nicely. When I almost gave up, I saw that Adobe actully put the Adobe Reader for Android on their FTP server, et voila...

ftp://ftp.adobe.com/pub/adobe/reader/android/10.x/10.0.1/

I downloaded the apk file, do a "adb install AdobeReader.apk"  the next moment I can see my pdfs are nicely displayed on my Xoom :)

Last update: 26-04-2011 07:33

Published in : Computer stuff, Misc
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

Vinaphone MF 190(ZTE) 3G USB device in linux
 
Written by Pham Ngoc Hai, on 17-02-2011 17:59

I was back in Vietnam for the last 3 weeks for my Tet holiday. Back there, my house does not have internet connection, luckily I've got a 3G USB device from my friend, which is  MF 190(ZTE). This device comes from Vinaphone - one of the Mobile phone service providers in Vietnam. As usual, this device does not come with linux driver, but after fighting with it for more than half a day, I was able to get it to work on my Archlinux x86_64 laptop. The reason why it took so long was that the signal at the place (my friend's cafe) was too low, I did not know that until I brought it outside.

All that is needed for the 3G USB  to works under Archlinux is usb_modeswitch (from community repo) and wvdial (from extra repo). After installing them, when you plug it in, you should see a GSM modem in dmesg. The rests are just wvdial configurarion.

Last update: 17-02-2011 18:01

Published in : Computer stuff, Misc
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...

My Computers
 
Written by Pham Ngoc Hai, on 21-06-2009 17:40

My desk
My desk
My desk

Last update: 21-06-2009 17:46

Published in : Computer stuff, Misc
User comments Quote this article in website Favoured Print Send to friend Save this to del.icio.us Related articles Read more...



Search

Calendar

 Jan   February 2012   Mar

SMTWTFS
   1  2  3  4
  5  6  7  8  91011
12131415161718
19202122232425
26272829 
Blog Technology

Random Photos






Donate

Enter Amount:

Sponsored Links

Copyright © 2007 Joomla Templates By Joomladesigns.  Modified By Pham Ngoc Hai