yashsingh1/xdaforums huggingface dataset:
[Desire Themes and Apps] th3:
Just to quickly add - I don't tend to use automated profiles although I know it's what most are after (quickest).

What do you think of YouTube HD? Good enough quality for you or, you'd like better?

I had a quick look at your upload vid properties and they have different internal recode settings and different end file sizes. As such, a true cross-comparison is very difficult (all things kept consistent, the stream with the highest bit-rate and file size will have better visuals). The point of transcoding really is to keep the file size as small as possible with video and audio at your accepted levels -- that level differs for everyone depending on a variety if factors. Many YouTube HD vids are for instance only 480-560 Kbps streams. But all things which impact quality were not automatically kept fixed in these transcodes. Your vids were;

1) Any

Duration : 2mn 1s

Overall bit rate : 2,091 Kbps

Video

Format profile : Baseline@L1.3

Format settings, ReFrames : 2 frames

Bit rate mode : Variable

Bit rate : 1,865 Kbps

Width : 800 pixels

Height : 480 pixels

Frame rate : 25.000 fps

Bits/(Pixel*Frame) : 0.194

Stream size : 27.1 MiB (89%)

2) MP4

Duration : 2mn 1s

Overall bit rate : 1,994 Kbps

Video

Format profile : Baseline@L3.0

Format settings, ReFrames : 1 frame

Bit rate mode : Variable

Bit rate : 1,544 Kbps

Maximum bit rate : 2,932 Kbps

Width : 800 pixels

Height : 448 pixels

Frame rate : 25.000 fps

Bits/(Pixel*Frame) : 0.172

Stream size : 27.0 MiB (93%)

3) Winmec

Duration : 2mn 1s

Overall bit rate : 2,713 Kbps

(missing vital info it would not show here)

Bit rate mode : Variable

Bit rate : 2,579 Kbps

Width : 800 pixels

Height : 480 pixels

Frame rate : 25.000 fps

Bits/(Pixel*Frame) : 0.269

Stream size : 37.4 MiB (95%)

So the Winmec transcode should have much better visuals than the other two here, even just looking at the empirical data, however, how much of that better-ness is perceptible to untrained and trained human eyes? Judging by mass-accepted online "HD" video, usually not much - and on portable phones - even less (perceptible difference threshold decreases with decreasing display size).

I'll upload a few transcodes using different settings... see which you feel is better (on the intended phone).

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] jpopgt:
Thanks for the info.
[Desire Themes and Apps] th3:
Another update:

Looks like your A/V sync issues are caused by too high bit-rate video streams being too power demanding on the hardware of the phone and so the CPU can't keep up. While running some test encodes for the post I had promised, upon checking playback on the Desire, I noticed getting the same A/V sync problems which don't exist on the Desktop. Dropping the video bit-rate alleviated that problem completely albeit the visual quality dropped too. I better check the vids in the default player too just to be sure now (I use Act 1 or Meridian video players mainly). So do keep in mind that higher bit-rate video playback requires more hardware power and hence much higher battery usage than lower bit-rate.

At the moment, I'm stuck with the latest update I've just installed for Super(c) not changing internal codec settings no matter what options I choose (same Lady Gaga 1080p video taken from a Blu-ray rip). Very strange. Just working on getting that running before posting some transcodes. Bear with me, please...

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] nikosrs4:
sorry if this is irrelevant but how do i hardcode subtitles with mp4hd?
[Desire Themes and Apps] jpopgt:
You just need the srt file with the same name as the movie in a folder and have the srt option selected in the edit settings of MP4forHD.
[Desire Themes and Apps] nikosrs4:
maybe I forgot the language selection..I'm trying again now, thanks ;)
[Desire Themes and Apps] jpopgt:
Thanks for all the effort you are putting in:)
[Desire Themes and Apps] nikosrs4:
subtitles don't work...when I click edit, it opens sm player and it crashes..then I have some option in a small window where I can select my subs, but the output file has no subs.

also, in the conversion dialog it mentions the subs.
[Desire Themes and Apps] jpopgt:
You got all the correct codecs installed and is the srt file named exactly as the video?

I have just tried a small clip using the default HD2 setting and subs are displayed fine.....

A Dirty Carnival
[Desire Themes and Apps] th3:
Jpopgt: Have you checked the vids linked by MacCarron?

