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 > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd March 2005, 15:10   #1  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
AviSynth issues regarding DVD decoding

I'm doing some tests with AviSynth and DVD Decrypter to encode PAL DVDs into different video codecs. DVD Decrypter copies the movie video stream and the 6 channel AC3 stream into a VOB file. Because it's a FAT32 hard disk, the VOBs have to be 4 GB. I have CyberLink PowerDVD 5 installed to use the MPEG-2 DirectShow decoder. This is the AVS script I'm using to decode the VOB to be opened in VDubMod:

SegmentedDirectShowSource("C:\the_matrix_revolutions_d1\video_ts\vts_01.vob")

By checking the source movie files, there should be 185923 frames. Instead there is about 105000 frames, so there's a big chunk of the file missing. I also tried loading it in a media player, and still get the same result. Any guesses?

I have to use AviSynth to load the 2 VOBs, as VDubMod cannot splice VOBs.

I'm using VDubMod 1.5.10.1 on a Win98SE machine with 192 MB RAM and a 120 GB hard disk, so a 4 GB limit is unwantingly forced, with an NVIDIA 5200 PCI graphics card. (Yes, I know PCI is ****, but I don't have ANY damn AGP slots on the motherboard. It's 3 yrs old!)
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld

Last edited by Inventive Software; 3rd March 2005 at 15:15.
Inventive Software is offline   Reply With Quote
Old 3rd March 2005, 15:19   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Use DGMPGDec for your VOB decoding.
Guest is offline   Reply With Quote
Old 5th March 2005, 05:20   #3  |  Link
actionman133
Movie buff & shine
 
Join Date: Jan 2004
Location: Logan, the only hole above ground.
Posts: 257
what i do is demux video and audio with dvd decrypter (resulting in an m2v file and an ac3 file) and load the video via DGDecode (part of DGMPEGDec). I use AC3Filter as the DirectShow filter for Dolby decoding.

Then for my script i use:

Code:
LoadPlugin ("...\DGDecode.dll")

Video1 = MPEG2Source ("xxxx.m2v", idct = 5) # 5 for P4 PC
Audio1 = DirectShowSource ("xxxx.ac3", video = false)

Video2 = MPEG2Source ("xxxx.m2v", idct = 5)
Audio2 = DirectShowSource ("xxxx.ac3", video = false)

Video3 = MPEG2Source ("xxxx.m2v", idct = 5)
Audio3 = DirectShowSource ("xxxx.ac3", video = false)

Video = Video1 + Video2 + Video3
Audio = Audio1 + Audio2 + Audio3 # or whatever is necessary

AudioDub (Video, Audio)
DelayAudio (0) # Delay as recorded, of course

# Then resize, crop, and filter as desired
It provides very fast decoding, and you can choose specific decoding options. much more controlled than PowerDVD's decoder.
__________________
I'm a boxer who can Bob () & Weave (). I like to Overlay () punches and Blur () his vision to ShowFiveVersions (). My KO punch will always Pulldown ().TimeStretch () and all he will hear is Tone ().
actionman133 is offline   Reply With Quote
Old 7th March 2005, 10:38   #4  |  Link
Inventive Software
Turkey Machine
 
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
OK, I think I figured out what it was. The DVD does not decrypt properly, which is a slight problem.

I have done it similar to what you say there, but with the DirectShowSource and AC3filter, but I still get the same results as before.

Still got to try those 2 filters, and see how they do.

Gimme a couple of days for rigourous testing.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld
Inventive Software 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 04:12.


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