hello_hello
23rd July 2011, 06:32
This is a continuation of a discussion from another thread so as not to take it off topic.
It's only sort of off-topic, since it's actually a fantastic reason to prefer FFMS-MT.
Install these two programs, both free:
AviSynth Virtual File System (http://www.turtlewar.org/avfs/)
Pismo File Mount Audit Package (http://www.pismotechnic.com/pfm/ap/)
Now, when you create an AVS file (using MeGUI, for example), you can right click on it and select "QuickMount". The AVS script will disappear and a subfolder will appear. Inside the subfolder will be a virtual AVI file and a small text file which will tell you if there are any errors (it will appear even if there were no errors). The AVI file will appear to be enormous, but doesn't take up any more space than the original AVS file... it's just a virtual AVI file.
You can then use this AVI file anywhere - Vegas, Premiere, or anywhere else you wish. This is great, because it means you can edit any file you can open in AviSynth, even if your video editing program doesn't support it, and without having to convert to an intermediate codec or lose any quality.
The only disadvantage can be the speed of editing. I have found, however, that with a Core i7-920, if I use FFMS-MT version, the speed is very, very good. The non MT version however is painfully slow.
That is why I am very interested in keeping an easy way to use the MT version in MeGUI available if possible.
I installed the programs and got it working perfectly. It seems very similar to the process I use for "wrapping" AVISynth scripts into AVIs although I don't really have any idea as to how it actually works. I had a play creating basic DirectShowSource and FFVideoSource scripts and mounting them. I've only played around for a pref period of time but here's some thought's on the advantages of "wrapping" over "mounting".
If there's any advantages to "mounting" AVIs I'm not yet familiar with, please let me know.
My method for "wrapping" video into an AVI:
Being lazy I automate the process with these two utilities.
http://tangentsoft.net/video/asynther/
http://hmage.net/files/avs2avi-0.3.zip
The first, AVISynthesizer, lets you create your own templates for creating AVISynth scripts. When you right click on a video file you'll have a SendTo-AviSynthesizer option. Using it will open a window containing your list of templates. Just select the appropriate one and AVISynthesizer will automatically create the AVISynth script for you.
Once the script is created I right click on it and select "wrap into AVI" (the menu item installed by avs2avi). In a couple of seconds it'll wrap the script into a tiny AVI (I have no idea how the process actually works). If it's a simple DirectShow script it's very quick, if it's a FFVideoSource script (for example) an index file will be created, then the script will be wrapped into an AVI.
Like you, I also use this method for encoding video which is normally not supported by the encoding program. However there seems to be a few disadvantages to "mounting" compared with "wrapping".
I opened the mounted AVI using VirtualDub without a problem, but for some reason when I initially opened a mounted AVI with MPC-HC it took forever to load the video.
I often demux the original audio stream, open the "wrapped" AVI using VirtualDub, add the audio stream and then resave it as a new AVI using direct stream copy for both the audio and video. The new AVI will be the size of the audio stream plus a couple of MBs, and then the video and audio can both be given to the encoding software as a single AVI. I couldn't do this when "mounting" the AVI. I could add the audio stream and resave it as a new AVI but VirtualDub had to save the video stream as uncompressed video.
Because of the above, "mounting" also seems to make editing harder if you want to edit the video before sending it to the encoder. When "wrapping" the AVISynth script into an AVI I can open it with VirtualDub, add the audio stream, edit it on a frame accurate basis, save the edited version as a new AVI (which is still only the size of the audio stream plus a couple of MBs) and use the newly saved AVI for encoding.
Apart from adding audio, editing and resaving the mounted/wrapped AVI, the end result seems to be fairly similar. I haven't tested the two methods to see if there's any speed difference when encoding, maybe I'll try that later.
Anyway, that's just my initial thoughts. Until I saw your post I had no idea there was a way to "mount" scripts as AVIs so maybe there's advantages to mounting I've not yet discovered?
It's only sort of off-topic, since it's actually a fantastic reason to prefer FFMS-MT.
Install these two programs, both free:
AviSynth Virtual File System (http://www.turtlewar.org/avfs/)
Pismo File Mount Audit Package (http://www.pismotechnic.com/pfm/ap/)
Now, when you create an AVS file (using MeGUI, for example), you can right click on it and select "QuickMount". The AVS script will disappear and a subfolder will appear. Inside the subfolder will be a virtual AVI file and a small text file which will tell you if there are any errors (it will appear even if there were no errors). The AVI file will appear to be enormous, but doesn't take up any more space than the original AVS file... it's just a virtual AVI file.
You can then use this AVI file anywhere - Vegas, Premiere, or anywhere else you wish. This is great, because it means you can edit any file you can open in AviSynth, even if your video editing program doesn't support it, and without having to convert to an intermediate codec or lose any quality.
The only disadvantage can be the speed of editing. I have found, however, that with a Core i7-920, if I use FFMS-MT version, the speed is very, very good. The non MT version however is painfully slow.
That is why I am very interested in keeping an easy way to use the MT version in MeGUI available if possible.
I installed the programs and got it working perfectly. It seems very similar to the process I use for "wrapping" AVISynth scripts into AVIs although I don't really have any idea as to how it actually works. I had a play creating basic DirectShowSource and FFVideoSource scripts and mounting them. I've only played around for a pref period of time but here's some thought's on the advantages of "wrapping" over "mounting".
If there's any advantages to "mounting" AVIs I'm not yet familiar with, please let me know.
My method for "wrapping" video into an AVI:
Being lazy I automate the process with these two utilities.
http://tangentsoft.net/video/asynther/
http://hmage.net/files/avs2avi-0.3.zip
The first, AVISynthesizer, lets you create your own templates for creating AVISynth scripts. When you right click on a video file you'll have a SendTo-AviSynthesizer option. Using it will open a window containing your list of templates. Just select the appropriate one and AVISynthesizer will automatically create the AVISynth script for you.
Once the script is created I right click on it and select "wrap into AVI" (the menu item installed by avs2avi). In a couple of seconds it'll wrap the script into a tiny AVI (I have no idea how the process actually works). If it's a simple DirectShow script it's very quick, if it's a FFVideoSource script (for example) an index file will be created, then the script will be wrapped into an AVI.
Like you, I also use this method for encoding video which is normally not supported by the encoding program. However there seems to be a few disadvantages to "mounting" compared with "wrapping".
I opened the mounted AVI using VirtualDub without a problem, but for some reason when I initially opened a mounted AVI with MPC-HC it took forever to load the video.
I often demux the original audio stream, open the "wrapped" AVI using VirtualDub, add the audio stream and then resave it as a new AVI using direct stream copy for both the audio and video. The new AVI will be the size of the audio stream plus a couple of MBs, and then the video and audio can both be given to the encoding software as a single AVI. I couldn't do this when "mounting" the AVI. I could add the audio stream and resave it as a new AVI but VirtualDub had to save the video stream as uncompressed video.
Because of the above, "mounting" also seems to make editing harder if you want to edit the video before sending it to the encoder. When "wrapping" the AVISynth script into an AVI I can open it with VirtualDub, add the audio stream, edit it on a frame accurate basis, save the edited version as a new AVI (which is still only the size of the audio stream plus a couple of MBs) and use the newly saved AVI for encoding.
Apart from adding audio, editing and resaving the mounted/wrapped AVI, the end result seems to be fairly similar. I haven't tested the two methods to see if there's any speed difference when encoding, maybe I'll try that later.
Anyway, that's just my initial thoughts. Until I saw your post I had no idea there was a way to "mount" scripts as AVIs so maybe there's advantages to mounting I've not yet discovered?