View Full Version : Are you experiencing ugly macroblocks and scretches in dark areas?


moshem
5th February 2002, 12:18
Hi,

just wanted to check if I am the only one who has this problem.

I encode high quality sources using Divx 4.12 and get exceptional quality in all parts of the video except on black/dark areas. This seem to be some sort of a bug or missing feature from the codec and it looks so bad.

This is specially noticable in movies like Gladiator and Lord of the rings where darkness rules over large part of the movie.

If I watch the video on my monitor - I can hardly notice it but it's there (the contrast is too low) but when using my TV Out (high contrast) it is very noticable and very disturbing.

I tried it all , higher bitrate , Temporal smoother, Smart smoother - nothing really helps removing these.

Is it just my computer doing that ? or do you also experience this problem ?

I wish DIVX guys would do something in the codec in order to solve this issue even if it means increasing file size a little.

This problem takes a great encode almost comparable to DVD quality and throws it back to the age of streaming video on 56K , just looks awefull.


please let me know what you think.


thanks

obelix
6th February 2002, 08:28
Had this problem yesterday on a notebook. Changed the display settings to 32 bit and the blocks were gone.

rui
6th February 2002, 10:18
Originally posted by moshem


This is specially noticable in movies like Gladiator and Lord of the rings where darkness rules over large part of the movie.

thanks

how did you get Lord of The Rings movie???
I would like to buy vcd or dvd.

Kandor
6th February 2002, 10:27
my guess is that it is the svcd that he is reencoding to divx

UHT
6th February 2002, 10:36
lord of the rings isnt out yet....officialy, most svcds of it knocking around on the net are from cams or screeners

pia2001slo
6th February 2002, 11:26
You're wrong. I have perfect DVD rip (Divx) on 2CD's with
subtitles.

Jolly

rui
6th February 2002, 12:21
Originally posted by pia2001slo
You're wrong. I have perfect DVD rip (Divx) on 2CD's with
subtitles.

Jolly

Did you make it yourself, or did you get it in some site??
Because i just went to amazon.com and the only LOTR dvd they have listed was a movie made in 1978. :confused:

Sorry for not sticking with the original thread subject, but i just loved LOTR, and would like to buy it.

moshem
6th February 2002, 12:40
AS for the blocks solution by moving to 32 bit , I did it myself and it did not help.

What kind of a notebook are you using (manufactor and model)? What operating system ? resolution ?


thanks

obelix
6th February 2002, 12:56
Toshiba Tecra 8200 Win2k 1024x768 32 bit

moshem
6th February 2002, 13:00
there ? graphic card memory ?

are you running XP ?


I am using a IBM ThinkPad T21

obelix
6th February 2002, 14:20
Trident CyberBlade XP with 16 MB. Running on Win2000 as stated above.

moshem
6th February 2002, 14:25
I just tried 640x480x32 and the blocks are still there!

You are saying that you had big blinking/non-blinking blocks over dark areas and once you switched to 32-bit they are completly gone ?
you are not experincing artifacts at all in dark scenses ?

BTW,

Are you watching your movies on the TV or on the monitor , TV will show the much more of the artifacts

obelix
6th February 2002, 14:54
The blocks were not blinking, but the were off colour. It was an almost black cloak in a cartoon. Brighter blocks moved over the cloak. These are completely gone. I did not try on TV. The Notebook has a TV-Out but it't not mine and we dont't have TVs in the office.

moshem
6th February 2002, 14:58
these are exactly the blocks I'm talking about, my guess is the if you use your TV-Out you will find out that many of these blocks are back! (the tv has a much higher contrast which emphasis these blocks that are impossible to see on the darker monitor)

Doom9
6th February 2002, 15:46
@moshem: don't worry.. every codec has these artifacts (have you read my codec comparison?).. it's one of the issues that I constantly mention to the developers and ask them to fix it.. dark parts just look bad and there's nothing you can do (maybe filter the hell out of it but for me any filter but the resize filter is a big nono)

moshem
6th February 2002, 16:00
how are you ?

If you recall , months and months ago when DIVX4 was opendivx and the DARC guys were working on the beta versions , you and I and many others kept feeding them with problems to be solved.

I for one, constantly reported problems with Matrox G400 , IBM thinkpads and huge ugle macroblocks in dark parts. although some of issues were addressed , some were just ignored.

as far as I know , DIVX4 people know about the dark macroblocks for more than 6 months now but they never addressed this crusial issue. I can't really understand why?! in my view , the top-two features that prevents DIVX4 (MPEG4) from totaly making MPEG2 obselete are :

1. Take care of the damn dark macroblocks
2. Optimize the decoder to make use of Pentium III SSE (there quite a few millions of this still in service) , it is not possilbe to play 640x480 clip on an average graphics card & P III 800 without dropping post-proccesing.