Those settings are perfect, the same as what I would use -- except I drop vid bit-rate down to between 480-1500 Kbps depending on the vid, and drop the audio bit-rate down to 128-224 Kbps, again, depending on the original source and vid (i.e. how critical the visual and acoustic detail is in my book for that vid). If I want the highest phone playback detail I usually go for the 2 Mbps / 240 Kbps bit-rate region. Any higher causes playback problems/anomalies.

BTW, one of the end transcode settings are a little different to what you chose. For instance, the audio bit-rate is averaging near 250 Kbps instead of +300 Kbps.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] MacCarron:
You are right...either the program screwed up or i set the bitrate lower than i remembered :p. Source was DTS, so in theory 1536kbps. TBH, unless one plugs a VERY GOOD headset into the desire or has EXTREMELY fine ears he wont be able to tell the difference between 320 and 250 :p. At least, i cant. I have so-called eagle eyes and will notice the slightest video frame drop, but i guess my ears are not as good :p:p.
[Desire Themes and Apps] nikosrs4:
when I convert an mkv HD movie into mp4, it doesn't burn the subs, but after that I tried to reconvert the already converted mp4, only to add subs and voila..I had subs..
[Desire Themes and Apps] th3:
Yup, I agree.

I've become stuck with the latest Super(c) install being completely bugged (version 38). I made the mistake of updating to the latest so-called stable version before I would recommend it fully, to test with that and now I can't revert. It simply won't encode the video stream at the chosen settings and the older versions install but don't start anymore. So I'm stuck for the time being and don't advise people to mess around with this software for now (unless you want the options it does still allow). Basically, the video "high quality" option isn't being unchecked in the app even though the GUI shows it unchecked. So the vids are being encoded at a variable bit-rate with a minimum of 1436 Kbps and a maximum of 4356 Kbps. That's far too high for this phone and won't be a good watch. I'll upload two such samples in a while after testing them on my Desire.

EDIT: Avoid Super(c) v38 - slight video corruption in every encode I've tried (48-34Mbps Blu-ray vids) and plenty of other notorious bugs.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] th3:
Here's the same vid from a DVD rip using the only settings that are working with Super(c). Transcoding using the far higher quality BR rip isn't working well, heavy lip sync problems in the end file.

Lowest settings I can enforce: http://db.tt/YNhpAh

Typical settings (similar to your AnyDVD settings): http://db.tt/GYwHVJ

How do they look and sound on yours?

I don't get any lip sync with them. By default, most of these conversion apps raise the audio volume without user intervention... Super(c) raises it by +6db by default but I purposely set it to keep the sound as a replica of the original in these encodes (audio stream copy). It can be raised quite easily. I'm not going to give more details and opinions on the files just yet, until you've made an initial judgment :)

Extra note:

The latest yxplayer update is playing Divx, Xvid, MPEG-1, MPEG-2 and WMV vids OK for me including in the AVI container and embedded PCM and MP3 audio within such vids (which all the default players do not do). MKV container doesn't. It played a full 985MB Divx/MP3/AVI movie just now fine.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] Bart1981:
Maybe XMedia Recode is an option?

@jpopgt what program did you end up after this thread? Which gives the most satisfying result for you and what settings did you use after all?

Trying Mp4ForHD now myself.
[Desire Themes and Apps] jpopgt:
Both your files play fine on my desire and there is no lip sync problems but i think MP4forHD might have the edge for better picture quality.

Thanks for your time guys....i think i might just use MP4forHD just now and have a play around with winmenc to see if i can sort out lip sync problems.

Cheers.
[Desire Themes and Apps] jpopgt:
I am just going to use MP4forHD for now using 2 pass and 0.3 audio delay which seems to give me a great picture for now...also subtitle support which i need.

Might try out that program you linked.

Cheers.
[Desire Themes and Apps] jpopgt:
I just tried Xmedia recode with the Lady Gaga source and think the video quality is as good as winmenc but i still get a bit of delay in audio using the HTC Desire profile.

There is loads of options in this program.....maybe we can get perfect settings for our desire with this?

th3 and MacCarron....you have better knowledge than me understanding all these settings.....could you try some encodes again using the settings in this program?

