Log in

View Full Version : Direct VOB reading without dvd2avi?


TEB
2nd June 2003, 16:02
Is there a way that avisynth 2.52 can directly read the mpeg2 elementary stream and the ac3 audio stream directly from a vob file via a mpeg2dec plugin without going through dvd2avi ?

Since im new to avisynth im curious about if theres some kind of besweet ac3->stereo decoding module for avisynth 2.5.2?

I basicall want to take a sequence of vobfiles, get the videopid, the right subtitle and the right audio .ac3 track and make it into a new Programstream with subs encoded into the same framelayer as the video and mp2 as sound via Avisynth and through Procoder 1.5.22.

Best regards teb

Defiler
2nd June 2003, 19:49
http://forum.doom9.org/showthread.php?s=&threadid=31329

TEB
2nd June 2003, 22:25
thx for the reply... but im curious..

whats the difference between Nic's
MPEGDecoder.dll and mpeg2decoder3.dll ?

One for use directly ? and one for dvd2avi?

Defiler
2nd June 2003, 22:37
Pretty much, yeah.
I'm sure the internal differences are greater than that, though.

TEB
2nd June 2003, 22:58
well it works great now, but im curios why the video is flipped up down during 6.4 mediaplayer preview, while in Vdub it isnt.. and in Procoder 1.5.22 in preview it is and not on encode lol.... im confused..


#PLUGINS:
LoadPlugin("z:\dvdrip\appz\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\SwiftAVS\Plugins\VSFilter.dll")

#SOURCE:
video=Mpeg2Source("Z:\dvdrip\LOTR_SEE_D1\VIDEO_TS\lotr.d2v")
audio=WavSource("Z:\dvdrip\LOTR_SEE_D1\VIDEO_TS\lotr.wav")
AudioDub(video, audio)

#SUBTITLES:
VobSub("Z:\dvdrip\LOTR_SEE_D1\VIDEO_TS\VTS_01_0.sub")

TEB
2nd June 2003, 23:52
anyone know how to letterbox an anorphic input in the most correct way?

http://www.avisynth.org/index.php?page=Letterbox

I want it to squeeze the frame together and add black up and down..

Defiler
2nd June 2003, 23:53
Make sure you have the latest MPEG2DEC3 (see the thread in this forum), and the latest Avisynth?

TEB
3rd June 2003, 07:12
Avisynth 2.52
Nic's Mpeg2dec3 1.06

should suffice ?

Anyway.. It works like a charm from Procoder.. Quality is superb in the new version directly from .avs...

Defiler
3rd June 2003, 12:51
Originally posted by TEB
anyone know how to letterbox an anorphic input in the most correct way?Your first question was arguably a little technical, so I decided to answer it.. but this one has been answered here like 600 times. Please read the XviD guide on the main Doom9 site, and then search this forum if you still have questions. As the moderators would say.. the button is at the top. Heh.

TEB
3rd June 2003, 13:17
:)
thx for the help tho