You can create wonderfull looking movies using DIVX4 - in most scense almost as good looking as the original DVD - until you get into a dark scene, this is when DIVX4 looks like those 56kbps streaming solution common 5 years ago. In my mind a fix for this problem should be top priority as every day goes by more and more awefull quality rips are being made and distributed.

As I mentioned before I recently got "Lord of the rings" rip and half of this movie looks so good and so sharp & colourfull - the other part in the swamps and caves and nights scense look so bad - you just can't believe the same codec was used for both parts. Now I have to decide if I want to keep this rip or not , tough choice!

Doom9, if you asked the development teams to do something about it , maybe you got the inside track , are they working on it ? is there a chance to see a solution for this soon ?


thanks

UHT
6th February 2002, 19:20
there is NO lord of the rings dvd rip, the dvd isnt even finished yet

rui
6th February 2002, 22:36
Thanks for clearing this UHT

moshem
6th February 2002, 22:40
There is a 2CD DVD Screener rip of LOTR out there - it is very new and was distributed on a limited basis - I got mine from a friend, the quality of non-dark scense is excellent and no doubt were made of a DVD and not an SVCD reencode (the resolution is also bigger then the SVCD version).

now that this is clear , please stick to the topic of this post, I think this issue is very serious.

thanks

obelix
6th February 2002, 23:32
Did some experiments this evening. No TV, the notebook can't be taken home to test. I increased contrast on my 19" to do some encodes. Seems to be a quantisizer issue. Please try a 1pass encode with minquant=maxquant=2 (or 1pass VBR with quality 100%) and tell me if the blocks are still there.
The observation is that at large black or dark areas the codec thinks it can compress very well which gives you too high quants. If the blocks are gone with the above settings I can offer a solution for your prob.

moshem
6th February 2002, 23:39
and that is how I got to the conclusion that is is a codec BUG or missing feature.

I did :

A. Encode 1 minute of dark scene , 1 pass , slowest , bicubic resize , bitrate 2500 , min quant 2, max quant 2.

Result : excelent picture quality, ugly big macroblocks and scretches in dark areas.

B. Encode 1 minute of dark scene , 1 pass quality based , 100% , bicubic resize

Result : excelent picture quality, ugly big macroblocks and scretches in dark areas.


There is no way around this! My theory is that the codec looks at a relativly big area that is black or semi black and "says" : "good, this is an opportunity to reduce file size" and it then raise the quantizer to very high value and compress , now while encoding very minor changes occur inside that black area and becuase of the high compression ratio , every change is reflect in a big block which is not of a pure-black colour. just my theory..

The problem is that even if specificly told to , the codec ignores the 2-2 quantizer and raise it - no matter what.


BTW, if you can't watch it on tv , increase brightness and also play with the contrast. It is also to see those if you view your video full screen rather than in a window.


let me know what you think

obelix
6th February 2002, 23:52
OK, you are right. When I increase brightness AND contrast to 100% I find those blocks. They did never bother me at normal settings. So those blocks on the notebook seem to be another issue because I got rid of them. They were much larger, too.

moshem
7th February 2002, 00:03
I too , can't really notice them on my monitor at normal monitor brightness & contrast and it does not bother me at all.

Imagine my suprise when I first watched my newly encoded movie on my TV , my previous "perfect" rip looked so bad I couldn't believe it.

If you think the macroblocks you saw on your monitor when you increasted brightness are bad , wait for the TV , it is much worse than a brightened monitor and this is why I am so worried.

Imagine 1-2 years into the future when everybody will have a video card that has TV-out or better yet maybe there will be dedicated players. You will want to view your precious movie collection on your TV and suprise suprise all of your collection happens to suck! now imagine how much work and time you spent on making these rips is worthless - you thought you have semi-DVD backup of your beloved movies but with this kind of quality - who wants to view them at all! now we are back to rent the DVDs!!

get it ? this is why I think it should be resolved ASAP.


let me know what you think

kvs
7th February 2002, 00:19
This may be a stupid idea, but what about using tv scale instead of pc scale in dvd2avi? Just a thought.

And is it just as bad with xvid.. ?

And while I'm at it, does anyone have an idea on when
the next version of divx will be out?

Also, the thoughts on the collection sucking in the future
when viewed on TV because of the macroblocks: won't perhaps
our TV's use a technology more similar to our PC-monitor in
the future, and thereby reducing this problem?

Don't know, just a newbie =)

moshem
7th February 2002, 00:27
** This may be a stupid idea, but what about using tv scale instead of pc scale in dvd2avi? Just a thought.

== Does not matter

** And is it just as bad with xvid.. ?