Thanks again.
[Desire Themes and Apps] th3:
I will try that app once at the PC

(probably by tonight).

The Winmec encode (and one other - I need to check which again) had manual video sharpness applied. That causes some noticeable difference.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] Bart1981:
I'm curious what you think of the program. It's a bit faster compared with Mp4ForHD
[Desire Themes and Apps] lethalfriend:
I always encode using AVS Video converter. following are the settings which i am using on AVS.

1: Select toMp4 tab then select PSP/PS3 profile and click on edit profile

2: In Video codec drop down set MPEG4(DivX/XviD)

3: In Audio codec drop down set MPEG2/4 Audio

4: Frame size--->>> Width: 800 , Height: 480

5: Frame Rate--->> 29,97 fps

6: Bitrate ---->>>> 2000/1500

7: File Type--->>> mp4 iso v.2

8: Channels = Stereo

9: Sample Rate= 44100 Hz

10: Audio Bitrate= 192 kbps

11: Sample size = 16 bit

12: Save profile as HTC Desire or whatever name you like :)

Happy Encoding....
[Desire Themes and Apps] th3:
Excellent app for the masses! It works easy and does exactly what you want, and for those wanting more tweaking, that is also possible.

It allowed me to use the BD source, started encoding at the timeline I set and finished where I set... however, when using this method, the first frames are greyed out with this app. I have just tried the stock Desire profile, it is low (720*480, 900 Kbps video, 64 Kbps sound - suitable for most masses though). Then I ran a little higher tuning it (same as the Super(c) settings I chose). Then another sharpening that video a little and I've just finished now using the same video settings as the Winmec encode (sound is better). Just waiting for Dropbox to finish uploading from this phone so I can link them here for you to playback.

Here you go. Test them on your phones. To test for the placebo effect, I'm not going to mention which is which for now... :p

http://db.tt/RcuZFb

http://db.tt/1VHqFn

http://db.tt/IHCK2h

http://db.tt/CRx6pb

One is "Tuned high (same as my Super(c) settings)"

One is "Tuned high and sharpened"

One is "Highest (same as Winmec settings)"

One is "Stock Desire preset"

One thing it did not allow is custom 800*450 res -- a crash everytime I tried this. So except the stock preset, the rest are 800*480.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] th3:
Those settings would do more than perfect for the vast majority, but, trust me, he is after higher quality settings, as in the highest the phone can handle. :p

I know it is designed to handle at least 2Mbps playback smoothly since it records video at that.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] Bart1981:
The first one is with default settings...

Don't know what the last 2 are, but those are the better then the others I think...
[Desire Themes and Apps] jpopgt:
I think G2 is Tuned high and sharpened and G3 is the same as winmenc?

I can't really see a difference between G3 and G4

I would be very happy using these settings but lipsync is still out a bit playing on my phone.

Maybe its just this lady Gaga video?

Cheers.
[Desire Themes and Apps] lethalfriend:
Try encoding with AVS convertor using above settings for Lady gaga video and post your results.
[Desire Themes and Apps] th3:
G1 equals the stock preset

G2 equals the tuned high (av. bit-rate 2350 Kbps)

G3 equals the tuned high sharpened

G4 equals the highest sharpened (av. bit-rate 2550 Kbps)

My intuition turned out correct. It is the slight sharpened picture making the video appear better to people, not the real higher quality, higher bit-rate. So we can use much lower settings than Winmec with the same perceived quality on the phone.

If there is still lip sync, it means the vids are too powerful for the phones CPU (too high bit-rate). I'll try dropping the settings a little more and post. We'll try 2250 and 2150.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] th3:
I don't get lip sync problems with the G3 vid, but large lip sync deviation with the G4 vid. Same as the Winmec. I can tell most notably at the beginning when the lady says "Yeah, hit her" and a second after the picture shows her saying that. Very obvious.

There is very slight lip sync in places in the video itself if you pay close attention (I've noticed it on the BD rip on the PC).

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] th3:
If we set MPEG-4 ASP (DivX/XviD) as your settings state, the Desire won't play the resultant vids. You would need to set MPEG-4 AVC.

Update Vids

==========

G5: http://db.tt/qSFDEu

G6: http://db.tt/2dzHcr

