Log in

View Full Version : Install Megui


laurentje
7th January 2012, 20:42
Everybody says: installing Megui is pretty simple: download the latest build and 'install' it (I google it ). But how do you this?
First I installed AviSynth (full) and this was easy because it was with an installer-exe-file. And then I tried Megui...

The latest build of Megui is a zip-file, no installer. So I downloaded this file and un-zipped it in a map. First I tried to save it in the 'c:\Program Files'-folder but this was a disaster afterwards. I could open Megui.exe, but no close because acces to settings.xml was refused. The only solution was to kill the application with TaskManager. (My system is Vista Home Premium)

So I unzipped the file to an other map outside this folder, for which I have the full rights. Then I launched megui.exe and then there was a call for updating the several parts of Megui. All went normal. I copied the NeroAAC-encoder in the default map. Finaly I tought that all was installed and I tried to encode (x264) with this avs-file:
DirectShowSource("C:\Users\Roland\Videos\nam\clips\t76_030.avi")
TDeint() #Deinterlaces the clip
#Crop(4,0,-4,0) #Crops video to get rid of black bars
Spline36Resize(640,360) #Resize the clip
ConvertToYV12()

I tried to load this script but I got the warning: "AviSynth script error: Script error: there is no function named "TDeint" ...". That's funny because in the map "megui\tools\avisynth_plugin" I saw this file; is it because this was missing in the "AviSynth 2.5\plugins"-map? Then I copied all filters from the Megui-avisynth_plugin-map to the AviSynth-plugin-map. Then I loaded again the avs-file without problem and I can make the encode as wished.

Now twice the same Avisynth-filters, in the MeGui-map AND in the AviSynth-map. I think that Megui is also looking for updates of the filters, like 'Tdeint'; and if there is a newer version, Megui will copie it to my system into the Megui-folder and not into AviSynth-map. At the end I can have different versions of filters.

My question is now: which version of filter will be taken by Megui. And why do we need 2 sets of filters?

Any help or answer is much appreciated.

Atak_Snajpera
7th January 2012, 21:41
if script does not have loadplugin() then avisynth plugin folder will be used.

Zathor
8th January 2012, 00:48
The latest build of Megui is a zip-file, no installer. So I downloaded this file and un-zipped it in a map. First I tried to save it in the 'c:\Program Files'-folder but this was a disaster afterwards. I could open Megui.exe, but no close because acces to settings.xml was refused. The only solution was to kill the application with TaskManager. (My system is Vista Home Premium)

MeGUI checks at startup if the MeGUI folder is writeable. If not it will ask for permission to do so (UAC prompt). Did this appear for you? Did you tried to run it as admin?
But nevertheless I do not recommend running it in the program files directory. MeGUI itself does not need admin permissions or will write any data outside the MeGUI folder (expect of course the jobs depending on your settings), but because of the included updater it will write data in the MeGUI folder.

Interestingly a few hours before your posting I commited a few changes which are making the first steps in MeGUI (the "installation") easier.

I tried to load this script but I got the warning: "AviSynth script error: Script error: there is no function named "TDeint" ...". That's funny because in the map "megui\tools\avisynth_plugin" I saw this file; is it because this was missing in the "AviSynth 2.5\plugins"-map?

If you create a AVS script on your own you have to make sure that all required plugins are loaded before you use the functions. MeGUI will not copy anything in the AVS folder as this may cause problems. If you use the built-in tools all required plugins will be loaded before they are used.

laurentje
9th January 2012, 18:36
Zathor + Snajpera: thank you very much for the explanation.

Perhaps my confusion comes from the fact that MeGui is not anymore a real avs-editor. I use only 1 filter (plugin): Tdeint; I have copied this filter into the Avisynth-plugin-map; that's easier than insert in all my avs-files the loadplugin() rule.
Because I should not forget (perhaps after 2 or more years...) this, I had made a personnel 'install'-procedure.

