yashsingh1/xdaforums huggingface dataset:
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] hypersonicx:
For Best Results

800 x 480 @ 25 frames per sec @ 3000kbps @ 128kbps Stereo Audio @ h264 MP4

Use Pan/Scan to remove the black bars and to make all videos fit the screen exact.

I use AimerSoft Video Converter

800x480 is the Native Res of the phone. 3000kbps to ensure you getting the best picture quality. 25fps for smooth playback. PAN/Scan will remove all black bars and will fit the video screen exactly on the HD2.

That is the best video quality you can get on the HD2. These same specs were also already stated previously.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Gagaras:
Thanks for the information guys !! ;)

Xmedia recode seems great.. (A new version 2.2.4.4 is out now)

Has anyone figured the best settings for hd2 ?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] ddgarcia05:
Is xmedia suppose to take 4 hours to encode a 899mb avi file to MP4 H262? Movies two hours long. I'm contemplating if it's even worth the time.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] me:
Regarding 800x450

DVD video is 720x480 resolution. Doesn't make any sense to upconvert. The quality will not get any better, but the file size will get larger.

Leave the width resolution at 720, with the height variable according to the AR.

Now if the original video is HD, with 1280 width, then it makes sense to downconvert that to 800.

I recommend an excellent freeware program for encoding mp4, called Handbrake. You can find it at www.handbrake.fr
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] nripin:
I tried the settings given @ begining of post and saw a/v lag in the encoded video so tonight i will try the AVC thingy and N1 encoding settings.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] nripin:
Any video converter with N1 settings or even Desire settings Seem better to me !!
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] rysky007:
Hey can you help me out , for some reason no matter what i try or which version of Xmedia the "encode" button is not able to be pressed. Any specific trick? I select the file to convert, then Profile options, destination folder. then nothing, cannot click Encode.

Thank you.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] tmknight:
Using MediaCoder x64 with these settings (except using 800*480 resize) on MKV and AVI with good success. Cheers for the info.

Though, can't figure out how to control subtitles - specifically to turn them off when not needed. Setting subtitle mode to disabled seems to have no affect, at least with my MKV with embedded subs. Thoughts?

Cheers
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] COD3THR33:
It's because of the copy right protection on the source. I use a program call AnyDVD from Slysoft. It runs in the background. Simply start AnyDVD then put the dvd in and then set up your preferences in Xmedia.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] xaeroevo:
hey man.

i use Ripbot264, its a freeware available on doom9 forums and videohelp.com

settings/mediainfo are as follows:

i find that using windows media player, baseline 3.0 works best. anything higher will make it lag alittle when you fastfoward(tap) through the video.

btw, ripbot264 uses x264 to encode your videos. its pretty fast on my centrino 2 laptop, depending on your input. for this case, 1080p to hd2 compatible took me roughly 10mins.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] pareshvideo:
nice post.....................................................
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] addicus:
Great to know about ripbot264 working so fast. I'll try it. Thanks.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] sk8rocker:
do you have a link to download MediaCoder?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] addicus:
google is your friend:

http://www.mediacoderhq.com/
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] anhyeuemmaimai:
currently use My DVD version 8 and it encodes using generic MP4 @ 1.5mps using standeard settings for video and 128kps stereo audio. sofware auto crops the video to remove black bars
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] davidjanda:
awesome stuff
[HD2 General] godsafk:
Hello Everyone,

After much testing/researching, I have finally found the best solution to encode .MKV files to .MP4 for flawless playback on the HD2 using MediaCoder. I have tried many of the other methods and settings provided by others on this forum and many of them were good, but simply took too long or sometimes caused choppy playback on the HD2.

Note: These settings will work for any video files, I just happen to use .MKV for their quality.

MediaCoder Settings:

Format: H.264

Mode: Average bitrate @ 1200Kbps

x264 Profile: Baseline

Audio encoder: FAAC

Audio Format: LC-AAC

