Log in

View Full Version : VirtualDub Error while encoding


Angelus
3rd May 2003, 16:12
This is the second time I've gotten this error message while trying to encode a movie:
Can't start video compression
The source image format is not acceptable (error code -2)
What does this mean and how can I fix it?

killingspree
3rd May 2003, 18:15
a) which version of gknot are you using?
b) what source are you encoding from?
c) sounds to me like an AR or colorspace problem....
d) -> did you do edits to the avs script especially in the cropping/resizing area?

(:
steVe

DaveEL
4th May 2003, 04:40
http://forum.doom9.org/showthread.php?s=&threadid=51906

DaveEL

Angelus
4th May 2003, 12:56
Now after installing the new Gordian Kkot RipPack and the new Gordian Knot 0.28.1 I get a:
Avisynth Read Error
Telecide: Malloc failure.

I fixed the registry as mentioned in the thread above and now I installed this version of Gordian Knot and it gives me this error. It seems to be some kind of File I/O error so I dunno what to do. Thanks!

killingspree
4th May 2003, 13:22
did you install avisynth 2.51 ? if not do that now... it might fix the problem!

Angelus
4th May 2003, 22:34
I just installed it and ran Gordian Knot again to encode "Jackass The Movie." This time the contrast and tint were out of wack and the audio delay was messed up again. Can anyone help me with fixing the audio? I've tried to use VirtualDub but when I do, only one section of the movie is corrected with the right audio and the rest is still off. Thanks!


Profane quote from Eminem deleted by moderator

jggimi
4th May 2003, 23:12
I've edited your post, per Rule #4 (http://forum.doom9.org/forum-rules.htm).

Thank you, in advance, for understanding. This is a family forum.

Regarding your questions -- Open your .avs script in Vdub and/or your favorite avi player. You should see uncompressed video. If it fails to open, what error messages do you get?

Post your _Gknot.log file, and, if needed, your .avs (without all the comment lines that begin with #).

Angelus
5th May 2003, 00:10
Sorry about that quote. When I try opening up the .avs in VDubMod it opens fine with no problems. Here is the _Gknot.log file:

Gordian Knot 0.2.8.1474
Encoding Job Data:

Type: EncD5_Both_CreditsSep
Number: 1
Name: Movie 1
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\Tony\Gordian Knot\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\Tony\Gordian Knot\Nandub\Nandub.exe
AviFinal: D:\Tony\jackass1\jackass.avi
AviMovie: D:\Tony\jackass1\jackass_Movie.avi
AviCredits: D:\Tony\jackass1\jackass_Credits.avi
MovieFS: D:\Tony\jackass1\jackass.avs
CreditsFS: D:\Tony\jackass1\jackass_Credits.avs
Log : D:\Tony\jackass1\jackass.log
Stats: D:\Tony\jackass1\jackass.stats
Ecf : D:\Tony\jackass1\jackass.ecf

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

Calculator:
VideoSize: 572786 kbyte.
Audio1Size: 143360 kbyte.
Audio2Size: 0 kbyte.
Overhead: 5773 kbyte.
AviSize: 721920 kbyte (705 mbyte).
FilesSize: 0 kbyte.
TotalSize: 721920 kbyte (705 mbyte).
Interleaving: 1stream
Bitrate: 919 k(=1000)Bits/s
Frames: 122469
FPS: 23.976
Duration: 1:25:8
Quality: 0.303 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.608 bits/(pixel*frame).
Resolution: 416 x 304

Audio 1:
mode: Just Mux Source File.
sourceFile: D:\Tony\jackass1\jackass1 AC3 T01 3_2ch 448Kbps DELAY 12ms.ac3
wavFile: D:\Tony\jackass1\jackass1 AC3 T01 3_2ch 448Kbps DELAY 12ms.wav
mp3File: D:\Tony\jackass1\jackass1 AC3 T01 3_2ch 448Kbps DELAY 12ms.mp3
azid: ""
lame: ""
delay: 12
interval: 2
preload: 500
mux: 1
recalc: 1
deleteWav: 1

Audio 2:
none.

9:25:35 PM: Audio 1, determined: 278866 kb
9:25:35 PM: Audio 1, calc: 143360 kb
9:25:35 PM: New Bitrate for Movie = 701 k(=1000)Bits/s

Adding this script to C:\Tony\Gordian Knot\VirtualDubMod\LastJob.vcf:

// $job "DivX5 Single Pass"
// $input "D:\Tony\jackass1\jackass_Credits.avs"
// $output "D:\Tony\jackass1\jackass_Credits.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass1\\jackass_Credits.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Tony\\jackass1\\jackass_Credits.avi");
VirtualDub.Close();

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

9:25:35 PM: Started DivX5-Single, Quality 20: D:\Tony\jackass1\jackass_Credits.avs
9:37:55 PM: Finished DivX5-Single, Quality 20. Duration: 12 minutes, 19 seconds.
9:37:55 PM: Assumed: Main Movie has 138068 Frames.
9:37:55 PM: Assumed: Credits Part has -15599 Frames.
9:37:55 PM: Credits Size = 12742Kb
9:37:55 PM: New Bitrate for Movie = 604 k(=1000)Bits/s

Adding this script to C:\Tony\Gordian Knot\VirtualDubMod\LastJob.vcf:

// $job "DivX5 First Pass"
// $input "D:\Tony\jackass1\jackass.avs"
// $output "D:\Tony\jackass1\jackass_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass1\\jackass.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Tony\\jackass1\\jackass_Movie.avi");
VirtualDub.Close();

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

9:37:55 PM: Started DivX5-First Pass: D:\Tony\jackass1\jackass.avs
10:09:13 PM: Finished DivX5-First Pass. Duration: 31 minutes, 17 seconds.
10:09:13 PM: Trying to open Log-file.
10:09:13 PM: Success: Log-file open.
10:09:13 PM: Encoded: 12019 Frames.
10:09:13 PM: Speed: 6.401 Frames per Second.
10:09:13 PM: WARNING: Number of counted frames differs from settings!
10:09:13 PM: WARNING: Settings: 138068
10:09:13 PM: WARNING: Counted: 12019
10:09:13 PM: WARNING: Difference: 126049
10:09:13 PM: Correcting Bitrate...
10:09:13 PM: Original Bitrate = 604 k(=1000)Bits/s
10:09:13 PM: ERROR: Correction impossible.
10:09:13 PM: Now encoding at 604 k(=1000)Bits/s

Adding this script to C:\Tony\Gordian Knot\VirtualDubMod\LastJob.vcf:

// $job "DivX5 Second Pass"
// $input "D:\Tony\jackass1\jackass.avs"
// $output "D:\Tony\jackass1\jackass_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass1\\jackass.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Tony\\jackass1\\jackass_Movie.avi");
VirtualDub.Close();

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

10:09:14 PM: Started DivX5 - Pass: 2: D:\Tony\jackass1\jackass.avs
6:55:32 AM: Finished DivX5 - Pass: 2. Duration: 8 hours, 46 minutes, 17 seconds.
6:55:32 AM: Speed: 0.381 Frames per Second.

Adding this script to C:\Tony\Gordian Knot\VirtualDubMod\LastJob.vcf:

// $job "DivX5 Append"
// $input "D:\Tony\jackass1\jackass_Movie.avi"
// $output "D:\Tony\jackass1\jackass.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass1\\jackass_Movie.avi",0,0);
VirtualDub.Append("D:\\Tony\\jackass1\\jackass_Credits.avi");
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\Tony\\jackass1\\jackass1 AC3 T01 3_2ch 448Kbps DELAY 12ms.ac3",0x00000203,0);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,12);
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("D:\\Tony\\jackass1\\jackass.avi");
VirtualDub.Close();

Angelus
5th May 2003, 00:12
Sorry for the length of these files...and finally here is my .avs:


PLUGINS
LoadPlugin("C:\Tony\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Tony\GORDIA~1\decomb.dll")
LoadPlugin("C:\Tony\GORDIA~1\Convolution3d.dll")
LoadPlugin("C:\Tony\GORDIA~1\FluxSmooth.dll")
LoadPlugin("C:\Tony\GORDIA~1\TomsMoComp.dll")
LoadPlugin("C:\Tony\GORDIA~1\VSFilter.dll")
LoadPlugin("C:\Tony\GORDIA~1\SimpleResize.dll")

SOURCE
mpeg2source("D:\Tony\Jackass\jackass.d2v")

TRIM
trim(0,138067)

IVTC
Telecide(guide=1).Decimate(5)
or use
IVTC(44,11,95)
GreedyHMA(1,0,4,0,0,0,0,0)

DEINTERLACING (1)
FieldDeinterlace()
FieldDeinterlace(blend=false)
TomsMoComp(1,5,1)

CROPPING
crop(0,8,718,464)

DEINTERLACING (2)
SeparateFields().SelectEven()
or maybe
Bob().SelectEven()
or maybe
GreedyHMA(1,0,0,0,0,0,0,0)


SUBTITLES
VobSub("FileName")

RESIZING
LanczosResize(416,304)

DENOISING: choose one combination (or none)
1) little noise
Temporalsoften(2,3,3,mode=2,scenechange=6)
mergechroma(blur(1.3))
FluxSmooth(5,7)

2) medium noise
Temporalsoften(3,5,5,mode=2,scenechange=10)
Convolution3d("moviehq")
FluxSmooth(7,7)

