Professional Documents
Culture Documents
View Topic - How To Frameserve (Dvd2avi - VirtualDub - Avisy
View Topic - How To Frameserve (Dvd2avi - VirtualDub - Avisy
VideoHelp.com Forum - VCD, SVCD and DVD Capturing, Encoding, Authoring and Playing
WHAT IS INDEX F.A.Q. SEARCH LATEST POSTS Rules Register Profile Private messages Login
BD & HD-DVD
DVD
SVCD Search all forums or this forum: Search Advanced search
VCD
GLOSSARY
How to frameserve (dvd2avi / VirtualDub / Avisynth / VFAPI)
HOW TO
Forum Index -> How to's -> User guides Printer-friendly version
ALL GUIDES
ARTICLES
AUTHOR
Author Message
CAPTURE
CONVERT
Truman Posted: Apr 14, 2002 19:26
DVD BACKUP Moderator
EDIT
What's Frameserve?
PLAY Joined: 19 Feb 2001
Location: Berlin,
LISTS Germany Frameserve means that you create a direct video "link" from a video editor application to a
Capture Cards
standalone mpeg encoder so you don't need to create a temporary video file.
DVD Media
DVD Players
Popular frameservers
DVD Hacks
DVD Recorders DVD2AVI....can open MPEG-2 files, so it can open .vob files that you copied from DVD to HDD.
DVD Writers
Tools VirtualDub...is a video editor and frameserver. It can open e.g. AVI, MPEG-1, AVS. Earlier versions
OTHER can open .asf and .wmv too.
Forum
F.A.Q Avisynth....is a video editor and frameserver similar to VirtualDub but without a GUI. That's why it
Search is not very newbie friendly and unfortunately not that popular as it should be. It is by far the fastest
About
frameserver when it comes to DVD to (S)VCD conversion, because it works with YUY2 colourspace
Advertise
as well, while VirtualDub and VFAPI work with RGB colours only. Avisynth is able to read every video
Donate
file type, that you can play with windows media player or a dvd player, also it reads dvd2avi projects
Contact us
CD Writers and VirtualDub signpost files. Avisynth comes with a whole lot of filters and plugins as you can use
RSS Feeds all VirtualDub filters. It is also used to connect Adobe premiere, FlaskMPEG, DVDx and similar tools
Sefy with a standalone MPEG encoder, so you do not need a encoder plugin.
Statistics
Definitily my favorit.
http://forum.videohelp.com/viewtopic.php?t=87270 (1 of 33)6/11/2006 4:58:30 PM
VideoHelp.com :: View topic - How to frameserve (dvd2avi / VirtualDub / Avisynth / VFAPI)
Shop
VFAPI...is actually not a frameserver. VFAPI acts like a regular video codec, but it is rather an AVI
Site layout:
wrapper or however you like to call it. VFAPI wrapps dvd2avi projects, VirtualDub and Avisynth
Classic
scrips as well as TMPGEnc. projects and Aviutl (another video editor) projects to a "pseudo" avi.
VideoHelp
These avis you can open in every MPEG encoder or video editor. Sometimes you may want to use
Blue
Red
VFAPI to connect different frameservers.
Green
Used tools
Brown
Test Note, that I am currently running windows2000. Some tools / methods may behave different if you
Custom are running a different OS.
Change
Cookies must be DVD2AVI 1.76
enabled.
Avisynth 1.05
Printer VirtualDub 1.4.10
Friendly
VFAPIconv 1.04b
Free Codecs DVD2AVI. No installation needed, just copy it to any dir. Make sure, dvd2avi.vfp (VFAPI plugin) is
cdfreaks.com copied to the same directory. I suggest to use the latest official release, that is v.1.76.
DVD
Replication
newcyberian
meritline
DVD
Duplication
TMPG Inc
VirtualDub. Copy it to any dir. Double click on Auxsetup.exe and install the handler.
Giganews
IO Products
iop shop
DVD Cases
©1999-2006
videohelp.com
dvdrhelp.com
vcdhelp.com
svcdhelp.com
Contact Us
Privacy Policy
Leave the proxy mode (VD\aviproxy subdir) alone, you may need it later.
Avisynth. Copy Avisynth to any dir. Copy Avisynth.dll to c:\winnt\system32\ resp. c:\windows
\system\. Then run Install.reg. I suggest to use Avisynth 1.0 beta5.
Since it is not bugfree you may try Avisynth 1.0beta7d. Note, that you have to uninstall one version
by running Uninstall.reg before you install a different version.
VFAPI. Copy VFAPIConv. to any dir. Change to the CODEC subdir and install the VFAPI codec by
running vifpset.bat.
Nativly you can open projects of DVD2AVI, TMPGEnc. and Aviutl in VFAPIConv, if you have installed
and registered the corresponding VFAPI plugins. In Order to have VirtualDub and Avisynth scrips to
be recognized by VFAPIconv you have to copy ReadAVS.dll to the VFAPI Reader dir.
Open ReadAVS.reg with notepad and replace the typed path with the real path to the DLL.
Different MPEG encoders need a different frameserver setup. That's why I tested all methods with
the following (probably most popular) encoders.
TMPGEnc.2.53 plus
TMPGEnc.Beta 12a
Cinema Craft Encoder SP 2.50
Cinema Craft Encoder SP 2.64
Ligos LSX MPEG encoder 3.5
Panasonic MPEG-1 encoder 2.51
In all my tests I frameserved video only. None of the MPEG encoders comes with an exellent audio
encoder, so I recommend to do the audio conversion seperately. As you use a special tool for video,
use a special tool for audio as well.
Note, everything below is for video conversion only. If at any point audio comes into the
game, it will be a dummy audio file to make the frameserver working.
Also I wont explain any filters or encoder settings.
Scenarios:
1. Frameserve AVI with VirtualDub
2. Frameserve AVI with Avisynth
3. Frameserve with DVD2AVI
4. Frameserve MPEG-2 with DVD2AVI and VirtualDub
5. Frameserve MPEG-2 with DVD2AVI and Avisynth
Source is AVI, you want to edit and frameserve with VirtualDub. Start VD, select file > open video
file.
Edit whatever you want and select file > start frameserver.
Start Panasonic MPEG-1 encoder and load the *.vdr as video source.
If you want to frameserve to CCE SP 2.50, you have to select an audio source. Select any small wav
file, that you find on your HD.
Proxy is off, save as *.vdr. Start CCE SP 2.50, right click on the window and press "add" and load *.
vdr into CCE.
If you want to frameserve to CCE SP 2.64, proxy is off, save as *.vdr. CCE SP 2.64 does not accept
VirtualDub signpost files, so you have to convert it with VFAPIconv.
Start VFAPI, press "add job" and select *.vdr.
Start CCE SP 2.64, right click on the window and press "add" and load *.vdr-vfapi.avi into CCE.
Before you can frameserve to LSX 3.5 you have to enable the proxy mode. Change to the VD
\aviproxy subdirectory and run proxyon.reg. Answer yes to the questions that will pop up.
Then start VirtualDub, open the video file, edit, start frameserver. Save as *.avi.
>>back
#LoadPlugin("")
#LoadPlugin("")
AVISource("d:\dir\dir\test.avi")
#[filter]
#[filter]
#[filter]
#[filter]
and save it as *.avs. Make sure that the filetype field in the save dialog box says All Files (*.*) and
NOT Textfile (*.txt). Now right click on *.avs in explorer, select open-with and select the Media
Player from the list. If it plays, everything is good and we can proceed.
Start CCE SP 2.50, right click on the window and press "add" and load *.avs into CCE. If you have
an Athlon CPU, you may need to add a dummy audio line, otherwise CCE might refuse the script.
Code:
#LoadPlugin("")
#LoadPlugin("")
AVISource("d:\dir\dir\test.avi")
#[filter]
#[filter]
#[filter]
#[filter]
ResampleAudio(44100)
CCE SP 2.64 does not accept Avisynth scipts, so you have to convert it with VFAPIconv.
Start VFAPI, press "add job" and select *.avs, uncheck audio, press OK. Press "convert", it takes
only a couple of seconds. Press "exit".
Start CCE SP 2.64, right click on the window and press "add" and load *.avs-vfapi.avi into CCE.
Before you can frameserve to LSX 3.5 you have to avs_patch the encoder. Copy AVS_PATCH.EXE
to the LSX MPEG encoder directory and open the command line console.
Change to the LSX MPEG encoder dir and type "avs_patch mpeg2enc.exe". Hit enter.
A 2nd mpeg2enc.exe file was written, that will read Avisynth scrips. The original .exe is not deleted.
Use the original for AVI and the new one for AVS.
>>back
Have a look at the DVD ripping guides for more details. Select file > save project. Save as *.d2v.
You can load the *.d2v into TMPGEnc as video source directly.
If you want to frameserve to CCE SP, Panasonic or LSX you have to convert the *.d2v with
VFAPIConv to *.d2v-vfapi.avi. Load that avi into CCE SP, Panasonic or LSX as video source.
>>back
Source is MPEG-2 (e.g. DVD), you want to edit and frameserve with DVD2AVI and VirtualDub.
Start DVD2AVI, open the .mpg resp. the .vob, save the project, save as *.d2v. Convert the *.d2v
with VFAPIConv to *.d2v-vfapi.avi. Open that avi in VirtualDub and continue with scenario 1.
>>back
Source is MPEG-2 (e.g. DVD), you want to edit and frameserve with DVD2AVI and Avisynth.
Start DVD2AVI, open the .mpg resp. the .vob, save the project, save as *.d2v.
Copy the MPEG2DEC plugin to c:\winnt\system32\ resp. c:\windows\system\
LoadPlugin("c:\winnt\system32\mpeg2dec.dll")
#LoadPlugin("")
mpeg2Source("d:\dir\dir\test.avi")
#[filter]
#[filter]
#[filter]
#[filter]
and save it as *.avs. Make sure that the filetype field in the save dialog box says All Files (*.*) and
NOT Textfile (*.txt). Now right click on *.avs in explorer, select open-with and select the Media
Player from the list. If it plays, everything is good and we can proceed.
Start TMPGEnc. and load the *.avs as video source. If you get the "..can not open or unsupported"
message, select options > enviromental (global) settings > VFAPIplugin. Disable direct show
multimedia file reader.
>>back
This guide may get extended. Feel free to mail me your very special frameserve problem.
Then I will try to update the guide.
Read more:
http://www186.pair.com/vdub/virtualdub_kb
http://arbor.ee.ntu.edu.tw/~jackei/dvd2avi/
http://www.math.berkeley.edu/%7Ebenrg/avisynth.html
http://forum.videohelp.com/viewtopic.php?t=87270 (22 of 33)6/11/2006 4:58:30 PM
VideoHelp.com :: View topic - How to frameserve (dvd2avi / VirtualDub / Avisynth / VFAPI)
http://www.videotools.net/uk/index.php
http://www.doom9.org/mpg/vfapi_reader_codec.htm
http://www.doom9.org/mpg/d2a-mpeg2dec.htm
http://www.doom9.org/virtualdub_procedures.htm
http://users.win.be/dividee/
http://nickyguides.digital-digest.com/synth-vdub.htm
Last edited by Truman on Apr 26, 2002 04:12, edited 4 times in total
1. There is no "best" method. Select your favorite. I use dvd2avi > Avisynth > cce sp 2.50, my
Joined: 19 Feb 2001
Location: Berlin, scenario 5.
Germany
2. Vdub is an AVI editor not a MPEG encoder. That's why I posted the "read more" links.
3. Because the proxy support is very experimental. Some programs do not like the proxy handler
and will no longer work if it is installed.
4. You can not load a *.d2v into VirtualDub directly.
My situation is a little different. I am making DVDs from a DV camera. Today I use MSP6.5 to edit
Joined: 07 Mar 2002
my movies and then create a Type 2 avi for output. Then I use ULEAD DVD Workshop, input my AVI
files and DVD workshop encodes the movies. I believe that the interum step (making and AVI )
reduces the clearity of the encoded MPG movie. I would rather frame serve from the timeline of MSP
6 directly into TMPEGEnc and generate the MPEG file, eliminating the AVI step. Is this possible?
Something that might be worth mentioning? When frameserving with Avisynth to Tmpgenc you may
Joined: 22 Mar 2002
need to add a converttorgb statement in the last line of the script. Without doing this the color
doesn't seem to translate correctly. I was given this tip by another user that had the same problem.
I'm not sure if this is isolated to certain system setups or if it's just the way it is:) If anyone else
could shed some light on this, then please do !
Take care,
Mike H.
mikehg, the native MPEG colorspace is YUV. So there is absolutely no reason to add ConvertToRGB
Joined: 19 Feb 2001
Location: Berlin, in the last line. You may add ConvertToYUY2 if the source is RGB, also a lot of Avisynth filters
Germany
require a YUY2 source, while VD filters require RGB.
I realize there shouldn't be any reason to have to add it, But I DO!
Joined: 22 Mar 2002
#movie.avs
loadplugin("C:\mpeg2dec.dll")
mpeg2source("C:\movie.d2v")
Now if I load this into Tmpegenc it looks like it was converted to less than 16 bit color! Both in
preview and after encoding, but if I add convertToRgb as the last line everything looks perfect. I
agree it doesn't make sense, I would have never thought to try this if another user with the same
problem hadn't suggested it to me.
I was hoping someone here may know why this works? Btw, the script without the convertto rgb
looks fine in Vdub and Bsplayer. It only seems to be Tmpgenc that has a problem with it? I tried all
different configurations an prioritys with no success. Converttorgb is the only thing that seems to
work?
Thanks,
Mike H.
Okay, seems to be the codec problem. I have some microsoft codec installed "msyuv(YUY2)". After
reading through the Avisynth docs a little better, I noticed they mentioned a problem with ATI
codecs not decoding properly and recommended using Huffy as the YUY2 codec.
So I manually replaced the msyuv with Huffy and everything appears correctly in Tmpgenc. I'm
curious now why Tmpgenc can decode a d2v file correctly without using a YUY2 codec, but
frameserving from avisynth you do? Does Tmpgenc work with some YUY2 files directly and others
have to convert to RGB then back to YUY again? Seems a little weird...
Mike H.
Last edited by mikehg on Apr 24, 2002 16:13, edited 1 time in total
mikehg, I have no clue why you need to convert to RGB. It works fine here. Are you sure, you have
Joined: 19 Feb 2001
Location: Berlin, installed a YUY2 codec?
Germany
bseidner, bad news, I think there is no server plugin for Media Studio Pro yet.
Hey dudes!!
Joined: 30 Jul 2002
From a newbie:
Cause I'm trying to export a SVCD MPEG file from D2V to AVI, for later using it with VirtualDub and
TMpegEnc for including permanent subtitles...
Any clues??
Haha!!
Joined: 30 Jul 2002
But... I am losing too much video quality in the process, and I am not changing any option, what do
I have to do for extremely high quality, no problem if it stays 1 month processing??
Thanks in advance!!
cagger1 wrote:
Joined: 28 Jun 2001
Location: UK Which method is "best" for frameserving dvd to tmpgenc? Assume dvd2avi, vdub, and avisynth
(avsgen) are available.
Is it not just best to create the project in DVD2AVI, and open that straight in TMPGenc in this case
(ie if resizing video only for dvd-r)? Why use anything else?
I use this method and it's very easy and gives great results (though takes a long time using the 2-
pass VBR.....!)
how average?
Lua wrote:
Joined: 19 Feb 2001
Location: Berlin, does it take that long to frameserve?
Germany
how average?
http://www.vcdhelp.com/forum/viewtopic.php?t=87293&start=40
I give up.. I don't know where the heck I'm going wrong, but I CAN'T get this damned thing to work!
Help.. Here's a copy of my post from the D2DR forum:
After right-clicking to 'add' the "attack of the clones.avs" file, here's the error I get:
2nd error says: "Frame size 928x56 is not supported. Supported frame size is up to 720x576."
LoadPlugin("C:\unzipped\Video Tools\AvisynthPackagev1_00\plugins\mpeg2dec3.dll")
mpeg2source("C:\ATTACK_CLONES-SmRip\ATTACK_OF_THE_CLONES_D1\clones.d2v",iDCT=2,
CPU=0)
need help!
Joined: 07 Jan 2003
Trying to get the readAVS.dll to work in TMPGenc so that i can load avs files, and beint recognised in
VFAPI.
But in the VFAPI setting, under files it says readAVS.dll is there but cannot load, so doesn't work...
even ticked on its own.
I followed the guide but it didn't work, any chance for a guide to install in TMPGenc for it to load tin
VFAPI?
thx in advance.
Source is MPEG-2 (e.g. DVD), you want to edit and frameserve with DVD2AVI and Avisynth.
Start DVD2AVI, open the .mpg resp. the .vob, save the project, save as *.d2v.
Copy the MPEG2DEC plugin to c:\winnt\system32\ resp. c:\windows\system\
LoadPlugin("c:\winnt\system32\mpeg2dec.dll")
#LoadPlugin("")
mpeg2Source("d:\dir\dir\test.avi")
#[filter]
#[filter]
#[filter]
#[filter]
and save it as *.avs. Make sure that the filetype field in the save dialog box says All Files (*.*) and
NOT Textfile (*.txt). Now right click on *.avs in explorer, select open-with and select the Media
Player from the list. If it plays, everything is good and we can proceed.
My "test.avs "file.
LoadPlugin("C:\WINDOWS\System32\mpeg2dec.dll")
mpeg2Source("C:\test.avi")
Well, when I have written this article, I used Avisynth 1.0x. Probably you are using Avisynth 2.0x or
Joined: 19 Feb 2001
Location: Berlin, 2.5x.
Germany
Which version are you using?
mpeg2source reads *.d2v files only, no avi, no m2v.
If you use Avisynth 2, maybe you have registered the plugin directory, so I guess, that Avisynth
looks for the MPEG2DEC plugin there. Furthermore Avisynth 2.5x does not work with MPEG2DEC but
with MPEG2DEC3.
Problem 1
Problem 2
I guess I'm stuck cause I finaly got cce running the way I want and I'm NOT going to upgrade.
Have "hand-installed" / upgraded both virtualdub and tmpgenc, from previous versions.
Joined: 23 Sep 2001
Location: Denmark
They work ok, but now, when I try to open a .vdr in tmpgenc, I get "can not open or unsupported"
Is there some small thing I have forgotten ? Is there some part of the setup process that _has_ to
be run from a setup.exe ?
The preview in virtualdub looks fine. Can it be some sort of problem with vfapi-plugins in tmpgenc ?
/jim
Where is ReadAVS.dll?
The link in the guide to read_avs is bad and you can't seem to find it on the site via a search but I
Joined: 09 Mar 2005
found a reference to it here:
http://www.dvdrhelp.com/readavs-vdr.zip
Powered by php_BB
( Forum Archive Forum Statistics)