VideoHelp Forum




+ Reply to Thread
Results 1 to 26 of 26
  1. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    What is the best way of taking the five VOBs from my DVD and combining them to a single AVI? ...and also let me specify the CODEC to use for the AVI? Ideally I'd like to use VirtualDub[MOD]. Would Avisynth work for that? I'm guessing. Thanks.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    avidemux, open first vob and it should append all. Or xvid4psp, choose to open dvd.
    Quote Quote  
  3. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    Could a frame server such as Avisynth do this? As I did for an MKV file? I wrote a script using DirectShowSource("xxx.mkv"). I'll try the Avidemux tool, thanks again, much appreciated.
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I think you need to use avisynth with dgindex to get it to work fine with dvd vob, see http://www.animemusicvideos.org/guides/avtechbeta/videogetb2.html
    Quote Quote  
  5. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    I tried Avidemux, but it splits my output into 4GB chunks, is there any way to stop it doing that? I just want one single file.
    Quote Quote  
  6. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Is the drive you're saving to formatted as FAT16/32? 4GB is a hard file limit in FAT, I believe.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  7. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    Good point, but no, it's going to a 640GB NTFS formatted drive. In Avidemux I see an option to split the video into 4090MB chunks, every time I set it to 0 it goes back to 4090; I try 0 just in-case that is a way of turning off video splitting. See below.

    Name:  screenshot.png