tomcat_
12th January 2012, 08:36
i do not mean to hijack the thread but if i read correctly above my sort of issue is along the same lines.

I have been using MeGUI for a few years now in an XP machine with no issues.

However, recently i have bought an SSD and i have done a clean installation of win 7 64bit.

When i downloaded the latest megui 2050 i have realised that there is not installer as such any more, but just a folder with the "stand alone" application.

Is that correct or am i doing something wrong? Should it be an installation process, with shortcuts, start menu etc?

thanks

Zathor
12th January 2012, 11:25
That is correct. There is no (troublesome) installer anymore.

tomcat_
12th January 2012, 12:10
ok so i'm just placing the extracted megui folder inside the program files and manually create shortcuts for starting up?

Zathor
12th January 2012, 12:22
No and Yes. I recommend to extract it to a directory outside of the program files and windows directory as on Windows Vista/7 these directories are protected and therefore you will need to run MeGUI as administrator.

tomcat_
14th January 2012, 08:59
unless i made a mistake on the installation or updates i cannot see any x264 preset profiles but one.

Would the latest preset profiles be here?

http://megui.org/auto/

x264_presets_v59.zip

tomcat_
14th January 2012, 12:46
ok, i see that they have been "replaced" with the target playback device in the x264.

Is there any info on the settings the x264 please in relation with the target playback device?

Zathor
14th January 2012, 14:19
ok, i see that they have been "replaced" with the target playback device in the x264.
Correct.

Is there any info on the settings the x264 please in relation with the target playback device?
I do not know if I understand you question but if you want to know what settings each playback device changes:

Name Profile Level VBVBufsize VBVMaxrate Bframes Reframes MaxWidth MaxHeight BluRay MaxGop Bpyramid
------------ ------- ----- ---------- ---------- ------- -------- -------- --------- ------ ------ --------
Default -1 15 -1 -1 -1 -1 -1 -1 -1 -1 -1
Android G1 0 7 2500 2500 0 -1 480 368 -1 -1 -1
AVCHD 2 11 14000 14000 3 6 1920 1080 1 1 -1
Blu-ray 2 11 30000 40000 3 6 1920 1080 1 1 -1
DivX Plus HD 2 10 25000 20000 3 -1 1920 1080 -1 4 -1
DXVA 2 11 -1 -1 -1 -1 -1 -1 -1 -1 -1
iPad 2 8 -1 -1 -1 -1 1024 768 -1 -1 -1
iPhone 0 7 10000 10000 0 -1 480 320 -1 -1 -1
iPhone4 1 8 -1 -1 -1 -1 960 640 -1 -1 -1
iPod 0 7 10000 10000 0 5 320 240 -1 -1 -1
Nokia N8 2 8 -1 -1 -1 -1 640 360 -1 -1 -1
Nokia N900 0 7 -1 -1 -1 -1 800 480 -1 -1 -1
PS3 2 12 31250 31250 -1 -1 1920 1080 -1 -1 -1
PSP 1 7 10000 10000 -1 3 480 272 -1 -1 0
Xbox 360 2 11 24000 24000 3 3 1920 1080 -1 -1 -1
WDTV 2 11 -1 -1 -1 -1 1920 1080 -1 -1 -1



Thats extracted from the source code and cannot be used directly with x264.

tomcat_
14th January 2012, 14:34
sorry, what i really meant is i use megui mainly for encoding DVDs SD for playback in PCs.

Am i right saying that i need the DXVA playback device?

Thanks

*edit* this what i used to be using before under DXVA-SD-HQ preset

program --level 3.1 --pass 2 --bitrate 1000 --stats ".stats" --deblock -1:-1 --b-adapt 2 --ref 5 --qpmin 10 --qpmax 51 --vbv-bufsize 14000 --vbv-maxrate 17500 --me umh --direct auto --subme 6 --trellis 2 --output "output" "input"