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

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th January 2017, 16:17   #4581  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
I know what it does...but I just wanted to know, if somebody tested it...because 2.5fps speed drop is huge. I personally don't think, it's worth it....
jlpsvk is offline   Reply With Quote
Old 7th January 2017, 18:59   #4582  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by jlpsvk View Post
...because 2.5fps speed drop is huge.
Well, whether a 2.5 fps speed drop is huge or negligible depends on what FPS you got before

Quote:
Originally Posted by jlpsvk View Post
but I just wanted to know, if somebody tested it... [...] I personally don't think, it's worth it....
The fact that the developers added --no-rskip only to the "veryslow" and "placebo" presets indicates that they don't think the quality/speed trade-off is usually worth it.

...unless you don't care about speed anyway.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 7th January 2017 at 19:34.
LoRd_MuldeR is offline   Reply With Quote
Old 8th January 2017, 05:36   #4583  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
i've got 6-8fps...depending on the source.. so 2.5fps if 30% slower..
jlpsvk is offline   Reply With Quote
Old 8th January 2017, 05:48   #4584  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
Quote:
Originally Posted by jlpsvk View Post
i've got 6-8fps...depending on the source.. so 2.5fps if 30% slower..
Then don't use it! The quality difference is probably in effect, non-existent or at least, so minute you'd really have to be looking closely at the right point on a the right frame zoomed in enough to be able to see there. There are a lot of other settings that you can use that are more beneficial, or save bitrate that benefits ABR video (target being size) or results in a smaller file (target quality). In the latter, you can decrease the CRF (remember decimals are allowed, such as 19.8) to get the equivalent approximate file size, which naturally means the output should be better quality.
burfadel is offline   Reply With Quote
Old 8th January 2017, 05:51   #4585  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
Quote:
Originally Posted by burfadel View Post
Then don't use it! The quality difference is probably in effect, non-existent or at least, so minute you'd really have to be looking closely at the right point on a the right frame zoomed in enough to be able to see there. There are a lot of other settings that you can use that are more beneficial, or save bitrate that benefits ABR video (target being size) or results in a smaller file (target quality). In the latter, you can decrease the CRF (remember decimals are allowed, such as 19.8) to get the equivalent approximate file size, which naturally means the output should be better quality.
I ended up with this and getting around 6fps encoding speed:
Code:
--crf 20 --output-depth 10 --preset slow --rd 6 --tu-intra-depth 4 --tu-inter-depth 4 --amp --cbqpoffs -3 --qpstep 8 --bframes 8 --rc-lookahead 60 --min-keyint 23
--keyint 240 --no-open-gop --colorprim bt709 --colormatrix bt709 --transfer bt709 --deblock -3:-3 --psy-rdoq 10 --no-sao --crqpoffs -3 --high-tier --qg-size 8 --aq-motion
jlpsvk is offline   Reply With Quote
Old 8th January 2017, 17:57   #4586  |  Link
burfadel
Registered User
 
Join Date: Aug 2006
Posts: 2,229
I am currently using
Code:
--crf 20 --output-depth 10 --rd 4 --tu-intra-depth 4 --tu-inter-depth 4 --rdoq-level 2 --amp --early-skip --fast-intra --b-intra --limit-modes --aq-mode 2 --ipratio 1.38 --pbratio 1.28 --me star --max-merge 4 --weightb --analyze-src-pics --bframes 6 --rc-lookahead 45 --ref 6 --psy-rdoq 1.28 --no-sao --qg-size 8 --limit-tu 3 --ssim-rd
using the latest 'nightly' build (2.2+22). It gets very decent encode speed, and decent output! If I really wanted to sacrifice encode speed but get better quality, I would only change --rd 4 to --rd 6, and IMPORTANTLY add --rd-refine which you can only use on --rd 5 and --rd 6. This slows down --rd 6 even further, but actually makes IMO --rd 6 worth the actual speed loss, if you find the slower encoding speed acceptable.

