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 > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th September 2017, 15:05   #5601  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,596
The integers should be the integers as they are stored in the bitstream, i.e. taken right out of the HEVC specs. I assume .. well .. hope they will never change. In this case I just chose them so it works with old and new x265 version.
sneaker_ger is offline   Reply With Quote
Old 14th September 2017, 15:12   #5602  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,239
I think if you compare with the console and online help you'll probably find more then one issue.

Code:
static const char * const x265_source_csp_names[] = { "i400", "i420", "i422", "i444", "nv12", "nv16", 0 };
static const char * const x265_video_format_names[] = { "component", "pal", "ntsc", "secam", "mac", "unknown", 0 };
static const char * const x265_fullrange_names[] = { "limited", "full", 0 };
static const char * const x265_colorprim_names[] = { "reserved", "bt709", "unknown", "reserved", "bt470m", "bt470bg", "smpte170m", "smpte240m", "film", "bt2020", "smpte428", "smpte431", "smpte432", 0 };
static const char * const x265_transfer_names[] = { "reserved", "bt709", "unknown", "reserved", "bt470m", "bt470bg", "smpte170m", "smpte240m", "linear", "log100",
                                                    "log316", "iec61966-2-4", "bt1361e", "iec61966-2-1", "bt2020-10", "bt2020-12",
                                                    "smpte2084", "smpte428", "arib-std-b67", 0 };
static const char * const x265_colmatrix_names[] = { "gbr", "bt709", "unknown", "", "fcc", "bt470bg", "smpte170m", "smpte240m",
                                                     "ycgco", "bt2020nc", "bt2020c", "smpte2085", "chroma-derived-nc", "chroma-derived-c", "ictcp", 0 };
__________________
StaxRip - use pastebin for log files and imgbox for screenshots
mpv.net player
stax76 is offline   Reply With Quote
Old 14th September 2017, 15:30   #5603  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,596
I don't.
sneaker_ger is offline   Reply With Quote
Old 14th September 2017, 15:45   #5604  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,239
Maybe the order is correct, there are some incorrect names however like smpte-st-428 -> smpte428
__________________
StaxRip - use pastebin for log files and imgbox for screenshots
mpv.net player
stax76 is offline   Reply With Quote
Old 18th September 2017, 12:42   #5605  |  Link
cap5lock
Registered User
 
Join Date: Sep 2017
Posts: 3
Is there any h.265 parameters that remove digital noise and make background really still ?
I have no problem with color banding
Any possibilities to do it without additional filtering (avisynth, etc.)?
cap5lock is offline   Reply With Quote
Old 18th September 2017, 18:22   #5606  |  Link
birdie
.
 
Join Date: Dec 2006
Posts: 100
Quote:
Originally Posted by cap5lock View Post
Is there any h.265 parameters that remove digital noise and make background really still ?
I have no problem with color banding
Any possibilities to do it without additional filtering (avisynth, etc.)?
None, it's not the codec's job to do.

Besides there are over several dozen of ways to remove noise and artifacts depending on the source.
birdie is offline   Reply With Quote
Old 18th September 2017, 18:28   #5607  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,298
There are the --nr-intra and --nr-inter options available. Also the dreaded --sao a.k.a. Smooth All Objects could be helpful in your case.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 18th September 2017, 21:37   #5608  |  Link
birdie
.
 
Join Date: Dec 2006
Posts: 100
sao is enabled by default, the two other options are not meant for removing noise or smoothing backgrounds because they will as well smooth everything else. If one wants to remove noise, use avisynth filters for that.
birdie is offline   Reply With Quote
Old 20th September 2017, 22:50   #5609  |  Link
Natty
Noob
 
Join Date: Mar 2017
Posts: 57
Quote:
Originally Posted by cap5lock View Post
Is there any h.265 parameters that remove digital noise and make background really still ?
I have no problem with color banding
Any possibilities to do it without additional filtering (avisynth, etc.)?
u can set deblocking -3:0, raise qcomp, disable all smoothings, but these wont be enough until u use filters.
Natty is offline   Reply With Quote
Old 30th September 2017, 01:09   #5610  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,391
x265.exe 2.5+20-0967d0add97e

https://forum.videohelp.com/threads/...=1#post2497549
Midzuki is offline   Reply With Quote
Old 2nd October 2017, 01:47   #5611  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 224
x265 v2.5+20-0967d0add97e (GCC 7.2.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)

