MSVC or some (assembler) code which only fails on some systems.
+ Reply to Thread
Results 301 to 330 of 782
-
and now I could reproduce the system with a MinGW build,...
(artifacts are not that visible as with the linked sample above, but they are there)
---
btw.:
--[no-]b-intra Enable intra in B frames in veryslow presets. Default enabled
Shouldn't it be disabled then by default and only get enabled by those presets?
-> seems a bit confusing
--[no-]interlace <bff|tff> Indicate input pictures are interlace fields in temporal order. Default progressiveLast edited by Selur; 19th May 2014 at 17:18.
-
What do these Psy-RD artefacts depend on? Preset? Resolution? CPU instructions? I ran a sequence of all presets with a 640x272 video on a Phenom-II (SSE2) and did not spot issues. At least not as remarkable as LoRd_MuldeR described them.
-
@LigH: I think the presets do not use ' --psy-rd ' atm. so running the presets probably will not help.
To reproduce the issue I took a sample which:
a. doesn't have much motion; with a lot of motion/noise, these artifacts are not always easy to spot
b. is a few minutes long
I too do not see them as pronounced as the sample from LoRd_MuldeR shows them, but they are there. -
Not explicitly repeating that I added this parameter does not mean I forgot it.
Code:-o tos_60s_360_%preset%.hevc --preset %preset% --psnr --ssim --log 3 --csv tos_60s_360_%preset%.csv --psy-rd 1.0
-
Might be releated to crf (or psy-rd is disabled when using cq).
Calls used:
Code:mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -noskip -vf scale,format=444p,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Selur\Desktop\version.avs" | x265 --preset veryslow --input - --input-res 440x80 --fps 24 --frames 240 --ctu 16 --crf 28 --psy-rd 2 --colormatrix bt470bg --output "H:\Temp\crf_20_psy-rd_2.265"
Code:mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -noskip -vf scale,format=444p,scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "C:\Users\Selur\Desktop\version.avs" | x265 --preset veryslow --input - --input-res 440x80 --fps 24 --frames 240 --ctu 16 --qp 20 --psy-rd 2 --colormatrix bt470bg --output "H:\Temp\qp_20_psy-rd_2.265"
Code:version()
-> try using crf instead of cq -
I spotted some in the Sintel trailer now. It may be more obvious with fewer details and slower motion.
I never used CQ. The default is CRF 28, isn't it? ... Hmm, there are defaults for both CQ and CRF in the help output. And the log reports varying QP.
__
Confirmed by developers: "--crf 28.0" is the default, the other is outdated and confusing.
The Psy-RD artefacts in very slow motions look a bit like they may not reference the correct frame, the motion appears to be choppy in some regions.
Will upload a couple later: 720p50 parkrun veryslow, with and without --psy-rd 1.0; the umbrella will catch your attention ...
__
Done.Last edited by LigH.de; 20th May 2014 at 09:34.
-
@x265: regarding noise reduction:
An integer value in range of 100 to 1000,..
0 to disabled
x to reduction level = x * 100 with x being a float from 0 to 10.
Alternatively: Why not use a range from 0 to 1000?
Seems like a strange decision to use a range from 100 to 1000. -
We've pushed a number of improvements to x265, including faster performance at all presets from the default setting (medium) to Ultrafast. Your mileage may vary, but you may see up to 80% faster performance with certain clips at default settings, with very little impact on encoding efficiency.
The psycho-visual rate distortion optimization feature (psy-rd) is disabled by default, but you will probably notice improved visual quality with psy-rd strength somewhere between 0.2 and 0.5 (based on my very limited early testing).
There is also a new lossless mode. Of course, lossless encoding will generate high bit rates, but the decoded content should be identical to the uncompressed source.
--lossless forces full lossless coding of every frame and every CU.
--cu-lossless forces the encoder to perform RD cost analysis between lossy and lossless modes and choose the least cost mode for each CU.
Feedback is welcomed. -
psy-rd still producing artifacts on slower/still scenes?
Any plans to change the 'nr-range' like I suggested?
Regarding lossless: are there special decoders needed, or should the normal decoder all be able to decode it? Does lossless coding do color space conversions (I hope not).
Any news regarding 2pass encoding?
Is the preset table 'http://x265.readthedocs.org/en/default/presets.html?highlight=preset' up-to-date? (with no psy-rd in it)
--cu-lossless forces the encoder to perform RD cost analysis between lossy and lossless modes and choose the least cost mode for each CU. -
Now it's official,
x265 version 1.1 0_o
Originally Posted by Steve Borho -
first, let me mention: i wish the official repository could provide the builds as they post their updates, so that performing encoding tests can be consistant from build to build. however, they or an entity mainly post the build version but not the actual encoder. i wait patiently for the latest build so that i can run tests on them, but days or weeks go by while several more build versions are posted. this creates gaps in the tests that people like myself perform, which can be a problem for us since we can not report any issues or pros and cons or something contributable to the project. this is all sad.
today, i ran tests against the following builds { 1.0.106 / 1.0.156 / 1.1.003 } (using ultrafast preset) although there are gaps (for reasons explained above) i can only report that, quality'wise, build 1.0.156 produced the best product, or the least amount of artifacts (h265 term for encoding artifact or pixelation) than the others. the finished encoded source was near perfect. a personal notation: as for tweeking encoding speed, i'm in favor of the slower parameters since quality is ultimately my end goal. thus, with respect to the above tests, and tipacle noisy h264 compression artifacts (from tv broadcast) video sources, these tweeks were not an improvement.
i can't quite figure out what has caused the differences or more exactly, what parameters and/or presets had changed across those tested versions. if i knew that info i could re-run those tests with the missing parameter changes and that would solve the difference between those tests. to note: just one value can change the scale of quality. accuracy of the results from these tests can provide a welth of info to the project. to do that successfully, the team should provide the preset parameters and values for a new build that incorporated those changes to the presets.
the other thing i wanted to bring up is, (i've asked this once before, a long time ago, maybe) is there an order (perhaps in terms of priority) that the parameters should be entered ?
also, does a parameter "cancell out" or overide or take priority of a parameter and/or value, whether in a preset or not in a preset ?
or it doesn't matter what order the parameters are entered ?
as always, thank you for the encoder updates, the team and project!Last edited by vhelp; 4th Jun 2014 at 21:50.
-
the other thing i wanted to bring up is, (i've asked this once before, a long time ago, maybe) is there an order (perhaps in terms of priority) that the parameters should be entered ?
also, does a parameter "cancell out" or overide or take priority of a parameter and/or value, whether in a preset or not in a preset ?
or it doesn't matter what order the parameters are entered ? -
I wish we could provide you with builds also. As you may know, HEVC implementations require patent licenses from MPEG-LA. We fully support this, and all of our licensees pay these royalties. We can't give something away for free that we have to then pay for ourselves. Even if we charged money, we would have to track each copy (so that you could get updates for free), and this takes a fair bit of infrastructure. We've thought about this problem, but we're a core technology provider (B2B), not a consumer software company (B2C), and so we don't have this infrastructure. There are, however, a number of open-source projects downstream that utilize x265, including FFMPEG and Handbrake. If you're anxious to always get access to the latest build, you'll want to follow our easy-to-follow assembly instructions, to create your own builds.
today, i ran tests against the following builds { 1.0.106 / 1.0.156 / 1.1.003 } (using ultrafast preset) although there are gaps (for reasons explained above) i can only report that, quality'wise, build 1.0.156 produced the best product, or the least amount of artifacts (h265 term for encoding artifact or pixelation) than the others. the finished encoded source was near perfect. a personal notation: as for tweeking encoding speed, i'm in favor of the slower parameters since quality is ultimately my end goal. thus, with respect to the above tests, and tipacle noisy h264 compression artifacts (from tv broadcast) video sources, these tweeks were not an improvement.
i can't quite figure out what has caused the differences or more exactly, what parameters and/or presets had changed across those tested versions. if i knew that info i could re-run those tests with the missing parameter changes and that would solve the difference between those tests. to note: just one value can change the scale of quality. accuracy of the results from these tests can provide a welth of info to the project. to do that successfully, the team should provide the preset parameters and values for a new build that incorporated those changes to the presets.
the other thing i wanted to bring up is, (i've asked this once before, a long time ago, maybe) is there an order (perhaps in terms of priority) that the parameters should be entered ?
also, does a parameter "cancell out" or overide or take priority of a parameter and/or value, whether in a preset or not in a preset ?
or it doesn't matter what order the parameters are entered ?
as always, thank you for the encoder updates, the team and project! -
Since my questions got lost/ignored,..
@x265: Got a few questions:
- Does '--level' enforce the vbv restrictions which belong to the level, or will this only indicate something which might not be correct/sufficient for the stream?
- Does psy-rd still producing artifacts on slower/still scenes?
- Any plans to change the 'nr-range' like I suggested? (from 100-1000 to 0-100)
- Does lossless require special decoders or should the normal HEVC decoder already support it?
- Does lossless coding do color space conversions (I hope not).
- Reading that '--cu-lossless forces the encoder to perform RD cost analysis between lossy and lossless modes and choose the least cost mode for each CU. ' Shouldn't the lossy always 'win' here? If it doesn't shouldn't this be a fixed part of RD processing and not optional?
- "Order doesn't matter. " -> What happen if I call '--crf 16 --crf 18' ?
-
2. Probably yes, if the strength exceeds 0.5; it is not yet rescaled or "completely fixed", AFAIR.
-
^
^
4. Lossless is decoded normally by both OpenHEVC and Lentoid.
5. Apparently it doesn't (N.B., I have run only one test on a YV12 sample). -
More to 2.: No, even with only strength 0.3, artefacts are still visible in "foreman". Somehow I believe that these areas may refer to the wrong base frame number.
-
Selur, I didn't say that the uploaded sample is of the "unplayable" type
-
Yes, Orchid_Cosplay.mp4 plays fine in latest nightly MPC-HC (which uses LAV-Filter, avcodec for decoding)
---
@x2665:
still open questions:- Does '--level' enforce the vbv restrictions which belong to the level, or will this only indicate something which might not be correct/sufficient for the stream?
- when crf-min with crf+vbv is used which setting is more important crf-min or vbv (I hope vbv). If crf-min would be more important, vbv-violations could occur!
- Any plans to change the 'nr-range' like I suggested? (from 100-1000 to 0-100)
- Reading that '--cu-lossless forces the encoder to perform RD cost analysis between lossy and lossless modes and choose the least cost mode for each CU. ' Shouldn't the lossy always 'win' here? If it doesn't shouldn't this be a fixed part of RD processing and not optional?
- "Order doesn't matter. " -> What happen if I call '--crf 16 --crf 18' ? (in x264 the later would overwrite the earlier)
answered through videohelp community, so far:- Does psy-rd still producing artifacts on slower/still scenes?
Yes, even with 0.3 psy-rdo stoll propduices artifacts on sources like foreman. - Does lossless require special decoders or should the normal HEVC decoder already support it?
Lossless is decoded normally by both OpenHEVC, Lentoid and LAVFilter. (Lentoid only supporting 4:2:0 decoding)
So seems like no special support is needed if the used color space is supported. - Does lossless coding do color space conversions (I hope not).
Good, doesn't seem like any color conversion takes place.
Also:- http://x265.readthedocs.org/en/default/cli.html?highlight=crf#cmdoption--crf
defines --max-crf and --min-crf, but the command line uses --crf-max and --crf-min
Cu SelurLast edited by Selur; 7th Jun 2014 at 04:03.
-
The latest patch is supposed to reduce the RAM utilization. May be interesting to check v1.1+193 against an older build regarding encodability of 4K video even with a 32-bit build.
__
Stable at 1.6 GB with preset slow, looks promising.Last edited by LigH.de; 23rd Jun 2014 at 02:29.
-
Impressive results with the command line
Code:--crf 30 --preset slower --aq-mode 2 --aq-strength 1.5 --psy-rd 0.3
__
P.S.:
Another really impressive efficiency result for the 4K clip of in_to_tree; the sky is almost satisfying even at such a low bitrate.Last edited by LigH.de; 24th Jun 2014 at 04:37.
-
And there is version 1.2; just waiting for the verbose summary.
-
Yes$S......
Code:From: Steve Borho <steve@borho.org> Reply-To: Development for x265 <x265-devel@videolan.org> To: Development for x265 <x265-devel@videolan.org> Subject: [x265] [ANN] x265 1.2 released Date: Thu 2014-07-10 05:46 PM Hello, x265 release 1.2 was tagged today. This was a regularly scheduled release with improvements in performance, major improvements in memory usage, and improved psy-rd behavior. There were a few of new options introduced: --cu-stats, x265_param.bLogCuStats - enabling logging of CU stats --hrd, x265.bEmitHRDSEI - enable HRD SEI signaling --ipratio/--pbratio were exposed to the CLI --lambda-file - allows experimentation with lambda tables Plus a number of options added for multi-pass encoding (incomplete). I will document those in the next release after the feature is complete. Full documentation for the features supported in the release can be found at http://x265.readthedocs.org/en/1.2/. -- Steve Borho
-
Since the x265 folks seem to ignore my questions at all here are my thoughts about the options:
--cu-stats, --no-cu-stats
Records statistics on how each CU was coded (split depths and other mode decisions) and reports those statistics at the end of the encode. Default disabled
--hrd, --no-hrd
Enable the signalling of HRD parameters to the decoder. The HRD parameters are carried by the Buffering Period SEI messages and Picture Timing SEI messages providing timing information to the decoder. Default disabled
--ipratio <float>
QP ratio factor between I and P slices. This ratio is used in all of the rate control modes. Some --tune options may change the default value. It is not typically manually specified. Default 1.4
QP ratio factor between P and B slices. This ratio is used in all of the rate control modes. Some --tune options may change the default value. It is not typically manually specified. Default 1.3
--lambda-file <filename>
Specify a text file containing values for x265_lambda_tab and x265_lambda2_tab. Each table requires MAX_MAX_QP+1 (70) float values.
The text file syntax is simple. Comma is considered to be white-space. All white-space is ignored. Lines must be less than 2k bytes in length. Content following hash (#) characters are ignored. The values read from the file are logged at --log-level debug.
Note that the lambda tables are process-global and so the new values affect all encoders running in the same process.
Lambda values affect encoder mode decisions, the lower the lambda the more bits it will try to spend on signaling information (motion vectors and splits) and less on residual. This feature is intended for experimentation.users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
[HEVC] x265.EXE: mingw builds
By El Heggunte in forum Video ConversionReplies: 2221Last Post: 9th Feb 2021, 01:18 -
HEVC Encoder by Strongene Lentoid
By vhelp in forum Video ConversionReplies: 126Last Post: 19th May 2017, 12:58 -
theX.265 (a free HEVC) codec. Have you ever tried that HEVC encoder? (HELP)
By Stears555 in forum Video ConversionReplies: 41Last Post: 16th Sep 2013, 11:15 -
HEVC x265 Decoder
By enim in forum Newbie / General discussionsReplies: 5Last Post: 19th Aug 2013, 12:58 -
MulticoreWare Annouces x265/HEVC Mission Statement
By enim in forum Latest Video NewsReplies: 4Last Post: 9th Aug 2013, 22:09