== I did try it tonight , and sadly it has more or less the same problem which is no suprise as it is based on the same code as DIVX4


** Also, the thoughts on the collection sucking in the future
when viewed on TV because of the macroblocks: won't perhaps
our TV's use a technology more similar to our PC-monitor in
the future, and thereby reducing this problem?

== No , televisions will always use different colour tempture and higher contrast & brightnes values , even if the future TV will be digital (which will probably not going to replace analog TV in 1-2 years) . So yes , we will be stuck with a collection that is only viewable on our computer, on the TV it will look great until a dark scene comes along - then it will suck!

kvs
7th February 2002, 00:51
So perhaps the only solution is that they DO fix it,
and fix it soon! So anyone know anything about the
next release? Like when's it coming, and if it will
improve on these problems?

And since that new tv-out card with divx-
decoding is coming soon, shouldn't they make an effort to release
a new version by then that actually fixes the problem,
before everyone _sees_ the problems? :sly:
They're like full of hype, and it would do them no good
if this problem is not fixed considering they're making
an effort to make more people watch divx on their television
(or so it seems.)

Plus, any email we can mail to and ask for a fix? Like
a wishlist or something... perhaps do a petition...
and someone HAS told them about the problems, right... ?

Who knows if the divx4-developers even _own_ TV's! :D

kvs
7th February 2002, 00:54
Oh yeah, and has someone discussed this with the
guys at xdiv? Maybe they're more willing...

Foo
7th February 2002, 01:04
Originally posted by UHT
there is NO lord of the rings dvd rip, the dvd isnt even finished yet

Actually there are a couple of them. It's a screener DVD, so it has an occasional "Property of New Line Cinema" message, but it *IS* from DVD, 5.1 DD sound and all. Screener DVDs are quite common nowadays.

First rip was by TCF, a four disc SVCD set. Some people made two disc DivX conversions of this.

TCF later gave their copy to DVL, who made (and released) a two disc SBC DivX conversion. The also made a three disc SBC with the DD 5.1 track which wasn't released publicly.

Now back on topic. This is common among all mpeg4 codecs. DivX4 tends to do a better job in dark scenes than the old codec IMO (and to a lesser extent so does Xvid). You shouldn't really be amazed at the output differences on a TV compared to a monitor when you think about how different the displays are. It still looks excellent considering how much compression is taking place. I don't think the developers of any of these codecs are "ignoring" complaints about this. There is only so much they can do. If you really are that upset, grab the Xvid code and come up with a better solution :D

moshem
7th February 2002, 01:12
I'm not upset , I just want to help & improve DIVX for all of us.

the problem is common to all MPEG formats and not just MPEG4 , it is not an issue of good compression since even faced with the highest bitrate(6000) and lowest quantizer values (2-2) - DIVX4 still produce these blocks - unlike MPEG2 which upon given the freedom it needs (and it needs a lot!!!) the problem will go away.

I am no expert programmer in the video compression area, so I can't really do it myself , I do what I can by helping debugging and improving the codec.

If it is a limitation that cannot be overcomed , I wish they say so so we will know that this is a technological limitation. Personally, I doubt , if they can do complex scense soooooo good , they should not have any problems with simple area like shades of black.

kvs
7th February 2002, 01:14
I'm not upset personally, I'm a student who don't even own
a TV... just have a 21" monitor I got from an office, and well..
it's big enough for me at the moment. :D

I might get upset when I see my divx files on
television one day. Don't really know what to expect.
You all make it sound like it's hell on earth or something,
that it looks like a 56k stream... it can't be THAT bad, can
it? I mean, I watch a lot of old VHS damnit!!! Can it be
worse than that? (I hope not!:devil:)

If these issues simply can't be fixed with current technology
like divx... what if someone DOES create widescreen television
that behave exactly like PC monitors.. ? :cool: Problem
fixed.. sort of. Of course, I can't imagine that happening any
day soon, that our PC's will be attached to 32" widescreen
monitors, but.. oh well.

Another thought I had... does (s)vcd suffer from this problem too?

kvs
7th February 2002, 01:16
"I'm not upset" :D :D :D
LOL! That was funny!

"I wish they say so so we will know that this is a technological limitation"

I actually wrote info@divx.com something along what you said there... that if it IS a technical limitation, at least let us know damnit...

of course, I don't know WHO's gonna read that mail, if anyone at all...:rolleyes:

moshem
7th February 2002, 01:19
"the 56k streaming" saying was just meant to make a point. It's bad but not that bad.

what happens that in dark areas insted of getting fine details you will get large blocks in shades of black that sometimes blink and sometimes appear as "holes" in an darker backgroud ,this can really let you down and make watching a movie in virtually DVD quality - problematic, it's like a wake up call saying "hey, it's not DVD , don't forget".

