yashsingh1/xdaforums huggingface dataset:
[HD2 General] p-kirill:
I`m using the latest one : http://x264.nl

Well, it tells me that cabac with constant bitrate 1800 is fine. Ok.

But - Constant bitrate isn`t interesting. Every movie has dynamic and static scenes.

CBR for static is rendurant and dynamics scene will suffers.

i will translate it later - my eng isn`t good.
[HD2 General] Toss3:
I know constant bitrate isn't optimal, but honestly you won't notice the difference on the device itself(guessing it depends on the quality of the source as well). At least I didn't and I'm very picky.
[HD2 General] Toss3:
Tried a 2-pass encode of a 1080p source with a variable bitrate between 1000-2000Kbps and it's stuttering like crazy(cabac turned off). It looks worse than a constant bitrate set to 1500Kbps with cabac turned on. Using MP4 instead of H.264 in the format settings makes the movies run much smoother for some reason(they're both h.264) in MediaCoder.
[HD2 General] p-kirill:
Sorry, i can`t understand you, H.264 is a video codec but MP4 is a container for that stream.

BTW, 1-2 Mbit for 1080p in not enought, it`s ok for DVD (720x576) but not for 1080p.

I think minimal for 1080 is 20 MBit.

can you try latest x264.exe ?
[HD2 General] Ninja Jaiden:
I'm just using the original encoder that projection posted some time ago for the HD to encode video for my HD2.

I just increased the bitrate to 990kbps *800 x 480 but notice that some videos have lip sync issues in both HTC Album & WMP However, the picture quality is clear and smooth especially when using WMP.

What's causing the sync issues on the HD2? the same videos played great on my old HD even with the default settings.

Also does anyone know why does Divx player sux at playing .avi files even on this 1Ghz beast?
[HD2 General] LBTaylor1984:
mines at 2000kbps but i have the same issue.
[HD2 General] p-kirill:
What issues do you have ? Can you explain it in more details ?

Does it affect CoreAVC plyer also or this issues only undet HTC Album player ?
[HD2 General] br3nt:
someone that can make a picture guide for using TMPG Xpress or what it's called?

cant get the 800*480 resolution, it just sets another default?

gonna test with the Xpress app on my laptop to see if it supports CUDA, if not, im gonna try the XDA-devs encoders/converters

:)
[HD2 General] p-kirill:
CUDA h264 encoder isn't good, freeware x264 is much better (if not the best) but it is not so easy to use.

It is requred to be familar with aviSynch scripting to use x264.
[HD2 General] Toss3:
I know, but I can choose mp4 under codec also so I'm guessing it's just a modified version for mp4 containers. It can't do 2 or 3-pass encodes and it runs much better so there is definitely a difference between the two.
[HD2 General] kenkiller:
Any of the guys using HD2 can test these videos and let me know if they work fine or have problems playing?

http://www.multiupload.com/DYPQ7Q3LDW
[HD2 General] wazaaappp:
speed OK

but sometimes looks horrible the you can see the frames and more, maybe just it wasn't properly converted :)
[HD2 General] kenkiller:
You mean frame rate drops?

It can't be improper conversion, it plays fine on the PC.

Sorry, I don't exactly have a HD2 to test yet. :D

These were converted from the HD trailers on youtube.
[HD2 General] p-kirill:
can you dump here madiainfo for both files ?
[HD2 General] p-kirill:
These were converted by x264 codec (one that i`m using) but with very old revision :

Going to test it...

The video has CABAC on, variable 1800 Kbps, 2pass.

