yashsingh1/xdaforums huggingface dataset:
[HD2 General] JohnQ:
hi everybody, ever since i read RacerII's 720p showoff video thread, i found the original helicopter show off video. it's 1080p video can be downloaded on here.

part1.rar

part2.rar

i checked the RacerII's video the resolution is not enough, format settings is not good enough. I believe HD2 can play a further advanced video. so i use TMPGEnc.XPress converter and put up a higher settings for this video. HD2 plays this video very very smooth. you can see the settings below:

[I]D:\Movies\FFOUTPUT\HD2-helicopter-P3@HELO.mp4

General

Complete name : D:\Movies\FFOUTPUT\HD2-helicopter-P3@HELO.mp4

Format : MPEG-4

Format profile : Base Media

Codec ID : isom

File size : 48.7 MiB

Duration : 1mn 41s

Overall bit rate : 4 018 Kbps

Encoded date : UTC 2009-11-08 11:13:13

Tagged date : UTC 2009-11-08 11:13:13

Video #1

ID : 1

Format : AVC

Format/Info : Advanced Video Codec

Format profile : High@L4.0

Format settings, CABAC : No

Format settings, ReFrames : 1 frame

Codec ID : avc1

Codec ID/Info : Advanced Video Coding

Duration : 1mn 41s

Bit rate mode : Variable

Bit rate : 3 890 Kbps

Width : 720 pixels

Height : 480 pixels

Display aspect ratio : 16:9

Frame rate mode : Constant

Frame rate : 29.970 fps

Standard : NTSC

Resolution : 24 bits

Colorimetry : 4:2:0

Scan type : Progressive

Bits/(Pixel*Frame) : 0.376

Stream size : 47.1 MiB (97%)

Language : English

Encoded date : UTC 2009-11-08 11:13:13

Tagged date : UTC 2009-11-08 11:13:13

colour_primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

transfer_characteristics : BT.601-6 525, BT.601-6 625, BT.1358 525, BT.1358 625, BT.1700 NTSC, SMPTE 170M

matrix_coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio #2

ID : 2

Format : AAC

Format/Info : Advanced Audio Codec

Format version : Version 4

Format profile : LC

Format settings, SBR : No

Codec ID : 40

Duration : 1mn 41s

Bit rate mode : Constant

Bit rate : 127 Kbps

Channel(s) : 2 channels

Channel positions : L R

Sampling rate : 44.1 KHz

Resolution : 16 bits

Stream size : 1.54 MiB (3%)

Language : English

Encoded date : UTC 2009-11-08 11:13:13

Tagged date : UTC 2009-11-08 11:13:13[/I]

my moded video DOWNLOAD HERE

guys , strictly speaking, this is only the 480p video, i also believe that this still doesn't reach HD2's playback limit. would you have some ideas/advices,etc. Please post here , we can learn together.

Nov. 11 GMT+8

continuing testing yesterday. use NVIDA Cuda (H.264) to encode my videos. HD2 has the ability of playing 800x480 with bitrate of 3900kbps 30fps(only on small file) it's very smooth, pretty clear. BUT! a complete movie(14gb's 1080p blue-ray ISO movie) will get as large as 2.33GB after the encoded. wmp or htc album won't open it, because its so large file?

Nov. 16 GMT+8

for the settings of the following is very ok to play on htc hd2 (even in large file)

resolution: 800x480

Container: MP4

Codec: H.264, 2-pass

format Profile: HIGH

format Level: 4

Bitrate: 2000kbps-2400kbps

bitrate mode: constant/variable both ok

CABAC: On

scan type: progressive

frame rate: 30fps
[HD2 General] RacerII:
Nice :D , and it already looked very good.
[HD2 General] grandpanda:
This is great news. What software did you use to play this video?
[HD2 General] razorblader:
Hi JohnQ, could you please encode/try a sample with Cabac on, you might have to play it with Coreplayer though as Album or WMP probably can't handle it, it will improve the quality of the video. Coreplayer should be able to play it smoothly, even without hardware acceleration.
[HD2 General] sgsdebruijn:
Dude why quote the whole crap
[HD2 General] JohnQ:
Im using HTC ALBUM or windows media player pocket
[HD2 General] kersh:
From