3) heavy noise
Temporalsoften(4,8,8,mode=2,scenechange=10)
Convolution3d("movielq")
FluxSmooth(10,15)

BORDERS
AddBorders(left,top,right,bottom)

COMPRESSIBILITY CHECK
!!!!Snip Size now has to be 14 for use in GKnot!
SelectRangeEvery(280,14)
FOOL CCEnc
ResampleAudio(44100)

hakko504
5th May 2003, 07:51
Is that your .avs? No wonder it crashes! AviSynth tries to parse every line, which in a lot of cases is impossible. Are you sure you haven't forgot the # marks on most of the lines? They make quite a difference as they comment out everything on the line in question.

Angelus
5th May 2003, 11:42
oh my bad, I thought u meant to take out all the #'s out of the .avs. I'm used to the "//" comment lines in java :D . Here's the updated .avs:


LoadPlugin("C:\Tony\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Tony\GORDIA~1\decomb.dll")

mpeg2source("D:\Tony\jackass1\jackass1.d2v")

trim(0,138074)

Telecide(guide=1).Decimate(5)

crop(0,8,718,464)

LanczosResize(352,256)

jggimi
5th May 2003, 13:22
This may be applicable to your problem. I saw this anomoly in your _Gknot.log: CreditsStart: 138068
.
.
Frames: 122469
.
.
10:09:13 PM: WARNING: Number of counted frames differs from settings!
10:09:13 PM: WARNING: Settings: 138068
10:09:13 PM: WARNING: Counted: 12019
10:09:13 PM: WARNING: Difference: 126049 When you open your .avs in Vdub, and use the File...Information command, how many frames does the .avs have?

