I want to use virtualdub to edit my mpeg2 footage, but it needs to be converted to avi.
I heard someone say I could use dvd2avi, but I always get d2v files, not a true AVI. How do I get my MPEG2 into AVI?
Andy![]()
+ Reply to Thread
Results 1 to 15 of 15
-
-
There is supposed to be a way to open MPEG-2 files in Virtual Dub using AviSynth, but os far I have been unsuccessful. In the mean time, I use TMPGEnc's Merge & Cut function, and Ulead Video Studio 6 to edit those files.
Hello. -
thanks, the reason I dont want to use merge and cut is because I need to take many chunks out of each clipping, not just remove one part.
Anyone know what I should do?
Andy -
drewson99, and Tommyknocker as well. . .
below, is a small AVS script that I personally tested, and it works.
* using "X" as your variable, substitute w/ your own MPEG-2 file.
* that is all you have to do.
* next, save it as filename.AVS
* next, in vdub, you can just drag this *.AVS file in and vdub will
open w/ joy!
* Sound. Doesn't seem to be their, but just make sure you export
as a *.wav or better yet, convert to *.mp3 or whatever works for ya
and then import into vdub via it's Audio/Wave Audio... on the Menu.
* Then, just frameserve into tmpg.
Hopefully, you have VFAPI installed for this to work correctly.
I don't know how much more difficult this could be. But, please
give it a try, and please, put an end to vdub not opening MPEG-2
clips, he, he... 8)
------------------------------------
x="d:\1.00.mpg"
DirectShowSource(x)
# your filters below here. . .
------------------------------------
Good luck.
-vhelp -
wow, sounds awesome, but I am not as savvy as some others, what do I do with your script?
and what do I replace in it? do I replace x? Where do I put it? and is frameserve better than saving as avi then opening the avi in tmpgenc?
sorry for all the questions...
Andy -
Using VFAPI Converter/Reader it should be possible to very quickly convert a .d2v file to a pseudo-avi, which Virtualdub can read.
-
late night for you too, banjazzer ??
I've ben so busy, and it's very late at the moment (4:48am NY time)
anyways, i've ben busy'ing myself w/ divX encodes/processes, and I
just coulcn't stop it, he, he....
Anyways, actually, I wasn't talking about using VFAPI that way, though
that was a good suggestion too dude. But, I was trying to convence
others that encoding via vdub, an MPEG-2 file was possible.
-vhelp -
Originally Posted by vhelp
But, I was trying to convence
others that encoding via vdub, an MPEG-2 file was possible. -
no, I WANT an AVI at the end of the process. How do I use the VFAPI tool with the d2v for a psuedo AVI?
-
a direct stream copy DOES work with vdub and a mpeg2 file ...
i save project in dvd2avi and drop the d2v file into VFAPI and create fake avi ..
do whatever you want in v-dub and either frame serve back out or save as a AVI ..
BTW -- noticed there is limit on how many avi 's being frame served by v-dub (from VFAPI mpeg2 file) you can have running on a machine at once - even when only one is being acessed at a time .. i had 24 frame serves lined up for a a batch proccess and it would not open even the first one .. i closed all and was able to get 4 working at once .. strange .. -
Install VFAPI Converter/reader. Load the .d2v file into it, convert it, and a few seconds you have a pseudo-avi which will load into Virtualdub. 8)
Or, you could load it into Gordian Knot, which would allow you to crop and resize (if necessary) and produce an avisynth script which will load into Virtualdub. Although you would then need to encode to avi within Virtualdub. -
Originally Posted by BJ_M
-
drewson99,
there are many ways, as outlined above and then some.
.
.
one more that just came to mind, is:
* open TMPG
* open an MPEG-2, and set any other settings, ie, resolution, rations, etc.
* then, when you're ready for the AVI part, just..
* File/OutputToFile.../AVI and from there..
* you can choose to save as Huffy, Pic or yes, divX, and all w/ tmpg's
great filtering, ie, de-Interlaces, sharpen, crops, framerate, etc., etc.
note, watch for the hidden [ you'll see to your bottom right. Hori
didn't bother to fix this (he was probably trying to jimmy us w/ this feature)
Those to hidden buttons are for Video and Audio Codecs "SaveAs"
Just click the very edge, and a Codec dialog box will pop up (do both for
Video and Audio or whatever your needs are) That goes for anybody here.
-- -- -- -- Fig A. -- -- -- --
I use this if all else fails, which usually ends up being 8 or more VFAPI
hanging, till I got one working, w/all the others just left their hanging in
the wind. After I finish my project(s) I have to resort to a system shut-down.
Happens at least twice a day for me. I think it's something to do w/ not having
the correct VFAPI plugin for TMPG. Problem is, I don't know (nor does
anyone else here) how to correctly determine what version is loaded.
Welp, try Fig A. out and see if THAT is an option as well, for ya.
-vhelp -
yes thats true -- the TMPGenc way is a very good method .. thanks for the tip on the ] -- never noticed those i admit ..
-
VFAPI METHOD:
When I create the d2v file it makes an mpa sound file with it, but the VFAPI converter wont take an audio file, just the d2v. I need the resulting AVI to have audio, so what do I need to do?
Andy
ps - when I use tmpgenc to create an avi from the mpeg2 file it looks fine for the first few minutes, then all of a sudden the audio is screwed and the screen is split into four sections? WTF??
Similar Threads
-
MPEG2 to AVI or whatever VirtualDub will use
By bpatters69 in forum Video ConversionReplies: 4Last Post: 1st Nov 2009, 19:19 -
Batch convert DV-AVI to MPEG2
By w@ntonsoup in forum Video ConversionReplies: 3Last Post: 27th Sep 2009, 15:08 -
a problem with virtualdub when i try to convert mkv to avi
By romanch in forum Video ConversionReplies: 6Last Post: 23rd Jun 2009, 23:41 -
Virtualdub-MPEG2 - DV-AVI Video Codec For Widescreen
By minko in forum Video ConversionReplies: 16Last Post: 10th Nov 2008, 01:49 -
Convert MKV to AVI?? Is there an Easy Way like with VirtualDUB
By sandman423 in forum Video ConversionReplies: 4Last Post: 30th Jun 2007, 13:41