http://www.mobile-review.com/pda/review/htc-hd2-part1.shtml
[HD2 General] vangrieg:
CorePlayer benchmark was published already. What worries me a bit more is that they claim in that review that the hardware accelerated HTC Album doesn't support .avi, contrary to what xmoo here is saying. :eek:
[HD2 General] JohnQ:
i tried to enble the CABAC, HTC album and wmp performs better, but on core player, its so laggy
[HD2 General] niknik76:
Hi JohnQ, thanks for your test! :)
[HD2 General] manuelcalavera:
why hd2 is so weak in comparison of its competitors ?
[HD2 General] JohnQ:
i dont know . all i could guess is the open gl2.0 issue. but im not sure.
[HD2 General] mrturq:
i converted my MKV 1080p videos to mp4 800x482

i play it in album application

and i watched carlitos way and my bloody valentine on it, not even a little bit of lag on it.

and the details in the video and sound is really great.
[HD2 General] JohnQ:
what is the bitrate/encoder/progressive or not/format profile you are setting?
[HD2 General] razorblader:
Thanks for testing this, that's a disappointment. Did it lag in HTC album and WMP as well, just not as bad as in Core Player or would you say it was basically smooth?
[HD2 General] hassan:
I think we shoulsn't conclude HD2 playback performance by using Core Player, As all of us know Core Player doesn't use hardware graphics acceleration at all.

Only player we have left to use is which ship with device in this case WM Player & HTC Gallery Player.

I'll be getting mine tomorrow, and am going to push the device to its limit.

I remember my old Nokia E90 could play 800X352 with bitrate of 1.9Mbit 23 or 25 fps. Am expexcting HD2 to hit atleast 3.8Mbit on same frame rate.

I always use NVIDA Cuda (H.264) to encode my videos.

I wont be testing 1280X720 videos as deivce can only show up 800X480.

Lets come tomorrow. :D
[HD2 General] JohnQ:
YES, Im testing it on HTC ALBUM/WMP. I already tested yesterday. use NVIDA Cuda (H.264) to encode my videos. HD2 has the ability of playing 800x480 with bitrate of 3900kbps 30fps(only on small file) it's very smooth, pretty clear. BUT! a complete movie(14gb's 1080p blue-ray ISO movie) will get as large as 2.33GB after the encoded. wmp or htc album won't open it, because its so large file?
[HD2 General] razorblader:
JohnQ, the bitrate for 800x480 H.264 on the HD2 can be a lot lower and you will still get excellent quality and much smaller file sizes.

Taking the chance to sound like a broken record, does HTC Album or WMP play a H.264 mp4 with Cabac on and a bitrate of say 1200 kbps smoothly?

Thanks for answering my questions.
[HD2 General] hassan:
Hmm how about if you use SUPER to encode and use DIVX insted of H.264, I mean MP4 as contanir with DIVX codes at same bitrate.

I would try less bitrate if i use H.264 to keep the size small.

Also we have to remember that device has very new firmware.
[HD2 General] kasperknop:
How come you didn't make it 800x480??
[HD2 General] Redah:
Here are 2 videos I encoded:

*edit* check this post for updated videos!

They are both in 800x480 H.264, with a 2000kbps maximum bitrate. It's 2-pass encoded with variable bitrate, so it's not 2000kbps all the time.

The videos play absolutely beautiful. The "Bouncy Balls" video has alot of movement in it, and the 'old' Touch HD would always drop alot of frames. But on the HD2, it plays perfect!

Just download the files, drop them on your phone, and select them in Explorer so they open with the HTC Album. And enjoy :)
[HD2 General] JohnQ:
yes, very smoothly on HD2.
[HD2 General] JohnQ:
yeah, today i got a bit busy so i didn't test this. 3.46am here in China lol gota sleep`
[HD2 General] JohnQ:
i already did yesterday. its 800x480, H264 encoder, bitrate 3900kbps, 2 pass encoded, CABAC, constant bitrate.

