PDA

View Full Version : MeGUI and frameserver


gr8wings
19th December 2007, 21:47
Q.: does MeGui accept a virtual avi file as input video ?

let me explain, I use premiere for video editing, then to encode a movie I use 'link to Avisynth" to export timeline (entire movie).
This is allowed by avisynth.dll and premiere plugin.
The avisynth frameserver starts frameserving to a 'virtual avi file' (whose name for example is simply '1').

This create a virtual AVI file, that can be OPENED by virtualdub, tmpegenc, xmpeg, etc., all programs that accept an avi file as video input.

MeGUI ? Will work ?
I'd like to encode a H.264 video using x264.exe.

Thanks.

Sharktooth
20th December 2007, 04:06
A: yes.

gr8wings
20th December 2007, 22:49
A: yes.
Please help,
when loading avs script I get error from MeGui:

Avisynth Script error
Cannot Load CreateScriprt Environment

the script is 1 row:
IPCSource("1")

Avisynth is dll 0.3 version, working well frameserving from premiere (export timeline - movie - link to avisynth) to virtualdub or tmpegenc etc., to get mpeg4-xvid or mpeg2 streams.

:confused:

Doom9
20th December 2007, 23:43
MeGUI requires AviSynth 2.57.. so I'm afraid your plan to use IPCSource falls flat into the water since it's a plugin for an extremely old and outdated AviSynth version that MeGUI cannot work with.

check
21st December 2007, 10:32
It should also work fine with older versions of 2.5...

Doom9
21st December 2007, 13:01
Hmm.. perhaps if you have AvisynthEx 1.400 with the 1.401 plugin - not the half a decade old version you're using (the news on edwin's site and the readme of the latest version should get you to realize that)

The readme file also mentions how you can test that the plugin is properly loaded:

Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
return output

So create such a script and try to open it in megui.

Also, the readme mentions the colorspaces supported.. it is mostly RGB and since MeGUI works in YV12, you might have to add a colorspace conversion line as well.

gr8wings
21st December 2007, 19:22
Thanks for helping me.
I know that IPCSource is very old and it is not yet supported by Avisynth, but I'm simply asking for a alternate method to frameserving from premiere.
I'd like to use MeGUI or s.t. capable to encode H264 video.

I wonder what kind of function or plugin or script has been set up to replace such a simple procedure I use.
Frameserving is a very powerful method.
I can edit Digital video (miniDV camera, PAL 720x576 @25fps) and stills (whatever resolution), include transitions and digital effects in premiere, than export to a virtual avi file without any compression or conversion, frameserving to virtualdub or xmpeg or tmpegenc, to get almost any kind of video format within mpeg2 (N-pass), Xvid (N-pass) etc. etc, including Filters, etc. etc.

All I need is:
- avisynth.dll (win\sys32 and reg entries)
- premiere plugins (CM-Avisynth.prm, IM-Avisynth.prm)
- a file called as you like: es. load.avs with 1 row: IPCSource("1"), assuming that I name "1" the virtual avi file when exporting timeline from premiere to link to avisynth.

then for Xvid I need:
- Xvid binaries
- Virtualdub

for mpeg2 dvd files
- TmpegEnc

Now, I have read a lot of discussion about x264, HD video and so on, and most of those discussion report about conversion from vob files, or dv-avi files etc. to mpeg-4 video.
I guess why nobody has started a 3d to discuss when s.o. has got a video of it's own, videocam miniDV for example, or shots, and wants to make a non-linear editing of it then export and encode in high definition video or slideshows.

sillKotscha
21st December 2007, 19:31
a alternate method to frameserving from premiere.

