Log in

View Full Version : Adjusting Audio Offset by Chapter


randomcow
20th June 2004, 05:51
Hi - I'm a newbie to this site, and have thoroughly enjoyed working my way through the various guides on doom9.net etc to start backing up my collection.

I've been using robot4rip and Gordian Knot so far, and have managed to work my way through most of the problems I have come across through the doom9 forums and guides. However, I've got one DVD that has been giving me a little trouble and I haven't been able to find an answer so far.

The problem is that the audio starts off ok, but at the start of the 2nd chapter, the audio goes out of sync with the video.

The DVD (a tv series) has two "episodes" per disk, each with it's seperate ifo file. Each of these is broken down into "chapters" which I presume are at the points where the ad breaks usually are.

Other DVDs of this series haven't had any (noticable) problems with the audio sync per chapters. From what I understand, during the demuxing, robot4rip fixes the audio offset for the whole file (correct?). However if there is a delay depending on the chapter, I believe this information is not recorded in the file name or any log files.

Can anyone tell me the best way to go about fixing this? Preferably if there is a setting in the Gordon Knot suite of programs that I have overlooked, I'd prefer this option. Of course, if I need to download some other software that's fine too.

I figure I have to do one of the following:

1) rip the entire thing without breaking it up into chapters (I have already tried disabling the "chapters" step of robot4rip but it still had the audio sync problem).

2) Rip the chapters seperately through dvd encrypter. I can do this, but as for the rest of the process, which would now be manual, I have no idea as to how to do this. If i need to just do some more reading, let me know (a link would be much appreciated! :)

3) make 4 sepearate .avi files with the audio offset correct, and join them with Nandub or something. I think this will be a lot of stuffing around with working out file sizes, taking away headers, etc, to try and come up with the correct final file size. I also don't know how I would go about this.

Again, I'm sincerely sorry if this has been asked before. Maybe I was searching using the wrong search terms ("audio sync chapters"). I would appreciate any direction you could provide. Thanks!

RC

killingspree
20th June 2004, 10:57
hi and welcome to the forum,
honestly, i do not think that your problems are connected to the chapters directly! as you know an episode is encoded as one PGC, so a delay that would start at a very point in the movie, would theoretically also have to present on the original DVD.
Now what i think is, that you have standard sync issues, that indeed have been discussed here on and off again (with here i mean the whole forum, not only the noobs.)

But just to check, you did rip in ifo mode, didn't you? i guess since, you're using r4r, this is even done automatically. anyway, please open up the avi in virtualdubmod, or gspot for that matter, and check if the audio stream is significantly shorter as the video. you can access the information via file > file info ...

oh and adding/remvoing the chapters in r4r won't change anything, afaik this only creates a text file with the chapter timings written down... so no harm can be done by this step either!

hth
steVe
PS: :logfile: might always help ;)

randomcow
20th June 2004, 13:15
Hi Killingspree - thanks for the quick reply.

To me, the surprising this is that the DVD works fine as a DVD. It's just when the 2nd chapter starts in this particular episode, the audio becomes incorrect for the 2nd, 3rd and 4th chapters. I'm not sure yet whether the delay compounds in the 3rd and 4th chapters.

I just opened the .avi file in VirtualDub and got an error dialog as follows:

VirtualDub has detected an improper VBR audio encoding in the source AVI file (audio stream 1).
The current preference is to rewrite the audio header with standard CBR values during processing for better compatibility. This may introduce up to 2955ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate 137.1 +/- 19.5 kbps)

Do you still want to rewrite the header?

(yes) (no)



I don't know if that has something to do with things. Just to check, I opened one of the other successful episodes in VirtualDub and it gave the same message, albeit different values.

The video and audio lengths are as follows:

video: 46:25.78
audio: 46:24.55

However, from the error message above I wouldn't be surprsied if these were wrong. i'm not sure where virtualdub gets its figures from.

I don't have a logfile, but I'm ripping again now so i'll post it as soon as it has finished.


