View Full Version : Exception: Open AVI failed.
Running the latest AutoGK, 1.48b.
I have failed twice trying to encode the same movie with AutoGK. This never happened before.
When I look at the ...agk.log, I see that after the compressibility test (SaveAVI.........comptest.avi), and an annotation of the time elapsed and speed of that test, there is the notation:
EXCEPTION: Open avi failed.
Job finished.
The avi file was not created.
This has happened twice, once with the "desired file size" setting, the other time with the "Quality" setting.
What could be going on?
In the agk_temp folder, I also see no .avi, including not compression test .avi. I do see the comptest.avs file, and the .d2v file with the title of the movie, as well as the audio in both AC3 and MP3. Can I find any clues to the problem in any of these?
When I try again, could I start with one of these intermediate files, to save time? I know not in AutoGK, but for instance, to load the .AVS file in Vdubmod, and go from there? (Since it is called comptest.avs, would that only be good for the compression test, not for the whole movie?
Of course I would like to know what is causing the problem, before trying it any way again.
jggimi
26th July 2004, 18:13
:logfile:
Originally posted by jggimi
:logfile:
OK, I'll post two logfiles. In a later try, I got the encoding to work, in using the method of setting quality rather than file size. (As I originally wrote, however, earlier attempts had failed with both kinds of settings, both the file size and the quality setting types.)
I still have the log file from the last time I used the file size setting, when it failed. I also have the log file from the last try, using quality setting, when it succeeded. (Unfortunately I do not have the log file from an earlier try using quality setting, when it also failed.)
These two log files appear below. If anyone has any comments on why it had failed a few times, please post about it here. Source of the video--ripped from DVD by DVD Decrypter, IFO mode. It is a black and white film, in case that makes any difference. (A recent film, I guess shot in B&W for effect.)
First log file--file size setting mode--encoding failed---
[7/26/2004 3:02:35 AM] AutoGK 1.48b
[7/26/2004 3:02:35 AM] OS: WinXP (5.1.2600).2
[7/26/2004 3:02:35 AM] Job started.
[7/26/2004 3:02:35 AM] Input dir: G:\Azúcar Amarga\Ifo
[7/26/2004 3:02:35 AM] Output file: G:\Azúcar Amarga\Azúcar Amarga.avi
[7/26/2004 3:02:35 AM] Audio: Español
[7/26/2004 3:02:35 AM] Subtitles: English / Normal Captions : Norma
[7/26/2004 3:02:35 AM] Codec: XviD
[7/26/2004 3:02:35 AM] Target size: 220Mb
[7/26/2004 3:02:35 AM] Custom resolution settings: fixed width of 320 pixels
[7/26/2004 3:02:35 AM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[7/26/2004 3:02:35 AM] Started encoding.
[7/26/2004 3:02:35 AM] Demuxing and indexing.
[7/26/2004 3:04:54 AM] Source aspect ratio: 4:3
[7/26/2004 3:04:54 AM] Source resolution: 720x480
[7/26/2004 3:04:54 AM] Found NTSC source.
[7/26/2004 3:04:54 AM] Source seems to be pure FILM.
[7/26/2004 3:04:54 AM] Found 150153 frames
[7/26/2004 3:04:54 AM] Encoding audio.
[7/26/2004 3:24:40 AM] Indexing subtitles.
[7/26/2004 3:24:40 AM] Writing the following script to G:\Azúcar Amarga\agk_tmp\vobsub.params
===========================================================
G:\Azúcar Amarga\Ifo\VTS_01_PGC_01_0.ifo
G:\Azúcar Amarga\agk_tmp\Azúcar Amarga
1
0
0 cc
CLOSE
===========================================================
[7/26/2004 3:26:40 AM] Audio size: 101,014,952 bytes (96.34 Mb)
[7/26/2004 3:26:40 AM] Overhead: 6,006,144 bytes (5.73 Mb)
[7/26/2004 3:26:40 AM] Video size: 123,665,624 bytes (117.94 Mb)
[7/26/2004 3:26:40 AM] Running compressibility test.
[7/26/2004 3:26:40 AM] Writing the following script to G:\Azúcar Amarga\agk_tmp\Azúcar Amarga_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("G:\Azúcar Amarga\agk_tmp\Azúcar Amarga.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
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 = 320
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
VobSub("G:\Azúcar Amarga\agk_tmp\Azúcar Amarga.idx")
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[7/26/2004 3:26:40 AM] Writing the following script to G:\Azúcar Amarga\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("G:\\Az\xFAcar Amarga\\agk_tmp\\Az\xFAcar Amarga_comptest.avs",0,0);
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.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("G:\\Az\xFAcar Amarga\\agk_tmp\\Az\xFAcar Amarga_comptest.avi");
===========================================================
[7/26/2004 3:32:02 AM] Duration was: 5 minutes 22 seconds
[7/26/2004 3:32:02 AM] Speed was: 23.30 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[7/26/2004 3:32:02 AM] Job finished.
--------------------------------------
Second log file--using quality mode, success (although earlier quality mode had also failed)-------------
[7/27/2004 3:06:03 AM] AutoGK 1.48b
[7/27/2004 3:06:03 AM] OS: WinXP (5.1.2600).2
[7/27/2004 3:06:03 AM] Job started.
[7/27/2004 3:06:03 AM] Input dir: G:\Azúcar Amarga\Ifo
[7/27/2004 3:06:03 AM] Output file: G:\Azúcar Amarga\Azúcar Amarga.avi
[7/27/2004 3:06:03 AM] Audio: Español
[7/27/2004 3:06:03 AM] Subtitles: English / Normal Captions : Norma
[7/27/2004 3:06:03 AM] Codec: DivX
[7/27/2004 3:06:03 AM] Target quality: 25%
[7/27/2004 3:06:03 AM] Custom resolution settings: fixed width of 320 pixels
[7/27/2004 3:06:03 AM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[7/27/2004 3:06:03 AM] Started encoding.
[7/27/2004 3:06:03 AM] Demuxing and indexing.
[7/27/2004 3:08:23 AM] Source aspect ratio: 4:3
[7/27/2004 3:08:23 AM] Source resolution: 720x480
[7/27/2004 3:08:23 AM] Found NTSC source.
[7/27/2004 3:08:23 AM] Source seems to be pure FILM.
[7/27/2004 3:08:23 AM] Found 150153 frames
[7/27/2004 3:08:23 AM] Encoding audio.
[7/27/2004 3:27:25 AM] Indexing subtitles.
[7/27/2004 3:27:25 AM] Writing the following script to G:\Azúcar Amarga\agk_tmp\vobsub.params
===========================================================
G:\Azúcar Amarga\Ifo\VTS_01_PGC_01_0.ifo
G:\Azúcar Amarga\agk_tmp\Azúcar Amarga
1
0
0 cc
CLOSE
===========================================================
[7/27/2004 3:29:34 AM] Running single pass encoding.
[7/27/2004 3:29:34 AM] Writing the following script to G:\Azúcar Amarga\agk_tmp\Azúcar Amarga_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\undot.dll")
movie = mpeg2source("G:\Azúcar Amarga\agk_tmp\Azúcar Amarga.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34)
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 = 320
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34)
Undot()
VobSub("G:\Azúcar Amarga\agk_tmp\Azúcar Amarga.idx")
LanczosResize(out_width,out_height)
===========================================================
[7/27/2004 3:29:34 AM] Writing the following script to G:\Azúcar Amarga\agk_tmp\lastjob.vcf
===========================================================
VirtualDub.Open("G:\\Az\xFAcar Amarga\\agk_tmp\\Az\xFAcar Amarga_movie.avs",0,0);
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.RemoveInputStreams();
VirtualDub.stream[0].SetSource("G:\\Az\xC3\xBAcar Amarga\\agk_tmp\\Az\xC3\xBAcar Amarga AC3 T01 2_0ch 224Kbps 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.AddComment(0x00000000,"IAS1","Espa\xC3\xB1ol");
VirtualDub.SaveAVI("G:\\Az\xFAcar Amarga\\Az\xFAcar Amarga.avi");
===========================================================
[7/27/2004 4:42:23 AM] Duration was: 1 hour, 12 minutes 49 seconds
[7/27/2004 4:42:23 AM] Speed was: 34.37 fps.
[7/27/2004 4:42:23 AM] Job finished.
Note one strange thing in the log files:
Does VirtualDub have a problem with filenames that include accented characters, etc.? Or is it AutoGK that has the problem? I've never noticed it before, but perhaps I didn't have a filename with such a character before.
In this case, the third character of both the movie name, and the subdirectory it was in on a hard drive, is ú, the letter u with an accent over it, in the Spanish word "Azúcar".
At the end of the log file, where virtual dub saved the avi, "Azúcar" is changed to xFACaR in the movie title, and the subdirectory is just changed to "AZ".
In fact, after the process finished the last time (successfully), I looked for the created AVI, in the directory it was supposed to be in. It wasn't there. Looking around for it, I finally found a file just called "AZ" (no extension) in the root directory of that hard drive. From the file size, I guessed that it might have been the movie. I renamed it to the movie name, with the AVI extension, opened it, and it worked.
What happened with that? Which program is having a problem with accented characters? As these programs are used world-wide, and some movie titles do have accented characters in them, the bug really should be fixed!
Could this character-filename problem even be the cause of the problems I was having encoding this file? (It worked the last time though, although the movie got saved to the wrong place, with a two letter file name and no extension!)
One thing I forgot to mention:
The times this encoding failed the codec was XVID.
The last time, which succeeded, I decided to change it to DIVX (5.11).
I don't know if the codec change had anything to do with the final success, but I thought I'd mention it, in case anyone can figure out what happened.
LordBug
12th August 2004, 08:45
Hmmm. I'm not alone, though the circumstances are a little different...
I used to be running AGK 1.25. Worked a charm under Win98SE. Then I tried the 1.51 beta, and for every video I tried, I got that exact same problem, exact same spot. Yes, XviD also.
However, under XP, it works.
It's a bit annoying, having to restart into XP to do any encoding (98SE is my OS of preference). Means I can't play as many cardgames when I'm bored ;)
Could it be something to do with the install? Requires a complete uninstall of AGK and associated programs first maybe? I might have to try that.
len0x
14th August 2004, 23:31
@LordBug
Yo's problem was due to non-english characters in the filename. It seems to be solved on unicode-based systems (win98 is not unicode-based). So now are you saying that on win98 current version doesn't work at all even if non-english characters are not even present?
LordBug
15th August 2004, 16:23
That appears to be the case.
Logfile, if helpful (http://home.iprimus.com.au/lordbug/agklog.txt)
len0x
15th August 2004, 18:44
fixed for 1.52 then :) (no support of non-english characters on Win98 though then...)
LordBug
16th August 2004, 03:05
Hooray! Thanks for that, it's nice to know that my OS of choice is still cared about :)
Now hurry up and release it, dammit! ;D
smon
17th September 2004, 20:12
Hi,
I know I am new to the forum and don't like to start off by trying to get help with a problem but....
I seem to be having a similar problem to the one discussed in this thread. I keep getting an 'Open avi failed' error after the comptest when using AutoGK.
Twice it has actually finished encoding but with a message warning that the final AVI will likely be undersized. The resulting AVI is usually about 60 meg and doesn't play. Once I got an " is not an integer error.
I used AutoGK without any problems with my old P2 computer running win 98. I have just got a new computer and am running win XP. I get the same error with anything I try to encode. I have tried renaming files and directories to simple names to eliminate any problems with characters.
I usually select the 1 CD (700mb) and Xvid option. I have tried AutoGK 1.25 and 1.56b.
Any suggestions???
This is one of the many log files from my collection.
Thanks
Scott
[16/09/2004 23:47:47] AutoGK 1.56b
[16/09/2004 23:47:47] OS: WinXP (5.1.2600).2
[16/09/2004 23:47:47] Job started.
[16/09/2004 23:47:47] Input dir: D:\TestFilm
[16/09/2004 23:47:47] Output file: D:\TestFilm\Tfilm.avi
[16/09/2004 23:47:47] Audio: English
[16/09/2004 23:47:47] Subtitles: none
[16/09/2004 23:47:47] Codec: XviD
[16/09/2004 23:47:47] Target size: 700Mb
[16/09/2004 23:47:47] Started encoding.
[16/09/2004 23:47:47] Demuxing and indexing.
[16/09/2004 23:51:23] Processing file: D:\TestFilm\VTS_01_1.VOB
[16/09/2004 23:51:23] Processing file: D:\TestFilm\VTS_01_2.VOB
[16/09/2004 23:51:23] Processing file: D:\TestFilm\VTS_01_3.VOB
[16/09/2004 23:51:23] Source aspect ratio: 16:9
[16/09/2004 23:51:23] Source resolution: 720x576
[16/09/2004 23:51:23] Found PAL source.
[16/09/2004 23:51:23] Analyzing source.
[16/09/2004 23:57:22] Source has percentage of interlacing in motion areas: 0.00
[16/09/2004 23:57:22] Source is considered to be progressive.
[16/09/2004 23:57:23] Found 153221 frames
[16/09/2004 23:57:23] Encoding audio.
[17/09/2004 00:11:03] Audio size: 98,039,048 bytes (93.50 Mb)
[17/09/2004 00:11:03] Overhead: 6,128,896 bytes (5.84 Mb)
[17/09/2004 00:11:03] Video size: 629,835,256 bytes (600.66 Mb)
[17/09/2004 00:11:03] Running compressibility test.
[17/09/2004 00:11:03] Writing the following script to D:\TestFilm\agk_tmp\Tfilm_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\filters\undot.dll")
movie = mpeg2source("D:\TestFilm\agk_tmp\Tfilm.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
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 = 640
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[17/09/2004 00:13:40] Duration was: 2 minutes 36 seconds
[17/09/2004 00:13:40] Speed was: 48.96 fps.
*************************************
EXCEPTION: Open avi failed.
*************************************
[17/09/2004 00:13:41] Job finished.
len0x
17th September 2004, 21:05
Lets start with this: try playing Tfilm_comptest.avi created during compressibility test. Also check that file with GSpot - try to render it and see if there are any errors. Most probably you have xvid decoder screwed up...
P.S. do you have any version of DivX installed?
*EDIT* make sure to check FAQ Q 6.7 first
smon
18th September 2004, 15:02
Hi,
Tried rendering Tfilm_comptest.avi with Gspot but it says it is not a valid AVI file. Also it doesn't play with any of the players i have.
I have uninstalled all of my video software and codecs and tried again with just Xvid, Auto GK ffdshow and Lame or Fraunhofer installed but got the same error.
I did have Divx 5.2 but have now removed it.
I am just glad I didn't have this problem with my old PC. It used to take most of the day to to run.
I also tried using FlaskMPEG but it crashes after getting to about 20% complete.
When I reinstalled AutoGK this time, I didn't install Xvid but installed it manually from a version I downloaded.
I will try the registry entry fix mentioned in faq 6.7 tonight when I get home but am not too hopeful.
Thanks
len0x
18th September 2004, 15:08
Originally posted by smon
Tried rendering Tfilm_comptest.avi with Gspot but it says it is not a valid AVI file. Also it doesn't play with any of the players i have.
That is the problem. You will be not able to use AutoGK until playback problem is sorted out. Can you post a screenshot of GSpot?
smon
18th September 2004, 15:30
Hi.
GSpot simply has n/a in all of the fields except the filename
I just removed ffdshow and tried a quick test on a small 10min title sction of a film and it seemed to work (well it got on to the first pass and then I aborted it). The comptest avi file played ok. I have just started it on the original file I was trying to encode but have to go out. will get the results tonight.
Is it likely to be a problem with ffdshow???
smon
19th September 2004, 00:34
Not quite sure what is happening. After removing ffdshow and adding proxyoff to the registry (don't knoew if that actually did anything), AutoGK now continues to the second pass encoding but produces a small 32meg file which again doesn't play. Gspot reports it as not a valid avi. The comptest.avi file however plays ok and Gspot seems happy with it.
Log file below.
[18/09/2004 22:23:18] AutoGK 1.56b
[18/09/2004 22:23:18] OS: WinXP (5.1.2600).2
[18/09/2004 22:23:18] Job started.
[18/09/2004 22:23:18] Input dir: D:\My Videos\Films\Temporary
[18/09/2004 22:23:18] Output file: D:\My Videos\Films\Temporary\Film1.avi
[18/09/2004 22:23:19] Audio: English
[18/09/2004 22:23:19] Subtitles: none
[18/09/2004 22:23:19] Codec: XviD
[18/09/2004 22:23:19] Target size: 700Mb
[18/09/2004 22:23:19] Started encoding.
[18/09/2004 22:23:19] Demuxing and indexing.
[18/09/2004 22:27:12] Processing file: D:\My
[18/09/2004 22:27:12] Processing file: D:\My
[18/09/2004 22:27:12] Processing file: D:\My
[18/09/2004 22:27:12] Processing file: D:\My
[18/09/2004 22:27:12] Source aspect ratio: 16:9
[18/09/2004 22:27:12] Source resolution: 720x576
[18/09/2004 22:27:12] Found PAL source.
[18/09/2004 22:27:12] Analyzing source.
[18/09/2004 22:33:03] Source has percentage of interlacing in motion areas: 0.00
[18/09/2004 22:33:03] Source is considered to be progressive.
[18/09/2004 22:33:04] Found 158335 frames
[18/09/2004 22:33:04] Encoding audio.
[18/09/2004 22:47:52] Audio size: 100,465,568 bytes (95.81 Mb)
[18/09/2004 22:47:53] Overhead: 6,333,440 bytes (6.04 Mb)
[18/09/2004 22:47:53] Video size: 627,204,192 bytes (598.15 Mb)
[18/09/2004 22:47:53] Running compressibility test.
[18/09/2004 22:47:53] Writing the following script to D:\My Videos\Films\Temporary\agk_tmp\Film1_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\filters\undot.dll")
movie = mpeg2source("D:\My Videos\Films\Temporary\agk_tmp\Film1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
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 = 640
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[18/09/2004 22:52:40] Duration was: 4 minutes 45 seconds
[18/09/2004 22:52:40] Speed was: 27.72 fps.
[18/09/2004 22:52:40] Compressibility percentage is: 58.80
[18/09/2004 22:52:40] Chosen resolution is: 608x256 ( AR: 2.38 )
[18/09/2004 22:52:40] Predicted comptest value is: 65.76
[18/09/2004 22:52:40] Running first pass.
[18/09/2004 22:52:40] Writing the following script to D:\My Videos\Films\Temporary\agk_tmp\Film1_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\DVDTOO~1\AutoGK\filters\undot.dll")
movie = mpeg2source("D:\My Videos\Films\Temporary\agk_tmp\Film1.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0)
fixed_aspect = 1.42222222222222
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 = 608
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
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0)
Undot()
LanczosResize(out_width,out_height)
===========================================================
[18/09/2004 23:11:27] Duration was: 18 minutes 46 seconds
[18/09/2004 23:11:27] Speed was: 140.58 fps.
[18/09/2004 23:11:27] Expected quality of first pass size: 235.43
[18/09/2004 23:11:27] Warning: final AVI will likely be undersized.
[18/09/2004 23:11:27] Running second pass.
[18/09/2004 23:12:56] Duration was: 1 minute, 29 seconds
[18/09/2004 23:12:56] Speed was: 1774.70 fps.
[18/09/2004 23:12:56] Job finished.
P.s very much appreciate you taking the time to help.
Still getting the open AVI error every other time.
len0x
19th September 2004, 10:48
Encoding issues - are different issues. Probably source is broken - have you tried others?
smon
19th September 2004, 12:52
Hi,
I have tried others. I ripped 2 DVDs onto my hard drive and did some test runs on both. Most of the time they produce the open avi error but occasionally they will encode but with the undersize error and sometimes I get and " is not an integer error.
I will probably just take up gardening and keep working on the problem in my spare time.
Thanks for all the help anyway.
hotluck
26th September 2004, 20:57
edit by HL....
see new thread....
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.