on the basis of small file(less than 2GB of 1080p source video), after the encoding, very smooth and perfect showing on HD2.

SLEEP~~`GUYS SEE YA`
[HD2 General] kasperknop:
Ok cool :) Could you share it with us?=) Both the downloadable files are 720x480 XD
[HD2 General] niknik76:
"Bouncy Balls" is a classic, the frame from 01:50 to 01:55 is simply gorgeous

thanks for the files :)
[HD2 General] Redah:
I've updated those 2 video's (replaced all Sony stuff with the HTC HD2 :cool:), and converted a few more gorgeous and colorful videos.

Again, drop them in your phone, and play them with HTC Album. The videos are 800x480, H.264 (CABAC enabled), 2000kbps VBR, 128kbps VBR AAC audio:

"Bouncy Balls" (39MB)

"Play-Doh Bunnies" (23MB)

"Domino City" (16MB)

"Paint Orchestra" (18MB)

"Color Pyramids" (16MB)

"Foam City" (24MB)

All the links are Direct Downloads, you can download them all without having to wait, even if you don't have a RapidShare account. Enjoy! :)
[HD2 General] razorblader:
Thanks, that's looking good then, I don't think anyone should complain about video performance on the HD2.
[HD2 General] Cartman316:
Hello.

I ve got my H2 today.

I put 2 Xvid Videos on the Storage Card. How exactly can i watch them? When i open them with File-Explorer it opens it with WMP and it says that the files can't be played. Thanks in Advance for Help.
[HD2 General] mr_Ray:
Drop the bitrate down a bit so the file come in under the 2GB mark. That's the most probable cause. Lots of things break with >2GB files, even on the desktop.
[HD2 General] Shasarak:
None of the built-in applications will handle xvid.

What most people do is install an application called CorePlayer. This isn't free (it costs $30). It generally does a reasonable job of playing all sorts of video formats on Windows Mobile. However there have been some reports that videos played on an HD2 come out looking too green. It has a problem on HTC phones that it can't use GPU acceleration, and runs only on the CPU; this makes for poor performance on many HTC phones. However, the HD2's CPU is fast enough that it hopefully shouldn't matter.

If you want to buy a copy, go here. You want the Windows Mobile PocketPC version (not Smartphone).

If you don't want to pay there's an older video player application called TCPMP that you could try. It runs slower than Coreplayer, but not drastically so. I've been constantly trying to get somebody to try running TCPMP on an HD2 ever since it launched, but sadly no one can be bothered, so I don't know whether it works on the HD2 or not. If you want to try it, then try the version that you can find attached to this post. Set the Video Renderer to "DirectDraw", then go into the Settings menu, DirectDraw page and tick the box that says "use blitting instead of overlays". If that doesn't work (and TCPMP crashes) then try using "Raw" or "GDI" as the renderer instead of DirectDraw. If none of those options seem to work, you could try an older version of TCPMP, for example the one attached to this post.

Your final option is to convert the videos into a different format, one that the HD2's built-in players are able to handle. There are two applications (designed to be run on a desktop PC) which can conveniently convert videos into the optimum format. They were designed to convert for viewing on the original Touch HD; the HD2 is much more powerful, so you could probably use higher bit-rates than the defaults. You can find them here and here.

Let us know how you get on!
[HD2 General] tnyynt:
Anyone tried the Video Encoding GUI? How's the result on HD2?
[HD2 General] kersh:
I have a doubt.

I tried the helicopter demo on WMP and Coreplayer, and WMP is faster and looks like have more colors

In Coreplayer I can see scanlines of different colors without gradients. Why this?

what video output do you use?

oh, and I can only get 102% on a benchmark of that video.
[HD2 General] Redah:
I've been encoding alot of videos the past few days, and I have noticed the following settings deliver the best and smoothest playback on the HD2 when encoding in 800x480:

Best quality:

Container: MP4

Codec: H.264, 2-pass or 3-pass

AVC Profile: Main

