VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. I demuxed a DVD with DGIndex but am unable to open up the project with either VirtualDub-MPEG2 or HCEncGUI as an avs. I checked the input name over and over again. When I open up the d2v file in HCEncGUI, I get "invalid d2v project, cannot get the vob/mpeg files" even though the m2v and ac3 files are in the same folder. I deleted the VOB files already. Do I have to re-rip them and demux them again or is there some other fix?

    I've never had this problem before. Should I have kept the VOB files? I don't see why since demuxing them is supposed to end up with a d2v file associated with an m2v file and ac3.
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by ecc
    I've never had this problem before. Should I have kept the VOB files? I don't see why since demuxing them is supposed to end up with a d2v file associated with an m2v file and ac3.

    Yes
    d2v indexes the video, it's a dummy file.
    if you remove the reference video it's useless.
    Quote Quote  
  3. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    D2V files are ASCII.
    Open in a text editor (eg Notepad).

    Here for instance is the d2v of a (very short) m2v file:

    Code:
    DGIndexProjectFile15
    1
    S:\mpg\a12.m2v
    
    Stream_Type=0
    MPEG_Type=2
    iDCT_Algorithm=6
    YUVRGB_Scale=1
    Luminance_Filter=0,0
    Clipping=0,0,0,0
    Aspect_Ratio=16:9
    Picture_Size=720x480
    Field_Operation=0
    Frame_Rate=29970 (30000/1001)
    Location=0,0,0,307
    
    d00 1 0 0 0 0 d3 f0 e1
    d00 1 0 9165 0 0 d2
    d00 1 0 17340 0 0 d3 f0 e1 f2 e3 f0 e1 f2 e3 f0 e1
    900 1 0 242397 0 0 72 73 d0 f1 f2 e3 f0 f1 e2 f3 f0 e1
    900 1 0 416084 0 0 72 73 d0 f1 f2 e3 f0 f1 e2 f3 f0 e1
    900 1 0 598736 0 0 72 73 d0 f1 f2 e3 f0 f1 e2 f3 f0 e1
    900 1 0 795674 0 0 72 73 d0 f1 f2 e3 f0 f1 e2
    d00 1 0 968595 0 0 d3 f0 e1 f2 e3 f0 e1 f2 e3 f0 e1
    900 1 0 1168546 0 0 72 d3 f0 e1 f2 e3 f0 e1 f2 e3 f0 e1
    900 1 0 1356367 0 0 72 d3 f0 e1 f2 e3 f0 e1 f2 e3
    900 1 0 1489300 0 0 70 d1 f2 e3 f0 e1 e2 ff
    
    FINISHED  100.00% FILM
    You see the filename on line 3. You can change that.
    You can delete the path just leaving the filename if your d2v is in the same folder.

    Otherwise you can just make a new d2v file, only takes a few minutes.
    Using DGIndex.
    File | Open -- select your M2V
    Then File|Save project --> your new D2V.
    -- then close DGIndex.

    I've always used the D2V in an AVS script myself:

    Code:
    video=MPEG2Source("310.d2v")
    # .... Avisynth commands
    Quote Quote  
  4. Thanks. Re-opening the m2v in DGIndex worked but strangely it linked the d2v file to the old m2v file while still creating a new m2v. When I deleted the old m2v, once again HCEnc and VirtualDub couldn't find it so I restored it from the Recycle Bin and deleted the new m2v file.

    While I've got your attention, do you know how to open an AC3 in VirtualDub-MPEG2? I installed AC3ACM but I don't know how to load the audio (there are only the "no source" "source audio" - which is none in the case of an m2v - and "wav audio").
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    "browse for audio..."
    ?
    Quote Quote  
  6. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by ecc
    Thanks. Re-opening the m2v in DGIndex worked but strangely it linked the d2v file to the old m2v file while still creating a new m2v.
    You shouldn't be creating a new M2V. "Save project" will just create a D2V pointing to your original M2V.


    Originally Posted by ecc
    While I've got your attention, do you know how to open an AC3 in VirtualDub-MPEG2? I installed AC3ACM but I don't know how to load the audio (there are only the "no source" "source audio" - which is none in the case of an m2v - and "wav audio").
    I don't use VirtualDub-MPEG2.
    But once I have the D2V, I can make an AVS like:
    Code:
    video=MPEG2Source("310.d2v")
    audio=DirectShowSource("310.ac3")
    AudioDub(video,audio)
    which I can open in VirtualDubMod.

    I do this mainly to work out sync problems.
    Quote Quote  
  7. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    Originally Posted by ecc
    Re-opening the m2v in DGIndex worked but strangely it linked the d2v file to the old m2v file while still creating a new m2v.
    nothing strange.

    you started by indexing the .vob and demuxing. it's the vob that was indexed though. by deleting it you rendered the d2v useless. demux, and then index the m2v.

    Originally Posted by AlanHK
    You see the filename on line 3. You can change that.
    You can delete the path just leaving the filename if your d2v is in the same folder.
    there is the option to not use full paths when creating your d2v

    gl
    Quote Quote  
  8. I get "DirectShowSource could not open as audio or video" when I try to load the AVS.

    I tried it with and without the "video= and audio="
    Quote Quote  
  9. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by ecc
    I get "DirectShowSource could not open as audio or video" when I try to load the AVS.

    I tried it with and without the "video= and audio="
    "DirectShowSource" is for the AC3.

    Worry about that later. Sometimes you need to tidy up AC3 files made by demuxing. Eg, with BeSliced.


    Just:

    MPEG2Source("filename.d2v")

    Should display the video described in your d2v.
    Quote Quote  
  10. Should display the video described in your d2v.
    If you also load the DGDecode.dll, it should. Unless it's already in the Plugins folder.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!