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 13th March 2008, 14:26   #1  |  Link
rookandpawn
Registered User
 
rookandpawn's Avatar
 
Join Date: Mar 2007
Posts: 40
m2v in avisynth (Why do i need to mess with a d2v)

i have a DVD, i used Dgindex and out came

1) an m2v
2) a d2v
3) and an ac3

The m2v is directly playable in mplayer.

My goal is to write an avs script for megui that simply loads my m2v and my ac3.

People said in prior posts to use mpegdecoder.dll or dgdecode.dll and open the D2V file instead.

FFDShow apparently is using libmpeg2 to decode my m2v. Why do i need to use a way to open a d2v? Is there no way to open a video in m2v in avisynth?

(i had tried using both mpegdecoder.dll and dgdecode.dll and opening the d2v in avisynth, and when i tried the script in mplayer or vdubmod, it said could not locate a decompressor for
YV12... apparently mpegdecoder.dll and dgdecode.dll are dishing out YV12? other posts said xvid codec pack would decode this? I dont want anything to do with xvid.)

Last edited by rookandpawn; 13th March 2008 at 14:30.
rookandpawn is offline   Reply With Quote
Old 13th March 2008, 14:35   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
If you use tools that can't handle YV12 natively, then you need to install a codec that can decode YV12. XViD is one option. You can also use the Helix YV12 codec (use Google to find it).

You don't have to use the D2V method. The reason it exists is to support random frame access, which enables you to do things that you cannot do with DirectShow.

If you want to avoid the D2V method, then use DirectShowSource() instead of MPEG2Source().
Guest is offline   Reply With Quote
Old 13th March 2008, 14:41   #3  |  Link
Southstorm
20yr Videographer
 
Join Date: Jan 2008
Location: The Great Northwest
Posts: 272
A D2V file is a project file that DGIndex creates. It contains an index of your mpeg2 file that is important for AVISynth to use in framserving to MEgui.
Southstorm is offline   Reply With Quote
Old 13th March 2008, 14:51   #4  |  Link
rookandpawn
Registered User
 
rookandpawn's Avatar
 
Join Date: Mar 2007
Posts: 40
Quote:
Originally Posted by neuron2 View Post
If you use tools that can't handle YV12 natively, then you need to install a codec that can decode YV12. XViD is one option. You can also use the Helix YV12 codec (use Google to find it).

You don't have to use the D2V method. The reason it exists is to support random frame access, which enables you to do things that you cannot do with DirectShow.

If you want to avoid the D2V method, then use DirectShowSource() instead of MPEG2Source().
Thank you! Helix YV12 decoder was just what i needed. Wouldnt it be a good idea to put Helix into FFDShow?
rookandpawn is offline   Reply With Quote
Old 15th March 2008, 20:31   #5  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,175
The equivalent is already included: ffdshow vfw's raw video support.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. ~ Ed Howdershelt
foxyshadis 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 05:47.


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