Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th June 2002, 22:40   #1  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
VirtualDub and mpeg2

cofferscuffs had stated in a thread a while back on this subject listing some other discusions (http://forum.doom9.org/showthread.ph...ighlight=mpeg2) but are not available anymore so was just wondering if there was a filter, plug-in, frameserver or workaround (don't want to convert them to divx first) yet, that I could use to get VirtualDub to read mpeg2 files. I really like the frame by frame cutting and joining of it but do alot of SVCD movies and would like to use VirtualDub to edit them.
Thanks

Last edited by Holomatrix; 13th June 2002 at 22:51.
Holomatrix is offline   Reply With Quote
Old 13th June 2002, 22:54   #2  |  Link
cofferscuffs
uber-toddler!
 
cofferscuffs's Avatar
 
Join Date: Oct 2001
Location: munkee land whoosh!
Posts: 627
the only way to read them is to use a avs script... do a search for avsgen and use that to quickly make a script
__________________
cC.
cofferscuffs is offline   Reply With Quote
Old 14th June 2002, 03:48   #3  |  Link
jggimi
Moderator Emeritus
 
jggimi's Avatar
 
Join Date: Dec 2001
Location: The NW corner of Lake Erie
Posts: 5,555
Or, after installing avisynth, just create a two line .avs file in notepad:
Code:
LoadPlugin("C:\<wherever>\mpeg2dec.dll")
mpeg2source("C:\<wherever>\file.mpg")
jggimi is offline   Reply With Quote
Old 14th June 2002, 12:01   #4  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
Ok, thanks for the help but this is my avs script,

LoadPlugin("C:\Downloads\AVSGEN\bin\MPEG2DEC.dll")
LoadPlugin("C:\Downloads\AVSGEN\bin\AVISynth_Spatial.dll")
mpeg2source("C:\universal.mpg")

MediaPlayer and VDub complain about line 3, and won't go any further.
I've got avisynth.dll in my winnt\system32 directory it's v1.0 beta7d, what am I doing wrong?

EDIT: actually if I use this;
LoadPlugin("C:\Downloads\AVSGEN\bin\MPEG2DEC.dll")
LoadPlugin("C:\Downloads\AVSGEN\bin\AVISynth_Spatial.dll")
DirectShowSource("C:\universal.mpg")

it works. Is there a reason why mpeg2source would not work?
Thanks again.

Last edited by Holomatrix; 14th June 2002 at 12:41.
Holomatrix is offline   Reply With Quote
Old 14th June 2002, 12:53   #5  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,612
I think mpeg2source can only open .d2v project files created by DVD2AVI. Load the vobs in DVD2AVI and use the save project option. You have to process audio separately though, but if you set DVD2AVI to 'decode' audio you get a .wav that can be loaded into the .avs like this:
Code:
Loadplugin("mpeg2dec.dll")
video=Mpeg2source("yourdvd.d2v")
audio=Wavsource("yourdvd.wav")
Audiodub(video,audio)
__________________
/hakko

http://www.boardgamegeek.com
hakko504 is offline   Reply With Quote
Old 14th June 2002, 13:05   #6  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
Oh, I was wondering why I had no sound I loaded the mpeg2 into DVD2AVI saved project and ended up with a mpa not a wav. (I think it only extracts to a wav if you use VOB's) If I use TMPEG to demux then the audio is a mp2. What can I use to extract directly to a wav from my mpeg2 source?

Last edited by Holomatrix; 14th June 2002 at 13:19.
Holomatrix is offline   Reply With Quote
Old 14th June 2002, 13:53   #7  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
Ok, I've demuxed my mpeg2 stream with TMPEG, converted the mp2 to wav with this other program, I have then created the avs script with Avsgen using the directshow source m2v(adding the audio) and I am now finally able to load video and audio together into VDub in one script. Whew I hope it's worth it. hehehe

Final Script;

LoadPlugin("C:\Downloads\AVSGEN\bin\MPEG2DEC.dll")
LoadPlugin("C:\Downloads\AVSGEN\bin\AVISynth_Spatial.dll")
vid = DirectShowSource("C:\universal.m2v")
sound_track = WAVSource("C:\universal.wav")
AudioDub(vid, sound_track)

cofferscuffs - you might want to add this thread into your FAQ so I don't have to go through this again

Last edited by Holomatrix; 24th June 2002 at 17:37.
Holomatrix is offline   Reply With Quote
Old 23rd June 2002, 10:22   #8  |  Link
gunnimabi
Registered User
 
Join Date: Jun 2002
Posts: 29
DVDCutter can help you solve it, you can find the solution in Help file, just read it carefully. And the registered one has more complete functions, you can find it in www.jummpa.com
gunnimabi is offline   Reply With Quote
Old 24th June 2002, 16:14   #9  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
Thanks. I'll check it out
Holomatrix is offline   Reply With Quote
Old 26th June 2002, 23:51   #10  |  Link
theReal
Piper at theGates of Dawn
 
theReal's Avatar
 
Join Date: Nov 2001
Location: Earth
Posts: 2,138
btw. if you set DVD2AVI to "decode" instead of "demux" audio, you'll get a wav file directly....
__________________
"Under a government which imprisons unjustly, the true place for a just man is also a prison"
Henry David Thoreau, On the duty of civil disobedience, 1849
theReal is offline   Reply With Quote
Old 27th June 2002, 15:55   #11  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
Maybe when loading VOB's but not when loading an mpg (mpeg2 stream). I just tested saving project with both options in the Dolby Digital location 'Decode' then 'Demux' and both times I ended up with an mpa audio file.
Holomatrix is offline   Reply With Quote
Old 27th June 2002, 16:01   #12  |  Link
theReal
Piper at theGates of Dawn
 
theReal's Avatar
 
Join Date: Nov 2001
Location: Earth
Posts: 2,138
Sorry, you're right, I just saw there is only a demux option for mpeg audio, no decode.
The decode option is only available for Dolby Digital, unfortunately.
__________________
"Under a government which imprisons unjustly, the true place for a just man is also a prison"
Henry David Thoreau, On the duty of civil disobedience, 1849
theReal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.