VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 36
  1. Hi, I am trying to convert a .Vob file to .avi using VirtualDub.
    I installed the Virtualdub-MPEG2 in the plugins folder. I even tried the VirtualdubMOD.
    In both cases, I can open the file but the preview is:
    https://forum.videohelp.com/images/imgfiles/grsD4EM.png
    Any idea how to solve the problem?
    Thank you very much.
    Quote Quote  
  2. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    1) Stop messing with VOB files. Use something like VOB2MPEG before trying to edit.
    2) Right-click on the individual VDub windows shown on your png to change their size.
    Quote Quote  
  3. Originally Posted by hech54 View Post
    1) Stop messing with VOB files. Use something like VOB2MPEG before trying to edit.
    2) Right-click on the individual VDub windows shown on your png to change their size.
    What do you mean? I don't have access to the original file anymore.
    Using VLC player I have the same problem (those stripes)
    Using MPC i have a normal video. https://forum.videohelp.com/images/imgfiles/WyISOyv.png
    What's going on?
    Quote Quote  
  4. Your video is interlaced, probably telecined film. You will need to inverse telecine or deinterlace. You can use the IVTC filter in VirtualDub.

    The best way to open VOB files is to use AviSynth and the DgMpgDec filter. Sometimes it's necessary to first extract a title from the VOB/IFO set using VOB2MPEG. Then use DgMpgDec.
    Quote Quote  
  5. You want to make an AVI? An XviD AVI? And your problem is the 'stripes'? Then don't mess with Virtual Dub but open the IFO or the first VOB file in AutoGK, let it analyze the video and then encode it to the AVI you want. You're going about this all wrong but AutoGK is designed for beginners.
    Quote Quote  
  6. Originally Posted by manono View Post
    You want to make an AVI? An XviD AVI? And your problem is the 'stripes'? Then don't mess with Virtual Dub but open the IFO or the first VOB file in AutoGK, let it analyze the video and then encode it to the AVI you want. You're going about this all wrong but AutoGK is designed for beginners.
    Hi, I run the DGIindex and I got a lot of informations: https://forum.videohelp.com/images/imgfiles/A5TSbvP.png

    Originally Posted by jagabo View Post
    Your video is interlaced, probably telecined film. You will need to inverse telecine or deinterlace. You can use the IVTC filter in VirtualDub.

    The best way to open VOB files is to use AviSynth and the DgMpgDec filter. Sometimes it's necessary to first extract a title from the VOB/IFO set using VOB2MPEG. Then use DgMpgDec.
    It seems interlaced, then.
    I tried only deinteralace filters, then. Yusif and ELA are a no-go.
    Frame with no filters: https://forum.videohelp.com/images/imgfiles/2vVAmGh.png
    Frame with bob filter (overall good but some messy details, like around the chair) : https://forum.videohelp.com/images/imgfiles/VgiLPAM.png
    Frame with blended fields (overall better result but "quality drop" of image): https://forum.videohelp.com/images/imgfiles/k8Z4gxL.png
    Any tips?
    Zoom is set to 300%
    Quote Quote  
  7. Deinterlace -> Yadif or ELA (with double frame rate) are about the best you'll get in VirtualDub. For better deinterlacing you need to use AviSynth's QTGMC.

    Did you try the IVTC filter? You need the main VirtualDub for that. VirtualDubMPEG2 and VirtualDubMod don't have it.
    Quote Quote  
  8. Uhm, should not the de-interlace filter applied on interlacede videos only?
    And IVTC to telecined?
    (Sorry i am noob)
    Also, Yadif and ELA are not good in my case. I will try Bob double frame rate. Is possible to combine 2 filters without losing too much quality?
    Edit: Is it no-sense blend fields with double frame rate?
    Last edited by JapaneseIdolWota; 21st Jun 2016 at 10:11.
    Quote Quote  
  9. Originally Posted by JapaneseIdolWota View Post
    Uhm, should not the de-interlace filter applied on interlacede videos only?
    And IVTC to telecined?
    Yes. But you didn't give any reason why you believed your video wasn't telecined film. I was just making sure you checked.

    Originally Posted by JapaneseIdolWota View Post
    Also, Yadif and ELA are not good in my case.
    In what way?

    Originally Posted by JapaneseIdolWota View Post
    I will try Bob double frame rate.
    You will get just as much aliasing as single frame rate bob when looking at still frames. But motion will be smoother and the aliasing less visible at normal playback speeds.

    Originally Posted by JapaneseIdolWota View Post
    Is possible to combine 2 filters without losing too much quality?
    You can combine as many filters as you need. But you can't just combine any filters.

    Originally Posted by JapaneseIdolWota View Post
    Is it no-sense blend fields with double frame rate?
    A double frame rate bob separates the two fields (because they represent to different points in time) and resizes them into frames. So you get smooth motion and a picture much like you would have seen on an old CRT TV. Blend fields blurs the two fields together producing one frame. There would be no point in doubling the frame rate. You would just be duplicating that frame.
    Quote Quote  
  10. IVTC is GREAT. it works on 98% of the clip but there are some major derps scense like: https://forum.videohelp.com/images/imgfiles/pYFE1lv.png any idea how to fix that?

    Also, I tried this method to import the frames information: http://avisynth.org.ru/docs/english/externalfilters/dgmpgdec_quickstart.htm but virtualdub gives me an error, saying it cannot load the avi.
    Quote Quote  
  11. Originally Posted by JapaneseIdolWota View Post
    Originally Posted by manono View Post
    You want to make an AVI? An XviD AVI? And your problem is the 'stripes'? Then don't mess with Virtual Dub but open the IFO or the first VOB file in AutoGK, let it analyze the video and then encode it to the AVI you want. You're going about this all wrong but AutoGK is designed for beginners.
    Hi, I run the DGIindex and I got a lot of informations: https://forum.videohelp.com/images/imgfiles/A5TSbvP.png
    That's not an answer to my suggestion.
    Also, I tried this method to import the frames information: http://avisynth.org.ru/docs/english/externalfilters/dgmpgdec_quickstart.htm but virtualdub gives me an error, saying it cannot load the avi.
    Give us your complete script and the exact error message. You did install AviSynth, right?
    Quote Quote  
  12. And make sure you use File -> Open Video File to open AVS scripts. Not File -> Run Script. The latter is for VirtualDub scripts, not AviSynth scripts.
    Quote Quote  
  13. I usually use Megui, so Yes i have avisynth already installed.
    LoadPlugin("C:\Users\GenerciUser\Desktop\Megui\MeG UI_2525_x86\tools\dgindex\DGDecode.dll")
    MPEG2Source("videovob.d2v")
    is the .avs file.
    The error is:
    Avi import filter error (unknown) (80040154)
    [opened like a normal .avi file]
    Quote Quote  
  14. I can get that error when running a 64 bit editor but only 32 bit AviSynth is installed. I presume it would also happen when running a 32 bit editor but only 64 bit AviSynth is installed (or running either editor with no AviSynth installed -- but I'm not going to uninstall AviSynth to find out.

    64 bit editors require 64 bit AviSynth and 64 bit filters. 32 bit editors require 32 bit AviSynth and 32 bit filters.
    Last edited by jagabo; 22nd Jun 2016 at 07:13.
    Quote Quote  
  15. Yes. I tried virtual dub 32 bit and the file opened.
    But the video is still interlaced. So the problem now resides during the video analysis by DgIndex? (the analysis took like 5 seconds. for 1 gb of video. A little too fast, I think...)
    Quote Quote  
  16. Of course the video is still interlaced, you haven't deinterlaced it yet. Since IVTC appears to work you should use TFM() and TDecimate()

    Code:
    Mpeg2Source("filename.d2v")
    TFM()
    TDecimate()
    If you don't already have them they are part of the TIVTC package: http://avisynth.nl/index.php/TIVTC
    Quote Quote  
  17. Bear with me, I am so noob XD
    Should I add those 3 lines to the .avs file? Because, I tried but it says "there is no function TFM"
    Edit, I tried
    LoadPlugin("C:\Users\GenericUser\Desktop\Megui\MeG UI_2525_x86\tools\dgindex\DGDecode.dll")
    LoadPlugin("C:\Users\GenericUser\Downloads\TIVTCv1 05\TIVTC/TIVTC.dll")
    MPEG2Source("videovob.d2v")
    TFM(d2v="videovob.d2v")
    TDecimate(cycle=25)
    Video opens! But still many interlaced frames (more than adding the IVTC filter from virtual dub).
    Ugh.
    Last edited by JapaneseIdolWota; 22nd Jun 2016 at 08:10.
    Quote Quote  
  18. TFM() should have eliminated all the combing. Cycle=25 isn't right. Try TDecimate() with no parameters. That will give you 23.976 fps. And I'm guessing your DVD uses standard 3:2 pulldown.

    Upload a short sample of your source. Use DgIndex: mark in, mark out, File -> Save Project And Demux Video. Upload the resulting m2v.
    Quote Quote  
  19. Wonderful! Thank you both @jagabo and @manono!
    It worked out perfectly. You guys are amazing.
    Hope this discussion will help other people too.

    Edit: audio is desynched
    LoadPlugin("C:\Users\GenericUser\Desktop\Megui\MeG UI_2525_x86\tools\dgindex\DGDecode.dll")
    LoadPlugin("C:\Users\GenericUser\Downloads\TIVTCv1 05\TIVTC/TIVTC.dll")
    video=MPEG2Source("videovob.d2v")
    Audio=WAVSource("audio.wav")
    AudioDub(video,audio)

    TFM(d2v="videovob.d2v")
    TDecimate()
    Last edited by JapaneseIdolWota; 22nd Jun 2016 at 09:48.
    Quote Quote  
  20. Originally Posted by JapaneseIdolWota View Post
    Edit: audio is desynched
    Since the IVTC process doesn't change either the video or audio length, it didn't become out of synch because of the IVTC you performed.

    One solution is to not include the audio in the script. I always handle mine separately and bring it back in during muxing at the very end.

    When you made your D2V file, did you use 'Honor Pulldown Flags' (as you're supposed to) and not 'Ignore Pulldown Flags'? It's in Video ->Field Operation in DGindex.

    In addition, when you got the audio from DGindex when you made the D2V, did it have a delay listed in the file name? If so, did you take that delay into account when making your WAV audio file?
    Quote Quote  
  21. Apparently, 'Honor Pulldown Flags' were already selected. The audio file did not contain any "delay" in the name.
    Ok, wait all. I am gonna crazy.
    Opening the the clip (.vob) with MPC time is 11:43 BUT THE VIDEO CONTINUE TO PLAY some more few seconds past 11:43.
    Opening the clip (.vob) with virtualdub 64 bit the video is 23:49:762 (I gues because of double fields?)
    Now... i checked the audio file (.WAV) created by DgIndex... it's 23:46.
    Opening the original clip (.vob) with Audacity the time of audio track 23:46.
    And the text file generated by DgIndex says:
    Stream Type: MPEG2 Program
    Profile: main@main
    Frame Size: 720x480
    Aspect Ratio: 16:9 [3]
    Frame Rate: 29.970030 fps
    Video Type: NTSC
    Frame Type: Interlaced
    Coding Type: B
    Coded Number: 42851
    Playback Number: 648
    VOB ID: 5
    Cell ID: 4
    Audio Stream: a0: PCM 48K 16bit 2ch
    Timestamp: 0:11:42
    Elapsed: 0:00:09
    Remain: FINISH
    FPS: 39.23
    I am so lost...
    Last edited by JapaneseIdolWota; 22nd Jun 2016 at 18:35.
    Quote Quote  
  22. Originally Posted by JapaneseIdolWota View Post
    Apparently, 'Honor Pulldown Flags' were already selected.
    Okay, good, that's the default setting.
    The audio file did not contain any "delay" in the name.
    Okay, good, it didn't get out of synch because of a delay.
    Opening the the clip (.vob) with MPC time is 11:43 BUT THE VIDEO CONTINUE TO PLAY some more few seconds past 11:43.
    Opening the clip (.vob) with virtualdub 64 bit the video is 23:49:762
    Apparently the video is three seconds longer than is the audio. But it plays in synch, right? Or wrong? How long is the video when you open the AviSynth script in Virtual Dub?

    I gues because of double fields?
    No.

    You've provided no evidence yet that the audio is out of synch. How is it out of synch? It's off by the same amount all the way through? It starts in synch and gets progressively more out of synch the more into the video you go? And how much is it off by the end? Those three seconds? And what are you playing it with that shows it to be out of synch. Don't say Virtual Dub.

    Are you using that script you provided earlier? If so, remove the audio from it:

    LoadPlugin("C:\Users\GenericUser\Desktop\Megui\MeG UI_2525_x86\tools\dgindex\DGDecode.dll")
    LoadPlugin("C:\Users\GenericUser\Downloads\TIVTCv1 05\TIVTC/TIVTC.dll")
    MPEG2Source("videovob.d2v")

    TFM(d2v="videovob.d2v")
    TDecimate()


    Open that script in VDub and set it up for XviD encoding, maybe for Quant 3 to get results more quickly. Add the audio in the Audio tab. Set audio for Direct Stream Copy and add the AC3 audio or whatever format you want when done. Encode and see if it's in synch or not.
    Quote Quote  
  23. Originally Posted by manono View Post
    How is it out of synch? It's off by the same amount all the way through? It starts in synch and gets progressively more out of synch the more into the video you go? And how much is it off by the end? Those three seconds?
    Very hard to tell. It seems audio is 3-4 seconds prior to video.
    I tried to play the 23 minutes audio at the same time with the 11:43 minutes video and they are almost perfect in syncrho. Then if i go to minute 5 of each. there is very different sound (not 3-4 seconds). It's so strange...
    I tried to run the avs script without the audio and loading the wav file generated by DgIndex. Same result (3-4seconds desynch) .
    Quote Quote  
  24. You seem to be saying it's off by the same amount all the way through. I suggest you try and find out as exactly as you can the amount of the delay. You can use a player which can adjust the delay on the fly. I use MPC-HC and the +/- keys. It adjusts by 10 ms amounts and for 3-4 seconds you need to adjust by 3000-4000 ms. If the audio plays before the video then it's a positive delay you need

    After you have it as exact as you can, remove the delay in the audio. You can use DelayCut to get rid of it before muxing or you can do it in VDub when encoding and muxing in Audio->Interleaving->Audio Skew Correction.
    Quote Quote  
  25. Mmmh. I just don't understand why audio is 23 minutes and video is 11 minutes?
    Last edited by JapaneseIdolWota; 23rd Jun 2016 at 19:15.
    Quote Quote  
  26. What does VDub say in File->File Information after you open the script in VDub?

    Is this a retail DVD or some garbage you downloaded from the Internet?
    Quote Quote  
  27. With the script which includes both video+audio:
    Video:
    Frame size, fps (µs per frame): 720x480, 23.976 fps (41708 µs)
    Length: 34280 frames (23:49.76)
    Decompressor: Internal DIB decoder (YV12)
    Number of key frames: 34280
    Min/avg/max/total key frame size: 518400/518400/518400 (17354250K)
    Min/avg/max/total delta size: (no delta frames)
    Data rate: 99433 kbps (0.00% overhead)

    Audio:
    Sampling rate: 48000Hz
    Channels: 2 (Stereo)
    Sample precision: 16-bit
    Compression: PCM (Uncompressed)
    Layout: 34193 chunks (0.04s preload)
    Length: 68454334 samples (23:46.13)
    Min/avg/max/total frame size: 7800/8007/8008 (267400K)
    Data rate: 1536 kbps (0.30% overhead)
    And, yes. But the video with MPC plays perfectly.
    Quote Quote  
  28. It's not uncommon for the video to be longer than the audio. Usually that extra video is at the end and the whole video plays in synch.

    However, if before the video begins there are unreferenced cells (usually some black frames without audio), unless it's been decrypted properly to begin with it can throw off the synch when being reencoded. At least now you know the video isn't just 11 minutes long.

    If it's off by the same amount all the way through, then fix it and be done with it. If there's something else going on , then decrypt it to the hard drive properly this time. How did you decrypt it to begin with?
    Last edited by manono; 26th Jun 2016 at 14:39.
    Quote Quote  
  29. Originally Posted by manono View Post
    It's not uncommon for the video to be longer than the audio. Usually that extra video is at the end and the whole video plays in synch.

    However, if before the video begins there are unreferenced cells (usually some black frames without audio), unless it's been decrypted properly to begin with it can throw off the synch when being reencoded. At least now you know the video isn't just 11 minutes long.

    If it's off by the same amount all the way through, then fix it and be done with it. If there's something else going on , then decrypt it to the hard drive properly this time. How did you decrypt it to begin with?
    There is like 1 second of black frames at the beginning. And the desynch is costant (~3-4 seconds) for all the video.
    I used mediainfo on the video.vob and I got:
    Video
    ID : 224 (0xE0)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, BVOP : Yes
    Format settings, Matrix : Custom
    Format settings, GOP : M=3, N=15
    Format settings, picture st : Frame
    Duration : 11mn 43s
    Bit rate mode : Variable
    Bit rate : 10.4 Mbps
    Maximum bit rate : 7 900 Kbps
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 16:9
    Frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Top Field First
    Compression mode : Lossy
    Bits/(Pixel*Frame) : 1.008
    Time code of first frame : 00:59:59:00
    Time code source : Group of pictures header
    GOP, Open/Closed : Open
    GOP, Open/Closed of first f : Closed
    Stream size : 875 MiB (85%)
    So what is the true length? 11 minutes or 23 minutes?
    Quote Quote  
  30. Ignore what MediaInfo is reporting. It's not reliable with VOB files.

    Originally Posted by JapaneseIdolWota View Post
    the desynch is costant (~3-4 seconds) for all the video.
    Then do what manono suggested, add an audio delay/advance to your final video when you mux it.
    Quote Quote  



Similar Threads

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