yashsingh1/xdaforums huggingface dataset:
[Touch HD General] rayhead:
finally touching HD

Hello Everybody,

as you can see this is my first post :)

-so first a big thanks to all the people contributing their knowledge here...

especially tnyynt starting this thread (i registered to get his cab:D)

-there really is a lot to learn/find around here, which has helped me to get a way more out of the TOUCH HD

now to keep things short... this is my version of the story: (i dind't read all the 30+ pages of this thread, so this might have been been suggested before..)

encoding different footage (DVD/Mpeg2, DV, Xvid...) requires different processing (PAL/NTSC, TElEcine, Interlaced frames, Fields, AC3 audio, Multilanguage etc...blabla)

Now find a free software that can do that...

after spending long hours trying out super, virtual dub mods, ans some cheap trail versions... the very very and actually only piece of free software that can do all that in excellent quality is : MeGUI

so pleas don't waste your bucks...

i encoded this movie with x264 as automated 3pass (i know a little over the top:))...

it ran fully multihreaded crunching 100+ fps on my 3.5ghz quad.....lol...

now MeGUI is not a out of the box solution.. you have to read... but once you have got it going ... nothing can hold you from bringing absolutely fluent DVD quality movies on you HD..

follow the links and check the macro shots of a still frame.... you don't need bitrates above 800 really,... for audio i used nero AAC at 128 (2 channel).... no upscaling... 720x432 is the size to go for if source is 720/dvd.

the player (album or WMP) scales very well at playback.

forget coreplayer or TCPMPmod for now.. we need the hardware accel!

hope i didn't sound over clever.. but i just spent 2 days getting the pipeline going :)

enjoy,

rayhead

oh... and don't forget to update MeGUI via the built in Updater after install!!!

http://mewiki.project357.com/wiki/Main_Page

http://www.videohelp.com/tools/MeGUI

http://www.digital-digest.com/articles/x264_options_page1.html

http://www.digital-digest.com/articles/MeGUI_H.264_Conversion_Guide_page1.html

http://www.networkedmediatank.com/wiki/index.php/Encoding_Guide_for_DVD_to_H264

if you don't know Gspot...

http://www.headbands.com/gspot/
[Touch HD General] robnil:
jeesez X! Now would be a good time to create a need-to-know-tutorial for exactly the settings you suggest for HD (and not a letter extra). Or possibly there is a way to save a profile for the HD that you could share with us?

Remember, the idea that you generously shares your experience from the past two days of hard work is to ease things up so we (lazy or unskilled) can archive the same results and forever be grateful :)
[Touch HD General] Wolfenzi:
Want it short ?

mp4 + h264 / 1200-1300kbps + 128 audio / 800*480 /

WMP
[Touch HD General] sameerabedi:
Stuck at the first step

I've been trying to play videos successfully on my Touch HD and finally come across this thread.

However I can't seem to get started...

The SUPER video converter linked in the first thread downloads a file that won't install and the link to the MeGUI installs but I can't then load the program. How do I update the program? The upgrade folder created contains nothing.

Also, where do I get CORE player from for free, to play all the files once they're converted to the right format?

Thanks for the help
[Touch HD General] sameerabedi:
Actually you can scrap most of the above!

I managed to load MeGUI after installing the correct Microsoft NET framework, I had 3.5 but needed 2.0 as well - very confusing!

I'm reading the guide provided above on how to use MeGUI but I'm struggling. I basically want to convert a HD mpg file so that I can watch it on my touch HD, how do I do that?

Thanks
[Touch HD General] hamkeng:
I'm looking at your picture of G-spot, and I noticed your Qf (bits per pixel) is as low as 0.097. This is way to low for a good picture.

Qf should always be higher than 0.25. This is the lowest value for a good looking movie. One way to fix this is to lower your video size or increase your Bitrate.

This topic has been about how good movie quality you can make for your HD using WMP or Coreplayer, and that's just fine, but for the rest of us who like to have as many movies as possible on our cards with watchable quality, this is not the way of encoding videos.

If you want to rip a DVD to your phone the easy way, just use Handbrake, choose plain Ipod preset and tic iPod 5G Support. Choose MP4 as container and in

Picture settings:

Crop: Automatic

Width/Height: 400 for width (leave height blank)

Anamorphic: none

Video:

Codec: H264(x264 the excelent free codec)

Framerate: 25(or your own preference)

Avg Bitrate (kbps) 520 (for Qf near 0.25)

tic 2-Pass Encoding

Audio & Subtitles:

Really your own choise but I'm using

AAC 44.1kHz 64Kbps

Chosse your subtitle

Chapters:

untic "Create Chapters Makers"