Angelus
5th May 2003, 15:02
It says the number of frames is 110460.

I think i've seen this error before when I've encoded other movies, but I never new what it meant because the other movies came out seemingly fine to me.

jggimi
5th May 2003, 16:26
Aha!

Your .d2v is 29.97, but you are setting the framerate in Gknot to 23.976.

Change your procedure when manually IVTC-ing.

1) Leave the framerate in Gknot at 29.97.
2) Select "IVTC in AVS -> Correct Frame Count" option when you save & encode. This will recalc your Trim points, and likely, all of your sync problems will disappear, as well as your Vdub errors.

Angelus
5th May 2003, 21:46
Ok, now when I was encoding I got the same message as I did a little while ago:

Avisynth Read Error
Telecide: Malloc failure.

I changed the registry so that there's a VIDC.YV12 with a "Divx.dll" value in the registry. I also got an error saying that I ran out of paging file space...could that have done it? Anyways, i think I'm going to uninstall everything, delete all the reg. files and start again. I'll let ya know how it goes...

Angelus
5th May 2003, 21:52
Another thing, I still got the number of frames error in the gordian knot log...

Number of frames differs from settings!
WARNING: Settings: 110448
WARNING: Counted: 12025
WARNING: Difference: 98423

And then it says correction impossible...
I'll uninstall and reinstall and see what happens then. Maybe it's this stupid Jackass movie that isn't working right...

jggimi
6th May 2003, 00:32
...WARNING: Counted: 12025 ...Something is definitely wrong. Perhaps you're saving the main .avs and credits .avs as the same file?

According to www.imdb.com your movie is 87 minutes long. Your 29.97 project should therefore be over 156,000 frames.

When you open the .d2v in Gknot, I assume you see a 29.97 fps project with approximately 156,000 frames. If not, what are you getting?

(For example, if you negelected to turn off Force FILM, you'll have a project at 23.976 fps and approximately 125,000 frames. If you've done this -- oops -- this could be your problem. You never want to run an IVTC on content that's already at 23.976, you'll end up with an 18.976 fps video stream. You should only use IVTC on 29.97 content that has been Telecined.)

Assuming that the project is OK, what is your frame # for end credits? Does it look right?

If everything in Gknot looks OK, and you checked the "IVTC in AVS" box, examine the Trim commands in both .avs files. Look OK? Your total number of frames from both .avs scripts should total around 125,000.

