I'm still waiting to learn where psy-rd made the Elephant's Dream encodes look a lot worse, yet no doubt deadrats expects answers to his questions.
Time for a new monitor?
The original video obviously contains a reasonable amount of noise. The x264 --crf 22 encode didn't seem to encode it particularly accurately, but a fair amount of the detail behind the noise was retained. The x264 --crf 20 --no-psy encode almost looks like a noise filter was applied. The noise seems to have been smoothed out along with the detail behind it.
If I didn't know better I'd find my self assuming you've never done any encoding. Please explain how your CRF 22 encode is somehow more valid than Atak_Snajpera's CRF 22 encode because yours resulted in a much higher bitrate.
Errr.... that's what happened when you ran your test encodes. What were you expecting?
Wow..... now we're heading into golden eared, lossy compression territory. That should be fun......
The whole point is to maximise the visual quality. It's fairly logical higher CRF values or lower bitrates should benefit more than low CRF values or high bitrates. No doubt there's a quality/bitrate point for a given video where psy won't improve things much, if at all...... and as you claimed, that'd probably be the type of quality/bitrate most of us would generally use anyway.....
Please show us an example of a h264 encoder which produces a similar/better quality than x264 does using "typical" CRF values. Just one will do. We all know pretty much any encoder will produce a high quality encode if you increase the bitrate enough, x264 included.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 60 of 168
Thread
-
-
I believe he started with this file:
http://media.xiph.org/video/derf/y4m/elephants_dream_720p24.y4m
You can open that with RawSource() in AviSynth:
Code:RawSource("elephants_dream_720p24.y4m") # YV12
Code:x264.exe --preset=slow --crf=18 --deblock=-2:-1 --sar=1:1 --output %1.mkv %1
Last edited by jagabo; 10th Jun 2014 at 15:31.
-
-
i chose those settings in order to approximate the settings i used with my x264 encodes and compare the results.
besides, as you must be aware, x265 is currently way, way to slow to really test it thoroughly with more aggressive settings and in fact it will be years before x265 and cpu's are fast enough to test with slower settings.
i have an i7 3770k and even with the above settings i was under 10 fps at 720p with an uncompressed source. by my calculations it would take one of the new upcoming octocore Haswell E processors to be able to approach real time encoding with a 720p source at medium settings.
it will be interesting to see what comes first, whether Intel includes hardware hevc encoding via QS into their cpu's, or they add 512bit integer and fp simd or move to octocore for all their consumer grade cpu's.
honestly, if intel decides to incorporate QS hevc first, as i suspect they will, i don't see any software based hevc encoder really gaining any traction.
i wish someone following this thread with a really beefy cpu, maybe with a dual xeon or an overclocked intel hexacore would run the elephants dream test with both DivX265 and x265 with the slowest settings for each so that we could see the difference in quality. -
of course, you used crf 18 and deblock with negative values, i used a higher crf and had deblock disabled to isolate the effects of psy-rd.
of course his darkness has complained against using sources like elephant's dream to test x264 because iirc according to him it unfairly biases against x264, at least that was what he b*tched about when people were using Big Buck Bunny for comparisons and his precious little encoder wasn't winning the comparisons.
i just checked the encoder settings you used:
cabac=1 / ref=5 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=18.0000 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
wow, you used way more aggressive settings than i did and your encode barely looks any better than mine, if at all.
this just proves what i've been saying all along, more important than the encoder used or the settings is the quality of the source, with a clean enough source any encoder with any settings will produce a fine encode.
x264 is made for the crowd that got off on re-encoding stuff they downloaded from p2p and/or bit starving encodes because they have some sick fetish where they get their rocks off by using as little bit rate as possible.Last edited by deadrats; 10th Jun 2014 at 17:22.
-
Turning x265 into x264 isn't really a valid test of an HEVC encoder. If that's what you want to do, don't forget to limit the cu size to 16.
besides, as you must be aware, x265 is currently way, way to slow to really test it thoroughly with more aggressive settings and in fact it will be years before x265 and cpu's are fast enough to test with slower settings.
i have an i7 3770k and even with the above settings i was under 10 fps at 720p with an uncompressed source. by my calculations it would take one of the new upcoming octocore Haswell E processors to be able to approach real time encoding with a 720p source at medium settings. -
i7 3930k @ 4.4 GHz
I'll use Hybrid as a frontend if some agreement is reached on settings for x264, x265.
P.S. There is a thread on Doom9 with comparative samples if somebody wishes to view them.
http://forum.doom9.org/showthread.php?t=170236 -
I thought you were presenting those as good encodings with and without psy-rd. I used the slow preset because that's where I usually start. The deblocking settings were there to give a sharpness similar to your files (but still reduce blocky artifacts during motion). CRF 18 was used because that gave a similar bitrate to your samples.
-
awesome! how about using a really high quality source, like the elephant's dream i used (the download is like 4gb and 21 gb when unzipped) or whatever you like so long as we can see the source.
as for settings how about x264 + placebo, x265 + placebo and DivX265 + aq 5 (i.e. "slowest").
and choose the same bit rate for each.
thanks.Last edited by deadrats; 10th Jun 2014 at 19:18.
-
no, no, no; i was trying to isolate the effects of psy-rd on visual quality, that's why i disabled everything including asm.
from what i have read x264 settings have dependency issues, i.e. psy-rd + psy-trellis + mb-tree + aq behaves differently than just psy-rd on it's own.
in fact Jason, aka DS, has said that psy-rd only has meaning in the context of subme>6 but he has also said that things like the deblocking filter and built in denoise filter have a cascading effect, where the effects propagate from frame to frame and get added up as the gop progresses. this tells me that for maximum quality you should be limited gop also and using a closed gop since frames can't make reference to any frame outside the gop sequence with closed gop.
i'm guessing the above is one of the reasons blu-rays use short closed gops. -
i don't see how that's possible, maybe it's this "Johnny" source you're using, you wouldn't happen to have a link to it, would you?
with the elephant's dream i have been testing with, following your suggestion it starts at 18 fps and drops to about 6-7 fps. i know a haswell has avx2 and that x265 makes use of those simd optimizations but i find it hard to believe that they result in a 10x speed up.
my guess is that the source you're using isn't complex enough to stress the encoder and it's having a much easier time encoding it.
download the elephant's dream source and rerun your test, i'm willing to be money your 4770k is lucky if it hits a sustained real time encoding speed.
http://media.xiph.org/
download the 4gb lossless, when unzipped it's 21gb, that's the source for my tests.
@Jagabo:
what kind of encoding speeds do you see with your 2500k when you did your tests with the same source i used?Last edited by deadrats; 10th Jun 2014 at 19:24.
-
-
With the 21 GB Y4M file,
Code:RawSource("elephants_dream_720p24.y4m")
Code:start /b /low x264.exe --preset=slow --crf=18 --deblock=-2:-1 --sar=1:1 --output %1.mkv %1
With the veryfast preset it speeds up to 83 fps but reading the source has become a bottleneck (CPU usage bounces around 50 to 75 percent). Using a lossless UT compressed version (6.5 GB) instead speeds it up to ~122 fps.Last edited by jagabo; 10th Jun 2014 at 20:24.
-
well with the "ducks" samples x264 looks like crap, my God it's awful. to my eyes DivX265 seems to produce the better encode overall but on the right side of the video i'm seeing some blocking, more so than the x265 encode, which seems to have more even quality throughout the screen, still has blocking on the right hand side and lower quality overall.
of course this isn't a conclusive test, but it's a nice start.
h264 as an encoding technology really shows it's age. -
ok, i decided to try a different source, namely the Sintel 720p y4m trailer, with this source my encoding speeds with x265 ultra fast were 22fps, i'm guessing my hard drives must really be bottlenecking my encodes. anyway, i also did a divx265 "fastest" test, here they are.
personally i don't see much difference between the divx and x265 encodes.
http://media.xiph.org/
i'm wondering if it would be wise to invest in a couple of hybrid hard drives, microcenter has 500gb 5400rpm with 8gb cache hard drives for $60 each, 2 of them in a raid 0 would give me a 1tb 10000rpm with 16gb cache harddrive equivalent, not bad for $120 bucks. -
-
-
@gonca,
No! DivX in Hybrid it is very bad! > example
(Use native DivX Converter)
@deadrats,
No! x265 obvious problem > psy -
Last edited by LigH.de; 11th Jun 2014 at 04:01.
-
-
-
(Use native DivX Converter)
-
regarding DivX265 and Hybrid:
Problem is they do not distribute the encoder they use inside the DivX Converter on it's own.
Hybrid uses the encoder from the DivX HEVC Community Encoder, not the one which comes with the 'DivX Converter'.
So your anti-x264 rant is based on the fact it's better at lower bitrates than other h264 encoders? -
-
what's "irrational" is starting out with a high quality 20-30 mb/s source, cropping and resizing the crap out of it, dropping the bit rate to stupid low levels, i've seen encodes of Ghost Rider at 720p@1mb/s which was unwatchable, and thinking that it's ok because you enabled psy-rd, mb-tree, aq or whatever other "optimization" in the most over-rated half-assed encoder ever conceived.
even better are the "champions" that then decide that their pc is too slow and go buy a new cpu/mb/ram combo so that they can F up their videos even faster.
the way i see it is just buy another hard drive and save yourself the headaches.
seriously, if as has been reported by 2016 we have 16tb ssd's and they cost in the $500 range, would you even consider upgrading your processor/mb/ram or would you just say the hell with it, i can just keep the original as is. -
elephants dream ABR 4000 Kbps
http://www.mediafire.com/download/ogebaokfc2e1czo/divx265.mkv
http://www.mediafire.com/download/9kh852re3kpgu7f/x265.mkv
http://www.mediafire.com/download/z09e0nbya12wvdd/x284.mkv
Should not have any ads