PDA

View Full Version : DVDD & Auto GK


beartrax
28th February 2005, 06:24
For the life of me I can't understand what is going wrong here.
I use the most current release of DVDD to rip a country music DVD in IFO mode with stream processing enabled to rip the VOB's. I then use Auto GK (DVD input)with 0 delay in the audio, but the finished results gives me an audio delay. Someone please tell me what is wrong here.

[2/27/2005 6:34:40 PM] AutoGK 1.60
[2/27/2005 6:34:40 PM] OS: WinXP (5.1.2600).2
[2/27/2005 6:34:40 PM] Job started.
[2/27/2005 6:34:40 PM] Input dir: C:\Promo Only Feb 2005
[2/27/2005 6:34:40 PM] Output file: C:\Promo Only Feb 2005\Feb.avi
[2/27/2005 6:34:40 PM] Audio: Unknown language
[2/27/2005 6:34:40 PM] Subtitles: none
[2/27/2005 6:34:40 PM] Codec: XviD
[2/27/2005 6:34:40 PM] Target quality: 100%
[2/27/2005 6:34:40 PM] Custom audio settings: CBR MP3 with bitrate: 128Kbps
[2/27/2005 6:34:40 PM] Started encoding.
[2/27/2005 6:34:40 PM] Demuxing and indexing.
[2/27/2005 6:38:02 PM] Processing file: C:\Promo Only Feb 2005\VTS_01_PGC_01_1.VOB
[2/27/2005 6:38:02 PM] Source aspect ratio: 4:3
[2/27/2005 6:38:02 PM] Source resolution: 720x480
[2/27/2005 6:38:02 PM] Found NTSC source.
[2/27/2005 6:38:02 PM] Analyzing source.
[2/27/2005 6:41:59 PM] Source has percentage of interlacing in motion areas: 27.87
[2/27/2005 6:41:59 PM] Source has percentage of telecined patterns: 64.26
[2/27/2005 6:41:59 PM] Source has percentage of progressive patterns: 31.90
[2/27/2005 6:41:59 PM] Source has percentage of interlaced patterns: 3.84
[2/27/2005 6:41:59 PM] Source is considered to be hybrid (mostly FILM).
[2/27/2005 6:41:59 PM] Looking for optimal hybrid thresholds.
[2/27/2005 6:43:19 PM] Found threshold of: 2.00
[2/27/2005 6:43:19 PM] Found 98571 frames
[2/27/2005 6:43:19 PM] Encoding audio.
[2/27/2005 6:46:41 PM] Running single pass encoding.
[2/27/2005 6:46:41 PM] Writing the following script to C:\Promo Only Feb 2005\agk_tmp\Feb_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")