This will make a fluent and deasent looking movie for your Touch HD in full screen with a relative small file-size.

For converting other movies to H264 MP4 for Touch HD, try using an easy tool like Xilisoft Video Converter Ultimate and use the standard H264 AVC & MP4 container.

Again I'm using videosize 400x240 letterbox or as an example 400x224 full if you know the aspect ratio of the film.

The Bitrate can be as low as 460 with this videosize.

This tool also have good support for subs.

The converted video should have Container as

isom: MP4 Base Media v1 (ISO-14496-12:2003)

and/or -mp41: MP4v1 (ISO 14496-1:ch13)

-mp42: MP4v2 (ISO 14496-14)

You can play these files directly in WMP

You can of course use some more sofisticated tools to get a tiny fraction better result,

but to encode a video to your phone fast and easy to enjoy on your trip when you are on the run, this is just what i use.
[Touch HD General] Wolfenzi:
If you think think 400*240 and 600bitrate is watchable, then you dont even have to encode. You can just download any rip of film/serial with 1000-1500 bitrate and set coreplayer to play it in medium quality. It will be ugly, but not laggy.
[Touch HD General] rayhead:
hamkeng, thanks for pointing that out...

as i am not a pro with the settings i rather post links so everyone should seen for themselfs...

i am just sharing what i got happy with....:)

my aim was getting full/original dvd resolution at the lowest acceptable bitrate to ensure smooth playback in all situations...

the file encoded at 750 kbits looks totally fine on the HD even in fast motion scenes, but that is also due to multi pass encoding.

i don't yet know what profiles are accepted well by the built in HD players, so for that encode i used baseline/level3.

i ended up at MEGUI because i had interlaced source material and also wanted to mux subtitles into the file.

It also features a render queue so you can easily encode several dvds overnight.;)

forgot this link in last post:

http://mewiki.project357.com/wiki/Main_Page
[Touch HD General] johnpatcher:
Why that? I think a lower resolution coming with a higher bitrate can end up with a better viewing quality.
[Touch HD General] tnyynt:
Update

OK everyone, this is as far as I can push it with size/quality while still maintaining a close to 100% benchmark while keeping it above 100%.

Still using Super video converter to do the job.

Sample of encoded video here. Use Coreplayer for playback.

Settings below:

1. swf or flv (Flash) container

2. Flash Video codec

3. mp3 Audio codec

4. DirectShow off

5. 580x348 widescreen 1.6 ratio resolution

6. framerate according to source video for keeping sync

7. 2544 kbps video bitrate

8. High Quality Checked

9. 44100 Freq audio

10. Stereo audio

11. 112 kbps Audio bitrate

Also, this concludes my quest for video playback as of now I've found the perfect match for my needs.
[Touch HD General] Phil_92:
Hi everybody,

I've installed SD Tuneup on my Thouch HD. It improves the data transfer of the SD by roughly 6% (SK bench) in read mode (nothing in write mode, but that's normal). However, I have a problem with the battery which gets empty in half a day even if I do nothing with the Touch! :mad: Noone had the same issue? Is there any solution other than uninstalling SD TuneUP?!
[Touch HD General] Wolfenzi:
tnyynt : ur video laggs like hell. 2500 is impossible. Maybe you can get 100%, but if you want watchable video, you need at least 110 or maybe 120% .
[Touch HD General] Vinski-:
Haha why would u need over 100% framerate? :D Or do u like watching videos higher speed?
[Touch HD General] Wolfenzi:
First play some videos. Then try to look clever.

100% is not enought.

100% is average, same as your bitrate is only average. Or do you think, if you set 1,5mbit bitrate, it will be 1,5mbit all the time ? Same in dark talking parts and same in bright actions ? Of course not. And thats why 100% is not enought.
[Touch HD General] tnyynt:
no sir, does not lag. no sir, not 100 sharp. no sir, 2500 not impossible.
[Touch HD General] tnyynt:
yes, it is called Constant Bitrate, opposed to Variable.
[Touch HD General] tnyynt:
the cab does not affect battery. also 6% is nothing, you should gain more.
[Touch HD General] Vinski-:
Yes i will get 1,5mbit all the time, if its encoded as constant bitrate. U might wanna learn the differences of CBR and ABR
[Touch HD General] Moony1987:
Constant

Bit Rate.
[Touch HD General] Wolfenzi:
Anyway its extremely laggy with 2500bitrate. (and im talking about your trailer)
[Touch HD General] projection:
You are naive.

CBR is constant over a certain timescale (average).

If you have a CBR of 1500kbit/s, nothing stops from half the second being 3000 kbit/s and the other half 0 kbit/s.