AVC Level: 4.1

Bitrate: 2000kbps

CABAC: On

Better quality:

Container: MP4

Codec: H.264, 2-pass or 3-pass

AVC Profile: Main

AVC Level: 4.1

Bitrate: 1500kbps

CABAC: Off

Good quality:

Container: MP4

Codec: H.264, 2-pass or 3-pass

AVC Profile: Main

AVC Level: 4.1

Bitrate: 1000kbps

CABAC: Off

Why the above settings?

In my opinion, there is absolutely no reason to go over 2000kbps. I do not see any difference with 3000kbps, it only makes the file bigger.

2000kbps seems to be the sweet spot where you can still use CABAC. If you go below 2000kbps and still use CABAC, you notice framedrops: The video isn't smooth anymore. However, disabling CABAC and using 1500kbps, the video is still smooth and looks very, very good.

On 1000kbps, you start noticing really tiny artifacts. They are noticeable, but don't annoy you.

Again, above information is based on encoding 800x480, for the sharpest picture. If you use lower resolutions, you might get other results.
[HD2 General] niknik76:
Redah, sorry if I overlooked this, but which encoder do you use?
[HD2 General] simplymee:
Ridiculously helpful.

Just used both of these to convert star trek into an mp4. Works well!

Only problem is the sound is a tiiiiny bit out of sync, anyone know if I did something wrong, or is there a solution?
[HD2 General] niknik76:
In Mp4forHD it's possible to start the encoding a little bit into the material, that CAN solve it.. Oherwise I don't know enough to give more advice :)
[HD2 General] JohnQ:
well, under the same settings with yours, only in the format profile , i could set it to HIGH@LEVEL4. that could make better.`
[HD2 General] MarkX2000:
Question,

I copied those gorgeous video to my HD2 and the play beautifully, but they don't appear in the HTC Album viewer. Other video's do appear that are in the same folder.

Any idea's?
[HD2 General] Redah:
I use XviD4PSP (www.winnydows.com). It opens just about anything, it can resize/crop/deinterlace your source video, and it offers plenty of options to tweak your encoder settings. It's actually very easy to use, and gives you just that little bit extra to convert videos.
[HD2 General] Redah:
Yes, High profile also works. But, I've noticed that in a few videos with alot of movement, where the encoder/decoder needs to do quite some work, some frames drop.

I'm sure the HD2 is capable of alot of things, but these are the settings I have found working on any video I've thrown at it so far :)
[HD2 General] Uderzo:
I'm trying to convert a video using Xvid4PSP. But I have no idea what settings to change to get your result. I'm not that familiar with the gui, so could you give me some pointers to where the different settings may be?

Like bitrate settings for instance.

Thanks :)
[HD2 General] JohnQ:
Nov. 16 GMT+8

for the settings of the following is very ok to play on htc hd2 (even in large file)

resolution: 800x480

Container: MP4

Codec: H.264, 2-pass

format Profile: HIGH

format Level: 4

Bitrate: 2000kbps-2400kbps

bitrate mode: constant/variable both ok

CABAC: On

scan type: progressive

frame rate: 30fps
[HD2 General] dutchdude23:
Guys maybe im a moron,but i dont can see where i can change the bitrate settings etc in the divx4psp program?
[HD2 General] hassan:
Would you like to share a name of the program you using to encode videos.

:)
[HD2 General] tregba:
Just got my hd2 and it was something I needed to check out as I need AC3 support which only tcpmp provides presently so gave it and CP a quick spin. Put in a 720x480 divx avi with around 1.5Mbit/s data rate. It played perfectly on on CP with no dropped frames. However, it played almost perfectly on tcpmp, with a couple of dropped frames in fast moving scenes though still pretty smooth and watchable. It benched around 210% on CP and 120% on TCPMP.
[HD2 General] Shasarak:
What settings are you using with TCPMP? What renderer, for example (e.g. DirectDraw, GDI)? And is that playing full-screen, or 100% zoom? And which version of TCPMP? :)
[HD2 General] tregba:
Using DirectDraw with blitting as it provides the least tearing from all three options and is as quick as Raw Frame Buffer without blitting. This is with zooming set to fit best and aspect ratio at 16:9 (full screen). Smooth zoom always at 50%.

Version of tcpmp is 72rc1 with all codecs. Not the one you provided in the link though I;m sure its based on the same rc as the one I'm using but maybe with support for different gpu?
[HD2 General] JohnQ:
im using TMPGENC EXPRESS 4.0 to encoding videos.
[HD2 General] cocoaju:
Thanks for the TIP. Never used this software before.

Why o why don't HTC support DivX / Xvid codec... I was very happy to see they support AVI files but what's good are AVI support when they can't play DivX videos.

Back to my re-encoding video times again...
[HD2 General] Shasarak:
Can't you use CorePlayer or TCPMP?
[HD2 General] Lars C:
Thanx Redah for pointing out these settings. I´ve downloaded XVID4PSP and the program looks great. Ability to implement subtitles as well. One question though. The output files are enormous (Input= 1400 MB; output=1200MB). Maybe i'm doing something wrong but as far as i know, i just use your settings. Is there anything i can do to downsize the output file without loosing too much quality?

Thanx in advance:)
[HD2 General] Yunabeco:
I can't get H.264 (encoded with x264) videos using Main or High profiles to show up in the Album; only Baseline (and videos encoded with CUDA just don't show up at all).

And the performance in CorePlayer sucks compared to the Album when playing Baseline videos. I get reduced colors and frame skips.

Also, using DirectDraw in CorePlayer fails when playing some videos (like the promotional HD2 video).

Encoding using Mediacoder, 2000kbps, CABAC on, and on Auto level.

Is my device defective or something?
[HD2 General] tnyynt:
I just don't get it. Why are you wasting so much space on huge bitrates?

Here's a 2 minute video only 13MB in size and perfect quality.
[HD2 General] cyrilp:
Hi, i've try your video file, but they don't show in HTC Album ??? Actually, HTC Album shows briefly a square, then nothing more.

Any idea why ?

Cyril
[HD2 General] Jim328:
Can't see that video ("rapid"share is absolutely useless now), but 1mbit gives good quality video with h.264. 2mbit gives no visible compression at all, but 1 gig/an hour is too much unless you have a huge sd.

I tried "The Matrix" from a 720p source, at 1mbit the video is just under a gig and 2hours long. When played on a pc the file has some slight blocks/smears, but they look much better than mpeg artifacts. On the tiny pixels on the phone they are almost invisible and it looks almost flawless, like a tiny bluray playing. :) I will go to 1.5mbit when I get a bigger card, just because I can.

In my opinion forget divx, xvid, coreplayer or tcpmp. The default player is hardware accelerated and plays the more efficient h.264.

The files dont show in album, but play from my documents.
[HD2 General] tnyynt:
Uploaded to 4Shared. Changed original link.
[HD2 General] RikfromBelgium:
I'm having trouble being sattisfied with the quality of the video playback. I used core-player but wasn't sattisfied, seems pixelated. I used the videora converter and those movies were better, not pixelated but the other thing, a bit fuzzy.

trying that psp program now, hoping it works.
[HD2 General] valleyman83:
I've installed the XviD4PSP program, but there are so many settings, I don't know which one to change. I'm able to find the settings posted earlier, but what's the best profile to start with and to adjust those settings. Could someone make some short guide?
[HD2 General] Toss3:
So is there a 2GB limit for the album or what? Just spent three hours re-encoding a movie and ended up with a file, just beyond 2Gb, that wouldn't play. Used the setting JohnQ suggested with MediaCoder.
[HD2 General] Toss3:
Re-encoded it with a lesser bitrate and got it working. :) Compared 2000 to 1500Kbps using Pixar's short "Presto" and didn't really notice a big difference so I'm gonna stick with that for now. Using the extra bandwidth for the audio instead. ;)

Have to say that movies look amazing on this thing - much better than on the Touch HD! Only thing that bothers me now is that the black bars are of a different shade than that of the movie(they're almost a dark blue instead of black). ;)
[HD2 General] p-kirill:
CABAC on does not work on my LEO, video is jerky.

I`ve tried a lot of things: reFreames = 3,2,1 ... nothing really works,