Open both .avs scripts in VdubMod, and 1) be sure they have the right number of frames -- and 2) that you scroll through the beginning and end frames, and ensure they look ok.

If they look alright, with the right number of frames, only then would I worry about re-installing the codec.

Angelus
6th May 2003, 01:17
When the .d2v is open in GKnot, it says there are 153090 Frames, and for me the credits started around frame # 138056. The .d2v project was encoded at 29.97 fps and forced film was turned off.

In the .avs file for the movie, the trim was :
TRIM
trim(0,138074)
and for the credits:
TRIM
trim(138075,0)

That looks kind of funny to me, or is that just how it works?
When i open the .avs file in VDubMod, it says there are 110460 Frames in the main movie .avs, which looks right i think.
The .avs for the credits has 12010 frames in it, which looks good. They both play back normally in VDubMod.

Any ideas?

jggimi
6th May 2003, 03:19
The trims look correct. When (nnn,0) is used, it means "to the last frame."

The only idea I have is to ask you to paste the latest Gknot log file, and hope that something pops out at me (or at Hakko, or theWef, or Manono, or several hundred other more knowledgable folks).

Angelus
6th May 2003, 03:28
I'll encode overnight and then post the log file tomorrow.

Angelus
6th May 2003, 11:25
Here's the new log file. The movie encoded last night after I reinstalled the codec and GKnot. The audio is still out of sync and that's the problem I had to begin with. If I try to fix the audio in VDub, it will only fix one section of the movie, and the rest will still be off on the audio.

5/5/2003 10:55:51 PM: Job "Movie 1" started.

o Transcode source -> MP3: D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms.ac3
o DivX5-Single, Quality 20 : D:\Tony\jackass 3\jackass trial_Credits.avs
o DivX5-First Pass: D:\Tony\jackass 3\jackass trial.avs
o DivX5 - Pass 2 :D:\Tony\jackass 3\jackass trial.avs
o Append Credits.
o Delete Intermediate Files.
End of Job 1 (Movie 1).
_______________________________________________________________________________________________________________________

Gordian Knot 0.2.8.1474
Encoding Job Data:

Type: EncD5_Both_CreditsSep
Number: 1
Name: Movie 1
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\Tony\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\Tony\GORDIA~1\nandub\Nandub.exe
AviFinal: D:\Tony\jackass 3\jackass trial.avi
AviMovie: D:\Tony\jackass 3\jackass trial_Movie.avi
AviCredits: D:\Tony\jackass 3\jackass trial_Credits.avi
MovieFS: D:\Tony\jackass 3\jackass trial.avs
CreditsFS: D:\Tony\jackass 3\jackass trial_Credits.avs
Log : D:\Tony\jackass 3\jackass trial.log
Stats: D:\Tony\jackass 3\jackass trial.stats
Ecf : D:\Tony\jackass 3\jackass trial.ecf

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

Calculator:
VideoSize: 576463 kbyte.
Audio1Size: 133120 kbyte.
Audio2Size: 0 kbyte.
Overhead: 7216 kbyte.
AviSize: 716800 kbyte (700 mbyte).
FilesSize: 0 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving: 1stream
Bitrate: 925 k(=1000)Bits/s
Frames: 153091
FPS: 29.970
Duration: 1:25:8
Quality: 0.342 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.669 bits/(pixel*frame).
Resolution: 352 x 256

Audio 1:
mode: ac3 -> mp3
sourceFile: D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms.ac3
wavFile: D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms.wav
mp3File: D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms_1.mp3
azid: "-L -3db -s stereo -c normal"
lame: "--alt-preset 160"
delay: 12
interval: 2
preload: 500
mux: 1
recalc: 1
deleteWav: 1

Audio 2:
none.

10:55:51 PM: IVTC: Re-Calculating Frame Count.
10:55:51 PM: IVTC: FrameRate was 29.970 fps
10:55:51 PM: IVTC: FrameRate now is 23.976 fps
10:55:51 PM: IVTC: 122469 Frames.

10:55:51 PM: Started Transcoding Audio.

10:55:51 PM: Using BeSweet to transcode D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms.ac3
Commandline: C:\Tony\GORDIA~1\besweet.exe -core( -input "D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms.ac3" -output "D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms_1.mp3" -logfile "D:\Tony\Jackass 2\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms_1.log" ) -ota( -hybridgain ) -azid( -L -3db -s stereo -c normal ) -lame( --alt-preset 160 ) -profile( Gordian Knot 0.27 )
11:18:38 PM: Finished. Duration: 22 minutes, 47 seconds.