x265 [info]: HEVC encoder version 2.5+20-0967d0add97e
x265 [info]: build info [Windows][GCC 7.2.0][32/64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2


Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough is offline   Reply With Quote
Old 3rd October 2017, 11:38   #5612  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 4,829
x265 2.5+22-8db95a1da9f8 (MSYS/MinGW, GCC 7.1.0) ... does XhmikosR still update?

Fixes for analysis load, WPP, bitstream payload size, VBV hanging; new (internal?) parameter for disabling lookahead; Windows DLL will export x265_encoder_ctu_info()
__________________

German doom9 / Gleitz video board
CQME – change the Matrix!
BeSweet 1.5b31 All In One | HeadAC3he 0.24a13

Rémoulade is spoiled
LigH is offline   Reply With Quote
Old 6th October 2017, 19:40   #5613  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,348
Quote:
Originally Posted by birdie View Post
sao is enabled by default, the two other options are not meant for removing noise or smoothing backgrounds because they will as well smooth everything else. If one wants to remove noise, use avisynth filters for that.
--nr-inter works sort of like an adaptive deadzone for predicted blocks. It absolutely will reduce random noise with a high spatial and temporal frequency, and will help stabalize the background of noisy sources. This can also yield significant bitrate reduction since encoding all those high frequency residuals every frame is expensive.

Of course it can also lose detail in moving areas as well.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Instant Video

My Compression Book

Amazon Instant Video is hiring! PM me if you're interested.
benwaggoner is offline   Reply With Quote
Old 7th October 2017, 12:46   #5614  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 224
x265 v2.5+25-4b95f82c9fb1 (GCC 7.2.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)

x265 [info]: HEVC encoder version 2.5+25-4b95f82c9fb1
x265 [info]: build info [Windows][GCC 7.2.0][32/64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2


Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough is offline   Reply With Quote
Old 7th October 2017, 17:00   #5615  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 23
hey there. are there any commands to improve multithreading on x265?
i'm running an i9 @ 12/24x3.5ghz i end up with 70-80% cpu usage at most, using presets medium slow slower slowest / main10
it's running at ~5/6fps on a slower 4k encode
or do you think something else is bottlenecking me?
RieGo is offline   Reply With Quote
Old 7th October 2017, 17:08   #5616  |  Link
birdie
.
 
Join Date: Dec 2006
Posts: 100
Quote:
Originally Posted by RieGo View Post
hey there. are there any commands to improve multithreading on x265?
i'm running an i9 @ 12/24x3.5ghz i end up with 70-80% cpu usage at most, using presets medium slow slower slowest / main10
it's running at ~5/6fps on a slower 4k encode
or do you think something else is bottlenecking me?
This has been discussed numerous times already. x265 doesn't scale past a certain number of cores. You either buy and use UHDKit or run several copies of x265 simultaneously.
birdie is offline   Reply With Quote
Old 7th October 2017, 17:35   #5617  |  Link
RieGo
Registered User
 
Join Date: Nov 2009
Posts: 23
Quote:
Originally Posted by birdie View Post
This has been discussed numerous times already. x265 doesn't scale past a certain number of cores. You either buy and use UHDKit or run several copies of x265 simultaneously.
thanks for explaining.
i was thinking x265 team wrote it scales up to 20(??) threads or something, but i wasn't sure
i also tried to disable HT to run with (only) 12 threads, which doesn't sound like much to me, but same result.
i'll run 2 instances of x265 then. :
RieGo is offline   Reply With Quote
Old 8th October 2017, 12:56   #5618  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 6,193
Quote:
Originally Posted by RieGo View Post
thanks for explaining.
i was thinking x265 team wrote it scales up to 20(??) threads or something, but i wasn't sure
i also tried to disable HT to run with (only) 12 threads, which doesn't sound like much to me, but same result.
i'll run 2 instances of x265 then. :
You won't notice huge fps boost because HT on intel cpus gives only extra ~15%


If you see cpu utilization at ~75% then this means that in practice you get ~93% of your CPU.
Code:
100-15/50*(100-75)=92.5

Last edited by Atak_Snajpera; 8th October 2017 at 13:03.
Atak_Snajpera is offline   Reply With Quote
Old 8th October 2017, 18:16   #5619  |  Link
AMED
Registered User
 
AMED's Avatar
 
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 420
Quote:
Originally Posted by Barough View Post
x265 v2.5+25-4b95f82c9fb1 (GCC 7.2.0, 32 & 64-bit 8/10/12bit Multilib Windows Binaries)

x265 [info]: HEVC encoder version 2.5+25-4b95f82c9fb1
x265 [info]: build info [Windows][GCC 7.2.0][32/64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2


Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough's link doesn't seem to work for me, just goes to a page saying "Drop to share files".
__________________
A Man Eating Duck
AMED is offline   Reply With Quote
Old 9th October 2017, 11:13   #5620  |  Link
excellentswordfight
Lost my old account :(
 
Join Date: Jul 2017
Posts: 12
Quote:
Originally Posted by RieGo View Post
thanks for explaining.
i was thinking x265 team wrote it scales up to 20(??) threads or something, but i wasn't sure
i also tried to disable HT to run with (only) 12 threads, which doesn't sound like much to me, but same result.
i'll run 2 instances of x265 then. :
I ran a few benchmarks on some machines a few weeks ago, I thought that x265 scaled quite nicely.

2x Intel Xeon E5-2690 v3 @ 2.9Ghz (24C48T): 3.36 fps
2x Intel Xeon E5-2643 v4 @ 3.6Ghz (12C24T): 2.37 fps
excellentswordfight 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 16:02.


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