moshem
7th February 2002, 01:21
I just want DIVX to be better and make those disappear!

BTW,

I just noticed that there are others who reported this problem :

http://forum.doom9.org/showthread.php?s=&threadid=16195

MaTTeR
7th February 2002, 01:31
After using the various builds of XviD for about 2 weeks now I've found that a 2ps without Lumi-Masking reduces the number of blocks in dark areas. Maybe it's just the different movies I've encoded but it certainly looks better than the blocks I'm getting in Div4. Just my 2 cents:)

kvs
7th February 2002, 01:34
Sigh... I would've liked to do some comparisons between
xvid and divx4 with "dark city", but that's not going to
do anyone good since I don't have tv-out access.. argh.

And saw the thread you created at divx.com too just a
minute ago, interesting as well. Too bad noone from the
divx team is supplying us with some information..

Maybe it will be easier to get some answers from the guys
at xvid.org? Surely some of you must have asked the xvid.org
developer whether it's possible to improve on this issue
or not? and perhaps even got a reply... ?

moshem
7th February 2002, 01:39
just now but XVID isn't ready for trusting it with my rips , it is too young & buggy... but if they can fix it...

Doom9
7th February 2002, 02:11
a reason why I added the chapel scene of SPR to my codec comparison were exactly these blocks.. they're there with every codec I tested and every codec I ever tested for that matter.. so I guess each codec maker things as long as the competition doesn't do anything against it we won't have to invest into R&D either.

can't tell if DXn or the XviD team will ever solve this one.. you certainly can't expect anything from DivX3.. that is a dead end and I wouldn't be too surprised of this year means the end of it.. plus.. the "official" scene approved DVDRip (Screener rip to be precise) is of course done in DivX3, not DivX4.

moshem
7th February 2002, 02:20
but I have made by share of rips and DIVX4 suffers from the same problem.

Doom9 , as I remember, you have good relations with the DIVX development team, can't you urge them to fix this irritating problem?

BTW,

MS is going to demostrate Corona ,the next version of windows media next week, so I hear , and they took one great challenge on themselvs , they are going to use Corona in movie theater to show a movie in High Definition!! format as decoded by media player and the new video codec and a 5.1 audio codec.

I wonder if they solved the ugly macroblocks in dark areas problem in their codec before taking on this huge challenge?! my guess is that people in the theatre will not be very happy with ugly macroblocks when the movie gets dark , not when every macroblock is 1 feet in size ;-)

kvs
7th February 2002, 03:00
Mmm yes the next windows media encoder... wonder if it will
be the bomb or not. Sounds rather good, but of course, everything
microsoft says usually sounds "rather good". :D

and what if they HAVE fixed this blocking-issue... mmm..
argh I hate the present... good things always seem to
come in the future... uhm.. yes. :)

Foo
7th February 2002, 03:17
Originally posted by kvs
Sigh... I would've liked to do some comparisons between
xvid and divx4 with "dark city", but that's not going to
do anyone good since I don't have tv-out access.. argh.


Actually this is a bad example. DC compresss extremely well, and the artifacting isn't bad at all. The part that looks the worst is probably while the camera descends through the fog in the very beginning, but that is to be expected. A 640x272 one disc with r3mix'd audio looks very good via Tv-out.

Pitch Black is a pretty good test. The combination of darkness and odd lighting (from flares, torches, etc.) shows the effect pretty well. Looks great on a monitor, a bit blocky on a bigscreen.

Any movie with shots of empty space (as in outer) shows it very well too. The extemely dark black just doesn't look great on a TV. Something like 2001 would probably be a good example.

Some light smoothing with SmartSmoother/TempSmoother/etc helps out a bit without degrading crispness too much.

foo

gldblade
7th February 2002, 04:04
>MS is going to demostrate Corona ,the next version of windows media next week, so I hear , and they took one great challenge on themselvs , they are going to use Corona in movie theater to show a movie in High Definition!! format as decoded by media player and the new video codec and a 5.1 audio codec.

>I wonder if they solved the ugly macroblocks in dark areas problem in their codec before taking on this huge challenge?! my guess is that people in the theatre will not be very happy with ugly macroblocks when the movie gets dark , not when every macroblock is 1 feet in size ;-)

If it's anything like their previous codecs, they'll just blur away some of the details in an attempt to get rid of macroblocks and hope everyone won't notice...

Of course, that would be kinda difficult on a big screen...

buba king
7th February 2002, 09:08
Originally posted by UHT
there is NO lord of the rings dvd rip, the dvd isnt even finished yet