Or for example less drastic - dark scene at 500 kbit/s for half a second, the other half having sudden movement and getting 2500kbit/s.

Your CPU does not decode 1 second at a time!

So:

0.5*500+2500*0.5=1500kbit/s.

If you knew how video codecs work, you would not post such nonsense.

Any scene with a lot of movement will have sudden spikes of very high bitrate during iframes, even if it is for 100 msec.

So no, your method is not universal, and videos with a lot of movement will be laggy.

CBR is absolutely no measure of how well it will perform on the decoding processor. It is used to be able to have predictable buffer sizes and bandwidth estimations.

If you would want to decode CBR flawlessly, with 1 second interval, you would need to pre-render a 1 second buffer and swap that to the screen.

1 second = 30 fps, at 800x480x32bit uncompressed that is ~4.39MB*30 = 131.7mb of memory needed.

For 16 bit you still need 65.4mb of memory. Do you see why this is not feasible?!

Also, 1500 kbit/s FLV(H.263/VP6) is far worse quality than 1000kbit/s H.264 if the latter is properly encoded.

So the best idea to play videos is to use WMP with hardware acceleration, until Coreplayer releases full support for QTV (which they promised for 2.0).

Do your research before posting.
[Touch HD General] tnyynt:
I repeat, no it's not.

Here's a poor (web) quality of the video playing back on my device. "Extremely laggy"! or should I say "like hell"?
[Touch HD General] Wolfenzi:
tnyynt: Run a benchmark and tell me numbers.

projection: good post
[Touch HD General] sameerabedi:
Any advice?
[Touch HD General] rayhead:
To give people a comparison i uploaded a x264 version of the witchmountain trailer.

please note that i did not add padding to the footage:

-this footage DOES NOT have the correct AR of 1.667 (800x480) it is 2,353

>>WMP seems to be buggy when showing wider footage.. it cuts the sides. (the scaling check in the options has no effect)

-HOWEVER the player in the album allows to toggle the scaling correctly if you press the very right icon on the timeslider bar twice.

please try and report back:

*16 mb file from the original 720p trailer

720x304 resolution

128kbit audio nero aac

750kbits x264 / baseline / level3

mp4 container

http://www.mediafire.com/file/yomn1udzzay/racetowitchmountain_x264_MeGUI_reencode.mp4
[Touch HD General] Phil_92:
I quite agree: 6% is not much! I thought the cab could affect the battery as it changes the access to the SD card; using DMA access could activate buffers at a much higher rate. However, in my case, I think the problem is likely due to buffers being shorted. I installed the cab in the PDA, not in the SD card. I am right?
[Touch HD General] projection:
The more interesting question is... How does this affect battery life?

It should do at least part of the work in hardware, compared to coreplayer doing everything in software and stressing the main CPU.

How is CPU usage when playing 750kbit h264 vs 1500kbit flv?
[Touch HD General] rayhead:
note:

i did not buy coreplayer... this cpu test was using TCPMP recompiled 03 mod version. and i never managed to play that FLV file without heavy lag.

( i do have dma enabled and the cache tweaks too...)

someone else needs to test with core..

x264 was played in tf3d album.

....guess it is time to install a screenshot utility...:rolleyes:
[Touch HD General] tnyynt:
HTC Touch HD: 109.15%

SE Xperia X1: 89.38%

Sprint Touch Pro: 103.69%
[Touch HD General] projection:
Since core can barely play it, it will look about the same.

This is just what was needed.

It shows that we can easily playback accelerated H264. Due to almost 50% less CPU usage, I think the device will last at least 25% longer on video playback.

So coreplayer and FLV crap is out of the question.

Easier to just convert to H264.
[Touch HD General] sameerabedi:
I managed to download SUPER video converter and tested it out for a avi video of 184MB.

Using the settings posted at the beginning of page 40 of this thread it created a file that was over 240MB and then despite the SD tune cab still jittered badly as I played it using the album player on the touch HD.

How come the conversion file is bigger than the source file and should I use core player instead to avoid the jittering?

Thanks
[Touch HD General] Wolfenzi:
interesting... I ran it 2 times and both 101,7 % .

Then I was doing something else, also installing .net framework 3,5 . Then I made 2 another benchmarks and both were 105% .

I dont know if it is because of .net framework, but i can see your device is faster... what did you upgrade ?

I have sdtuneup and net framework 3,5 . And coreplayer set everything default...
[Touch HD General] johnpatcher:
Maybe a different rom, and/or some registry performance tweaks (i.e. cache(s)).
[Touch HD General] Wolfenzi:
yeah tweaks, but which :-) Now I ran it two times again and both results was 100,5 % ...
[Touch HD General] adeltaY:
Hey all, i don't own an HD, i have the Raphael, but this seems to work great for me so far.