Audio mode: Average bitrate @128Kbps

Container: MP4

Resize: 800x450

Aspect ratio: Set PAR 1:1

With these settings I have tested 12 different files ranging from 500MB-1.8GB in size(720p quality) and the largest took 34 minutes on my dual core CPU (intel i5). First tried playing the files with HTC Album player and CorePlayer and the results weren't very good and they included a lot of choppiness. After reading some others success with WMP, I decided to give it a shot and I was pleasantly surprised to find that it played the .MP4 files beautifully and without a single hiccup.

Some of you may already have solutions for encoding videos for playback on the HD2, but I have found these settings to be perfect for anyone who wants to encode HD .MKV files.

I want to thank everyone who has contributed to finding the best method of converting/encoding files for playback, but I can honestly say these settings will give you amazing quality and smooth playback, even in the most intense action scenes. Give it a try! :cool:
[HD2 General] addicus:
Thank you very much as this was one of my next endeavors to work on and you just saved me tons of time!
[HD2 General] godsafk:
Not a problem, I honestly spent hours upon hours encoding with different settings and players to get it to run smoothly. One thing I haven't tried though is encoding 1080p files. If you do, let me know how they run!
[HD2 General] addicus:
Sure will - I have very few 1080 files to try right now (may be 1 or 2).
[HD2 General] daveknights:
+1

Someone should sticky this, perfect playback on my HD2 with these settings!
[HD2 General] simeezee:
Thank you so much.
[HD2 General] doppenberg:
Just saved me a ton of time figuring this out. Used for a couple of videos and they play great. Thanks :D
[HD2 General] addicus:
The only change I made is resizing to 800x480. Flawless playback.
[HD2 General] godsafk:
Good to hear, glad to hear it worked out just fine for you!
[HD2 General] Shushunmire:
Thanks a ton! ^_^ Perfect quality and playback on my HD2!

Much appreciated.
[HD2 General] Toss3:
Those settings have been available for a long time in another thread:

http://xdaforums.com/showthread.php?t=582122

and here

No need for another. :)
[HD2 General] godsafk:
Tried these settings and although they were good, took about an hour to encode, longer than the length of the video in the first place. The settings I posted are to encode video files quicker, and with MediaCoder and not TMPGEnc.XPress.

Different settings, different program :D
[HD2 General] Shasarak:
Those bit-rates seem awfully low to me, especially if you're not using CABAC. Do you not get better results with bit-rates >2000kb/s?
[HD2 General] Toss3:
There's also a different thread for video encoders, but too lazy to look it up. :) Guess it's better to have a new thread every now and then instead of having 50 new "How do I get my HD2 to play videos smoothly?" threads show up every other week.

My encodes take about 5-10minutes tops. Only when doing a 2 pass encode does it take longer and there's really no point in doing those anymore unless you aim for a specific file size. :)

Might as well post the settings for the T-Mobile Transformers movies here(courtesy of xeebot):
[HD2 General] Toss3:
No point in going beyond 2000Kbps as you won't see the difference and the files becomes too big.

Using a crf value of 21 usually results in a bitrate of around 1000-1500kbps.
[HD2 General] godsafk:
What exact settings are you using to encode files in 5-10 minutes? Also, what are the file sizes? I am all for learning new ways to do things, I would love to be able to encode in that short amount of time. Let me know!
[HD2 General] Toss3:
Depends on the source and of course encoding settings. I usually do a basic L3.0@Baseline Encode with --crf 23 and --ref 1(no weighted B-frames and no I-frames) for TV shows and L.30@Baseline --crf 21 --ref 2 for movies. :) I also use lanczos4 to downscale to 800 x XXX.