I'm sorry but you are totaly wrong! There is a SVCD DVD Screener rip that has near DVD Quality! Its a 4 cd rip so i guess its kinda hard for n00bies to get since they have to rely on Kazaa and HTTP Warez. There is also a re-encode of this rip, DivX, that has terrible quality IMHO. I have The SVCD myself and i'm inpressed with the quality... But 4 cds is overkill :-).

www.vcdquality.com has caps from the Rip. (http://www.vcdquality.com/index.php?page=image&spath=1&id=695)

Please Note:
I will ignore any requests :P

rui
7th February 2002, 09:42
Originally posted by moshem
There is a 2CD DVD Screener rip of LOTR out there - it is very new and was distributed on a limited basis - I got mine from a friend, the quality of non-dark scense is excellent and no doubt were made of a DVD and not an SVCD reencode (the resolution is also bigger then the SVCD version).

now that this is clear , please stick to the topic of this post, I think this issue is very serious.

thanks

You are right.
I want to apologise myself, like a said above, for not sticking to the subject thread.

-h
7th February 2002, 10:42
Just a few points:

You can't optimise an MPEG4 decoder with SSE instructions, because there simply aren't any SSE instructions that are useful for the data being processed. Sure, you could try rewriting the codec to work with floating point numbers, which are all SSE can process, but then it'd run at about a quarter of the speed.

Also, I haven't experienced this black block issue but it seems as though it's to do with either:

- The nature of the DCT transform itself with dark input (unlikely, given MPEG2's quality)
- The YUV colorspace being used lacks the full 0-255 value range, thus decimating the extreme dark-end of the range (perhaps more likely, though the YUV space being used in XviD is 0-235 I believe, thus preserving the darkness). It might be interesting to see what a full 0-255 colorspace implementation does to this issue. If this is the case, it could possibly be alleviated at playback.

I'm honestly just guessing, and won't be able to experiment until the weekend at any rate.

-h

ulfschack
7th February 2002, 11:37
LOTR discussion apart ...

I've had these "macroblocks" appear everytime i've tried porting a film from a computer to a TV. I've tried on three different graphics cards and while the severeness of the blocks varies they still remain. Now, not a single post (albeit based on rapid browsing) has suggested anything in the direction of it being a tv-out problem inherent in the g-cards.

Well, it is!

Here's a simple test that should eliminate any doubt.

Take a pariticulary dark and ugly portion of the divx. Code it to svcd (mpeg2 480x480 or 480x576 depending on region). Burn it to cd with Nero (no need to use more advanced authoring to prove this point). Pop it into a stand-alone DVD player and watch.

The quality SHOULD by all means be degraded since we've now compressed the video twice, but you see a dvd player is an mpeg-tv-expert having no trouble converting from rgb/YuV to the frequenzy domain as do most (all) tv-out cards. What I'm saying is that now you might see REAL macroblocks, but the big ones in the dark areas (lets call them Luma blocks) are basically gone. QED.

It doesn't take long, so just try it out and write back

cheers

PS can I have a copy of those LOTR cd:s :)

moshem
7th February 2002, 12:07
I tried it on different machines with different g-card and different TV-out :

1. IBM Thinkpad T21 w/S3 Savage IX TV Out (one of the best quality TV-out out there)

2. Matrox G400 TV-Out

3. Sigma Designs H+ via DivxPlus (excellent quailty TV-Out)


all exhibit the same problem. So I dont think it's a specific card driver/hardware problem.

Reencoding it to SVCD will just blur everything since you took if from high bitrate (DVD)to low one (DIVX) and from the low to an high again (SVCD). There will be a major detail & sharpness lose, so I would not be suprised if some of the blocks will be blured a way as well. Also the colour conversion might be also responsible for reducing the artifacts as the quality degrades.

But, it might not be the encoder at all , as we can't take a part the encoder & decoder. The problem might come up in the decoder , it could be that the encoder does a good job , and the decoder is screwing it up - if that is the case , this is excellent since once fixed, our movie collection will be worth a lot , but if it is an encoder bug , then....

ulfschack
7th February 2002, 12:18
This is exactly what I'm saying. It's the tv-out cards. You say they're good without even trying to make an experiment. How can I win :)

You go on assuming that coding to svcd will blur the picture and the alledged macro blocks. And I counter with: 1) Notice how these Luma blocks are bigger than ordinary macro blocks (definitly NOT 8x8) and sharp as razors, so they'll appear nice and big no matter how hard you compress. 2) Go to svcd from the original DVD allready. Geez ... just try man.

cheers

moshem
7th February 2002, 12:25
I am saying these cards are of excellent quality becuase of their performence regardles to this issue.

I did not try to covert an DIVX to SVCD , but I did see the original MPEG2 in mediaplayer on the same TVout and it was without flow, I also made a lower bitrate version of MPEG2 from the source , it exhibit blur but *NO* macroblocks , so if we eliminate the TV-Out we are left with the encoder or decoder.

