View Full Version : Problem with macro-blocks in Nandub
Satlover
7th October 2002, 10:41
Hi, I am very pleased with Nandaub and I still think it is the best encoder today. I normally go for a 3CD rip but I have one small problem. Sometimes in the film I get macro-blocks or a trail behind a moving object like a head moving in a scene. The strange thing is, is that it only happens 1 or two times in a film. I think all my settings are correct but I am a bit think the problem could be the scene detection? I use Nandub's Altenative Scence detection with the default multiplier setting of 35. Has anyone used different settings or have had a similar problem?
I use Dix3.11Alpha, Nandub1.0rc2 resolution 608x368 or 338
Bitrate normally around 1400 - 1600
I will post my settings later this evening. What I am really looking for is the best settings for a 1.4GB rip. :D
-h
7th October 2002, 16:33
This is because DivX 3.11 uses a fixed threshold to determine when it should skip a block altogether. Unfortunately Nando never looked for this threshold in the code to allow tweaking of it, but it shows up most noticeably when a cloud is moving through the sky.
All you can really do is throw more bits at the scene that's giving you trouble. Unless something else has been invented for this situation?
-h
Satlover
7th October 2002, 18:05
Here are my settings I use for a 1.4GB rip (for DVD-r) ;)
Maybe someone can spot something I could improve :D
VirtualDub.audio.SetSource("F:\\**\\** AC3 T01 3_2ch 448Kbps DELAY 0ms.mp3");
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,1);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");
VirtualDub.audio2.SetSource(0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetDivX(1431,10);
VirtualDub.video.SetQualityControl(0,0,0,0);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(30,0);
VirtualDub.video.SpaceKF(50);
VirtualDub.video.InternalSCD(100);
VirtualDub.video.SetMinKBPS(500);
VirtualDub.video.SetCurveFile("C:\\DVD\\STATS\\stats.stats");
VirtualDub.video.SetCurveMcFactor(25);
VirtualDub.video.SetCurveCompression(10,2);
VirtualDub.video.SetCurveFilter(500,6000);
VirtualDub.video.SetCurveCredits(173527,150);
VirtualDub.video.SetLumaCorrectionAmp(1,10,30);
VirtualDub.video.SetCurveRedist(0);
// VirtualDub.video.CalcCurveCompression();
VirtualDub.video.SetCompLevelsMain(2,5);
VirtualDub.video.SetCompLevelsA(300,3,16);
VirtualDub.video.SetCompLevelsB(300,4,16);
VirtualDub.video.SetCompLevelsC(300,5,16);
VirtualDub.video.SetCompLevelsD(300,6,16);
VirtualDub.video.SetCompLevelsE(300,7,16);
VirtualDub.video.SetCompLevelK(4,31);
VirtualDub.video.SetBitsReservoir(0,45,40,100,45,0);
VirtualDub.video.SetLowBrCorrection(0,0);
VirtualDub.video.NoAVIOutput(0);
VirtualDub.video.GenStats("",0);
VirtualDub.video.SetEncodingControl("");
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("sharpen");
VirtualDub.video.filters.instance[0].Config(23);
VirtualDub.video.filters.Add("resize");
VirtualDub.video.filters.instance[1].SetClipping(1,72,1,72);
VirtualDub.video.filters.instance[1].Config(608,368,4);
VirtualDub.subset.Delete();
VirtualDub.brc.Set( 0, 1400 );
VirtualDub.brc.Set( 1, 1 );
VirtualDub.brc.Set( 2, 157 );
VirtualDub.brc.Set( 3, 145 );
VirtualDub.brc.Set( 4, 1 );
Chunny
19th October 2002, 03:07
I had this problem encoding with Divx3.11 and nandub as well
it can be seen here
www.geocities.com/n_u_n_c_h_u_c_k/movie.html
I used GKnot and DiVX 5 and came out with way better results and it didn't have those damn blocks any more
Just my 2 cents
manono
19th October 2002, 05:00
Hi chunny, and welcome to the forums-
What you had is commonly known as "shit". To try and fix it, use "anti-shit". I don't know if that's what satlover has or just regular old macroblocks caused by too low of a bit rate.
If you can't get rid of them using anti-shit settings, then maybe switch to XviD or DivX5 (as you said you did) where you don't have such things.
Chunny
19th October 2002, 05:01
Thanks, this forum helped me out a ton.
Anti - shit didn't work for it
I should have mentioned that :)
Thanks anyways
I think I'll stick with DiVX 5
Satlover
21st October 2002, 18:25
I seem to have fixed the problem using quality control
VirtualDub.video.SetQualityControl(2,16,28,50);
I also use the sharpening plugin set to 23
To be honest, the resulting avi with AC3 soundtrack burned onto a DVD-r(just under 2GB) is better than some DVD's - older DVD's which have a bit too much smoothing.
VirtualDub.audio.SetSource(5461839);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,1);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");
VirtualDub.audio2.SetSource(0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetDivX(1400,10);
VirtualDub.video.SetQualityControl(2,16,28,50);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(30,0);
VirtualDub.video.SpaceKF(50);
VirtualDub.video.InternalSCD(100);
VirtualDub.video.SetMinKBPS(600);
VirtualDub.video.SetCurveFile("C:\\DVD\\STATS\\stats.stats");
VirtualDub.video.SetCurveMcFactor(30);
VirtualDub.video.SetCurveCompression(10,2);
VirtualDub.video.SetCurveFilter(500,6000);
VirtualDub.video.SetCurveCredits(149679,150);
VirtualDub.video.SetLumaCorrectionAmp(1,10,30);
VirtualDub.video.SetCurveRedist(1);
// VirtualDub.video.CalcCurveCompression();
VirtualDub.video.SetCompLevelsMain(2,5);
VirtualDub.video.SetCompLevelsA(300,3,16);
VirtualDub.video.SetCompLevelsB(300,4,16);
VirtualDub.video.SetCompLevelsC(300,5,16);
VirtualDub.video.SetCompLevelsD(300,6,16);
VirtualDub.video.SetCompLevelsE(300,7,16);
VirtualDub.video.SetCompLevelK(4,31);
VirtualDub.video.SetBitsReservoir(0,45,40,100,70,0);
VirtualDub.video.SetLowBrCorrection(0,0);
VirtualDub.video.NoAVIOutput(0);
VirtualDub.video.GenStats("",0);
VirtualDub.video.SetEncodingControl("");
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("sharpen");
VirtualDub.video.filters.instance[0].Config(23);
VirtualDub.video.filters.Add("resize");
VirtualDub.video.filters.instance[1].SetClipping(2,11,1,11);
VirtualDub.video.filters.instance[1].Config(608,368,4);
VirtualDub.subset.Delete();
VirtualDub.brc.Set( 0, 1400 );
VirtualDub.brc.Set( 1, 1 );
VirtualDub.brc.Set( 2, 189 );
VirtualDub.brc.Set( 3, 179 );
VirtualDub.brc.Set( 4, 1 );
Satlover
21st October 2002, 18:34
Hi Chunny,
Great picture in http://www.geocities.com/n_u_n_c_h_u_c_k/movie.html
just the example I was mentioning in my post.
Question, I saw that you use Intervideo Windvd 4, what is it like in Full screen? does the aspect ratio change, in other words does the picture strech so the black borders dissapear? like in PowerDVD.
Thanks
Satlover:D
Chunny
21st October 2002, 23:30
No it keeps the aspect ratio. It looks like what you see in the picture there, but full screen.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.