it works, but with lag ...

Here is video details that LEO can`t hadle :

Format : AVC

Format profile : Main@L3.0

Format settings, CABAC : Yes

Format settings, ReFrames : 2 frames

Codec ID : avc1

Codec ID/Info : Advanced Video Coding

Duration : 3mn 58s

Bit rate mode : Variable

Bit rate : 1 032 Kbps

Maximum bit rate : 2 811 Kbps

Width : 720 pixels

Height : 400 pixels

Display aspect ratio : 16:9

Frame rate mode : Constant

Frame rate : 25.000 fps

Resolution : 24 bits

Colorimetry : 4:2:0

Scan type : Progressive

Bits/(Pixel*Frame) : 0.143

Writing library : x264 core 79 r1347M 5ddd61b

Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=0 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 / pulldown=0 / nal_hrd=0
[HD2 General] p-kirill:
I got the same, really only Baseline working good, otherwize it jeerky on my phone.
[HD2 General] Noony:
Have you checked that nothing is still running in the background? - sorry if it's a dumb suggestion!
[HD2 General] Shifty-PK:
Hey Guys,

Sorry to interrupt but how do i get these suburb videos you guys posted shown in the htc album?

Ive place them exactly next to the standard htc video on the storage card, but no go?

Thanks!
[HD2 General] p-kirill:
Just double-click .mp4 file in file-exporer and it will be opened with HTC album player.
[HD2 General] Noony:
I downloaded the sample clip that is available earlier on in this thread (thank you). I saved it on my storage card and then simply used file explorer to find it. After a double click it plays and looks stunning!
[HD2 General] p-kirill:
I have checked loads of configurations.

And nothing was working in the background (manilla also was off and rebooted) during playback.

CABAC works in HTCAlbum, it was not on HTC-MAX or HD1, now it works (greate) but quality (decoding performance) is very bad.

Core player does cabac decding better that HTC-Album.

HTC-Album can decode cabac only if video has very low bitrate (~700).

And it is better to provide baseline with twice (or even x4) bitrate and have no troubles with it.

as result:

Nonworking config: x264 a.avs -o w0ref2main.mp4 --crf 19 --weightp 0 -r 2 --profile main

Working one : x264 a.avs -o w0ref3base.mp4 --crf 19 --weightp 0 -r 3 --profile baseline

By "nonworking" i mean sometomes it freezes and skips bit of video.

If there is Ascer s200 user - please contact me to pkirill-at-gmail-dot-com and i will sent you small samples to try it out.
[HD2 General] Toss3:
I'm using main profile and cabac without any issues(1500Kbps). Try turning off sense to see if that affects playback performance. Btw. I noticed that some of you are using 25fps - is that the native frame rate or should I continue using 30?
[HD2 General] p-kirill:
Have you ever tried "--crf" - constant quality mode ?

What source did u used for encoding ?

Can you dump mediainfo on you perfect files ?

What AVC coder is used ?

I`m using http://www.videolan.org/developers/x264.html and its builds : http://x264.nl

I always turn off Sence (manila) before all experiments.

Thanks
[HD2 General] Toss3:
Give mediacoder a go to see if it improves things for you. These are the settings I'm currently using.

# ".\codecs\x264.exe" - 800x430 --fps 30 --no-progress --profile main --scenecut

40 --rc-lookahead 40 --b-adapt 1 --level 41 --keyint 250 --min-keyint 25 --non-

deterministic --aq-mode 1 --aq-strength 1.0 --ref 1 --subme 6 --me hex --merange

16 --psy-rd 1:0 --bframes 3 --direct auto --trellis 1 --weightb --bitrate 1800

--qcomp 0.6 --sar 43:160 --threads 3 -o

Video codec used: FFmpeg H.264

EDIT: Just noticed that cabac doesn't even work in mediacoder, even though enabled in the program. :)