Doom9
7th February 2002, 13:55
the DXn people have asked me before what sources they should test new builds on.. so I gave them a bunch of titles and scenes, including such dark scenes, underwater scenes and other problematic stuff.. rest assured they are aware of the problems but nobody can tell at this moment if it's going to be fixed in a future release. And it definitely has nothing to do with TV out because I've had these ugly blocks since I started ripping and I never watched on anything but my pc monitor.

as for XviD.. I'm sure some of the developers have seen my article and are aware of the problems too, I even submitted a sample clip from the chapel scene to them.

moshem
7th February 2002, 13:58
can you refer them to this thread , so they can see how disturbing it is for lots of people. maybe that will make them take it more seriously ?

ulfschack
7th February 2002, 14:09
Well, all I can say is that they're appearing only when I view through TV-out. The small compression blocks / artefacts almost dissapears on the TV, but the big Luma ones are are way worse.

Christ, I even have them while watching the original DVD through my computer instead of the standalone (admitted divx is worse).

Three cards I've tried:

H+, ATI rage mobility and ASUS 7700.

So for me the Encoder is ruled out, which leaves DEcoder and TV-card, where the latter gets all my votes.

cheers

moshem
7th February 2002, 14:13
DVD that included artifacts itself that were worsen by DIVX later. This is no the type we are talking about, I think you saw both types and you are mixing them.

ulfschack
7th February 2002, 14:24
no mixing here ..

macro + luma blocks (DivX) is worse then just Luma blocks (DVD)

I see how my last reply could have been missleading.

moshem
7th February 2002, 15:17
the auther of Divx4Log software.

We tried to force to codec to use only quanitizer 2 for all frames. We defined a few zones and ran a 2nd pass.

Sadly , DIVX4 ignored the zones and use quantizer 2-6 for the dark scene.

Dimitry did not like the results, but he says that maybe DIVX4 isn't programmed to follow the log file *exactly*.

This is bad since there is probably no way to force DIVX4 to "go easy" on dark scense.

kheperi
7th February 2002, 22:33
of course those ugly blocks in the dark parts will be gone when you turn down brightness a bit.
Thats not just a stupid trick. In fact you might have brightness turned up a bit too far, so that you watch the movie brighter then originally intended and you see a sort of video digital noise...
My backup of the 13-th floor (very dark movie) looks ok as long as i dont turn brightness up.

Maybe its possible to use a brightness filter with Vdub, tuning the brightness a little bit up *before* encoding the movie. The movie might need a much higherr bitrate now, but i'm not even shure of that. Last weekend i did the bicentennial man and thats a 2-hour movie (with the credits cut off) and hardly any dark parts. i made it fit on 1 cd and it looks GREAT! (divx4.12).

moshem
7th February 2002, 22:45
No, my contrast and brightness are set to default ,and Yes

if you use the contrast/brightess combo to reduce luminance ,you will get rid of these macroblocks but you will also lose lots of other details in that colour/luminance spectrum , so a surface with shades of black/gray will look as total darkness and the entire video will look somewhat burned out.

good as a temporary solution , not more...

Franko30
8th February 2002, 16:26
Originally posted by kheperi
of course those ugly blocks in the dark parts will be gone when you turn down brightness a bit.
Thats not just a stupid trick. In fact you might have brightness turned up a bit too far, so that you watch the movie brighter then originally intended and you see a sort of video digital noise...
My backup of the 13-th floor (very dark movie) looks ok as long as i dont turn brightness up.


I just checked this (system, see below) and can confirm the "too much brightness" issue.

In order to get acceptable brightness with an Nvidia Chip on a PC-Monitor you have to set the Overlay brightness settings very high (around 130 or more).
If you switch to TV-Output using these very settings, DivX4 and XVID look awful in dark parts.

But when reducing the Overlay brightness to around 115 for TV Output everything looks great - on my system; different values might be needed for other systems :D

Frank

moshem
8th February 2002, 16:32
As I said before :

"if you use the contrast/brightess combo to reduce luminance ,you will get rid of these macroblocks but you will also lose lots of other details in that colour/luminance spectrum , so a surface with shades of black/gray will look as total darkness and the entire video will look somewhat burned out. "

The only way to view a movie correctly is to view it with default contrast, brightness & saturation (meaning all value 0). Otherwise you will get too bright , too dark and burnt or discoloured movie.

Viewing a dark DIVX movie on a TV-Out with default (0) values results in lots of ugly luma macroblocks.


my only hope is that it is a decoder bug so we can keep our movie collection and view it properly once the bug is fixed.