Any difference (in what way)?

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] lethalfriend:
In my profile the video codecs are set as MPEG4(Xvid/DivX Compatible) and the vids are working fine. I have tried h.264/AVC but thats not working at all. Give it another try and you'll find out.
[Desire Themes and Apps] th3:
Kinda odd that you must choose this and not the H.264 AVC profile. But yes, after encoding using exactly the settings you wrote, the video plays on the Desire. This is it: http://db.tt/ENy5jD

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] jpopgt:
I tried your setting too and it plays well on the Desire.

I think after trying out all these samples and converters my best option is to use MP4forHD with the 0.3 audio delay and 2 pass, its easy to use and the most stable.

I think Xmedia Recode could do a lot better but i just don't understand all the extra settings in options.

If anyone manages to get near perfect video quality and sound maybe you could pass them on.

Thanks for all the help.
[Desire Themes and Apps] th3:
The problem is, media quality is relative according to the person. So people differ in how they label what. For instance, the G3 encode I linked above to me is perfect on the phone and the same as Winmec, but better in audio.

Afterdawn is a good place to learn the basics of audio/video and the common terms, especially used in software. We have kept to very basic tuning and option manipulating yet. Their glossary is a good place to lookup an option you come across.

For me, both the AVS Converter and Xmedia Encode have become viable good options now that weren't before (as long as AVS isn't a paid app). So many thanks to people who suggested them.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] BaGRoS:
What should be the encoding parameters for the embedded player?
[Desire Themes and Apps] Bart1981:
Your welcome.

Could you please share the settings of XMedia you use (G3)?
[Desire Themes and Apps] th3:
Sure, but it will differ slightly depending on the source video/audio. The Gaga vid source was a 1080p BD rip.

After selecting the input file and choosing the HTC Desire MP4 profile under the Format tab, don't change anything but these;

Video codec: MPEG-4 AVC/H.264

Under the Video tab

Framerate: Keep original

Profile: Baseline

Level: 3

Rate control mode: Average bitrate

Bitrate: 2350

Under the Audio Track 1 tab

Rate control mode: Average bitrate

Channels: Stereo

Bitrate: 192

Volume change: (plus 100 increases volume if you need)

Under the Filters/Preview tab

Scroll to Resolution:

Video size: Custom and then type in what you're after (I chose 800*480 but 800*448 works well too)

Scroll to Sharpness:

Check enable sharpeness and move it up to 0.3

Add Job -> Encode

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] Ad-james:
I second AnyDVD/Any Video Converter. I use the same settings as outlined in the above quote (although I set bitrate @ 1600kbps- anything higher is a waste of storage and drains battery more in my opinion).
[Desire Themes and Apps] Bart1981:
Great! Thnx!
[Desire Themes and Apps] MacCarron:
Today, as an exercise with no real current usefulness, i decided to test how far i could push the Desire as far as video playback is concerned. I extracted a clip from the award winning documentary "Microcosmos".

Source Info:

Format : Matroska
File size : 236 MiB
Duration : 2mn 11s
Overal bit rate : 15.0 Mbps
Encoded date : UTC 2010-06-14 09:07:21
Writing application : mkvmerge v2.9.5 ('Tu es le seul') built on Jun 7 2009 11:07:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2mn 11s
Width : 1800 pixels
Height : 1080 pixels
Display aspect ratio : 1.667
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Language : French

Audio
Format : DTS-HD
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 2mn 11s
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Language : French

Encode Info:

Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 159 MiB
Duration : 2mn 11s
Overal bit rate : 10.1 Mbps
Encoded date : UTC 2010-06-14 11:01:48
Tagged date : UTC 2010-06-14 11:01:49
Writing application : mp4creator 1.4.4

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L1.3
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Duration : 2mn 11s
Bit rate mode : Variable
Bit rate : 9942 Kbps
Width : 1200 pixels
Height : 720 pixels
Display aspect ratio : 1.667
Frame rate mode : Variable
Frame rate : 23.976 fps
Minimum frame rate : 23.974 fps
Maximum frame rate : 23.981 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.480
Stream size : 156 MiB
Encoded date : UTC 2010-06-14 11:01:48
Tagged date : UTC 2010-06-14 11:01:49

Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 2mn 11s
Bit rate mode : Variable
Bit rate : 232 Kbps
Maximum bit rate : 332 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 3.65 MiB

