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 28th January 2017, 01:53   #4661  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
Effective for RD levels 4 and below.
+
Code:
if (m_param->complexAnalysis && (!bIsVbv || !p->rc.aqMode || p->rdLevel > 4))
{

    p->complexAnalysis = 0;

    x265_log(p, X265_LOG_WARNING, "Complex-analysis disabled, requires RD > 4, VBV and aq-mode enabled\n");

}
=> 'requires RD > 4' should be 'requires RD <= 4'
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 28th January 2017, 16:05   #4662  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
Quote:
Originally Posted by Selur View Post
+
Code:
if (m_param->complexAnalysis && (!bIsVbv || !p->rc.aqMode || p->rdLevel > 4))
{

    p->complexAnalysis = 0;

    x265_log(p, X265_LOG_WARNING, "Complex-analysis disabled, requires RD > 4, VBV and aq-mode enabled\n");

}
=> 'requires RD > 4' should be 'requires RD <= 4'
more "Effective for RD levels 4 and below." should be "Effective for RD levels 5 and over. "
__________________
powered by Google Translator
Motenai Yoda is offline   Reply With Quote
Old 28th January 2017, 16:10   #4663  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@MontenaiYoda: the code I posted disables complexAnalysis when rdLevel > 4, so "Effective for RD levels 5 and over. " seems strange to me.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 28th January 2017, 16:12   #4664  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
I'd agree to Selur's opinion, it seems to match the documentation: complex analysis "Increases the RD level at points where quality drops due to VBV rate control enforcement", therefore it should be more effective when it was initially rather low. It compensates a bit of the loss in fast presets.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 28th January 2017, 16:16   #4665  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 709
Quote:
Originally Posted by Selur View Post
@MontenaiYoda: the code I posted disables complexAnalysis when rdLevel > 4, so "Effective for RD levels 5 and over. " seems strange to me.

Cu Selur
KK I misread 0 as 1
__________________
powered by Google Translator
Motenai Yoda is offline   Reply With Quote
Old 29th January 2017, 13:36   #4666  |  Link
MonoS
Registered User
 
Join Date: Aug 2012
Posts: 203
Hi, i do my encode with a command line like this
Code:
 vspipe.exe -y script.vpy - | ffmpeg.exe -i - -c:v libx265 -preset veryslow -crf 22 ...
Often my script produce a 16bit output due to scaling or denoising, is it best to dithering the input in vapoursynth, pass the clip undithered as i'm doing or use the parameter --dither of x265 in the command line?
If i should dither it on the script side, what kind of dither is it best for this kind of parameters, if i'm not mistaken ordered dither should be the best when reaching for low bitrate target in every case
Code:
rect=0:amp=0:cutree=0:early-skip=0:limit-refs=3:aq-mode=3:limit-modes=1:level-idc=4:me=2:fast-intra=1:max-merge=3:rd=4:rdoq-level=0:psy-rd=1.1:aq-strength=1.9:deblock=-1,-1
Thanks for the attention
MonoS is offline   Reply With Quote
Old 30th January 2017, 12:45   #4667  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
x265 2.2+30-fa52b516f5ff

Code:
complexAnalysis: clean up
http://www.mediafire.com/file/6vj4jy...a52b516f5ff.7z
Midzuki is offline   Reply With Quote
Old 30th January 2017, 12:56   #4668  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Is there a way to convert bt2020 to bt709 color matrix?
__________________
Asus ProArt Z790 - 13th Gen Intel i9 - RTX 3080 - DDR5 64GB Predator - LG OLED C9 - Yamaha A3030 - Windows 11 x64 - PotPlayerr - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 30th January 2017, 15:33   #4669  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 480
x265 v2.2+30-fa52b516f5ff (MSYS/MinGW, GCC 6.3.0, 32 & 64bit 8/10/12bit multilib EXEs)
Barough is offline   Reply With Quote
Old 31st January 2017, 11:46   #4670  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
x265 2.2+30-fa52b516f5ff (GCC 6.2.0)

I hope XhmikosR will release updates MSYS packs...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 31st January 2017, 14:24   #4671  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by Magik Mark View Post
Is there a way to convert bt2020 to bt709 color matrix?
Not with x265. And not well without some high-end tone mapping technologies.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 31st January 2017, 18:39   #4672  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by LigH View Post
x265 2.2+30-fa52b516f5ff (GCC 6.2.0)