Has anyone heard from DIVX development team about this issue ?

Franko30
8th February 2002, 16:46
I didn't want to recommend to "reduce" brightness and contrast in order to make it look OK.

What I inteded to say (but forgot to point out) was:

Don't turn up your (Overlay) brightness too much and then commit suicide because of the blocks...

;)


Frank

NeVeRLiFt
8th February 2002, 17:21
Originally posted by rui


Did you make it yourself, or did you get it in some site??
Because i just went to amazon.com and the only LOTR dvd they have listed was a movie made in 1978. :confused:

Sorry for not sticking with the original thread subject, but i just loved LOTR, and would like to buy it.


mirc baby and 0day dumps and pubs are where its at :D

kheperi
8th February 2002, 18:53
(To Moshem)

I dont know what stuff you use to play divx on tv, but imo it is not at all certain that the brightness setting of 0 indeed is equivalent to the brightness originally put into the movie. your tv-out may be slightly too bright.

And to be honest, i do think that is exactly whats happening. So in your case it seems to be the right thing to lower the brightness setting somewhat, untill the macroblocs are just disappeared. I'll bet that by doing that you exactly restored the perfect brightness setting for watching the back-up of that movie.

Maybe you can test that by playing a bit of the original DVD, wich, of course, you still have... :- )

moshem
8th February 2002, 19:42
beleive me that I have tried just about everything.

I have calibrated my setup very carefully. My DIVX settings is set at default (0) , the TV out was calibrated by comparing the exact picture I got from a dvd player also on default settings. Image coming from the DVD & my PC is exactly the same , and actually the DIVX movie looks almost the same as the DVD until we get it to the dark parts.

You can always cancel these blocks by reducing luminance on your DIVX, TV-Out or TV controls , but that is just cheating , and you pay a price for this by losing some of the lower colour & details spectrum.

kvs
8th February 2002, 20:14
Out of curiosity, those of you who have noticed these
shortcomings, what sort of TV are you using, Pal or
NTSC? And any chance one is better than the other to
hide these blocks? Oh well, wishfull thinking only I
suppose. Probably silly too, but when you're wondering,
you're wondering:sly:

moshem
8th February 2002, 20:18
I am using PAL ,but it's not important as it is always viewable on high contrast/brightness PC monitor.

kheperi
8th February 2002, 20:37
Did you also try different players? for some reason it may happen that one player gives better output then another. I had that with mediaplayer (only sometimes or maybe because of damaged install or so... lately it works fine. maybe since i installed the G400 patch). Played back with The Playa looked much better, and that especially with TV-out!

moshem
8th February 2002, 20:39
yes ,used media player, bsplay , the playa , divxplus , all have the same effect.

ChristianHJW
8th February 2002, 22:07
Originally posted by moshem the author of Divx4Log software. Sadly , DIVX4 ignored the zones and use quantizer 2-6 for the dark scene.

This is exactly what Blacksun and myself were trying to explain to Dmitry all the time. DivX4 doesnt stick to his own log file.

I am quite happy he is investing his time and excellent skills into something more valuable now ( optimizing XviD DSF code to SSE2 ) ....

Slogra
9th February 2002, 16:08
Originally posted by Franko30
I didn't want to recommend to "reduce" brightness and contrast in order to make it look OK.

What I inteded to say (but forgot to point out) was:

Don't turn up your (Overlay) brightness too much and then commit suicide because of the blocks...

;)


Frank

I've set the contrast of DIVX to 53 which is just slightly higher than the normal 50. But is does make a differents. When white words are fade to black (credits etc) you'll normally see artifacts, but now they're gone.

moshem
9th February 2002, 21:10
with some black or dark clothes or walls , try it with & without the default values and see what are you missing except the artifacts.

that is only a temp solution!

kvs
11th February 2002, 05:50
Just thought I'd post this link.. 2 interesting replies,
at least for someone who's not a video-techie ;)

http://www.xvid.org/forum/viewtopic.php?topic=236&forum=3&2

moshem
11th February 2002, 10:54
I just wish we would get an "official" response from DIVX or XVID about what are they going to do about it...

Doom9
11th February 2002, 12:30
here's the xvid response: http://www.xvid.org/forum/viewtopic.php?topic=236&forum=3&3

moshem
11th February 2002, 12:34
hi Doom9,

which one of them represents XVID ? and how is the a response ? there is no decision if this is solveable and when ...