RC

randomcow
20th June 2004, 13:19
Just for reference, the difference in video and audio lengths in the other episodes was consistently much smaller (ie <20ms)

RC

killingspree
20th June 2004, 13:23
hi again,
the error message from vdub is nothing unusal... you'll get it every time you'll open an avi muxed with a vbr mp3 audio. This is more like a hint, telling you that vbr mp3 are actually not supposed to be in an avi container- it's a hack to be exact, and some editing programs do not handle it very well!

the values can still be correct though...

anyway, since you are redoing the first episode, i think it's best we wait and see how it comes out!

cheers
steVe

randomcow
20th June 2004, 13:42
Hi Steve -

Where abouts in the robot4rip workflow do you recommend I finish?

Rip and demux only? I'm not doing subtitles or chapters this time.

What about encode audio? Do this step? And are the default settings ok (vbr 128)?

RC

killingspree
20th June 2004, 13:55
hi,
well you can of course also do audio encoding if you want to, although i have to say that personally i rather prefer to let gknot do the audio encoding as i want to do a comp test before deciding what kind of audio (ac3, mp3 dual mp3) i choose for my rip!

anyway, i actually don't think your error lies within the r4r part, but rather somewhere in the encoding steps (gknot)... but posting both logs would of course be best ;)

steVe

randomcow
20th June 2004, 15:21
Hi Steve -

I'm not 100% on which log you are referring to.

First we have the robot4rip log:


