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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th July 2010, 00:07   #1  |  Link
Boogerlad
Registered User
 
Join Date: Oct 2009
Posts: 24
multithreaded x264 quality loss?

hi, I'm a forum lurker =)
before, x264 used slicing of each frame for multithreading, but I heard it's now a frame based multithreading system. Is there still that quality loss for each additional thread? If so, how much percentage?

thanks!
Boogerlad is offline   Reply With Quote
Old 11th July 2010, 00:10   #2  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,688
Negligible.
Dark Shikari is offline   Reply With Quote
Old 11th July 2010, 00:48   #3  |  Link
Boogerlad
Registered User
 
Join Date: Oct 2009
Posts: 24
one more question; Is it possible to go even better than the quality in the "placebo" preset?
Boogerlad is offline   Reply With Quote
Old 11th July 2010, 00:51   #4  |  Link
Mutant_Fruit
Registered User
 
Join Date: Apr 2004
Posts: 287
Sure, use lossless
__________________
Nothing to see here...
Mutant_Fruit is offline   Reply With Quote
Old 11th July 2010, 01:54   #5  |  Link
Boogerlad
Registered User
 
Join Date: Oct 2009
Posts: 24
doesn't lossless give you the worst compression ratio? like, ultra fast and placebo could be the same size, but placebo would look better. Lossless would look better than placebo, but the file size would be bigger.
Boogerlad is offline   Reply With Quote
Old 11th July 2010, 02:41   #6  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,272
--preset placebo --tune grain --keyint 24 --qpmin 0 --chroma-qp-offset -12 --merange 256
__________________
http://www.7-zip.org/
Audionut is offline   Reply With Quote
Old 11th July 2010, 02:53   #7  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,688
Quote:
Originally Posted by Audionut View Post
--preset placebo --tune grain --keyint 24 --qpmin 0 --chroma-qp-offset -12 --merange 256
At the same bitrate, that will probably produce much worse results
Dark Shikari is offline   Reply With Quote
Old 11th July 2010, 13:13   #8  |  Link
onesloth
Registered User
 
Join Date: Jul 2007
Posts: 137
Quote:
Originally Posted by Boogerlad View Post
one more question; Is it possible to go even better than the quality in the "placebo" preset?
There is a reason the preset is named 'placebo'
onesloth is offline   Reply With Quote
Old 18th July 2010, 14:48   #9  |  Link
sonnati
Registered User
 
Join Date: Jun 2008
Posts: 20
Recently I tested a server with two 6-cores (12 threads) xeons for a total of 24 threads. Using a preset veryslow and thread auto I have had a lot of artifacts in fast moving scenes expecially in CBR where the final average bitrate was considerably lower than the desired.
This strange behaviour disappeared setting a low thread number, like 6 or 8.
sonnati is offline   Reply With Quote
Old 18th July 2010, 20:15   #10  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,688
Quote:
Originally Posted by sonnati View Post
Recently I tested a server with two 6-cores (12 threads) xeons for a total of 24 threads. Using a preset veryslow and thread auto I have had a lot of artifacts in fast moving scenes expecially in CBR where the final average bitrate was considerably lower than the desired.
This strange behaviour disappeared setting a low thread number, like 6 or 8.
Ratecontrol tends to not adapt fast enough for 1-pass CBR at extremely large thread numbers. I would recommend avoiding very large thread numbers for that reason in CBR mode.
Dark Shikari is offline   Reply With Quote
Old 19th July 2010, 03:23   #11  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,234
Generally CBR should be avoided if possible anyway, if encoding to a certain bitrate to ensure a final output filesize 2-pass (ABR) is much more suitable. If file size isn't so much an issue and you want to approximate an output quality then CRF may be more suitable.

If you want something decent above standard settings, try something like:
<code>--rc-lookahead 80 --nr 900 --bframes 6 --b-adapt 2 --direct auto --subme 10 --trellis 2 --psy-rd 1:0.4 --me umh --merange 24 --aq-mode 2 --sync-lookahead 24</code>

Very similar to the presets, but they're my preferred settings...

Main things for me are --subme 10, --trellis 2, --me umh, and --aq-mode 2
burfadel is offline   Reply With Quote
Old 19th July 2010, 11:37   #12  |  Link
sonnati
Registered User
 
Join Date: Jun 2008
Posts: 20
Thank you DS.

PS: I need CBR because I'm encoding for Satellite Broadcasting.
sonnati 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 10:21.


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