movie = mpeg2source("C:\Promo Only Feb 2005\agk_tmp\Feb.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
Telecide(movie,order=1,guide=1,post=2).Decimate(mode=3,threshold=2)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[2/27/2005 9:33:51 PM] Duration was: 2 hours 47 minutes 9 seconds
[2/27/2005 9:33:51 PM] Speed was: 9.83 fps.
[2/27/2005 9:33:51 PM] Job finished.


0xA0 - Audio - LPCM / 2ch / 48kHz / 16bit / LBA: 39 / PTS: 00:00:00.063 / Delay: 0ms
0xE0 - Video - MPEG-2 / 720x480 (NTSC) / 4:3 / LBA: 1 / PTS: 00:00:00.063 / Delay: 0ms

len0x
28th February 2005, 11:59
Do you see delay in the file name of demuxed AC3 file in agk_tmp dir?
Ypu might wanna try latest beta of AutoGK, btw.

beartrax
28th February 2005, 15:55
If this is the file your talking about in the agk_temp file....I see no delay.

BeSweet v1.5b29 by DSPguru.
--------------------------
Using lame_enc.dll v1.32 (8/8/2003), Engine 3.90 <http://www.mp3dev.org/>.

Logging start : 02/27/05 , 18:43:20.

C:\PROGRA~1\AutoGK\BeSweet\BeSweet.exe -core( -input C:\Promo Only Feb 2005\agk_tmp\Feb LPCM T01 48KHz.wav -output C:\Promo Only Feb 2005\agk_tmp\Feb LPCM T01 48KHz.mp3 -logfile C:\Promo Only Feb 2005\agk_tmp\Feb LPCM T01 48KHz.log ) -ota( -hybridgain ) -azid( -L -3db -c normal ) -lame( -h --cbr -b 128 ) -profile( AutoGK )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Promo Only Feb 2005\agk_tmp\Feb LPCM T01 48KHz.wav
[00:00:00:000] | Output: C:\Promo Only Feb 2005\agk_tmp\Feb LPCM T01 48KHz.mp3
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | PostGain normalize to : 0.97
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- LAME -------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP3 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: No
[00:00:00:000] +---------------------
[01:08:31:236] Gain of 4.5dB had been asserted to file.
[01:08:31:236] Conversion Completed !
[01:08:31:236] Actual Avg. Bitrate : 128kbps
[00:03:21:000] <-- Transcoding Duration

Logging ends : 02/27/05 , 18:46:41.

I will uninstall Auto Gk and reinstall as you suggest and try again.

len0x
28th February 2005, 15:59
Well, both DVDDecrypter and DGIndex think that there is no delay, so nothing we can do about it. (you can try leatest AutoGK that has to be installed over stable 1.60...)

What sort of asynch do you have in the final AVI?

beartrax
28th February 2005, 16:25
The final Avi is out of sync by about 15 seconds, if that is waht you are asking.

len0x
28th February 2005, 17:10
Constant delay of 15 sec? If latest version doesn't help then you have to reinterleave audio manually in VDubMod.

beartrax
2nd March 2005, 05:13
len0x....
Thanks so much for the tip. Looks like the upgrade took care of the problem :D

I wish to pick your brain a little more, if I may.

I get on a monthly basis from Promo Only a Country Music DVD with anyware from 10 to 15 music videos on it. I am currently ripping with DVDD and using AutoGK to get the file I need to encode to .flv (flash)to load to my website.

I would like to find a program that will allow me to set a start frame and an end frame so I can encode each music video seperatly instead of encoding the whole DVD.

The reason for this.... easier to ftp a 3 minute music video than the whole 1.5 hour DVD.

Again, any suggestions would be greatly appreciated.

manono
2nd March 2005, 09:54
Hi-

In DVD Decrypter, rip by chapters, then. Usually for music video compilations, each chapter is one song. After you've grabbed a chapter, play the vob file to confirm.

beartrax
3rd March 2005, 06:51
Thanks Manono,
I tried as you suggested with not to good results.
Chapter 1 is about a 15 second video intro to the song in chaper 2 with the audio for the song starting about the last 5 seconds of the first chapter. The second chaper is the first song with a 80ms deley in the audio. The third chapter has a 77ms audio deley and so on......

For me this won't be a good option.
I would like to find a program that will allow me to set a start frame and an end frame from the whole encoded DVD, so the audio will stay in sync with the video.
This way I can set the start frame at the beginning of each music video and the end frame at the end of each music video, and save them as seperate music videos.

manono
3rd March 2005, 11:02
Hi-

It still sounds to me like each song has its own chapter, except for the ones with an Intro, which then are 2 chapters. The audio delay isn't anything to be concerned about, as AutoGK will adjust for that.

If you're capable of doing the encoding yourself in XviD, encode the whole thing (all chapters) yourself, making sure to set a keyframe at the end of each song in the Zones before starting the encoding. A 1-pass at quant 3 would encode them pretty quickly. Then when all done, split them all at the keyframes you set.

Another way, if you're up to using Gordian Knot, or doing the encoding yourself, is to first decrypt the whole thing with DVD Decrypter. Then open the vobs in DGIndex, and use the "[" and "]" buttons to isolate the videos you want. Make a project file, and then open the Video.d2v project file in GKnot and take it from there. Alternatively, do the cropping and resizing in GKnot, and let it make the .avs for you. Open that in VDubMod and choose the XviD codec. Choose your settings, and do a 1-pass quant 3 encode, or do a full 2-pass for your desired file size. This may be more than you bargained for. I don't know.

Have you taken the final complete AVI from AutoGK and seen if it splits at the right places? They often will split where you want. If there are fade-ins and/or fade-outs, then keyframes won't get set at the right places.

beartrax
3rd March 2005, 16:05
wow,
sounds like thaking the final AVI from GK and then splitting it would be easier. I came across a little program a while back from the download section that could set start and end frames and do the splitting, but I've lost it(delieted it).
Would you know of such a tool?

manono
3rd March 2005, 18:56
Hi-

Well, one possible problem is that you can only split at keyframes, which themselves are usually set at major scene changes (like when one of your videos ends, and a few seconds of black occurs before the next music video begins. If it ends with a fadeout, it probably won't be detected as a scene change, a keyframe may not be set, and you won't be able to split there. But you'll never know until you try, and, as you said, it is the simplest solution.

So, open your finished AVI in VDubMod and ignore any message or warning it starts with (if you have VBR MP3 audio), by replying "No". There are a bunch of little buttons in the lower left side. The 2 on the right are the ones you want, those 2 little black "arrows". You're going to cut everything before and everything after the video you want, leaving the video. First, at the very beginning of the video hit the left arrow. Scroll to the beginning of the video and hit the right arrow. Now everything to the left of the start place is blue. Go to the top, to Edit->Delete Selection. Now the leftmost point is the beginning of the video. Scroll to the end of the video and hit the left arrow again, and to the end of the AVI and hit the right arrow. Then Edit->Delete Selection again. What's left should be the video. Make sure that the Video is set to Direct Stream Copy (up on top). Go File->Save As, give it a name and wait a few seconds. Here's a Guide with pictures:

http://www.doom9.org/virtualdub_procedures.htm

He explains a couple of slightly different ways to do it.