Encoding also relies pretty heavily on the hardware involved so the better the hardware the faster the encoding speed. Currently running my i7 at 4Ghz and cpu utilization is 100%(for all eight threads). The software also makes quite a difference and I noticed that MeGui was the fastest encoder of the ones I tried(and it's pretty easy to use).
[HD2 General] godsafk:
Sure thing i'll try that out. I'm running an i5 at 2.2 GHz and many of the other encoding methods took ages to run at 100% CPU usage (2 pass). Thanks for the info, I love learning new and more efficient ways of doing things!
[HD2 General] Toss3:
2 pass and constant quality use the same algorithm so the quality is exactly the same. :)
[HD2 General] Freedem78:
How do I get .avi files to play in my HD2

What converter program should I use or are you all using? Any good free ones?
[Hero CDMA General] prateekandroid:
Stock Android currently doesn't support Sanskrit/Hindi (Devnagri lipi Character Set). I see Square boxes like ☐ instead of characters अ आ इ ई उ ऊ on Unicode or UTF8 compliant Hindi websites. Even Google Hindi website doesnt open properly through my HTC Hero's stock Android 1.5 browser or any other browser like Dolphin, etc.

Has anyone figured out how to support Non-English fonts like Devnagri lipi (Sanskrit/Hindi) fonts in Android OS? I want to change my default font to see Devnagri numerals: ०,१,२,३,४,५,६,७,८,९ instead of Roman numerals: 0,1,2,3,4,5,6,7,8,9. I want my clock to use Devnagri numerals instead of Roman numerals.

Can someone please help?
[Hero CDMA General] pseudoremora:
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.

If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.

Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
[Hero CDMA General] prateekandroid:
Thank you for a prompt reply. The website you suggested is very helpful and I think Mangal or Arial Unicode MS are the best bet. It took me a while to find these fonts, sorry for a little late response.

Unfortunately, I could only find Mangal.ttf (201 KB) & ArialUni.ttf (22 MB) but not their respective "-Bold.ttf" fonts as you mentioned.

I can use Mangal.ttf in MS Office 2007 to write in Sanskrit/Hindi and it lets me format the text (bold, italics, resize, etc.).

Would it be enough to push this one font? Since Mangal-Bold.ttf is not available specifically.

Also, does pushing a font to ADB means that it overwrites the new font over the existing font in Android? Since we'll be renaming new font to already existing DroidSans.ttf. Or does it merge the two fonts?

I have attached Mangal.ttf (in a zip) to this post since that has a smaller size (201 KB) than ArialUni.ttf (22 MB). Would really appreciate if you could please create an Update.zip with proper files?

Thanks for your help!
[Hero CDMA General] pseudoremora:
It's fine that you only found the regular font without it's bold counterpart. What can be done is that we'll use Mangal.ttf twice and rename it Droid-Sans.ttf as well as Droid-Sans-Bold.ttf. The system will accept it, though if you can find a font with both the regular and bold files, that would be nice.

Also, when you adb push the new renamed fonts into the /system/font folder -- they will indeed overwrite the previous fonts that were there. They will NOT be merged.

In anycase, I've created an update.zip file for you to flash. Tell me what happens.
[Hero CDMA General] prateekandroid:
Thank you for the file pseudoremora. Really appreciate it.

So if these new fonts will overwrite the previous fonts, I hope I don't loose my current stock fonts & style. Just for knowledge purposes; Did you manually merge "Mangal" font into stock fonts?

