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.
+ Reply to Thread
Results 1 to 30 of 36
-
-
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? -
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. -
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
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% -
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. -
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.
-
Yes. But you didn't give any reason why you believed your video wasn't telecined film. I was just making sure you checked.
In what way?
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.
You can combine as many filters as you need. But you can't just combine any filters.
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. -
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. -
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. -
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.
-
-
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.
-
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...) -
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()
-
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)
Ugh.Last edited by JapaneseIdolWota; 22nd Jun 2016 at 08:10.
-
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. -
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.
-
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? -
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.23Last edited by JapaneseIdolWota; 22nd Jun 2016 at 18:35.
-
Okay, good, that's the default setting.
The audio file did not contain any "delay" in the name.
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?
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. -
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) .
-
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. -
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.
-
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) -
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.
-
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%)
Similar Threads
-
What avisynth script to play a .VOB file in Virtualdub?
By brassplyer in forum Video ConversionReplies: 8Last Post: 4th Jun 2014, 02:45 -
Virtualdub Virtualdub Mod Prism All doubling file sizes durning compression
By 36boomer in forum Newbie / General discussionsReplies: 3Last Post: 5th Apr 2013, 13:39 -
Can VirtualDub read subtitles from a VOB?
By Daniel_BMS in forum SubtitleReplies: 4Last Post: 31st Aug 2012, 00:27 -
covert VOB to avi with VirtualDub
By NAAMA in forum Video ConversionReplies: 7Last Post: 8th Jul 2012, 10:26 -
VirtualDub + Xvid: problem with file size in 2 pass encoding.
By marcinkk in forum Video ConversionReplies: 3Last Post: 8th Dec 2011, 15:47