11:18:38 PM: Audio Done.
11:18:38 PM: MP3-File-Size is 102503 kb.
11:18:38 PM: Audio 1, determined: 102503 kb
11:18:38 PM: Audio 1, calc: 133120 kb
11:18:38 PM: New Bitrate for Movie = 976 k(=1000)Bits/s

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

// $job "DivX5 Single Pass"
// $input "D:\Tony\jackass 3\jackass trial_Credits.avs"
// $output "D:\Tony\jackass 3\jackass trial_Credits.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass 3\\jackass trial_Credits.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Tony\\jackass 3\\jackass trial_Credits.avi");
VirtualDub.Close();

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

11:18:38 PM: Started DivX5-Single, Quality 20: D:\Tony\jackass 3\jackass trial_Credits.avs
11:29:35 PM: Finished DivX5-Single, Quality 20. Duration: 10 minutes, 56 seconds.
11:29:35 PM: Assumed: Main Movie has 110448 Frames.
11:29:35 PM: Assumed: Credits Part has 12021 Frames.
11:29:35 PM: Credits Size = 9402Kb
11:29:35 PM: New Bitrate for Movie = 1065 k(=1000)Bits/s

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

// $job "DivX5 First Pass"
// $input "D:\Tony\jackass 3\jackass trial.avs"
// $output "D:\Tony\jackass 3\jackass trial_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass 3\\jackass trial.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Tony\\jackass 3\\jackass trial_Movie.avi");
VirtualDub.Close();

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

11:29:35 PM: Started DivX5-First Pass: D:\Tony\jackass 3\jackass trial.avs
1:29:21 AM: Finished DivX5-First Pass. Duration: 1 hour, 59 minutes, 46 seconds.
1:29:21 AM: Trying to open Log-file.
1:29:22 AM: Success: Log-file open.
1:29:22 AM: Encoded: 110448 Frames.
1:29:22 AM: Speed: 15.369 Frames per Second.

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

// $job "DivX5 Second Pass"
// $input "D:\Tony\jackass 3\jackass trial.avs"
// $output "D:\Tony\jackass 3\jackass trial_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass 3\\jackass trial.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(0x78766964,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("D:\\Tony\\jackass 3\\jackass trial_Movie.avi");
VirtualDub.Close();

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

1:29:22 AM: Started DivX5 - Pass: 2: D:\Tony\jackass 3\jackass trial.avs
3:27:42 AM: Finished DivX5 - Pass: 2. Duration: 1 hour, 58 minutes, 19 seconds.
3:27:42 AM: Speed: 15.556 Frames per Second.

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

// $job "DivX5 Append"
// $input "D:\Tony\jackass 3\jackass trial_Movie.avi"
// $output "D:\Tony\jackass 3\jackass trial.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("D:\\Tony\\jackass 3\\jackass trial_Movie.avi",0,0);
VirtualDub.Append("D:\\Tony\\jackass 3\\jackass trial_Credits.avi");
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("D:\\Tony\\Jackass 2\\jackass 2 AC3 T01 3_2ch 448Kbps DELAY 12ms_1.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,2,0,12);
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("D:\\Tony\\jackass 3\\jackass trial.avi");
VirtualDub.Close();

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

3:27:42 AM: Started Appending Credits and Muxing Audio.: D:\Tony\jackass 3\jackass trial_Movie.avi
3:29:44 AM: Finished Appending Credits and Muxing Audio.. Duration: 2 minutes, 2 seconds.
3:29:44 AM: Deleting Intermediate Files.

3:29:44 AM: Done.
3:29:44 AM: Movie = D:\Tony\jackass 3\jackass trial.avi
Total Encoding Time: 4 hours, 33 minutes, 53 seconds.
5/6/2003 3:29:44 AM: Job "Movie 1" finished.

jggimi
6th May 2003, 14:20
Well, this time, I don't see anything obvious in the .log file.

Angelus
6th May 2003, 16:13
Do you think that there is an error in DVD2Avi? I ripped the dvd files onto the hard drive before robot4rip came out, so i just used dvd2avi separate. Maybe there isn't a delay at all in the video, rather than the -12 ms dvd2avi states...

jggimi
6th May 2003, 16:19
Anything is possible; you could try re-ripping ... but as far as I know, the DVD2AVI under R4R is still 1.76 based. (It's the slightly modified for command line API, used by DVD2SVCD).