HTCAlbumPlayer : In general it`s working but with some squared video artifacts, performance not bad.

Core player : It plays without visual defects, performance benchmark = 90%, lags in dynamic scenes during realtime playback

Can you try latest revision here : http://x264.nl/ ( http://mirror01.x264.nl/x264/revision1354/x264.exe )
[HD2 General] kenkiller:
Hmm...I'm using mencoder/winmenc to encode, so can't just update without the coders of mencoder updating. :( Mencoder is in turn a derivative of x264 if i read correctly. Meanwhile I will do some research on a GUI for x264.exe. I've used mencoder for most of my encodes so far on other phones, and it's been pretty good to me. :D

Here's another two encodes, this time with lesser (only 1) ref-frames, and using the latest version of the mencoder.exe....do let me know if it's better/worse. One is with the high@L3.0 profile (which i guess will have trouble), the other is with the good old main@L3.0 profile.

High

http://www.multiupload.com/TH2FNWZHO6

Main

http://www.multiupload.com/4JYVROSVSM
[HD2 General] Toss3:
Only have on of the files left, but I should get my main pc up and running tomorrow(4GHZ i7 920) so I'll get you the results then. :) Tired of having to wait 2hours for a single encode on my laptop.
[HD2 General] JetMouse:
It seems everyone has this audio sync issue when using using the Blackstone Video Encoding utility - is this a rom issue? There is no reason why the HD2 can't play the video normally when the HD can! Has anyone found a simple encoder which doesn't create the sync issue?
[HD2 General] Toss3:
Try mediacoder it's free and pretty simple to use. It also doesn't suffer from sync issues.
[HD2 General] p-kirill:
this once is playing fine... Hmm... what are happening here ...

I tried baseline profile with --crf 20 at home and the Body refuse to play it

i think need further investigation on this
[HD2 General] p-kirill:
Yes, i got first good working video:

Commandline:

x264.exe --profile baseline --no-cabac --ref 1 --preset slower --crf 21.0

going to try cabac and different profiles and amount of ref-frames
[HD2 General] Toss3:
So should we use 25 or 30 fps?
[HD2 General] p-kirill:
i did not changed fps, the same as source has

UPDATE: ref-frames=2 also seems to be playeble without issues
[HD2 General] kenkiller:
So it does look like ref frames is the culprit here?

High and Main profile doesn't seem to make much difference. Neither does CABAC.

Will encode another brighter trailer and post here for testing. :D
[HD2 General] remcoharmsen:
Hi, I think the problem with the 2GB files is because your SDcards are FAT or FAT32 formatted. These filesystems have a limit on the single filesize, which is... 2 GB. So probably the problem of not playing more than 2gb files is because of the filesystem.

Am I right here or is it something else?
[HD2 General] p-kirill:
not so easy, i tried main profile with cabac, 1-refFrame and b-frames

ex: default commandline "x264 --crf 21" will have high profile with cabac and such video will jerky

it plays witout artifacts, but slow (it seems drpopping half frames)

i will try without b-frames
[HD2 General] kenkiller:
Actually limits for FAT is 2gb, for FAT32 is 4gb.

However, it might not be the reason. I've used several players (some on non winmo phones) where it's just the limitation of the player, not because of the filesystem.

Anyway, to be realistic, with the proper encoding of videos, it shouldn't even hit 2gb even for a long movie.
[HD2 General] kenkiller:
Here's my settings in mencoder for the previous Main profile video, not same as in x264 but I'm guessing you'll understand what it means

level_idc=30:bframes=0:frameref=1:global_header:partitions=all:cabac:no8x8dct

Anyway, to confirm, there are no problems playing both the Main/High videos in the previous post?
[HD2 General] kenkiller:
More samples to test....do let me know the problems if any.

How Terminator Should have Ended.x264.mp4 (37.71 MB)

http://www.multiupload.com/QD2UHEMAVU

How Transformer 2 Should have Ended.x264.mp4 (47.66 MB)

http://www.multiupload.com/VC62Z0OBQU

New Moon.x264.mp4 (35.16 MB)

http://www.multiupload.com/SEF4GI5VKQ

Up.x264.mp4 (37.94 MB)

http://www.multiupload.com/RJTGROSJSJ
[HD2 General] p-kirill:
Yes, i confirm, it`s playing file.

The main key here is "bframes=0, frameref=1" ( what is "--bframes 0 --ref 1").

This allows us to play such video.

But i doubt reasonabiliy of this things (disable b-frames), why simple not to turn baseline on with 1 or 2 refFrames ?

Here is my question on Doom9 : http://forum.doom9.org/showthread.php?p=1349114#post1349114
[HD2 General] kenkiller:
Hmmm.....how do the above 4 videos perform? I'm getting varying remarks on them, but problem is they're encoded using the same exact specs!

Scratch head.... :(
[HD2 General] p-kirill:
I`m lazy today, what differnces this new video has ?

Now i`m going to reinstall new windows build (ROM)
[HD2 General] p-kirill:
A little conclusion on working profiles:

1. baseline with refFrames=1,2,3.

In this case number of refs does not significally affrest resulting size (i code with constant qulity mode)

as you can see increasing from ref from 1 to 2 gives only 1% in size.

2. main or high (it does not matter) without B-frames, without weightb and with refFrames=1,2,3

It saves about 5% in size but does not give significant quality improve and requres more power to decode (lesser battery life)

I haven't decided what approach is better yet.

I wrote a letter to HTC support and they answered that HTC Leo supports avi and mp4 playback ;)
[HD2 General] jisin:
thx guys for all the effort and tests :)

btw i really recommend TMPG Encoder 4.7.3.xxx

