sabato 20 novembre 2010

HTC Legend, converting a movie in a playable format with AVIdemux

HTC Legend' s default media player supports a limited set of formats and containers:

HTC Legend
Audio supported formats: Video supported formats:
Playback: .aac, .amr, .ogg, .m4a, .mid, .mp3, .wav, .wma     Playback: .3gp, .3g2, .mp4, .wmv
Recording: .amr Recording: .3gp   

Installing arcMedia video player (it is free and is available from Market) is the quickest way to play AVI or MKV's videos but decoding high-res DivXs is an hard task for your beloved Legend.
In order to achive a smooth playback you should try this:
  • Convert the movie into a format suitable by default player (it looks very optimized)
  • Reduce the movie's resolution
You need a video editor and I suggest AVidemux because it makes the job done, it is simple and is multi platform (Windows/Linux both).You should perform these operations:
  1. Install and execute AVIDemux video editor on your PC
  2. Click on File menu
  3. Click Open and select the original movie file
  4. Set MP4 as the Video Format for the output container (main window, at the bottom)
  5. Change the Video codec option from Copy  to MPEG4-ASP (I prefer lavc codec)
  6. Click into the video configuration options (configure, the button beneath)
  7. Change "Enconding Mode" to "Constant bitrate" and set a 250Kbps target bitrate.
  8. Click OK to close video configuration window
  9. Click into the video filter options (the button beneath)
  10. Add a Transformation->Resize filter by double clicking on it
  11. Set a resolution which doesn't exceed the Legend screen  resolution(480x320)
  12. Click OK twice in order to close the filter's window
  13. Change the Audio codec option from Copy to AAC (faac) 
  14. Click into the audio filter options (configure, the button beneath)
  15. Set audio bitrate to 128Kbps bitrate.
  16. Click OK to close video configuration window.
  17. Click on File menu
  18. Save the destination file with a desired name (starts video conversion)
  19. Connect the phone to your PC as an USB storage device
  20. Copy the movie to the Video folder of your mobile device
  21. Unmount the phone USB Storage
The movie's conversion usually takes 20 minutes on modern hardware and the obtained file is about 300MBytes for 2 hour video; it fits comfortably into your SD and is compatible with the efficient default video player.

4) container changed to MP4
11) Resize filter's panel

16) Al settings are done.. ready to start conversion!!




Suggestions

In case movie's audio volume is low, I suggest setting the automated gain inside the audio filters panel. This will amplify the movie's sound.
My Android's phone performing "How To Murder Your Wife", you should see it!!
Perhaps this guide is useful for other old Android phones but you have to check for your phone's resolution and supported codec/containers and adapt this guide a bit(or you can simply try).

Have fun ;-)

P.s: I know.. my english sucks. I'm sorry.