PDA

View Full Version : but where did i go wrong?


NSanity
23rd May 2003, 02:27
using koepi's 14052003 build...

AVS file

SetWorkingDir("C:\Program Files\AviSynth 2.5\")
LoadPlugin("C:\PROGRA~1\Gordian Knot\mpeg2dec3.dll")
#
# SOURCE
mpeg2source("C:\work\romeo_must_die.d2v")
# CROPPING
crop(0,76,718,424)
# RESIZING
LanczosResize(672,272)


gknot log

// $job "Xvid First Pass"
// $input "C:\work\romeo_must_die.avs"
// $output "C:\work\romeo_must_die_1_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\work\\romeo_must_die.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\work\\romeo_must_die_1_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

11:12:53 AM: Started Xvid - First Pass: C:\work\romeo_must_die.avs
8:53:18 PM: Finished Xvid - First Pass. Duration: 9 hours, 40 minutes, 25 seconds.
8:53:18 PM: Trying to open Log-file.
8:53:18 PM: Success: Log-file open.
8:53:18 PM: Encoded: 165508 Frames.
8:53:18 PM: Speed: 4.753 Frames per Second.
8:53:18 PM: New target size = 1119425Kb

Adding this script to C:\PROGRA~1\Gordian Knot\VirtualDubMod\LastJob.vcf:

// $job "Xvid Second Pass"
// $input "C:\work\romeo_must_die.avs"
// $output "C:\work\romeo_must_die_1_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\work\\romeo_must_die.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\work\\romeo_must_die_1_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done


xvid settings used were

Motion Search 6, MPEG, VHQ4, Chroma Me, Chroma Optimiser, B-frames -1, hvs-best picture matrix, payback proportionally, no alt curve..

now my problem is this... all the edges of things have tons of noise around them... however this is only when i'm viewing it through wmp6.4

just looking through the movie in Virtual dub... there is no noise... in fact it looks VERY sharp...

I haven't got ffdshow... lst time i tryed to install it it didn't work (well xvid was still decoding it, and divx was for divx movies...)

any thoughts?

Gazza
23rd May 2003, 04:57
NSanity
I think that vdub and vdubmod uses a different method of viewing the video than when you use wmp (something to do with the Directshow filters ???). I'm sure that some of the resident experts who know more about this will give you the right answer.

Try Nics directshow decoder available from either http://nic.dnsalias.com/XviD-Dec.exe or http://www.roeder.goe.net/~koepi/XviD-Dec-230203.exe

Try installing ffdshow again.


Good luck

[edit] I am assuming that you viewing the same file (*.avi or *.ogm) when using vdubmod or wmp. In other words you are not trying to compare the original vob data against your final encoded test? If you are then you will probably see differences.

Also what final file size was you going for?

bond
23rd May 2003, 20:38
Originally posted by Gazza
I think that vdub and vdubmod uses a different method of viewing the video than when you use wmp...

...In other words you are not trying to compare the original vob data against your final encoded test? If you are then you will probably see differences.

Also what final file size was you going for?yup i also think that the mpeg quant together with hvs-best-matrix isnt very good to avoid noise!

Niņo
23rd May 2003, 21:24
MPEG and hsv give less blockiness, more details, and a better color representation than h.263, though producing more edge noise and ringing artifacts.
It depends on the resize filter as well, lanczos is very sharp, so try with BicubicResize(672,272,0,0.5) or bilinearresize(672,272).

NSanity
25th May 2003, 03:00
i was slightly going off someones guide here (from the newbie thread) and a mixture of koepi's settings (payback proportionally etc..)

target was 2 cd's with ac3 sound...

bits/pixel frame was up around 0.303, 1385kbit/sec 672x272 res.

can anyone suggest some better settings?