for those who like to have one of the best encoder app.

it supports:

- Cuda 2.0

- Multicore CPU

- SSE 4

- SpursEngine (for those have a card supporting

SpursEngine or Toshibas Qosmo model)

http://tmpgenc.pegasys-inc.com/de/product/te4xp_new.html

for those who dont understand german just change the language to english or "your" language :)

only downside of this programm its 32bit (î386) only.

not 64bit yet...
[HD2 General] p-kirill:
+1 profile, picture are very good, the phode plays it well

work good with high bitrate (2Mbit), B-frames supported, CABAC supported, profile :

x264.exe --profile main --ref 1 --weightp 0 --level 2.1
[HD2 General] keko001:
thx

the movie are 800x450 at 23.971 fps

but i have a movie sample WHIT 1008x560 at 23.976 fps and it's playing very nice on coreplayer it's a MKV

http://rapidshare.com/files/320062107/9mhdsample.rar.html

let me no :-)
[HD2 General] p-kirill:
Pre final conclusion:

1. The simplest and fastest profile : baseline with RefFrames=1

with this profile you can view very high bitrate(>3 MBit) pictuare with good speed

commandline:

Resulting Bitrate on test file : 2553(av), 5949(max)

2. The best balance between compression rate and playback speed

Main profile without B-frames and with RefFrames=1

10-15% better compression against baseline but HTC can handle lesser bitrate providing necessary decoding speed

Resulting Bitrate on test file : 2289(av), 5640(max)

3. The highest compression rate, Main profile with B-frames and with RefFrames=1

HTC player plays it , but sometime with a little lag in dynamics scenes

Resulting Bitrate on test file : 2187(av), 5687(max)

The best x264 codec ever made is x264 :

Discussion : http://doom10.org/

Download : http://x264.nl/

Also avisynth (http://avisynth.org/) is requred for encoding.

Have fun with clear and colorfull videos on you devices
[HD2 General] karlpj:
How anybody can use normal media player or HTC album to see a movie? it lacks if any feature and the worst is that it doesn't remember the position of the movie. If you reset the device, close the player or connect the HD2 to the PC as a hard disk it will forget the position of the movie. And finding again it is is a pain with the current controls.

Core player has not these problems but the movies look a lot worst.
[HD2 General] kenyloveg:
Thanks man, I've never noticed there is a doom10 site (doom9?)...

I wish LEO can playback most MP4 files encoded for PSP smoothly, that should be the best reason to replace PSP... will it be possible?
[HD2 General] kenkiller:
Thanks....but why are you trying to play a file with resolution higher than the screen? That's not what we're trying to do here.

Anyway I've found that having cabac turned off, with only 1 ref frame works fine, even on high profile. sticking with that for now. :D
[HD2 General] keko001:
Why the difference because you still can see it is like you have a two way speaker and a three-way loudspeaker we always hear the difference here and see the difference even if you only look at the details:D:D
[HD2 General] p-kirill:
without CABAC and with only 1 ref-frame means BASELINE :)
[HD2 General] p-kirill:
I think it will (very possibly). For more accureate answer please provide me with the PSP profile (main, baseline, number of RefFrames ans number of B-frames)

For example, HTC do not like any profile with RefFrames more than 3, even baseline.

I.e. baseline with 9 RefFrames will play with a lot of artifacts.

And yes, there is Doom10 ;)
[HD2 General] kenkiller:
hehe....not sure, but mediainfo tells me otherwise.
[HD2 General] kenkiller:
actually, no....you can't see more details than what the screen resolution affords you.

Yes, you will lose details viewing a lower res file on a 800x480 device, but viewing HD 1280x720 media on a 800x480 screen won't give you more details viewing a 800x480 video on a 800x480 screen. :D
[HD2 General] Shasarak:
Hell of a lot more convenient than having to re-encode it, though.
[HD2 General] johnkst:
...and wouldn't re-encoding it (unless you've got 'professional standard' software) normally introduce an element of quality reduction as well...?

So, what is better...?

1. Playing a 1280x720 res video on an 800x480 res screen

2. Reducing a 1280x720 res video to 800x480 and then playing it on an 800x480 screen

Btw... I don't know the answer to this, I'm just curious to hear what the 'experts' think...
[HD2 General] twister_65:
i think 2,

because the CPU can go all power to render the pics and must dont first recalculate the pic....
[HD2 General] Shasarak:
Well, the end product will be the video running at 800x480 whichever you do. The choice you are faced with is: is it better to do the downscaling in advance on a desktop PC taking as much time as you need to do it properly, or is it better to have the phone do it on the fly? Chances are that, if there's any difference, doing it in advance will be slightly better; but, done properly, the difference would probably be quite small.