As far as I know, I would need to root my phone for flashing this file. I have never done it before. But I found steps for it on Unlockr (don't know if I can mention other websites on this forum). I am mentioning the steps below for other people's references, assuming these haven't changed:

1. Download the following file and then unzip it.

AsRoot2

2. Take the unzipped file and save it into the Tools folder of your AndroidSDK.

3. Plug your phone in via USB and do NOT mount the SD card.

4. Open the Command Prompt and type the following (hitting enter at the end of every line):

cd\
cd AndroidSDK\Tools\
adb devices

And make sure your phone’s serial number pops up (if not setup ADB & USB drivers).

5. Then type:

adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh

6. Then type:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su

Although, I don't know how to unroot the phone after rooting it.

pseudoremora, I have been searching for steps on how to flash a file like "Mangal_font-signed.zip". But since "flash" is such a term that most search results are for Adobe Flash. Do you know any place with step by step instructions to do it for Sprint HTC Hero?

Also, if these fonts don't work. How do I go back to stock condition? Do I need to take some backup?

Thanks for your help.
[Hero CDMA General] pseudoremora:
You should have rooted first before thinking about anything else, but that's alright. Also, I did NOT "merge" the fonts... you can't do that. I overwrote the previous font with the Mangal one. Even if you flash a new font, getting the stock font back on is just as easy as adding a different one.

Before we go any further, its imperative that you root your phone and understand the in's and out's of flashing, using command prompt, and the installing recovery image. Also, you do own a CDMA Hero, for the Sprint network, correct?

All of the information you are trying to find can be found right HERE on XDA. The link will provide step-by-step guides that will walk you through everything you are trying to learn. I would advise reading them, following the steps the best you can, and then asking questions when you get stuck.

I can give the answers, however... with anything new, it's always best to let ones own curiosity invoke the learning process. Myself and others here are more than knowledgeable to help you any way, but even a beginner is capable of rooting there own phone.

Upon rooting your phone and installing a recovery image, you will have the option to backup your phone and ALL its data. Secondly, if for some reason, you do in fact mess up and get to a point where you would like to start from the beginning (Go back to Stock), there is also an application for that.

So, for the time being -- don't worry about backing up your phone or even going back to stock, you need to focus on rooting your phone, installing a recovery image, making your first Nandroid backup, and then hopefully installing your first user created ROM.

As always, I'm here to help. Oh, one more thing... before you ask me, try to search the CDMA Hero threads, you'll more than likely find your answer. Otherwise, you can ask.
[Hero CDMA General] prateekandroid:
Thanks pseudoremora. Will do. :)

In case of an issue, I may have to bug you again.

PS: Yes, I do have CDMA Sprint HTC Hero with Google written on its back cover
[Hero CDMA General] pseudoremora:
Hope my last post didn't come as asshole-ish. That wasn't my intention. I'm just trying to get you in the mindset to always think about searching for the answer(s), before I step in and give them to you.

Also, you're not bugging me at all, I'm more than happy to help.

Good luck!:)
[Hero CDMA General] prateekandroid:
Na dude. You're fine.

So I am now rooted, recovered (v1.6.2), nandroid backed up (stock v1.5) & running DC v2.07.2. I flashed Mangal.zip. Good news is that I can now read Devnagri on Dolphin bowser. Glyphs are messed up. So instead of शिवाय it is showing शविाय. But its Ok, at least its readable. Better than ☐☐☐☐☐. :)

However, the bad news is that English characters are all bigger & spacier than normal. It looks so weird. Will attach a screenshot tomorrow.
[Hero CDMA General] pseudoremora:
Excellent! Seriously, that's amazing that you were able to accomplish everything I stated without having me helping you (not that I wouldn't have), but I'm sure you know that you get a great feeling once you accomplish each one of those things (I know I did when I first did it).

Again, great job!
[Hero CDMA General] prateekandroid:
Dude, I am sorry for being MIA. I have been trying for a few days the merged font that I created using FontLab but it makes English characters so bloated that two lines start overlapping each other. For eg. if you are looking at a specific contact in people App, "Call mobile" text overlaps the cell number right below it.

Wats weird is that FontLab doesn't bloat Devnagri characters but only English characters. I dont know FontLab very well so dont know how to stop it from scaling.

I had to revert to stock font. S**ks!

Do you have any suggestion of some way to merge Stock font with Mangal font?
[Hero CDMA General] pseudoremora:
I've never had to merge any fonts; but then again I've only had to read English. :rolleyes:

I've never worked with Fontlab, so I'm not sure where to even begin. The reason however I think you keep having problems is because maybe the phone isn't understanding how to handle the merged font... so the Devnagri characters are okay, but the English ones aren't scaled correctly because they were merged or merged incorrectly? Again, I don't know, those are just my ideas.