22:42:39: BEGIN RIP "LOGICALVOLUMEIDENTIFIER" - 6/20/2004 10:42:39 PM
22:42:39: robot4rip (0.5.0.1090) - WinXP (5.1.2600.2)
************************************************************
Title: LOGICALVOLUMEIDENTIFIER
FileName_ISO: C:\DVD\ISO\LOGICALVOLUMEIDENTIFIER.iso
FolderName_Vob: E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\
FolderName_Prj: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\
pgc: 0
angle: 0
redirect: off
active_ISO: False
active_pgc: True
active_indexing: True
active_audio: True
active_vobsub: False
active_chapters: False
active_finalize: False
rip_from_DVD: True
extractBitmaps: True
************************************************************
IfoInfo:
Path: G:\VIDEO_TS\
Name: VTS_01_0.IFO
ShortName: VTS_01
ChainsCount: 1
HasAngles: False
G:\VIDEO_TS\VTS_01_1.VOB
G:\VIDEO_TS\VTS_01_2.VOB
pgc 1: 4 chapters, 4 cells, 1 audio streams
VobSize: 1649668096
Anamorphic: False
*
Audio Stream 1
Demux: True
Language: Unspecified
NumChannels: 2
CodingModeName: AC3
Stream: 0x80
Encoder Setting: 1
************************************************************
PGC details:
Num: 1
ChainTime: 00:46:23:40
Angle: 0
CellCount: 4
Available Audio Streams: 1
Available Subtitle Streams: none
************************************************************
22:42:39: Plugin "AuthDVD.dll" loaded - authenticating...
22:42:39: Warning: Authentication not successful, either no DVD has been found or the DVD is not encrypted
22:42:39: PGC Rip
22:42:39: Creating destination folder "E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\"
22:42:39: Copying Ifo file
22:42:39: Using DVDDecrypter
22:42:39: Demuxing enabled
22:42:39: Ripping with C:\Program Files\GordianKnot\DVDDecrypter.exe /MODE IFO /SRC G: /DEST "E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\" /VTS 1 /PGC 1 /DEMUX 0xE0 0x80 /OVERWRITE YES /START /CLOSE
23:04:46: Video: VTS_01_PGC_01_1 - 0xE0 - Video - MPEG-2 - 720x480 (NTSC) - 4~3.M2V
23:04:46: Video: VTS_01_PGC_01_2 - 0xE0 - Video - MPEG-2 - 720x480 (NTSC) - 4~3.M2V
23:04:46: Audio: VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY -34ms.AC3
23:04:46: Creating project folder "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\"
23:04:46: dvd2avi
23:04:46: Demuxing disabled, streams are demuxed already
23:04:46: Indexing with C:\Program Files\GordianKnot\DVD2AVI\DVD2AVIdg.exe -IA=1 -FO=0 -CS=2 -YR=1 -TN=1 -IF=[E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0xE0 - Video - MPEG-2 - 720x480 (NTSC) - 4~3.M2V,E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_2 - 0xE0 - Video - MPEG-2 - 720x480 (NTSC) - 4~3.M2V] -OM=0 -DRC=0 -DSD=0 -DSA=0 -OF=[E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER] -exit
23:14:28: "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.d2v" created
23:14:28: E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY -34ms.AC3
23:14:28: Analyzing d2v-file...
23:14:28: Source is 0 % Film, threshold is 95 %
23:14:28: "Force Film" not activated, IVTC or deinterlacing is still necessary
23:14:28: Audio encoding
23:14:28: BEGIN "audio encoding"
23:14:28: Preparing data, encoder setting is "mp3 vbr 128"
23:14:28: Input file is "E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY -34ms.AC3"
23:14:28: Reading delay of -34 ms
23:14:28: Output file is "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.mp3"
23:14:28: Encoder: "C:\Program Files\GordianKnot\BeSweet.exe"
23:14:28: Parameters: -core( -input "E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY -34ms.AC3" -output "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.mp3" -logfile "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.log" ) -ota( -hybridgain -d -34 ) -azid( -L -3db -c normal ) -lame( --alt-preset 128 ) -profile( robot4rip v0.5.0.1090 )
23:14:28: Encoding...
23:24:10: Output filesize is 45.49 Mb (47703008 Bytes)
23:24:10: Importing logfile
23:24:10: . BeSweet v1.5b23 by DSPguru.
23:24:10: . --------------------------
23:24:10: . Using azid.dll v1.8 (b825) by Midas (midas@egon.gyaloglo.hu).
23:24:10: . Using lame_enc.dll v1.32 (8/8/2003), Engine 3.90 <http://www.mp3dev.org/>.
23:24:10: .
23:24:10: . Logging start : 06/20/04 , 23:14:30.
23:24:10: .
23:24:10: . C:\Program Files\GordianKnot\BeSweet.exe -core( -input E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY -34ms.ac3 -output E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.mp3 -logfile E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.log ) -ota( -hybridgain -d -34 ) -azid( -L -3db -c normal ) -lame( --alt-preset 128 ) -profile( robot4rip v0.5.0.1090 )
23:24:10: .
23:24:10: . [00:00:00:000] +------- BeSweet -----
23:24:10: . [00:00:00:000] | Input : E:\DVD\Rips\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY -34ms.ac3
23:24:10: . [00:00:00:000] | Output: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.mp3
23:24:10: . [00:00:00:000] | Floating-Point Process: Yes
23:24:10: . [00:00:00:000] | PostGain normalize to : 0.97
23:24:10: . [00:00:00:-34] +-------- AZID -------
23:24:10: . [00:00:00:-34] | Input Channels Mode: 2/0, Bitrate: 256kbps
23:24:10: . [00:00:00:-34] | Output Stereo mode: Dolby surround compatible
23:24:10: . [00:00:00:-34] | Total Gain: 0.000dB, Compression: Normal
23:24:10: . [00:00:00:-34] | LFE levels: To LR -3.0dB, To LFE 0.0dB
23:24:10: . [00:00:00:-34] | Center mix level: BSI
23:24:10: . [00:00:00:-34] | Surround mix level: BSI
23:24:10: . [00:00:00:-34] | Dialog normalization: No
23:24:10: . [00:00:00:-34] | Rear channels filtering: No
23:24:10: . [00:00:00:-34] | Source Sample-Rate: 48.0KHz
23:24:10: . [00:00:00:-34] +-------- LAME -------
23:24:10: . [00:00:00:-34] | 'abr 128' preset is used
23:24:10: . [00:00:00:-34] +---------------------
23:24:10: . [00:46:24:478] Gain of 9.0dB had been asserted to file.
23:24:10: . [00:46:24:478] Conversion Completed !
23:24:10: . [00:46:24:478] Actual Avg. Bitrate : 137kbps
23:24:10: . [00:09:40:000] <-- Transcoding Duration
23:24:10: .
23:24:10: . Logging ends : 06/20/04 , 23:24:10.
23:24:10: .
23:24:10: .
23:24:10: END "audio encoding"
23:24:10: END RIP "LOGICALVOLUMEIDENTIFIER" (0 hours, 41 minutes, 31 seconds)
23:24:10: Successful.




