Log in

View Full Version : Strange output


rookworm3
6th January 2002, 05:26
I just got a weird effect: I encoded a file, and the result was the images were in black and white, and there was repeating pattern of horizontal bars of color across the whole field. Also, the image is skewed towards the left- it is offset more the higher up one goes; there is a diagonal line going through the bottom right corner corresponding to where the right margin should be. I think this may have to do with the unusual size I chose for the output (717 x 312), i.e this sort of effect is probably the result of fitting the data into the wrong size box. In any case, what can I do? Can I fix the output? salvage the first pass data? adjust my settings so this wont' happen again? Is this a bug? Here are my settings:

VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(1);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression(85,48000,2,0,16000,1,12,"AQACAAAAgAEBAHEF");
VirtualDub.audio2.SetSource(1);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,500,1,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.SetCompression();
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(1512,10);
VirtualDub.video.SetQualityControl(0,0,0,50);
VirtualDub.video.SetMotionDetection(8,10,300,300);
VirtualDub.video.SetCrispness(30,0);
VirtualDub.video.SpaceKF(24);
VirtualDub.video.InternalSCD(96);
VirtualDub.video.SetMinKBPS(460);
VirtualDub.video.SetCurveFile("C:\\SCORE\\a.stats");
VirtualDub.video.SetCurveMcFactor(0);
VirtualDub.video.SetCurveCompression(25,3);
VirtualDub.video.SetCurveFilter(270,6000);
VirtualDub.video.SetCurveCredits(0,350);
VirtualDub.video.SetLumaCorrectionAmp(0,10,30);
VirtualDub.video.SetCurveRedist(0);
// VirtualDub.video.CalcCurveCompression();
VirtualDub.video.SetCompLevelsMain(2,16);
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,35,30,70,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("resize");
VirtualDub.video.filters.instance[0].SetClipping(3,4,0,6);
VirtualDub.video.filters.instance[0].Config(717,312,4);
VirtualDub.subset.Delete();
VirtualDub.brc.Set( 0, 714 );
VirtualDub.brc.Set( 1, 1 );
VirtualDub.brc.Set( 2, 128 );
VirtualDub.brc.Set( 3, 0 );
VirtualDub.brc.Set( 4, 0 );

caLLous
6th January 2002, 07:50
what possessed you to use 717 x 312? not only is that not divisible by 8 (or 4), it's also a prime number...

anyway, i had that error... i just did the first pass again and it was fine; i didn't change any of my settings. *shrugs*

rookworm3
6th January 2002, 20:29
simple... I wanted to preserve highest fidelity and keep proper aspect ratio, so I only changed horizontal resolution; there was just black emptyness in the rightmost three columns of pixels, so those were not really needed.

Pikoa
7th January 2002, 19:46
rookworm3,

Use GKNOT's resizing feature... it will maintain the proper aspect ratios and calculate the %error due to resizing. You don't have to use the output if you don't want to (the avs file), just write the details down (crop pixel count, resolution, & bitrate).
Human eyes are not perfect..., they can bare some errors (my personal opinion, >1.5% is okay). About those black bars, you can remove them with GKNOT too. Although the black bars are highly compressible, the border between the bars and the content will be smudged when encoded. Cut them out.

Pikoa:)

gooki
13th January 2002, 00:05
Don't use the cropping feature of nandub on any filter other than the resize filter.

For some reason i used the cropping fuction when i had the vobsub filter selected and this caused my video to skew about 25 degrees.

Hope that fixes one of your problems.

gooki
13th January 2002, 00:11
Can you confirm your skewed image looks like the one displayed at the following link????


http://www16.brinkster.com/zeganet/

rookworm3
13th January 2002, 10:52
I've had that before, tho not in this instance; this is similar, but also the color is off as described in my original post. I used crop on the resize filter both times.