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. |
22nd July 2014, 10:28 | #1101 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
|
The tool "strings" just filters longer sequences of readable characters, without knowing if it is actually text meant to be read by humans. "Random" sequences of data bytes "incidently" making readable character sequences pass it too.
|
25th July 2014, 00:04 | #1103 | Link |
Guest
Posts: n/a
|
Yes, 2 pass encoding is enabled in the Dev build, but there are a few bugs that we are aware of and working on (dealing with compatibility with rate control options used in the first or second pass). Detailed feedback (ideally, with source clips available to us and steps to reproduce the results) is welcomed.
Tom |
26th July 2014, 11:51 | #1104 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
well you can make yourself "turbo first pass". I make several test and that work very well ...
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
26th July 2014, 15:03 | #1105 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Quote:
---- btw. 2pass + qpfile -> crash (https://bitbucket.org/multicoreware/...frame-type-not) |
|
26th July 2014, 15:18 | #1106 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
Code:
x265.exe --input hp.yuv --output crf23aq.265 --input-res 720x304 --fps 25 --pass 1 --stats hp.log --bitrate 450 --preset fast --me dia --ref 1 --aq-mode 0 --aq-strength 1.0 --psy-rd 0.0 --bframes 3 --b-adapt 2 --min-keyint 1 --ipratio 1.2 --pbratio 1.2 --psnr
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 26th July 2014 at 18:50. |
|
26th July 2014, 18:31 | #1108 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
well some test with 2 pass mode:
- fast first pass mode with crf - Npass with fast, medium, slow, slower, veryslow and placebo preset Code:
|--------------|----------|----------|-----------| | fast | 449 kbps | 42.97 dB | 13.98 fps | | medium | 449 kbps | 43.10 dB | 12.13 fps | | slow | 449 kbps | 43.35 dB | 3.40 fps | | slower | 448 kbps | 43.72 dB | 1.22 fps | | veryslow | 449 kbps | 43.74 dB | 0.75 fps | | placebo | 449 kbps | 43.75 dB | 0.47 fps | | balanced | 449 kbps | 43.31 dB | 7.93 fps | |--------------|----------|----------|-----------| - 2 pass mode work very well even if you use fast first pass. - On my system (c2d Q6600) you have abyssal speed delta between medium and slow preset. It's certainely in the most important speed zone because BD Ripp 1080p will be done in this speed zone with performant CPU system. I propose alternative "balanced" preset setting in this really important zone. balanced = slower + rd 4 + no-rect + no-amp + me hex
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
27th July 2014, 03:35 | #1109 | Link | |
Guest
Posts: n/a
|
Quote:
Thanks for the feedback. The big difference between medium and slow is that medium doesn't test rectangular blocks (--no-rect). Once you turn on --rect, you greatly increase the number of possible ways to partition a 64x64 CU. You can see what I mean if you look at the top of page 3 of this paper... https://www.ic.tu-berlin.de/fileadmi...12_HEVC-BM.pdf. At the first level of the quad-tree, you can partition a CU 8 different ways. With --no-rect, this drops to only 2 possibilities. The same is true at every level of the quad-tree except when you get down to 8x8 pixel blocks. So, once you add --rect, there is a big increase in the number of possible partitions that must be checked to see which results in the most efficient way to encode the CU. |
|
27th July 2014, 04:09 | #1110 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
|
|
27th July 2014, 05:19 | #1111 | Link |
Guest
Posts: n/a
|
The same thought occurred to me as I typed the response above. I didn't want to raise the possibility publicly without checking on the scope of effort, so I emailed our Dev team asking if --rect 1 could be limited to 2N x N rectangles , with --rect 2 adding all of the 2N x n rectangles. We certainly have lots of other higher priorities right now, but let's see what they say in terms of the complexity that this would create and the scope of effort. It seems logical that it would create an intermediate level of partitioning that would enable a smaller step along the speed vs. efficiency tradeoff curve.
|
29th July 2014, 02:56 | #1112 | Link |
Registered User
Join Date: May 2013
Posts: 90
|
I have a question (I think it has been touched before but that was a long time ago).
Why merange is so high in all presets? Does it work the same as x264 merange? because as you can find on some forums and also trough testing: "...a large merange is basically useless. merange is the distance to search from the best predictor, not the maximum motion vector range. The best predictor is generally close enough to the correct MV that a large search radius is a waste of time." and so in x264 in almost all presets merange is only 16 and changing it doesn't really do much except increasing encoding time... So what is the reason for setting it so high in x265? |
29th July 2014, 03:27 | #1113 | Link | |
Guest
Posts: n/a
|
Quote:
So, there are no intermediate levels that don't already exist. There are other dials we can turn to spread out the distribution of performance presets, but we have some additional coding tools that aren't on by default yet (psy-rd and psy-rdoq), and we need to figure out where they should come into play, and the impact on performance and visual quality. We don't want to change things too often, so it's better to do this all at once. Tom |
|
29th July 2014, 03:43 | #1114 | Link | |
zj262144
Join Date: Sep 2010
Posts: 105
|
Quote:
and here is the doc from MCW x265 Team: http://x265.readthedocs.org/en/defau...ption--merange
__________________
MPC-HC 1.7.8 / LAV Filters 0.64+ (tMod) / XySubFilter 3.1.0.705 / madVR 0.87.14 Direct264 Mod (src & win32 builds): code.google.com/p/direct264umod (maybe outdated) Last edited by upyzl; 29th July 2014 at 03:52. |
|
29th July 2014, 04:52 | #1115 | Link | |
Guest
Posts: n/a
|
Quote:
It's easy to run your own tests to verify this. Just run multiple encodes of the same clip with --ssim on (to measure quality), varying --merange for each test run. Your feedback and test results are welcomed! |
|
29th July 2014, 10:01 | #1116 | Link | ||
Swallowed in the Sea
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
|
Quote:
Quote:
Are you able to reproduce this ? Currently, I'm using version 1.2+349-8bab on Windows 8.1 64 bits - 8bpp. I tried different sources with different length and different bitrates but the issue still appears... Code:
--preset superfast --pass 1/2 --bitrate 2500 --stats "file.stats" --output "output.hevc" "input.avs" Last edited by Kurtnoise; 29th July 2014 at 10:04. |
||
29th July 2014, 10:40 | #1117 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Perhaps that preset under "fast" have lower bframe number. try to have same frametype structure in first and second pass (min key frame, max key frame, bframe number, pyramidal bframe, closed or open GOP ...).
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
29th July 2014, 16:42 | #1118 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Kurt, are you sure the stats file got updated when you ran the first pass again? You'd get those errors if you'd run a first pass with --preset medium or above and a second pass with --preset fast or lower.
|
29th July 2014, 18:19 | #1119 | Link | |
Guest
Posts: n/a
|
Quote:
You can find the bframes setting for each performance preset here... http://x265.readthedocs.org/en/default/presets.html We're also aware of an issue with 2 pass and presets faster, superfast or ultrafast. Currently you don't get any B frames in the 2nd pass, making the 2nd pass less efficient than the first. The team is working to fix this. |
|
|
|