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 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th January 2010, 05:39   #1  |  Link
gizzin
Registered User
 
Join Date: Jun 2004
Posts: 324
Opinions for avchd x264 anime settings

Looking for peoples opinions on x264 settings when encoding anime to avchd. 2pass is a must, time doesn't matter. Thanks for your opinion.
gizzin is offline   Reply With Quote
Old 25th January 2010, 13:09   #2  |  Link
J_Darnley
Registered User
 
J_Darnley's Avatar
 
Join Date: May 2006
Posts: 957
--tune animation
__________________
x264 log explained || x264 deblocking how-to
preset -> tune -> user set options -> fast first pass -> profile -> level
Doom10 - Of course it's better, it's one more.
J_Darnley is offline   Reply With Quote
Old 25th January 2010, 13:15   #3  |  Link
aBra
Registered User
 
Join Date: Dec 2005
Posts: 5
Quote:
Originally Posted by gizzin View Post
...time doesn't matter...
--preset placebo ^^
aBra is offline   Reply With Quote
Old 25th January 2010, 20:41   #4  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 583
More b frames and refs (7 is good....more is useless IMNO)
If you have enough bitrate:
Code:
--no-mbtree --b-pyramid normal --aq-mode 0 --psyrd 0:0
If not: same commands but with AQ enabled and --aq-strength 0.4to0.7
Well you need to test to get a good compromise ringing/banding...
MatLz is offline   Reply With Quote
Old 26th January 2010, 09:03   #5  |  Link
julius666
Registered User
 
julius666's Avatar
 
Join Date: May 2009
Location: Hungary
Posts: 79
Quote:
Originally Posted by MatLz View Post
If you have enough bitrate:
Code:
--no-mbtree --b-pyramid normal --aq-mode 0 --psyrd 0:0
--no-mbtree ? Why? It's pretty usable at anime.

Anyway, I would recommend this settings (if time doesn't matter):

Code:
--preset veryslow --tune animation --aq-mode 4 --qcomp 0.72 --b-pyramid normal
--ref-frames: the more the merrier, but watch out for DXVA restrictions (it depends on your resolution).

keep in mind, that you need a patched build for --aq-mode 4 like this http://forum.doom9.org/showpost.php?...postcount=2923
julius666 is offline   Reply With Quote
Old 26th January 2010, 11:11   #6  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 583
Quote:
Originally Posted by julius666 View Post
--no-mbtree ? Why? It's pretty usable at anime.
It's just my half blind's opinion, don't be!
I find some edges are broken and some details completely killed....theoricly it's maybe the right allocation of bits....but I don't like the result!
MatLz is offline   Reply With Quote
Old 26th January 2010, 12:46   #7  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
His target is AVCHD, so this exotic setings such as bframes > 3 are not allowed Resoultion then must be 720x480, 720x576, 1280x720, 1920x1080, 1440x1080 and no exceptions, btw here you have allowed combinations http://www.avchd-info.org/format/index.html. Based on this other settings must be applyed such as max ref frames, VBV, level. To be more safe i recommend you to use Level 4.0, VBV-Maxrate 15000, VBV-BufferSize 15000, and maximum 4 reference frames for any resolution, and 3 bframes. Also you need nal-hrd patched x264 buld and you need to use --nal-hrd and --aud switches aslo.
shon3i is offline   Reply With Quote
Old 26th January 2010, 22:39   #8  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
Quote:
Originally Posted by MatLz View Post
It's just my half blind's opinion, don't be!
I find some edges are broken and some details completely killed....theoricly it's maybe the right allocation of bits....but I don't like the result!
Is this comparing the same sized files or are you using no-mbtree with the same crf value as a way of increasing the size? I haven't noticed this is why I am asking (but maybe I am encoding to to low of a crf value for this effect to be seen).
Asmodian is offline   Reply With Quote
Old 27th January 2010, 03:56   #9  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 583
I usualy use 2 passes encoding, even for testing.

Well I did a test: I compared my old reference encode (without mbtree and with regular settings on r1332) of my favorite dvd sample test with complete insane overkill placebo settings+mbtree of the last 1400...

At my eyes, the old regular encode is highly better.
But I repeat: it's just my opinion.
MatLz is offline   Reply With Quote
Old 27th January 2010, 10:21   #10  |  Link
julius666
Registered User
 
julius666's Avatar
 
Join Date: May 2009
Location: Hungary
Posts: 79
Quote:
Originally Posted by MatLz View Post
I usualy use 2 passes encoding, even for testing.

Well I did a test: I compared my old reference encode (without mbtree and with regular settings on r1332) of my favorite dvd sample test with complete insane overkill placebo settings+mbtree of the last 1400...

At my eyes, the old regular encode is highly better.
But I repeat: it's just my opinion.
Did you try it with higher qcomp too?
julius666 is offline   Reply With Quote
Old 27th January 2010, 21:55   #11  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
Quote:
Originally Posted by MatLz View Post
I usualy use 2 passes encoding, even for testing.

Well I did a test: I compared my old reference encode (without mbtree and with regular settings on r1332) of my favorite dvd sample test with complete insane overkill placebo settings+mbtree of the last 1400...

At my eyes, the old regular encode is highly better.
But I repeat: it's just my opinion.
What resolution and bit rate are you encoding to? I would have just used mb-tree for pretty much everything (after my own limited testing on one source lol) so I ask to know in which situations I should do my own tests.

Last edited by Asmodian; 27th January 2010 at 21:58.
Asmodian is offline   Reply With Quote
Old 27th January 2010, 22:13   #12  |  Link
Caroliano
Registered User
 
Join Date: Feb 2005
Location: São Paulo, Brazil
Posts: 392
I usually use qcomp around 0.7 or a bit higher, so if AQ or MB-tree decide to screw up my image, they can't do too much damage. The higher the bitrate/quality that I'm aiming for, the higher I set the qcomp. I'm aware that I'm trading compression efficiency for more safety and a more constant quality acros the video. Kinda like when you chose to do more or less denoising before feeding the video to x264. IMHO, the default value of 0.6 is too low as a default...
Caroliano is offline   Reply With Quote
Old 28th January 2010, 01:53   #13  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 583
I never try to change qcomp...
Will do tests by increase it a little.
My test source is really difficult to compress, lot of motion, fades, grain....so good for testing!
I output it at 768x416 at 800kbps (same than my reference old encode)
MatLz is offline   Reply With Quote
Old 28th January 2010, 11:59   #14  |  Link
julius666
Registered User
 
julius666's Avatar
 
Join Date: May 2009
Location: Hungary
Posts: 79
Quote:
Originally Posted by MatLz View Post
I never try to change qcomp...
Will do tests by increase it a little.
My test source is really difficult to compress, lot of motion, fades, grain....so good for testing!
I output it at 768x416 at 800kbps (same than my reference old encode)
As Dark Shikari said in the mbtree thread:
Quote:
Quote:
there's some possibility that the default qcomp 0.6 is not the psy-optimal value--it might be higher.
http://forum.doom9.org/showpost.php?...80&postcount=1

I've experienced a bit, and found 0.72 the best for film. For anime it's even higher, the optimal value for my eyes is between 0.75 and 0.82.
julius666 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 14:17.


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