I hate to say it... but it looks like you're either have to bare with it, choose one font or the other, or what I would do is contact HTC and see if they have native font or any font that they could recommend. I'm all out of ideas, so I don't know what to tell you. Sorry.
[Hero CDMA General] sridharrn:
Try this

http://xdaforums.com/showthread.php?t=798380

Replace only Fallback font. Do not touch DroidSans.ttf

Hope it helps
[Hero CDMA General] pdev:
But there are issues in having hindi support in this way.

There is Samsung Galaxy phones with perfect hindi support in 2.1 and 2.2 versions of Android. Is there any way to get the Language pack or Hindi IMI from them. And have heard Android 2.3 has bulit-in Hindi language support. But I don't know how to install it.
[Hero CDMA General] rajhan9412:
Opera mini can read hindi font

Opera mini can read hindi font

click here
[Hero CDMA General] deepee123:
Problem is most of the world has now moved to the unicode fornts from google transliteration which has become defacto standard due to ease of use. If that helps. Any help would really be very useful.
[Touch Pro2, Tilt 2 Windows Mobile General] chieftas:
I'm using HTC TP2, but it's hard to press power on/off button. Now, I want to modify to use another button to power on/off. Please help me to modify it. Thanks!
[Nexus One Q&A, Help & Troubleshooting] fruitsalt:
EDIT: need help trying to get 3g to work again (solved kernel flashing c 3rd post)

Hi !

i am trying to flash the kernel from preshoot, i was able to flash the file in recovery however when i try to push the file using terminal i get an error... i am on a mac and heres what i am doing.

cd "/Applications/android-sdk-mac_86/tools"

./fastboot devices

i get a confirmation that a device is connected.

./adb mount

gives me a long list of what i can do

./adb push bcm4329.ko /system/lib/modules

gives me

* daemon not running. starting it now *

* daemon started successfully *

error: device not found

what am i doing wrong here ... and also i sometimes seems to have no 3g after flashing nextheme and goodies onto cyn 5.0.6, my wifi is runnin fine.

any help would be appreciated.

thanks in advance

EDIT: SOLVED SEE THIRD POST
[Nexus One Q&A, Help & Troubleshooting] christiankk:
device needs to be booted up normally and be in debug mode for adb to work.

to verify that it works, do a "adb devices".
[Nexus One Q&A, Help & Troubleshooting] fruitsalt:
ok thanks ill try that ..

EDIT:

got the above to work :

did the following, if someone needs to know how to ( this is on a mac):

phone on, usb debuggin on:

cd "/Applications/android-sdk-mac_86/tools"

./adb devices to check if device is connected

./adb mount

./adb push bcm4329.ko /system/lib/modules gave error so

./adb remount

./adb push bcm4329.ko /system/lib/modules

and worked ... wifi is working with preshoot 1.13ghz kernel

Stil trying to figure out :

one other issue im having is that all of a sudden i have no 3g/H or any data services on my phone showing up(nexus one att version)... i thought maybe it was 5.0.6 so i reverted back to 5.0.5.3 but still have no data services, i know its not a provider issue as my iphone has 3g right now ... any ideas what this could be or how i can solve it ..

configuration is :

cyng 5.0.3

n1apps

nex2 theme

nex2 goodies

desre notification bar

desire camera ...

other configuration tried:

cyn 5.0.6

with and without n1apps.

tried both the new and 4.0.3.00.2.1_2 baseband ( downloaded from rom/kernel/baseband sticky)

current:

cyn 5.0.6

n1 apps

pershoot 1.13 kernel

baseband 4.0.3.00.2.1_2

EDIT: if i switch it to 2g network i get edge and it works, but once i switch it back the H shows for a while and the uplink arrow turns white but there is no downlink, and after a while the H icon just disappears and there is no edge either.