Back Forum Reply New

VideoSourceAVI Error: The source image...

Hi,

I'm not too proficient with all of this encoding stuff, and Gordian Knot has always provided me with an easy way to produce an acceptable result without getting too confusing. Whilst trying out the latest 0.28 Betas though, I have had to upgrade to VirtualDubMod, which I cannot get to work. I have followed all the advice and have everything installed as instructed. I'm using WinXP SP1, and have just reinstalled GKnot using the alpha 13 installers from the 'GKnot Development: installer for upcoming versions' thread.

What I get is an error (labelled VirtualDub Error in the title bar) with the followong message:

quot;VideoSourceAVI error: The source image format is not acceptable. (error code -2)quot;

I have been able to encode using VirtualDub instead of VDubMod, and then muxing afterwards, but I would really like to get VDubMod functioning correctly. I think there are other people out there with the same problem.

Here is an example GKnot Log File (for those who understand it, unlike myself...) for a first pass:

15/04/2003 01:31:14: Job quot;700 Mb - Single CDquot; started.
o  DivX5-First Pass:  D:\Workspace\Eve - 1\EVE.avs
End of Job 2 (700 Mb - Single CD).
_______________________________________________________________________________________________________________________
Gordian Knot 0.2.8.1351
Encoding Job Data:
Type:           EncD5_First
Number:         2
Name:           700 Mb - Single CD
Platform:       WinXP (5.1.2600).2

Files:VirtualDubModExe: C:\Program Files\GordianKnot 0.28\VirtualDubMod\VirtualDubMod.exeNandubExe:     C:\PROGRA~1\GORDIA~1\nandub\Nandub.exeAviFinal:      D:\Workspace\Eve - 1\EVE.aviAviMovie:      D:\Workspace\Eve - 1\EVE_Movie.aviAviCredits:    D:\Workspace\Eve - 1\EVE_Credits.aviMovieFS:       D:\Workspace\Eve - 1\EVE.avsCreditsFS:     Log :          D:\Workspace\Eve - 1\EVE.logStats:         D:\Workspace\Eve - 1\EVE.statsEcf :          D:\Workspace\Eve - 1\EVE.ecf

Optionsuality/DRF:   50CreditsStart:  177428UseEcf:        1CreditsIVTC:   0CreditsAppend: 0DeleteInterm.: 0EnforceBitrate:0AntiShit:      0

Calculator:VideoSize:     579939 kbyte.Audio1Size:    124328 kbyte.Audio2Size:    0 kbyte.Overhead:      12532 kbyte.AviSize:       716800 kbyte (700 mbyte).FilesSize:     0 kbyte.TotalSize:     716800 kbyte (700 mbyte).Interleaving:  vbrmp3Bitrate:       597 k(=1000)Bits/sFrames:        198922FPS:           25.000Duration:      2:12:37Quality:       0.173 bits/(pixel*frame).CompCheck3:    0.000 bits/(pixel*frame).CompCheck5:    0.000 bits/(pixel*frame).Resolution:    432 x 320

Audio 1:mode:          Just Mux Source File.sourceFile:    D:\Workspace\Eve - 1\Eve Track 1 English DELAY 0ms.mp3wavFile:       D:\Workspace\Eve - 1\Eve Track 1 English DELAY 0ms.wavmp3File:       D:\Workspace\Eve - 1\Eve Track 1 English DELAY 0ms_1.mp3azid:          quot;quot;lame:          quot;quot;delay:         0interval:      2preload:       500mux:           1recalc:        1deleteWav:     1

Audio 2:none.
01:31:14: Audio 1, determined: 114103 kb
01:31:14: Audio 1, calc:       124328 kb
01:31:14: New Bitrate for Movie = 607 k(=1000)Bits/s

Adding this script to C:\Program Files\GordianKnot 0.28\VirtualDubMod\LastJob.vcf:

// $job quot;DivX5 First Passquot;
// $input quot;D:\Workspace\Eve - 1\EVE.avsquot;
// $output quot;D:\Workspace\Eve - 1\EVE.aviquot;
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open(quot;D:\\Workspace\\Eve - 1\\EVE.avsquot;,0,0);
VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,0,0,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio2.SetSource(0);
VirtualDub.audio2.SetMode(0);
VirtualDub.audio2.SetInterleave(1,0,0,0,0);
VirtualDub.audio2.SetClipMode(1,1);
VirtualDub.audio2.SetConversion(0,0,0,0,0);
VirtualDub.audio2.SetVolume();
VirtualDub.audio2.SetCompression();
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(quot;D:\\Workspace\\Eve - 1\\EVE.aviquot;);
VirtualDub.Close();

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

01:31:14: Started  DivX5-First Pass: D:\Workspace\Eve - 1\EVE.avs
01:31:17: Finished DivX5-First Pass. Duration: 2 seconds.
01:31:17: Trying to open Log-file.
01:31:17: Error: Could not open D:\Workspace\Eve - 1\vdenc.log
01:31:17: Error: Could not count encoded Frames.
01:31:17: Speed: 3804454.235 Frames per Second.

01:31:17: Done.
01:31:17: Log File = D:\Workspace\Eve - 1\EVE.log
Total Encoding Time: 3 seconds.
15/04/2003 01:31:17: Job quot;700 Mb - Single CDquot; finished.
_______________________________________________________________________________________________________________________

Thanks,
Ben McKay

Its a rough guess, but do you have a YV12 decoding codec installed? (Either a Xvid devel build or Divx5)

Since VDubMod 'shows' the video it needs something to decode YV12 video.

Yes. Same problem with DixV 5.0.3 Pro and 5.0.4 Beta 4. Also I have uManiac's stable xvid build from 24/2/03 installed.
Back to using GKnot 0.27 for the moment then...

You can try to open the avs generated my gknot directly in vdubmod, perhaps you'll find out more that can help to pinpoint the error.

I'm getting the same error message. I'm using Gknot 0.28 Final and Divx 5.0.5 pro.
I'm able to open the .avs file directly in VDubMod and can start a one pass encode with no problems but it won't work in Gknot at all.

Edit: I found a soution to my problem. See here: showthread.php?s=amp;threadid=51906

Yep, I found that too and it works for me as well. I just came to post it, but you beat me to it!

Anyway, quoting TelemachusMH's reply to jjaomni's problem:

It sounds to me that you don't have a YV12 vfw interface. If you install Xvid or Divx 5 you will have the interface. However, that may not fix it. Try setting this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Drivers32\VIDC.YV12

Change the value there to quot;xvid.dllquot; or quot;divx.dllquot;.

TelemachusMH
¥
Back Forum Reply New