The thing is to find the right balance of encode speed and quality for your needs, and also choose settings that 'make sense'. I should point out that you have set --psy-rdoq to 10, which IMO is very high, but it doesn't matter anyway since it isn't effective without --rdoq-level.

The settings I chose work well for me and to my liking, and performs really well.
burfadel is offline   Reply With Quote
Old 8th January 2017, 20:23   #4587  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
Quote:
Originally Posted by burfadel View Post
I am currently using
Code:
--crf 20 --output-depth 10 --rd 4 --tu-intra-depth 4 --tu-inter-depth 4 --rdoq-level 2 --amp --early-skip --fast-intra --b-intra --limit-modes --aq-mode 2 --ipratio 1.38 --pbratio 1.28 --me star --max-merge 4 --weightb --analyze-src-pics --bframes 6 --rc-lookahead 45 --ref 6 --psy-rdoq 1.28 --no-sao --qg-size 8 --limit-tu 3 --ssim-rd
using the latest 'nightly' build (2.2+22). It gets very decent encode speed, and decent output! If I really wanted to sacrifice encode speed but get better quality, I would only change --rd 4 to --rd 6, and IMPORTANTLY add --rd-refine which you can only use on --rd 5 and --rd 6. This slows down --rd 6 even further, but actually makes IMO --rd 6 worth the actual speed loss, if you find the slower encoding speed acceptable.

The thing is to find the right balance of encode speed and quality for your needs, and also choose settings that 'make sense'. I should point out that you have set --psy-rdoq to 10, which IMO is very high, but it doesn't matter anyway since it isn't effective without --rdoq-level.

The settings I chose work well for me and to my liking, and performs really well.
--psy-rdoq 10 is in effect, as I am using --preset slow and in that --rdoq-level 2 is by default, so no need to set it up.

will try --rd-refine speed loss.

edit: tried --rd-refine is cool... no such speed loss, but about 400kbps bitrate drop...from 3430 to 3003kbps...and the picture is better i thinks.

@burfadel: tried your settings...my preset is much better quality and detail retention....GTX 1060 can do HEVC 10bit encode at that quality with MediaCoder HQ preset with speed about 130fps.

Last edited by jlpsvk; 9th January 2017 at 23:16.
jlpsvk is offline   Reply With Quote
Old 10th January 2017, 06:33   #4588  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Guys,

I'm getting this warning:

x265 [warning]: Cannot use Analysis load/save option and multi-pass-opt-analysis/multi-pass-opt-distortion together,Disabling Analysis load/save and multi-pass-opt-analysis/multi-pass-opt-distortion

I only have " multi-pass-opt-analysis" activated the other one is off

HEVC encoder version 2.2+22-20217c8af8ac
__________________
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 10th January 2017, 07:47   #4589  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,783
The meaning is: You can't use either multi-pass-opt* option together with analysis load or save. If you want to load and save the analysis data, you can't optimize it at the same time.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 10th January 2017, 08:37   #4590  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
one small question.. which AQ-MODE you would recommend to use generally for bluray movies backuping? 1,2,3? (x265 2.2+22 and up)
jlpsvk is offline   Reply With Quote
Old 10th January 2017, 14:04   #4591  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Quote:
Originally Posted by jlpsvk View Post
one small question.. which AQ-MODE you would recommend to use generally for bluray movies backuping? 1,2,3? (x265 2.2+22 and up)


Ad mode = 3 retains very good black level. Encodes a little bit longer though


Sent from my iPhone using Tapatalk
__________________
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 10th January 2017, 14:12   #4592  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 483
If u do 8-bit encodes so do i recommend you to always use --aq-mode 3 otherwise do is 2 enough. For more info, check the x265 documentation.

Sent from my Samsung Galaxy S7 edge via Tapatalk
__________________
Do NOT re-post any of my Mediafire links. Download & re-host the content(s) if you want to share it somewhere else.
Barough is offline   Reply With Quote
Old 10th January 2017, 14:24   #4593  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 666
Quote:
Originally Posted by Barough View Post
If u do 8-bit encodes so do i recommend you to always use --aq-mode 3 otherwise do is 2 enough. For more info, check the x265 documentation.