Views: 1613
Size:  7.7 KB
    Quote Quote  
  8. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Would using AutoGK or similar be too simple or not give as good result? It sometimes seems to me that in doing conversions that will result in a loss of quality we over complicate the process . Occam's razor is an old dictum but still true...
    SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851
    Quote Quote  
  9. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    Hmm, good tool if I want my output encoded to Xvid or DivX, if I wanted Lagarith for example I couldn't use it. Thanks.
    Quote Quote  
  10. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    If you want to use vdub and Avisynth, you could rename the five vobs to;

    name.00.vob, name.01.vob, name.02.vob, name.03.vob, name.04.vob

    Then use - SegmentedDirectShowSource("name.00.vob") - in your Avisynth script.
    Quote Quote  
  11. Open all your VOB files in DgIndex. Build and index (File -> Save Project). Use an AviSynth script to open the index file (Mpeg2Source("name.d2v"). Open the AVS script in any editor you want, VirtualDub for instance.

    Or using just DirectShowSource() in AviSynth:

    v1=DirectShowSource("VTS_01_1.VOB")
    v2=DirectShowSource("VTS_01_2.VOB")
    v3=DirectShowSource("VTS_01_3.VOB")
    return(v1+v2+v3)
    Quote Quote  
  12. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by Chris K View Post
    Then use - SegmentedDirectShowSource("name.00.vob") - in your Avisynth script.
    You would need to use SegmentedDirectShowSource("name.vob")
    Quote Quote  
  13. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Originally Posted by Gavino View Post
    Originally Posted by Chris K View Post
    Then use - SegmentedDirectShowSource("name.00.vob") - in your Avisynth script.
    You would need to use SegmentedDirectShowSource("name.vob")
    Yes, your right! My mistake.
    Quote Quote  
  14. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    I'll give both methods a try and report back, thanks for your help.
    Quote Quote  
  15. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    Originally Posted by jagabo View Post
    Open all your VOB files in DgIndex. Build and index (File -> Save Project). Use an AviSynth script to open the index file (Mpeg2Source("name.d2v"). Open the AVS script in any editor you want, VirtualDub for instance.

    Or using just DirectShowSource() in AviSynth:

    v1=DirectShowSource("VTS_01_1.VOB")
    v2=DirectShowSource("VTS_01_2.VOB")
    v3=DirectShowSource("VTS_01_3.VOB")
    return(v1+v2+v3)
    I tried Mpeg2Source, and FFMpeg2Source, I received an error when opening the .AVS file in VirtualDub:

    Avisynth open failure: Script error: there is no function named "Mpeg2Source"

    I'm trying the other method which is slightly more successful (slightly = there is still a problem). I created a .AVS file with the following content:

    v1=DirectShowSource("VTS_01_1.VOB")
    v2=DirectShowSource("VTS_01_2.VOB")
    v3=DirectShowSource("VTS_01_3.VOB")
    v4=DirectShowSource("VTS_01_4.VOB")
    v5=DirectShowSource("VTS_01_5.VOB")
    return(v1+v2+v3+v4+v5)

    Saved it, opened it in VirtualDub successfully, instructed it not to output the audio and do a direct stream copy of the video. The projected AVI would be 102GB! Why so big? Surely it should be exactly the size of the MPEG2 video stream in the five VOB files?

    Name:  virtualdubprogress.png
Views: 1457
Size:  13.3 KB
    Last edited by aln688; 5th Apr 2010 at 23:01.
    Quote Quote  
  16. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    Alright I fixed the first error, I put DGDecode.dll in "C:\Program Files (x86)\AviSynth 2.5\plugins" directory and I no longer get the Avisynth script error. Even using MPEG2Source in an .AVS file, I'll end up with a 76GB file. I do not understand, can someone please clarify?

    Name:  virtualdubprogress.png
Views: 1497
Size:  13.4 KB
    Quote Quote  
  17. Member
    Join Date
    Aug 2005
    Location
    AKL, NZ
    Search Comp PM
    Have you instructed VirtualDub your preferred compression type? Those figures suggest a full raw or non compressed encode.
    Quote Quote  
  18. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    As I believe, when you select Direct Stream Copy, compression is not relevant:

    Name:  screenclip.png
Views: 1513
Size:  14.2 KB

    It is based on this, I don't understand why the huge gigabyte file output.
    Quote Quote  
  19. Do what levick said. In your very first post you said you wanted to create an AVI. So choose the XviD or DivX or Lagarith codec, set them up, and compress. You don't use Direct Stream Copy on an AviSynth script. You will get back a huge uncompressed file (as you discovered). Use Fast Recompress instead.
    Quote Quote  
  20. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by aln688 View Post
    As I believe, when you select Direct Stream Copy, compression is not relevant:

    It is based on this, I don't understand why the huge gigabyte file output.
    Indeed, you get the same compression as input.
    But your input is frame served from Avisynth, i.e., uncompressed video.
    (VDub thinks it is reading an uncompressed AVI file, as that's what Avisynth makes everything look like.)

    Also, Avisynth audio will be uncompressed, equivalent to wave.
    You might want to demux the audio separately from the original files and mux it back with your new video, if you're not trimming it at all.
    Quote Quote  
  21. Member
    Join Date
    Apr 2010
    Location
    Norway
    Search PM
    Originally Posted by manono View Post
    Do what levick said. In your very first post you said you wanted to create an AVI. So choose the XviD or DivX or Lagarith codec, set them up, and compress. You don't use Direct Stream Copy on an AviSynth script. You will get back a huge uncompressed file (as you discovered). Use Fast Recompress instead.
    But I want to extract the MPEG2 stream to an AVI without recompressing or touching it. I wasn't aware Direct Stream Copy isn't to be used with Avisynth.

    Originally Posted by AlanHK View Post
    Originally Posted by aln688 View Post
    As I believe, when you select Direct Stream Copy, compression is not relevant:

    It is based on this, I don't understand why the huge gigabyte file output.
    Indeed, you get the same compression as input.
    But your input is frame served from Avisynth, i.e., uncompressed video.
    (VDub thinks it is reading an uncompressed AVI file, as that's what Avisynth makes everything look like.)

    Also, Avisynth audio will be uncompressed, equivalent to wave.
    You might want to demux the audio separately from the original files and mux it back with your new video, if you're not trimming it at all.
    So when a stream is fed through Avisynth, the original source compression/CODEC type is not fed through, instead the source frames are decompressed and the raw frames fed to whichever application opens the .AVS?

    I want to separate out the video and audio streams to separate files, the video stream going to an .AVI. I thought if I used Avisynth and VirtualDub I could do this, but it looks as if Avisynth is decompressing on the fly. I need a different tool for this.

    Thanks for the clarification.
    Quote Quote  
  22. Originally Posted by aln688 View Post
    But I want to extract the MPEG2 stream to an AVI without recompressing or touching it.
    Why? What's the point? If you want a single big untouched file, use Vob2MPEG and make a big MPEG file. There's simply no point in repackaging MPEG video into an AVI container. And you can't use VDub for the job anyway. For any kind of an ordinary AVI (XviD, DivX, Lagarith, whatever) compression will take place.
    Quote Quote  
  23. It's rather unusual, but if you really want MPEG 2 video in an AVI file you can use AviDemux. It can open a series of VOB/MPG files and mux the MPEG 2 data into a single AVI file.
    Quote Quote  
  24. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by aln688 View Post
    But I want to extract the MPEG2 stream to an AVI without recompressing or touching it. I wasn't aware Direct Stream Copy isn't to be used with Avisynth.
    Then you just want to demux and combine MPEG. Use VOB2MPEG, PGCdemux, etc.
    Last edited by AlanHK; 6th Apr 2010 at 08:13.
    Quote Quote  
  25. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    if all vobs are from your dvd rip it (1:1) with dvdfab hd decrypter and then use avi.net or autogk, the latest avi.net version will let you specify video and audio setting, you can try staxrip aswell
    I love it when a plan comes together!
    Quote Quote  
  26. Anonymous8443434
    Guest
    Removed.
    Last edited by Anonymous8443434; 26th Jul 2013 at 08:45.
    Quote Quote  



Similar Threads

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