Then the dv2 file:



DVD2AVIProjectFile
2
114 E:\DVD\RIPS\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0XE0 - VIDEO - MPEG-2 - 720X480 (NTSC) - 4~3.M2V
114 E:\DVD\RIPS\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_2 - 0XE0 - VIDEO - MPEG-2 - 720X480 (NTSC) - 4~3.M2V

Stream_Type=0,0,0
iDCT_Algorithm=2 (1:MMX 2:SSEMMX 3:FPU 4:REF 5:SSE2MMX)
YUVRGB_Scale=1 (0:TVScale 1:PCScale)
Luminance_Filter=0,0 (Gamma, Offset)
Picture_Size=0,0,0,0,0,0 (ClipLeft, ClipRight, ClipTop, ClipBottom)
Field_Operation=0 (0:None 1:ForcedFILM 2:SwapOrder)
Frame_Rate=29970
Location=0,0,1,3485A

7 0 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 0 70 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 0 F7 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 0 17E 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 0 1FC 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
.
.
*snip*
.
.
7 1 345EE 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 1 34674 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 1 346F2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 1 3476A 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
7 1 347D4 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 9

FINISHED 0.00% FILM



I've also got the audio one from BeSweet, but I don't know if you're interested in that one.

I'm going to go ahead with the encoding now. But your last post has got me thinking, maybe I should leave the audio encoding for Gordian Knot to work out itself. It might work out better than I have been getting by doing it in robot4rip....??

Cheers!

RC

killingspree
20th June 2004, 16:45
ok, i didn't find anything in those log files!

anyway, perhaps you'll want to try to encode the audio in gknot and also use cbr this time, i don't think you'll notice the difference if you keep it at 128 kbit...

cheers
steVe
PS: besweet log was included in the r4r log!

randomcow
21st June 2004, 03:56
Hi Steve -

Here's the Gordian Knot log. (if you're wondering why it is 'Job 2'... first time around I forgot the audio altogether!
:o )


2004/06/21 10:41:36: Job "London_Hearts" started.

o Xvid - First Pass: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs
o Xvid - Second Pass: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs
o Mux Audio.
End of Job 2 (London_Hearts).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

Type: EncXvid_All
Number: 2
Name: London_Hearts
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\PROGRA~1\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\PROGRA~1\GORDIA~1\nandub\Nandub.exe
AviFinal: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avi
AviMovie: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_Movie_1.avi
AviCredits: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_Credits_1.avi
MovieFS: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs
CreditsFS:
Log : E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_1.log
Stats: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_1.stats
Ecf : E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_1.ecf

Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0

Calculator:
VideoSize: 189000 kbyte.
Audio1Size: 46584 kbyte.
Audio2Size: 0 kbyte.
Overhead: 3261 kbyte.
AviSize: 238846 kbyte (233 mbyte).
FilesSize: 0 kbyte.
TotalSize: 238846 kbyte (233 mbyte).
Interleaving: vbrmp3
Bitrate: 556 k(=1000)Bits/s
Frames: 83490
FPS: 29.970
Duration: 046:26
Quality: 0.168 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 384 x 288