I hope XhmikosR will release updates MSYS packs...
You can safely replace GCC 6.2 with the GCC 6.3 build compiled by nevcairiel:

https://files.1f0.de/mingw/

OR go the MSYS2 way...

Quote:
Originally Posted by vBm View Post
Word about MPC-HC was in a dire need of developers was published back in '12.
At the moment only XhmikosR and kasper93 are semi active, you know ... LIFE has happened and not everyone has spare time anymore. Official statement will be drafted and published on MPC-HC's website when the time is right and when there are news to report.
So, perhaps XhmikosR will release a new MSYS1 package only when GCC 7 is out...
Midzuki is offline   Reply With Quote
Old 1st February 2017, 07:37   #4673  |  Link
youli
Registered User
 
youli's Avatar
 
Join Date: Mar 2015
Location: Ukraine
Posts: 23
Hi! Is anybody knows, how to display graphic chart of bitrate distribution for H.265 stream? I mean, just like "Bitrate Viewer" for H.264:

youli is offline   Reply With Quote
Old 1st February 2017, 08:27   #4674  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Did you try whether this Bitrate Viewer fails when you have HEVC multiplexed in a supported container? It may just not support a raw video stream as long as there is no matching source filter.

An alternative may be to let x265 write a verbose CSV log (csv-log-level > 0), import it into a spreadsheet calculator, sort it to display order (that's a bit tricky e.g. in Excel alone), and let this draw a graph.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 1st February 2017, 10:28   #4675  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 337
Quote:
Originally Posted by youli View Post
Hi! Is anybody knows, how to display graphic chart of bitrate distribution for H.265 stream? I mean, just like "Bitrate Viewer" for H.264:

https://github.com/zeroepoch/plotbitrate
birdie is offline   Reply With Quote
Old 1st February 2017, 15:37   #4676  |  Link
youli
Registered User
 
youli's Avatar
 
Join Date: Mar 2015
Location: Ukraine
Posts: 23
LigH, ApTeM thanks a lot for your advices, but.. it will difficult ways for me.

In the both cases for AVC and HEVC I use mkv container. With AVC in mkv "Bitrate Viewer" works perfect, but with HEVC in mkv I got error "Codec not found".

LAV Filters 0.69 was installed.
youli is offline   Reply With Quote
Old 1st February 2017, 15:47   #4677  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Oh, I think I remember that this Bitrate Viewer was built upon some ffmpeg version which is quite outdated today... It will not use LAV Filters. No source available. No longer developed.

Here was the forum thread with my old complaint... The author updated only a Mac OS X version, but not a Windows version.

You will find some more tools there, but they are command line tools, not so user friendly without mouse support.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 1st February 2017 at 15:52.
LigH is offline   Reply With Quote
Old 1st February 2017, 17:10   #4678  |  Link
youli
Registered User
 
youli's Avatar
 
Join Date: Mar 2015
Location: Ukraine
Posts: 23
Oh, thanks! I used CheckBitrate from https://onedrive.live.com/?authkey=%...DD4375AC8933C6 and got csv-file.
Chart it in Excel
youli is offline   Reply With Quote
Old 2nd February 2017, 05:54   #4679  |  Link
x265_Project
Guest
 
Posts: n/a
Quote:
Originally Posted by LigH View Post
Did you try whether this Bitrate Viewer fails when you have HEVC multiplexed in a supported container? It may just not support a raw video stream as long as there is no matching source filter.

An alternative may be to let x265 write a verbose CSV log (csv-log-level > 0), import it into a spreadsheet calculator, sort it to display order (that's a bit tricky e.g. in Excel alone), and let this draw a graph.
No need to sort in display order. The decoder is going to have to decode in decode order, which is the real bit rate.
  Reply With Quote
Old 3rd February 2017, 18:05   #4680  |  Link
davidsama
Registered User
 
Join Date: Sep 2006
Posts: 38
2.2+31-2014112 avx2 version https://tinyvpn.net/a/c/b/acbdfccb48...78919834ebc.7z
davidsama 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:16.


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