PDA

View Full Version : What this will do?


salman1
10th June 2007, 02:35
hi can some one tell me what this will do?

script:
global MeGUI_darx = 4
global MeGUI_dary = 3
DGDecode_mpeg2source("C:\work\test-new.d2v")
AssumeTFF()
Telecide(guide=1,post=2,vthresh=35) # IVTC
Decimate(quality=3) # remove dup. frames
crop( 2, 0, -10, -4)
Spline36Resize(640,480) # Spline36 (Neutral)

what this will do to encoding:

global MeGUI_darx = 4
global MeGUI_dary = 3

Thanks a Lot

J_Darnley
10th June 2007, 02:55
Nothing at all. I think that it is a signal to MeGUI as to what the Dispay Aspect Ratio should be when it muxes the file.

salman1
10th June 2007, 05:06
Nothing at all. I think that it is a signal to MeGUI as to what the Dispay Aspect Ratio should be when it muxes the file.


:thanks: but more info would be nice if not that's ok :)

DarkT
10th June 2007, 19:33
global MeGUI_darx = 4
global MeGUI_dary = 3

I've never seen those "commands" but it Sounds like "Yo MeGui, I want dis' at 4:3" - DAR X = 4, DAR Y = 4 - that sort of thing...

OR, it could be a decleration of variables ("MeGUI_dary" will have the value of 3, and the same with X will have the value of 4) - global would mean that the integers are global and not local(I forgot all I've learned in C++, but I'm pretty sure that some variables that you defined could be global/local/whatever)

J_Darnley
11th June 2007, 01:03
:thanks: but more info would be nice if not that's ok :)

Well since I don't use MeGUI (much), I can't explain how exacly it uses the variables but with a guess I would assume that MeGUI looks in the script for that declaration or AviSynth somehow reports it. MeGUI might then use the --sar switch of x264, the -par of xvid_encraw, or when muxing it sets the --aspect-ratio of mkvmerge or a similar one for what mp4 muxer it uses.

If that's not detailed enough try asking in the MPEG-4 GUI forum. Or, is that not the information you wanted?

salman1
11th June 2007, 02:23
Well since I don't use MeGUI (much), I can't explain how exacly it uses the variables but with a guess I would assume that MeGUI looks in the script for that declaration or AviSynth somehow reports it. MeGUI might then use the --sar switch of x264, the -par of xvid_encraw, or when muxing it sets the --aspect-ratio of mkvmerge or a similar one for what mp4 muxer it uses.

If that's not detailed enough try asking in the MPEG-4 GUI forum. Or, is that not the information you wanted?

Thanks a lot. really great!