Sent from my Samsung Galaxy S7 edge via Tapatalk


The doc says:

"This is recommended for 8-bit encodes or low-bitrate 10-bit encodes, to prevent color banding/blocking."

May I ask how do we define low bit rate? I do anywhere between 1500 to 4000. Do these values fall on low bit rate definition?


Sent from my iPhone using Tapatalk
__________________
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 10th January 2017, 20:10   #4594  |  Link
birdie
Artem S. Tashkinov
 
birdie's Avatar
 
Join Date: Dec 2006
Posts: 345
Quote:
Originally Posted by Magik Mark View Post
May I ask how do we define low bit rate? I do anywhere between 1500 to 4000. Do these values fall on low bit rate definition?
At what resolution? FPS? What's your desired picture quality? Do you like your encodes to look indistinguishable from the original?

Last edited by birdie; 10th January 2017 at 22:58.
birdie is offline   Reply With Quote
Old 10th January 2017, 21:29   #4595  |  Link
Vesdaris
Registered User
 
Join Date: Mar 2008
Posts: 68
Guys, what settings would you recommend for a somewhat fast encoding(medium preset) but trying to maintain as much details (and not get all blurry) as x264 can?
Vesdaris is offline   Reply With Quote
Old 10th January 2017, 21:57   #4596  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by Vesdaris View Post
Guys, what settings would you recommend for a somewhat fast encoding(medium preset) but trying to maintain as much details (and not get all blurry) as x264 can?
no SAO, no Strong Intra Smoothing, lower deblock filter to -2 or even -3, CTU of 32, AQ mode to 3

if you have grainy source, migh give the grain tuning a try. Apparently it produces very good results (haven't tried it myself but I've seen claims of that)
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 10th January 2017, 23:48   #4597  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
Quote:
Originally Posted by froggy1 View Post
no SAO, no Strong Intra Smoothing, lower deblock filter to -2 or even -3, CTU of 32, AQ mode to 3

if you have grainy source, migh give the grain tuning a try. Apparently it produces very good results (haven't tried it myself but I've seen claims of that)
for what is "--no-strong-intra-smoothing" good? do I need it/is it worth with my preset?

Code:
--crf 20 --output-depth 10 --preset slow --rd 6 --tu-intra-depth 4 --tu-inter-depth 4
--amp --qpstep 8 --bframes 8 --rc-lookahead 60 --min-keyint 24 --keyint 240 --no-open-gop
--colorprim bt709 --colormatrix bt709 --transfer bt709 --deblock -3:-3 --psy-rdoq 10 --no-sao
--high-tier --qg-size 8 --aq-motion --rd-refine --ssim-rd --aq-mode 3
jlpsvk is offline   Reply With Quote
Old 11th January 2017, 00:28   #4598  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by jlpsvk View Post
for what is "--no-strong-intra-smoothing" good? do I need it/is it worth with my preset?

Code:
--crf 20 --output-depth 10 --preset slow --rd 6 --tu-intra-depth 4 --tu-inter-depth 4
--amp --qpstep 8 --bframes 8 --rc-lookahead 60 --min-keyint 24 --keyint 240 --no-open-gop
--colorprim bt709 --colormatrix bt709 --transfer bt709 --deblock -3:-3 --psy-rdoq 10 --no-sao
--high-tier --qg-size 8 --aq-motion --rd-refine --ssim-rd --aq-mode 3
intra smoothing blurs. If you want to keep as much details as possible, disable it
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 11th January 2017, 00:52   #4599  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 240
Quote:
Originally Posted by froggy1 View Post
intra smoothing blurs. If you want to keep as much details as possible, disable it
and what about psy-rd?
jlpsvk is offline   Reply With Quote
Old 11th January 2017, 01:03   #4600  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by jlpsvk View Post
and what about psy-rd?
psy-rd is beneficial and is not related to intra smoothing. I find a value of 3.5 to be "optimal"
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 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 18:23.


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