fileman
15th February 2002, 12:32
I don't have a TV (student), but I do have a Philips monitor which has the "Lightframe2"-technology. This technology makes the monitor (when Lightframe is switched on) view the picture like it is viewed by a TV (colours are much more intensive, macroblocks in dark scenes appear). The quality of MPEG2 (DVD) is also worse when I watch them with Lightframe (all artifacts are amplified), but while the difference between my divx-movies and the original DVDs isn't noticable in daylight scenes, the difference in dark scenes is very high!
I just wanted to give another evidence that it must be the DivX-Codec, not the TV-Out or something. And for the developers: I would be very glad if this problem could be fixed in the decoder, as the Xvid guy wrote in their forum. (It's just because of the 90 CD-Rs full of DivX stuff, and the 100s of hours my machine spent by compressing them - I think it doesn't want to do it again ;-)

moshem
15th February 2002, 12:40
Hi fileman,

thanks for your input, I also would like to see a fix in the encoder (for future releases) and the decoder via a checkbox (for past release).

sadly, until someone from XVID or DIVX will take us (users, beta testers, contributers) a bit more seriously , none of these accute bugs will ever be resolved.

for some reason , these guys decided not to comment on this increasingly wide spread problem , this thread has been up for some time now, here and on divx.com forums , I also submitted a bug report but they don't seem to care! maybe they are focused too much on commercializing DIVX than making it a better technolgey, I just don't know....

Doom9
15th February 2002, 13:33
gruel is one of the xvid developers. What do you expect? An official press release? It is an open source project after all.. they have nobody doing any PR... and as you can see he mentioned that they're trying things to fix this, just give them time. If it were so easy it would've been done a long time ago. Just complaining is not the lest bit productive.

Same thing actually goes for DivX. Even I have not always received an answer (or only gotten a late answer) when I submitted something.. and I guess they do have the same problem with bugreports as I have with non working links.. most of them are bogus and not related to the codec in any way. I know where you're coming from with all the G400 problems but I think it was sufficiently established that it's not only the fault of DivXNetworks so just blaming them won't do any good (just look at the nasty nvidia, ms & via triangle blaming each other for the v23.11 detonator freezes that some people are having). I have mentioned this issue to them on a couple of occasions and I'm sure they take it seriously.. but if you read my codec comparision attentively (especially the very last part of it) you may get an idea why exactly there is no new version of divx4.xx....

so.. please let's drop this subject.. this is very unproductive. If you want to help.. XviD is open source and everybody can make changes to the code so you can try to fix it on your own. that would be productive ;=)

fileman
15th February 2002, 16:50
Hello again,

I think it wasn't moshem's intention to criticize all the developers (unproductively) - he just felt not token seriously (which was the same with me in some cases).

Doom9, you wrote "I'm sure they take it seriously.." - out of your mouth I'll believe that now, and just wait what's been done (because I'm not a programmer and way too stupid to fix that bug myself ;-).

Regards, fileman.

moshem
15th February 2002, 18:52
Doom9,

I think you misunderstod, I am not critisizing these guys, I admire them and the work they did.

I also was not aware that gruel is related to XVID, I did read your comparison (twice).

I have been around since the early days of MS MPEG4 V2 , and as you mentioned I did contribute many days and nights as a tester , found bugs and submitted them etc, this is the way I know how to help.

You need to understand that this problem is very old one and it has the potential to make all of our DIVX collections very problematic once we switch to TV viewing.

I don't think they owe us anything at all, and I did not expect a PR , but I do remember once when DivxNetworks just started out, when someone described a problem , one of the DIVX team replied with a respose/explanation and promptly distributed a test version to see if this was fixed. This connection between developres and eary adopters has been broken in my opinion and that is a shame since it's the best and fastest way to complete the codec.

I guess I got somehow frustrated with the fact that this thread is running for lots of time and got no response from the actual guys who can do something about it, I sadly have no experience in video codec development and as such can offer little help in that department.

My only intention is to raise this issue so it may be addressed, I believe the MPEG4 standard in general and DIVX in specific is getting very near to mature and production ready status , but it will never get there unless the dark areas problem is resolved.

My apologies if anyone got offended by my post , I only mean to help and promote the codec.

rpfeynman
9th July 2002, 23:22
I had the same problem with TV output. I tried everything, and strangely the only thing that seemed to help was when I turned the Flicker Reduction to None on my Television settings. Why did that help? Your guess is as good as mine (maybe better ;) ).

Slogra
10th July 2002, 11:14
It's always a good idea to put the flicker reduction to none, the image will be sharper this way.

Now about the brightness of your monitor/tv:
There are THX DVDs (like T2, Willow, Star Wars etc) which let you set your screen to the correct brightness. Only problem is that the brightness of your dvdsoftware player may not be the same as your divx player :/

NeVeRLiFt
11th July 2002, 03:54
Originally posted by UHT
there is NO lord of the rings dvd rip, the dvd isnt even finished yet


I have the 4cd SVCD made by Centropy and its very good quality.
I think they made the DivX from this...