File Type: .avi

Video Codec: MP4

Audio Codec: MP3

Video Size: 640 x 480 (VGA)

Frames Per Second: 25.00

Video Bitrate: 1827kpbs

Audio at 44100Hz

Channel 2 Audio

Audio Bitrate: 192kpbs

That's it. The file plays beautifully on my Fuze (Raphael/Touch Pro) with Core Player 1.2.5
[Touch HD General] rovex:
I tested the file and got 109.52%. Its not totally smooth, there is the odd stutter but its acceptable. The higher bitrate does mitigate the low resolution to some extent.
[Touch HD General] Abednego:
Side Note: Alternative OS

Hi there,

I've been following the thread for some time since I simply couldn't get my shiny new toy (Touch HD) to play my Battlestar Galactica Season 1 files without stutters. However, the problem I encountered was the inavailability of information on video converters on my favourite and only OS (the one with the penguin).

In the meantime, however, I've found a working solution: I'm using Handbrake (originally a solution for the evil Apple Empire but now available for Windows, Linux and MacOS ;) ) with a self-made preset:

Container: MP4 (no boxes checked in that row)

Video-Tab:

Codec: H.264

Framerate: Same as source

+ 2-Pass Encoding

+ Turbo First Pass

Bitrate (kbps): 1000 (more might also do)

Audio/Subtitles-Tab:

Dynamic Range Compression: 1

Codec: AAC (faac)

Bitrate: 128

Sample Rate: 48

Mix: Stereo

H.264-Tab:

Reference Frames: 2

+ Mixed References

Motion Estimation:

Method: Uneven Multi-Hexagon

Range: 16

Subpixel Method: 6

Analysis: All (box not checked)

Miscellaneous:

Deblocking: 0 0

+ No Fast P-Skip

Manual: (should come by itself)

level=30:cabac=0:ref=2:mixed-refs:analyse=all:me=umh:no-fast-pskip=1

That's it so far. The resulting videos play in Album without TCPMP or Core. Oh - and if you want to set output size, look in the Preview Subdialog (a little counterintuitive). Of course I'd be happy to hear about better presets then mine - so if you find some, keep them posted!

So long,

Abed
[Touch HD General] projection:
Your preset is good.

I will talk to a friend of mine, who develops the x264 encoder and ask him for the optimal settings.

Once I have them, I'll make a simple one-click encoder.

What I however don't understand - why do people bother with coreplayer?

if you convert anyway, then:

- h264 has better video quality

- battery life is better with h264

- don't need any 3rd party programs with h264

- h264 encoder can utilize all cores of cpu, so conversion is faster.

So why on earth do you need flv and coreplayer???

I think the first post should be updated, as clearly, currently h264 is the better solution.
[Touch HD General] tnyynt:
I tend to agree with each of the arguments you have posted.

I can't tell you why people do this, because I don't know, I can tell you why I personally am/was. With the lack of a unified one-post tutorial on how to achieve it (from the converter to the settings and sample) I went on continuing my quest from the days of my older devices and since I knew the method and it's limitations, I pushed them to the limits of this device.

I would be more than happy if someone could come up with something complex - like my first post - that would not only clarify and improve, but would serve as a tutorial, since we all at least agree that 1. conversion is (most of the times) needed 2. we can deliver HQ videos to this device and take full advantage of it.

Now, since I am not familiar with the H.264 method (too many settings I guess, cabac, levels, etc) I have tried applying some of the advices earlier on this thread to find out that playing back such file would actually freeze up my device (tapping to exit from full screen in Windows Media Player or tapping to bring up the menu in Album Player would take up lots of seconds).

I am looking forward to seeing your (and the others of course) way of doing it while I will offer my full support on this!
[Touch HD General] SingaporeAirlines:
I've watched the trailer. Unfortunately there's a dropped frame every 15 or more seconds but nothing that makes the viewing experience dissatisfactory.

There is no discernable lag in sound.

Benchmark results on Coreplayer:

Speed: 106.38%
[Touch HD General] projection:
What do you think about this?

Is this easy enough?

I can bundle most of the needed encoders with it too, so it should be a single file download.

Perhaps the only thing that would need manual install would be AviSynth...

Btw, don't ask to download this, it is only a mockup GUI atm. The only thing that currently works is the "Exit" button :D
[Touch HD General] Wolfenzi:
abendego : Rofl, why r u playing your files in Album ? Play it in WMP.