maybe PremiereAVSPlugin (http://videoeditorskit.sourceforge.net/) could help or you could try Debugmode FrameServer (http://www.debugmode.com/frameserver/).

Edit:

sorry, the PremiereAVSPlugin is for importing AVS to premiere only...

Doom9
21st December 2007, 22:49
@gr8wings: how about just trying out what I wrote in my previous post?

gr8wings
25th December 2007, 11:59
@gr8wings: how about just trying out what I wrote in my previous post?

yes of course I'll try and I'll let You know !
But, where can I found AvisynthEx 1.400 with the 1.401 plugin ?
Should I install Avisynth 2.5 ?

Doom9
25th December 2007, 12:15
You're seriously telling me you cannot even figure out where you got your current Avisynth version from? You're off to a rocky start then.. it's www.videotools.net and you should be ashamed you didn't figure out that one yourself (even after years I recalled that url). And if you download the software and read the readme file, it explains what has to be installed.. being an avisynth plugin you obviously need avisynth.. so you need to download and install avisynth 2.57, then download the latest avisynth ex, read the readme and follow the installation instructions.

And remind me again why somebody had to tell you rather than you figuring that out on your own? This is a forum where you're expected to first try out things on your own and only come back asking if you cannot figure it out (and with very specific questions about that and that sentence in that and that manual).

gr8wings
30th December 2007, 20:29
Hmm.. perhaps if you have AvisynthEx 1.400 with the 1.401 plugin - not the half a decade old version you're using (the news on edwin's site and the readme of the latest version should get you to realize that)

The readme file also mentions how you can test that the plugin is properly loaded:

Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
return output

So create such a script and try to open it in megui.

Also, the readme mentions the colorspaces supported.. it is mostly RGB and since MeGUI works in YV12, you might have to add a colorspace conversion line as well.

Then,
installed AvisynthEx.dll 1.40 (dwld from videotools.net and copied in win\sys32).
installed Avisynth 2.5.7

created avs file: (caricaEx25.avs)
Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
return output
IPCSource("1")

updated MeGui

started Premiere 6.0 and loaded a project, then export movie - entire movie - link to avisynth ... started frameserving (waiting ...)

MeGui - input - avisynth script - open caricaEx25.avs
I get this:
Avisynth script error
I don't know what "output" means
C:\...\caricaEx25.avs line 3
__________
I apologise, ... :confused:

gr8wings
30th December 2007, 20:49
Hmm.. perhaps if you have AvisynthEx 1.400 with the 1.401 plugin - not the half a decade old version you're using (the news on edwin's site and the readme of the latest version should get you to realize that)

The readme file also mentions how you can test that the plugin is properly loaded:

Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
return output

So create such a script and try to open it in megui.

Also, the readme mentions the colorspaces supported.. it is mostly RGB and since MeGUI works in YV12, you might have to add a colorspace conversion line as well.

Then,
installed AvisynthEx.dll 1.4.0.1 (dwld from videotools.net and copied in win\sys32).
installed Avisynth 2.5.7

created avs file: (caricaEx25.avs)
Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
return output
IPCSource("1")

updated MeGui

started Premiere 6.0 and loaded a project, then export movie - entire movie - link to avisynth ... started frameserving (waiting ...)

MeGui - input - avisynth script - open caricaEx25.avs
I get this:
Avisynth script error
I don't know what "output" means
C:\...\caricaEx25.avs line 3

----
Then I changed script like this:
Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
IPCSource("1")
return output

MeGui - input - avisynth script - open caricaEx25.avs
I get this:
Avisynth script error
IPCSource: Unable to connect to server
C:\...\caricaEx25.avs line 3

__________
I apologise, ... :confused:

gr8wings
31st December 2007, 17:07
Last day of the year UPDATE :)
using Debugmode frameserver:
- premiere 6 (my project NLE)
- debugmode frameserver 2.5
- MeGUI

from premiere NLE project: Export Timeline - Movie - Settings - select debugmode frameserver
then write the filename of the virtual avi file (that is also called 'signpost' file)
then start frameserver.

In MeGUI the first time needed to generate Avisynth script file.
called sign2.avi the signpost file, this is the script:
-----
AviSource("C:\Programmi\DebugMode\sign2.avi")
AssumeBFF().FieldDeinterlace()
crop( 0, 0, 0, 0)
#resize
#denoise
ConvertToYV12()
-----
this script is used as input in MeGUI.
----
Had to separate video output and audio autput, then muxing with Muxer.

Doom9
31st December 2007, 18:40
In your previous posts, you're mixing up a lot of scripts..

Loadplugin("avisynthEx.dll")
video=AVISynthExVersion()
return output

Is a testscript.. you cannot add anything after the return statement.

Likewise, IPCSource is a function name which has a set of arguments described in the readme file.. the first one being a string identifying the frameserver (I figure that's a parameter you'd configure in the frameserver plugin as it is not described in the readme of avisynthex). It could be the machine name as well.. but I'm sure that's something you could figure out by trying.

Also, you can open any avisynth script in a directshow capable player (media player for instance) to see what happens.. you'd see a video with the error message if something is wrong with the script.