Sounds good to me. How did you get a test chart that fits? or did you just resize it?
+ Reply to Thread
Results 61 to 90 of 203
-
-
I just resized the test chart along with the rest. I don't think we really care about the resolution portion of the test chart. I'm mostly interested in levels and colors shifts since a lot of people claim (incorrectly in my opinion) that various codecs screw up the levels and colors. If you prefer I can crop instead. It only takes a minute or two.
-
It's up to you
I run that test chart workflow test often - especially on NLE's which usually do RGB conversions; I learned that trick from you and edDV!
And I agree, the levels coversions and color shifts are usually user error, or playback/setup issues -
OK, here's the vote clip as a 960-x544 Lagarith YV12 file:
http://www.sendspace.com/file/zpdsi6
I decided to go with YV12 instead of YUY2 since all the high compression codecs us YV12 internally. And the file is a little smaller, 123 MB.
Everyone happy with that? -
Originally Posted by poisondeathray
-
Originally Posted by jagabo
i'm going to go out on a limb here and say that xvid using the hi def profile will prove to give the best results.
just for kicks i'll also do a vc-1 encode and possibly a real media 10 encode as well...
edit: ok, don't know what's wrong but vlc says that it doesn't support the LAGS format, media player classic just hangs when trying to play the file, tmpg express 4 says that there is no video or audio data, mpeg streamclip pretends to open it, shows only a white screen when i try and preview the file, says there's no audio data, says that it has a bit rate of 33.30 Mbps but when i try to encode it i get a file 283 kb with no audio or video data, avs video converter says it can't open it because the acm video codec is not installed but googling acm video codec just brings up references to audio codecs, and avidemux "opens" the files but all it shows is a green background.
i have the latest ffdshow set to decode all audio and video formats, so i'm at a lose to explain what the problem is, any ideas? -
VLC doesn't used installed codecs and it doesn't include a Lagarith decoder so it can't play the file. For all the other programs you can install the Lagarith codec. ffdshow doesn't include Lagarith either.
Originally Posted by deadrats -
Originally Posted by jagabo
It looks like the appended test chart has TV levels , was this done on purpose (not that it really matters, we're just interested in changes from the original, correct)?
Given the medium quality and dimensions of the clip , I don't think there's anything major that will separate these encodes at the selected bitrate; but I disagree with deadrats - I seriously doubt xvid will look the best -
I've actually gotten some great encodes from CCE at 4000kbps or less, but they were low complexity video clips - you won't get such results for all. If you really want to flirt with bitrates that low you are better off with H.264. However, if you want a BD profile that works well with SD, good luck with x264 - issues with interlacing, pulldown, etc. I've spent way too much time testing this only to go back to MPEG-2 for BD playback at SD.
manono wrote:
... but if you care at all about quality use multi-pass VBR encoding. Either that or go for 1-pass quantizer encodes, but then you'll lose all control over the final file size.
I'm assuming you're using CCE? I agree with VBR. Using 1-pass Q does give very good results too, but I've noticed, with my eyes at least, plugging that same exact resulting bitrate you got from Q into a VBR encode afterwards and, with maybe 3 passes or so, re-encoding that same source gives better results on the more complex scenes.
I don't find CCE's Q as good a scheme as similarly with DivX, Xvid or x264 which do use one pass very effectively. (Or maybe it's an MPEG-2 thing in general, don't know.)
If you're using certain Q-specific settings for CCE that achieve results just as good as VBR (at similar bitrate) I'd love to know. I love one-pass and don't care for the no-control final bitrate if the results are optimal to the quality I ask for.
cce is hard to beat. for anything other than 8000kbps cbr, i use 3-5 passes vbr. in olden svcd days that was 7-9 passes to squeeze the most from the format's low bitrates. -
Originally Posted by poisondeathray
The Belle Nuit chart includes a whiter-than-white section. You can see that the four blocks at intensity 231, 239, 251, and 255 are at the right levels (Y, luma) in the graph. When this is viewed on a TV or computer monitor the 239, 251, and 255 blocks may all be the same brightness. The 231 block should appear slightly darker than the 235 and 239 blocks. You can see the differences here because I used the PC.709 matrix to avoid the usual contrast enhancing scaling used for viewing video.
In the blacker-than-black section the levels can be seen to be correct in the graph. When watched on a TV or computer monitor you should not see any difference between the 0, 4, 12, and 16 patches. They should all be black. The 20 patch should be just barely lighter. Again, you can see them all here because of the non-contrast enhancing matrix used to prepare the image. Many computer monitor crush blacks so you may not see much difference in this area.
In the 709 matrix area all four colors should have the same intensity (Y, luma). In the graph you can see that the luma varies by a small amount (1) because of the initial RGB to YUV conversion. The 601 matrix area varies much more because the chart uses the 709 matrix. Ie, the 601 colors are wrong.
In the colored patches at the top and bottom each of the RGB primaries should be either 180 or 16 (in this image). They are slightly off (again, usually only by 1) in a few of the patches because of the RGB to YUV to RGB conversion. When viewed at normal levels on a TV or monitor the 180 primaries should be about around 190 and the 16 primaries should be about 2.
Here's what the graph should look like on TV or your monitor:
Note the brighter brights and darker darks.
I'm not too concerned about whether the video is displayed at rec709 or rec601. Exactly how the video is displayed on your computer varies depending on the codec, the player, and the graphics card. But the levels should remain the same. (I suppose it's OK if the blacker-than-black and whiter-than-white sections are clamped in YUV space -- since technically video should not have those levels). The chart should make these issues obvious.
The following AviSynth script generates the graph I posted above:
Code:AviSource("lagarith.avi") # open video ConvertToYUY2() # VideoScope requires YUY2 VideoScope() # draw scope graphs ConvertToRGB(matrix="pc.709") # to RGB for display, maintain luma levels
Code:AviSource("lagarith.avi") ColorMatrix(mode="Rec.709->Rec.601")
-
ok, i did a bunch of encoding tests, all of them using tmpg express 4.7.1.284 as the front end. the first link is of the jagabo's lagarith file as source, with the tv test pattern:
http://www.sendspace.com/file/cd01ad
2 things to keep in mind, i tested with xvid@hi def profile, x264@max quality settings, divx@insane settings and main concept's h264, all with a target video bit rate of 3000 kbps (though as you will see they vary from that target) and tmpg express does not seem to allow the creation of avi files with no audio so it included an empty uncompressed pcm stream which made the resulting avi's significantly bigger than the divx and mp4 file.
the second link is of a test that i feel is more representative of what video help readers are likely to do and it encompasses more codecs, basically i took the 720p mpeg-2 that comes with the x264 benchmark and resized it to 720x480 16:9, using maximum quality settings of each codec as well as setting the quantization factor to 1 (i.e. max) for each codec, basically i allowed the bitrate to be unconstrained, i allowed the codec to produce the highest quality file it was capable of, also since all encodes were done via tmpg express as a front end and since i used the exact same resize filter for each output, namely lanczos-3, i feel that the results are directly comparable.
the tested codecs are apple's h264, sorenson 3, vc-1, xvid, x264, divx, main concept's h264 and mpeg-2, all settings were tuned for max quality:
http://www.sendspace.com/file/jml26v
i leave it up to you guys to decide which codec won this test. -
Originally Posted by deadrats
deadrats - I've examined your encodes from jagabo's link. I don't want to sound like a jerk, but all this shows is that you're unfamiliar with the encoder settings. I realize it's probably TMPG's fault, but that's all the more reason to learn the proper settings.
I'm going to post some representative screenshots along with some encodes (you have to click on the screens for full size, or download the link below). Ignore the color differences, we used different matrices. Not all the frames show differences this big, but given the medium source quality / content complexity / frame size / bitrate chosen, theoretically the differences should only be minor anyways (a higher quality clip would have more easily differentiated them). Only the most observant viewers will be able to pick out big differences during realtime playback, but if you use avisynth and interleave() them, the differences are quite clear
The original "challenge" was to encode using decent settings, then come back and we can discuss... You obviously haven't done this.... I'm not trying to turn this into a me vs. you or us. vs. them thingy, as we are all here to learn and discuss things... You somehow managed to b0rk the xvid encode and get a fair bit of pixellation in several of the scenes, especially those with action. My xvid encode has some pixellation too in some of the other scenes , but it's relatively minor. Part of the reason is both your xvid and divx encodes are undersized ~10%. But if I were to guess, I would say weren't using VAQ and probably low motion precision settings.
Original
Deadrats XviD
PDR XviD
Your x264 encode uses 1pass ABR (as opposed to 2pass VBR), and low quality settings (definitely not optimized). It uses all I-frames (no b or p frames - this greatly reduces x264 efficiency advantage) . Yes I-frames are higher quality than B or P, but only if you have unlimited bitrate. In a bitrate constrained scenario don't expect to use all intra with good results....
Some people love Mainconcept h.264, but IMO it is a poor h.264 implementation. I've extensively tested many different versions. I've said this and posted samples in several forum threads, it oversmooths things and that's how it achieves it's compression. Fine details and grain are gone, except at high bitrates. Note this example isn't a fair comparison, because I know you used bad settings (e.g. 1 reference frame, and no b-frames) , but I've posted dozens of samples showing the same thing using appropriate settings.
Original
Deadrats x264
PDR x264
Deadrats Mainconcept h.264
Included in the link below are my x264 and xvid encodes, and a few more screenshots numbered by frame. The stills don't do a good job of showing temporal changes, but if you watch in slow mo or advance by frames, you will see one common problem with xvid is fluctating quality levels. e.g. Grain and detail will be present in 1 frame, but will become blotchy and fade out in the next, giving an undulating fluctuating appearance. This is a clear sign that this bitrate isn't sufficient for xvid in these testing conditions. This also happens because xvid b-frames are comparatively lower in quality than x264 b-frames.
http://www.megaupload.com/?d=4NVQ5ZKW
Some people might not be used to looking for differences. If you can't clearly pick out the differences in the screens or the videos, let me know and I'll guide you where to look
As for your other test, I haven't looked at it, but if you used the similar settings used in the 1st "test", I would say they are not representative of the full potential of the encoders. x264 quality exists on a contiuum and eventually reaches lossless at qp=0. So if you used "best" settings as you claim, the lossless encode would obviously be best. The other encoders do not have a lossless mode. -
For what it's worth here are my encodes. I left the video as rec709 even though most computers will display the video as if it was rec601.
http://www.mediafire.com/?zwcmt3lqjfm
XVID3: This is my baseline "watchable" video. I use this for stuff that I'll watch but don't need in high quality. I use Xvid in Target Quantizer mode with a Quantizer of 3.0, single B frame, VAQ enabled, max GOP 100. The average bitrate of this encoding is about 1500 kbps. It shows significan't macroblocking and DCT ringing as you would expect. But it's not all that visible at normal playback speed, especially with Xvid's deblocking and deringing enabled. There's also a lot of film grain loss (a bad thing in my opinion) and loss of small details.
XVID2: This is my typical "high quality" Xvid setting. This is also Target Quantizer mode but with a Quantizer of 2.0 and no B frames, VAQ enabled, max GOP 100. This happened to turn out about the same bitrate as deadrat's Xvid encode. It's much cleaner than the Q=3 encode.
X264 CRF20: I don't do a lot of x264 encoding (I don't even know what several of the specific settings are) but as a quick test I used x264gui, fed by a simple AviSource("lagarith.avi"). I started with the DXVA-HD-HQ setting then changed to Single Pass CRF mode with a quantizer of 20. I changed the Min I Interval to 1, the Max I interval to 50, Max consecutive B frames to 2. (Actually I did encodes at a few different quantizer values and decided to upload this one because it was about the same bitrate as my high quality xvid encode.) I'm using an x264 build from about 9 months ago. -
I'm following this comparison with interest. Hope we'll get to see clear demonstrations of the differences between encoders at this fairly generous bitrate. Of particular interest will be the level of smoothing and deblocking going on, since I've read claims that x264 smooths too much.
-
Originally Posted by creamyhorror
Yes, any h.264 encoder has the potential to oversmooth, largely as a side effect of deblocking. But people that make those claims usually use bad settings or are not familiar with encoding. Or when challenged they do not provide any substantial proof of their claims. This little exercise clearly shows that.
This is probably one of the biggest quality complaints of using h.264 - e.g. the "plastic doll" look. If you are familar with rmvb, you should be familar with this look. Some h.264 implementations oversmooth more than others (e.g. Mainconcept). But x264 has made huge improvements over the last few years (and I was one of those loud complainers a few years ago). If you were to encode using a x264 build from 3 years ago, it would look just as smooth without details like those encodes typical of Mainconcept's h264 encoder, or deadrats' encode. Things have definitely changed.
High alpha, and beta values will cause oversmoothing, as will lower quality settings in a bitrate constrained scenario. You can (and should) adjust the deblock values. You can't use the same settings for every scenario. Different types of content and bitrate ranges require different settings for best results. For example, I would have used different settings for a cartoon vs. this live action sequence.
Here is the same frame from the same encoder using 4 different settings. Note I've deliberately chosen a frame with clear differences, not all frames will show this large of a difference. I've corrected for the colormatrix (used rec709), and cropped these so they wouldn't be resized by the browser page. Pay attention especially to the grain detail, and how "smeary" it can look with unoptimized settings.
Original
Deadrats x264
Jagabo x264
PDR x264
I'm just making the point not to pass judgement an encoder so swiftly because of user unfamiliarity or because of the rumor mill. Instead of blindly believing me , anyone else , or something you read, I challenge everyone to do some testing for themselves on various types source material, and see with their own eyes. Take the time to learn the settings and how to use them in different scenarios; this is true for any encoder. -
Originally Posted by poisondeathray
i don't see there being any issue with violations of this sites rules since panasonic released it to the public and i would think that this constitutes fair use.
the file is 1920x1080i, 20 Mbps, mpeg-2 and i have yet to see any encoder choke on it, it's crisp, clear, lots of vibrant color and features a really hot chick (don't worry, it's well within this forums rules).
i will be redoing the test, using a resize to 960x540p, at 2500 kb/s, so that differences between each codec is readily apparent. i will upload the results in a couple of hours. -
I thought I'd just add that all of you obsessed with the H264 deblocking feature are on crack. H.264 is not a "XviD with deblocking." H.264 is a completely redefined codec with a number of features besides deblocking, including different block sizes, quarter-pixel motion prediction, more B-frames, multiple motion vectors, RDO and a hell of a lot more.
The deblocker is not like some crap-ass linear filter that you find for Virtualdub; the deblocking strength is dependant on the quantization level. In other words, even a +6 +6 deblock setting won't affect the picture much on higher bitrates.
Besides, if the lack of "warm" dirt and grain on your video really gets your panties in a twist so much, turn the ******* deblocker off and shut the **** up. -
Originally Posted by poisondeathray
If you were to encode using a x264 build from 3 years ago, it would look just as smooth without details like those encodes typical of Mainconcept's h264 encoder, or deadrats' encode. Things have definitely changed.
Here is the same frame from the same encoder using 4 different settings. Note I've deliberately chosen a frame with clear differences, not all frames will show this large of a difference. I've corrected for the colormatrix (used rec709), and cropped these so they wouldn't be resized by the browser page. Pay attention especially to the grain detail, and how "smeary" it can look with unoptimized settings. -
Originally Posted by creamyhorror
If you were to encode using a x264 build from 3 years ago, it would look just as smooth without details like those encodes typical of Mainconcept's h264 encoder, or deadrats' encode. Things have definitely changed.
Now that is a striking difference. It looks like psy-RDO (and maybe AQ) was off for deadrat's, and I don't know what's up with jagabo's (looks like bitrate starvation somehow). Was everyone using deblock -1:-1 at the least?
A contributing explanation for jagabo's encode was he limited b-frames to 2, when this sequence has several runs take can take advantage of 5 or 6. You can tell this by looking at the 1st pass log. The performance hit is big, however, when you are using b-adapt 2 (ie. very slow) . Looking at a stream analyzer, his encode is a low weighted p-frame on that frame, where as on mine, it is a higher bitrate b (his was forced to place a p). I used slightly higher quality settings like subme 10, analyze all, mbtree, et.c.. the little things also addup, 0.5% here and there... even on similar quality frames you can consistently see slightly more detail if you examine frame by frame. You can download them and have a look yourself -
poisondeathray, what are the command line options you used for your x264 encode?
-
Originally Posted by jagabo
Originally Posted by poisondeathray
but mb-tree is starting to have a dramatic effect especially on lower bitrate scenarios.
I explained the some of the big contributing reasons in a previous post: The biggest reason was deadrats used all intra (no b, p) and 1pass ABR. Minor contributing factors were probably: 0,0 deblock, no psy/trellis, 3ref.
A contributing explanation for jagabo's encode was he limited b-frames to 2, when this sequence has several runs take can take advantage of 5 or 6. You can tell this by looking at the 1st pass log. The performance hit is big, however, when you are using b-adapt 2 (ie. very slow) . Looking at a stream analyzer, his encode is a low weighted p-frame on that frame, where as on mine, it is a higher bitrate b (his was forced to place a p). I used slightly higher quality settings like subme 10, analyze all, mbtree, et.c.. the little things also addup, 0.5% here and there... even on similar quality frames you can consistently see slightly more detail if you examine frame by frame. You can download them and have a look yourself
I think it would be good to do a medium-high-quality encode that doesn't use the slowest settings (maybe subme 6-7, UMH, etc.) to see how it performs against your max-quality encode. I'd do it, if anyone else were interested in the results. -
I wouldn't use "psy" anything if I were you. They were implemented by a dumbass fanboy who thinks he is a developer. You will end up with degraded quality and far more distorted edges if you turn on any psychovisual feature, both on low and high bitrates. Compare it and you'll see.
-
Originally Posted by jagabo
Code:x264.exe --profile high --pass 2 --bitrate 3000 --stats "E:\video.stats" --ref 8 --no-fast-pskip --bframes 5 --b-adapt 2 --b-pyramid --direct auto --deblock -2:-1 --subme 10 --trellis 2 --partitions all --me umh --merange 24 --threads 3 --thread-input --sar 1:1 --aq-mode 3 --no-dct-decimate --output "E:\output.mp4" "E:\input.avs"
Code:Writing library : x264 core 72 r1217kMod 5e9ae4c Encoding settings : cabac=1 / ref=8 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=5 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=3:1.00
-
Originally Posted by Xpenguin17
-
Originally Posted by Xpenguin17
You will end up with degraded quality and far more distorted edges if you turn on any psychovisual feature, both on low and high bitrates. Compare it and you'll see. -
Originally Posted by creamyhorror
e.g.
---[NoImage] x264 [info]: consecutive B-frames: 8.3% 13.2% 43.9% 7.7% 6.2% 20.7%
This means 8.3% used zero, 13.2% used 1, 43.9% used 2, etc.... -
Originally Posted by poisondeathray
-
Originally Posted by creamyhorror
Everyone probably already knows this, but we should mention the other important part of the equation besides encoder settings is preprocessing i.e. filtering. e.g. deadrats was going to post some resized 1080i encodes, and I can definitely say things like the choice of deinterlacer would have a way bigger effect on quality than things like subme7 vs subme9 or analyze all etc.... Or for a low bitrate encode, preprocessing with denoising or degraining filters. The absolute worse is when you are stuck in the middle with splotchy grain or detail. I usually go for full detail preservation, or smooth. It's an all or none strategy for me. The stuff in the middle looks crappy.
Similar Threads
-
High Quality Encoding AVI -> MPEG2
By vl0001 in forum MacReplies: 2Last Post: 21st Jan 2012, 08:40 -
Encoding WAV and M2V to AVI [high quality]
By duudo in forum Newbie / General discussionsReplies: 2Last Post: 28th Feb 2009, 05:57 -
Tutorial on encoding for YouTube high quality - feedback requested
By webvideopro in forum Video Streaming DownloadingReplies: 8Last Post: 24th Sep 2008, 08:19 -
h264 and xvid encoding for: near-lossless and high quality ?
By vhelp in forum Video ConversionReplies: 10Last Post: 14th Sep 2008, 15:31 -
Encoding RM to AVI (high Quality)
By hzgg2 in forum Video ConversionReplies: 2Last Post: 22nd Apr 2008, 14:11