projection : SO you are making your own encoder ? But will it make same quality videos as those encoders which costs money ? Aimersoft for example ?
[Touch HD General] projection:
I am not making my own encoder.

In fact, none of these are encoders.

These are GUI-s for encoders.

You need to understand the difference between these things:

Container, Codec, Encoder, GUI.

For example:

MP4 is the container.

H264 and AAC are the codecs for video and audio.

x264 and neroaacenc are the encoders.

MeGUI is the GUI for the encoders and the multiplexer, which puts them into the container.

I will be using x264 (which is the best h264 encoder) and neroaacenc (which is the best AAC encoder).

By default FAAC will be included, which is not nearly as good as neroaacenc, because of neroaacenc's license.

But if you download neroaacenc (a link will be provided) and put the exe file into the "tools" directory of my gui program, it will automatically use neroaacenc instead of FAAC.

I am thinking of also adding batch encode and 3 step quality/speed selection.

Any other questions, feel free to ask.
[Touch HD General] tnyynt:
The one thing we need! ;)

By the way, why does 800x480 @ 900 kbps video completely lock the system when playing back and response from touching the screen is 10 seconds + ?
[Touch HD General] Wolfenzi:
Wow i downloaded this handbrake. It looks amazing. It´s freeware and it can do everything ! Change resolution, bitrate, container, codec, many things like 2pass for better quality... It also can use my 4,5gb .mkv input !!! And it says it can burn subtitles. I´m now decoding, and will post results ASAP.
[Touch HD General] projection:
You probably had cabac enabled.

Or you didn't use Baseline profile.

I also think level3 is a bit harsh... that means maximum bitrate of 10 000 kbit/s...

Level 2 is more realistic. (2mbit/s maximum).
[Touch HD General] benbeni89:
HI!

I follow this settings..

And convert a file that is 700mb..

http://xdaforums.com/showpost.php?p=3103846&postcount=394

And after conversion it is over 1GB! :eek:

Whats wrong?
[Touch HD General] Wolfenzi:
nothings wrong. Its 2,5mbitrate. what do you think your 700mb film have ? 800 if it is 2 hours film and 1500 if it is some short comedy.
[Touch HD General] asaraki:
hi

maybe a stupid question, but is the SD TuneUp only needed on the blackstone or could it improve the speed also on the Kaisers? A friend has it and i told him about it, so now we're wondering... i couldn't really find any description about the tuneup stating that.... so sorry if it's obvious.

Thanks a lot,

Asa
[Touch HD General] tnyynt:
Usually cooked ROMs have speed tweaks applied. Basically the cab could help almost any device sporting an expansion slot with the tweaks unapplied, that is stock.
[Touch HD General] tnyynt:
These are the settings used generating the lockup and slow responsiveness (maybe too high processor occupancy?):
[Touch HD General] tnyynt:
The bitrate you encoded to is higher than the bitrate of your source video.

The 2500kbps was used for converting a HD video (720p). In case your source is not HD, you can lower it and even match or go below the source video bitrate.
[Touch HD General] projection:
Not sure atm.

I am 80% finished for building GUI.

I will encode some videos and upload them, since my blackstone is still in the mail.

If you can try how the various videos perform, it will be nice.

I will post them in this thread.
[Touch HD General] tnyynt:
Sure, looking forward to it.
[Touch HD General] Wolfenzi:
I just encoded 4,5gb 720p Death Race into 1200kbps WVGA .mp4 h264 . Also using 2pass with my HandBrake.

First problem is, i dont know how to burn in .srt subtitles with HandBrake... I dont know if it is possible, i just know it is possible to burn in DVD subtitles, but dunno about external .srt .

Second problem is, that i dont know (or it is not possible) how to make video with black stripes on top and bottom in HandBrake and I dont want to change aspect ratio.

So I made video which isnt really WVGA as I said, but it is 800x360 or something like that.

But there comes WMP problem... it can only play it on fullscreen, so it is stretched and sides of video are not viewable.

So I put it in Album, which have settings fullscreen or same aspect ratio and played it in it. It is almost smooth, I would say like video with 110-115% benchmark in coreplayer. And the quality is AWESOME ! You will never see that on coreplayer with low resolution, ever with 100mbit bitrate. It is 100% sharp. Every pixel is absolute sharp. This 2500bitrate trailer from Tnyynt just looks so sad against it, and it also lags a lot more. So if Tnyynt says he have 109% benchmark, then if Album would have benchmark option, I think he would have 120%.
[Touch HD General] tnyynt:
Glad you managed to do it to your heart's content.

Would you mind posting a 2 minute snipped for us to see? Or grab a HD trailer and convert to your heart's desire, upload somewhere and let us play?