As you can see, i have encoded a 1080p 15Mbps video to a 720p video with a bitrate of almost 10Mbps :D:D.

The playback on the Desire is flawless, no sync of framedrop issues ( CPU @ 1267Mhz). Not to mention stunning, of course :D:D.

Here is a link to the video in case anyone wants to give it a try.

http://www.megaupload.com/?d=JSXE2BTR

Yeah, 160Mb for 2 mins :p:p

As i said, this was meant only as a test to see what the Desire is capable of, and i'd say it does a heck of a job :D. ( Ok i did this exercise MOSTLY to shove it up an iPhone-fanboy friend of mine's ass :p:p:p )

However, if mkv support were ever to be added to android and provided we used a big enough MicroSD card, this result means that we wouldn't have to worry about converting/encoding 720p matroska videos to play properly on the phone, just copy-paste them and enjoy

:D:D
[Desire Themes and Apps] jpopgt:
The quality in your video is stunning MacCarron....best i have seen!

You are using a custom rom clocked at ( CPU @ 1267Mhz)?

It is slightly jerky on my stock T-Mobile rom...think i will re-root again.

Do you mind putting a guide up to use mp4creator?

Cheers.
[Desire Themes and Apps] MacCarron:
Yep i'm using MoDaCo Custom ROM (link) + richardtrip's OCUV Kernel (link).

The writing application is mp4creator because Any DVD Converter Professional uses it internally to convert files to MP4 :D. The software i use to gather media info is..well, MediaInfo :p If you like i can put together a few screenshots of the whole process, but it's pretty straightforward as both apps have a nice user friendly GUI ;)
[Desire Themes and Apps] jpopgt:
I downloaded mp4creator but it does not open up for me.....maybe it does not work on Win 7.

If you could put a few screen shots up that would be great.

Thanks again.
[Desire Themes and Apps] MacCarron:
As i mentioned in tmy previous post, i do not use mp4creator. I guess it is a command line tool.. i use Any DVD Converter Professional which automagically uses mp4creator internally ;)
[Desire Themes and Apps] jpopgt:
Ah, i understand now:)

I have tried a couple of clips that i encoded with an 8mb bitrate and it plays fine on my phone.

Its a good program but would be better if there was more tweaking......you can't adjust the audio delay can you?
[Desire Themes and Apps] MacCarron:
Yes you can, in the advanced video options from the menu bar you can tweak the audio/video sync :D

I agree it would be much better with more in depth options, but this is the best i've found yet...
[Desire Themes and Apps] jpopgt:
Cool, will check this out:D
[Desire Themes and Apps] th3:
Good job, thanks for the work and details.

It looks like 720p vids run perfectly fine and actually look best on the smaller screen... at high bitrates. I can clearly tell the quality difference of that at 2.5Mbps and 10Mbps on this phone. I can imagine that, as the phone has such native record/playback capabilities, at least to 8Mbps. That vid looks excellent in quality, a good balance in terms of sharpness.

Well, at least with some vids. We need a standard video to test and compare really. I cannot do this for the Gaga vid or any vid which has medium-fast pace movements, much action (like Transformers, etc), or such fast scene change and heavy tuned songs, like the Gaga Telephone vid. The phone just won't play them at high bitrates without frame drops and audio sync issues all over.

Is it possible for you to post the same scene at 5Mbps and 2.5Mbps to compare? (without giving away which is which). I'd like to see what quality difference exists and if the high bitrate is any realistic use for phone playback.

The problem with the brand fanatics is that they scream/rant too soon based on conjecture, and get caught in the act when trying to disguise themselves as genuine non-partisan interested individuals. Same case exists for the video recording/playback and for the pixel density rigmarole. Both were debunked as marketing/fanatic nonsense in due time.

-------------------------------------

- Sent via my HTC Desire -
[Desire Themes and Apps] MacCarron:
Hehehe i hear you ;). I'm encoding the videos right now. However it'll take some time to upload them as my upspeed sucks big time :(. As soon as they are all up i will post them

I'll do the following encodes:

1200x720 @ 5Mbps

1200x720 @ 2.5Mbps

800x480 @ 10Mbps

800x480 @ 5Mbps

800x480 @ 2.5Mbps