Audio 1:
Mode: Just Mux Source File.
SourceFile: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.mp3
WavFile: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.wav
Mp3File: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms_1.mp3
Azid:
Lame:
Delay: 0
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.

10:41:36: Audio 1, determined: 46584 kb
10:41:36: Audio 1, calc: 46584 kb
10:41:36: New Bitrate for Movie = 556 k(=1000)Bits/s

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "Xvid - First Pass"
// $input "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs"
// $output "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_Movie_1.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\LOGICALVOLUMEIDENTIFIER.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1140,"AwAAAKC7DQCQsggARTpcRFZEXFByb2plY3RzXExPR0lDQUxWT0xVTUVJREVOVElGSUVSX1ZUU18wMV9QR0MxXExPR0lDQUxWT0xVTUVJREVOVElGSUVSXzEuc3RhdHMAUwBfADAAMQBfAFAARwBDADEAXABMAE8ARwBJAEMAQQBMAFYATwBMAFUATQBFAEkARABFAE4AVABJAEYASQBFAFIAXwAxAC4AcwB0AGEAdABzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVAAAABQAAABAAAAB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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAATwAAAAAAAAAAAAAA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\LOGICALVOLUMEIDENTIFIER_Movie_1.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

10:41:36: Started Xvid - First Pass: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs
11:36:33: Finished Xvid - First Pass: Duration: 54 minutes, 56 seconds.
11:36:33: Trying to open Log-file.
11:36:33: Success: Log-file open.
11:36:33: Encoded: 83490 Frames.
11:36:33: Speed: 25.325 Frames per Second.
11:36:33: New target size = 189000 Kb

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "Xvid - Second Pass"
// $input "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs"
// $output "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_Movie_1.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\LOGICALVOLUMEIDENTIFIER.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.SetCompData(1140,"BQAAAKC7DQBI4gIARTpcRFZEXFByb2plY3RzXExPR0lDQUxWT0xVTUVJREVOVElGSUVSX1ZUU18wMV9QR0MxXExPR0lDQUxWT0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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAATwAAAAAAAAAAAAAA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\LOGICALVOLUMEIDENTIFIER_Movie_1.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

11:36:33: Started Xvid - Second Pass: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avs
12:30:02: Finished Xvid - Second Pass: Duration: 53 minutes, 28 seconds.
12:30:02: Speed: 26.022 Frames per Second.

Adding this script to C:\PROGRA~1\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 Append"
// $input "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_Movie_1.avi"
// $output "E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\LOGICALVOLUMEIDENTIFIER_Movie_1.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\VTS_01_PGC_01_1 - 0x80 - Audio - AC3 - 2ch - 48kHz - DRC - DELAY 0ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,0);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("E:\\DVD\\Projects\\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\\LOGICALVOLUMEIDENTIFIER.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

12:30:02: Started Muxing Audio.: E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER_Movie_1.avi
12:38:03: Finished Muxing Audio.: Duration: 8 minutes, 1 second.

12:38:03: Done.
12:38:03: Movie = E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.avi
Total Encoding Time: 1 hour, 56 minutes, 27 seconds.
2004/06/21 12:38:03: Job "London_Hearts" finished.
_______________________________________________________________________________________________________________________


Thanks again.

RC

killingspree
21st June 2004, 07:25
hi,
well honestly, i still don't find anything in the log... but there's one last chance. can you also post the avs script?

you can leave out all lines that start with a '#'

kr
steVe

randomcow
21st June 2004, 08:04
yes, it has been baffling me, too.

here's the avs:



LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\undot.dll")

mpeg2source("E:\DVD\Projects\LOGICALVOLUMEIDENTIFIER_VTS_01_PGC1\LOGICALVOLUMEIDENTIFIER.d2v")

crop(6,0,706,476)

LanczosResize(384,288)

Undot()



I guess the next thing I should consider is ripping and encoding by chapter...

RC