As you say, there is also the question of whether decoding and then re-encoding with a lossy compression algorithm would cause a reduction in quality, but I doubt it - if the phone is actually powerful enough to play the original 720p clip then it should allow a high enough bit-rate on the resized clip that you shouldn't see any additional artefacts above and beyond what's in the original HD clip.

For practical purposes, on a screen as small as an HD2, I doubt there'd be much difference either way. :)
[HD2 General] kenkiller:
Well, he was talking about details, and I replied about details.

We all know conversion sucks, but the HD2 isn't exactly that powerful....and it doesn't comes with enormous gobs of memory.
[HD2 General] kenkiller:
Not if you do a proper job of encoding it, which is the aim here. Besides, any perceived drop in quality would be mitigated by the small screen anyway....remember you are playing it on a 4.3" screen, not a big arse 42" lcd tv. :D
[HD2 General] p-kirill:
1. if you phone can play 1280x720 - ok, relax and enjoy, (but i doubt it is possible)

2. decode + downscale to 800x450 + encode <--- This may not loose quality that we has after downscaling if we do proper encoding.

The beset way i worte already in this thread, i can do it again:

"--crf 23" here means the quality (the lesser crf the better quality)

I have never seen any difference with crf 17 and original DVD on my desktop.

For phone --crf 23 is ideal in term of quality / size.

The crf 23 is much better than standard 1.5GB DVD rips.
[HD2 General] spoogedemon:
amazing videos - thank you very much for sharing.

but, paint orchestra and bouncy balls are not jerk-free with coreplayer.

is there something wrong with my setting?
[HD2 General] Redah:
Yes. Don't use CorePlayer for these videos :)

The HTC Album video player provides hardware acceleration for h.264, which CorePlayer does not.
[HD2 General] spoogedemon:
oh, great news - thank you!

it looks amazing!

the hd2 is so f****** awesome!

but,

what a pity, this player isn´t be able to play the 480p hd-movie-trailers from the apple-webpage. :(

is there any player available, which plays these files by using hardware-acceleration?
[HD2 General] falluja:
i have both the i8910 and hd2, the i8910 can encode and decode 720p videos, soo yes there is a phone that can play 720p videos without converting
[HD2 General] ploosh:
Problem with HTC Album

My HTC Album doesn't "see" these movies at all. Anyone knows what the problem qould be?
[HD2 General] spoogedemon:
same here, but i just use the media player.

it´s the player, which plays the videos from the htc-album.
[HD2 General] ploosh:
tx - u're right. Pitty that I can't see these movies in HTC Album :(
[HD2 General] :
How to make /windows/HTCVideoplayer.exe the default player for .WMV files? The default WM Player cannot play 2000kbps videos smoothly.
[HD2 General] Shasarak:
I think this thread deserves a bump as we never came to any definitive conclusions. :)
[HD2 General] kenkiller:
Hmmm....does the HTC Video player play wmv files in the first place?
[HD2 General] kenkiller:
Hmmm....the conclusion to which question?

I can only say that the HD2 can play 720p video, however, not at any performance rate that would make it useful. :( And not without any extra encoding.
[HD2 General] Shasarak:
The question is: when transcoding video for the HD2, what are the optimum parameters to use?
[HD2 General] kenkiller:
You can check the other video encoder thread, I have listed some of my findings there. :D

http://xdaforums.com/showthread.php?p=5331497#post5331497
[HD2 General] Shasarak:
I am following that thread too. :) I think it and this thread serve usefully different purposes. This one is about establishing what the optimum parameters are for video conversion; the other is about finding an application that can conveniently be used to employ those parameters.
[HD2 General] kenkiller:
well...not sure about you, but to me settings and application used go hand in hand. What settings may work for one application could work differently on another application...at least the implementation could be different. So why have 2 threads? :D
[HD2 General] Shasarak:
I disagree. First we need to work out what we need to do, then, after that, we need to figure out the best tool for doing it.

Also remember that many of the applications out there are basically intelligent wrappers for the same underlying open-source libraries, so the results between applications will often be identical, assuming that they allow the correct options to be set. For example, there are two popular tools on this forum for encoding video for the Touch HD and its close relatives: Video Encoding GUI and MP4ForHD. Both of these are, in fact, wrappers for the same underlying command-line utility - MEncoder.exe. The results aren't necessarily the same because they don't necessarily use the same MEncoder parameters; but if one can work out what are the best parameters to use with MEncoder.exe (x264.exe, etc.) one can then start looking for an application which wraps that in a convenient way. Even if different tools are using different underlying executables, if they feed the same parameters into the same codec then the result should be the same.
[HD2 General] alecs:
CABAC What is it?
[HD2 General] :
I'm using Mp4ForHD as well and I'm suffering from outsync issues. The quality of the video is fantastic, just needa get rid of the slight sync issue. Any solutions on that? Thanks a lot. :)
[HD2 General] Bimme:
i still use HDencoder @ 1000kbit cause it´s easy to use, fast, and the quality is very acceptable. but i have a problem with HTC Album Player:

