Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th February 2009, 22:01   #1  |  Link
kosmonaut
Registered User
 
kosmonaut's Avatar
 
Join Date: Apr 2005
Location: San Diego, CA
Posts: 90
Need expert advice on MeGUI profile

I'm trying to come up with a usable MeGUI profile for the G1 Android phone from T-Mobile. It's a pretty cool phone, but the documentation for its video playback capabilities has been sorely lacking. So, playing around with the MeGUI iPhone/iPod/Zune profiles and testing many, many files, I've got some initial encoding settings that seem to work.

But I'm still pretty n00bish when it comes to x264 profiles, so any advice you guys have on how to make it more efficient would be very, very helpful.

I should say so far the phone is very tolerant of higher bitrates, but not larger resolutions. Also, CABAC is an absolute no go.

Code:
cabac=0 / ref=2 / deblock=1:1:0 / analyse=0x1:0x111 / me=umh / subme=6 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=12 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Thanks!
kosmonaut is offline   Reply With Quote
Old 20th February 2009, 01:18   #2  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
You should be able to raise --subme (to 8; since you don't use b-frames 7 won't change anything and 9 will be same as 8), which is a good choice if you have psy-rd activated. Apart from that not much you can do. Trellis needs CABAC unfortunately. You could set me-range back to 16, but that probably won't do much.
nurbs is offline   Reply With Quote
Old 20th February 2009, 08:33   #3  |  Link
kosmonaut
Registered User
 
kosmonaut's Avatar
 
Join Date: Apr 2005
Location: San Diego, CA
Posts: 90
Thanks nurbs, I will try those suggestions out. Anybody else got some feedback? Is crf=20 overkill for a 480x320 screen?
kosmonaut is offline   Reply With Quote
Old 21st February 2009, 02:55   #4  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
CRF is a sort of index of quality. CRF will result in higher bitrates at higer res and lower bitrates at lower res.
so, no it's not an overkill. if you're satisfied with CRF 20 quality then CRF 20 is good.
Sharktooth is offline   Reply With Quote
Old 21st February 2009, 22:24   #5  |  Link
kosmonaut
Registered User
 
kosmonaut's Avatar
 
Join Date: Apr 2005
Location: San Diego, CA
Posts: 90
Sharktooth, thanks for the info, it helps.

One other question, is there a procedure to get a profile included in the presets that get offered to MeGUI users? I realize the settings are not all that different from iPod/iPhone settings, but I think it would help other Android users so they don't have to figure it out for themselves.

Last edited by kosmonaut; 21st February 2009 at 22:37.
kosmonaut is offline   Reply With Quote
Old 22nd February 2009, 03:59   #6  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
procedure?
you just make and test it and if it works, post it.
i'll include it in megui.
Sharktooth is offline   Reply With Quote
Old 22nd February 2009, 10:16   #7  |  Link
kosmonaut
Registered User
 
kosmonaut's Avatar
 
Join Date: Apr 2005
Location: San Diego, CA
Posts: 90
Great, I'll do that. I'm still testing a few things, but I'm close to being finished with it.
kosmonaut is offline   Reply With Quote
Old 25th February 2009, 20:21   #8  |  Link
kosmonaut
Registered User
 
kosmonaut's Avatar
 
Join Date: Apr 2005
Location: San Diego, CA
Posts: 90
New MeGUI profile for Android G1 phones

Ok, after quite a bit of testing different encoding options to make sure they worked on the Android G1 phone, and then doing a whole bunch of PSNR and SSIM comparisons, to make sure I wasn't producing compliant but low quality video, I believe the profile is ready.

If anybody wants to take a look and has any feedback (positive or negative) just let me know here or PM me. Just remember the phone is super picky about resolution and won't play anything with a width over 480. Also, I went with CRF since there is no specific size requirement that I could find.

Otherwise, I think it's ready to be included in MeGUI if that's cool with Sharktooth.
Attached Files
File Type: zip x264 Device-Android G1.zip (1.2 KB, 229 views)

Last edited by kosmonaut; 26th February 2009 at 20:15.
kosmonaut is offline   Reply With Quote
Old 16th March 2009, 17:56   #9  |  Link
kosmonaut
Registered User
 
kosmonaut's Avatar
 
Join Date: Apr 2005
Location: San Diego, CA
Posts: 90
Going to respond to my own post but just an update, I've put together a step-by-step guide to encoding with MeGUI for the Android G1. Check it out here.
kosmonaut is offline   Reply With Quote
Old 16th March 2009, 20:24   #10  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
thanks...
_
b66pak is offline   Reply With Quote
Old 19th March 2009, 14:09   #11  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
@kosmonaut: i've included a modified version of your preset into megui auto-update.
i've changed it to 2 pass since CRF is not so happy with VBV restrictions. I've also set ME-Range to 16.
Sharktooth is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.