In scenes where the camara is in fast motion, the Album Player is stuttering, while WMP is playing smooth.

its not Bitrate related, and not encoder related, tested with different scenes and different encoders from 700 - 2500kbit Bitrate.

I think it could have something to do with the refresh rate, but i´m not sure (like an 24p HD Movie on a TV with no 24p support)

anybody experience the same ?
[HD2 General] jonbaker76:
Hi,

so i've got TMPGEenc4XP. I'm trying to apply these settings given in the first page of this thread:

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

I can't find some of the settings like selecting the h.264 and CABAC. Canyou direct me from the first option please?

Also, it doesn't seem to support converting mkv?? is that correct?
[HD2 General] Denja:
I'm wondering if HD2 will be able to play 800x480 50 fps video with at least medium bitrate. It's just that I'm recording interlaced TV shows and I don't really like the idea of loosing half of the frames during encoding. Would anyone be so kind and try it? AssumeFPS(50, true) could be used in AviSynth script to accelerate any video to 50 fps.
[HD2 General] Toss3:
Anyone having issues getting videos to play all the way through; some encodes I've done have issues after 5-20 mins and start either displaying a black screen or random scenes? Happens with both WMP and Album. Even tried different MicroSD cards to no avail.

I'm using these settings with MeGui:

cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=0 / me_range=24 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / mbaff=0 / constrained_intra=0 / bframes=0 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

Tried doing a 2 pass encode with the nominal bitrate set to 1200 and still got the same issues.

I'm running out of ideas here, so I'd appreciate any suggestions you may have?
[HD2 General] mrjazz:
Great quality playback up converting 480p

video

codec h.264

size 800x480

bitrate 4000kbps

fps 30

audio

44100 hz

160000 bps

codec acc

chan stereo

For my XDA friends classic movie 2000kbps large file enhanced misic 256k for HTC HD2 480x800

Recorded at 2000k to keep file under 2g/2g files seem to be the cutoff point for the HD2

HeAvY mEtAl

enjoy

http://rapidshare.com/files/422970178/HM.part1.rar

http://rapidshare.com/files/422970252/HM.part2.rar

http://rapidshare.com/files/422970265/HM.part3.rar

http://rapidshare.com/files/422970216/HM.part4.rar

http://rapidshare.com/files/422969858/HM.part5.rar

NOTE:

By setting bitrate

* Using bitrate will encode the video to a constant bitrate (CBR).

* Set bitrate=<value>

* Higher = better quality with larger files, and

* lower = less quality with smaller files.

* A bitrate of 800 will give you near DVD quality when encoding hi-quality video like a DVD disc.

* VCD quality is around 400-500.

* Internet streaming quality is generally around 80-150.

* Mencoder's default bitrate is 687 kbits/s.

* You need about ~800kb/s to get high quality on a 720x480 sized movie.

Don't believe the low bit-rate 'HD' lie

By George Ou

http://www.zdnet.com/blog/ou/dont-believe-the-low-bit-rate-hd-lie/959

Standard definition 480i DVD movies are typically 5 to 8 mbps (megabits per second) MPEG-2 whereas these so-called HD wannabes weigh in at a pathetic 1.5 to 4 mbps of 720p H.264. Apple’s new HD service is capable of 4 mbps which simply isn’t enough to be considered HD. XBOX360 downloads are 6.8 mbps 720p VC-1 so they’re semi-decent borderline HD. Marketing will push the nicer sounding “720p” aspect of the video but they don’t tell you it’s way too compressed to offer good video fidelity. Blu-ray has a maximum bit-rate of 40 mbps while HD DVD offers a maximum of 28 mbps. Over the air broadcasts can be up to 24 19.38 mbps.

720p frame size 1,280×720 pixels 921,600	Progressive fps 23.976, 24, 25, 29.97, 30, 50, 59.94, 60, 72
[HD2 General] donwhann:
nice one, cheers.....
[HD2 General] mrjazz:
very nice

sample videos are a great tool