Log in

View Full Version : error when 2nd pass is starting!!!


YnfinitY
11th March 2005, 16:04
Hi,

I have a DBox II with Linux(Neutrino)to record TV. After recording I cut out the commercials with Cuttermaran1.61/1.63. Then I use AutoGK (newest) to make xvid/divx movies. But now I always get an error when the 2nd pass is starting.
http://www.borg-cube.net/autogk-error.jpg

does anyone know what this could be???


alex


[11.03.2005 14:47:49] AutoGK 1.93b
[11.03.2005 14:47:49] OS: Win2003 (5.2.3790).2
[11.03.2005 14:47:49] Job started.
[11.03.2005 14:47:49] Input file: AKTE 05.mpg
[11.03.2005 14:47:49] Output file: E:\DBoxRec\AKTE 05.avi
[11.03.2005 14:47:49] Audio: Audio Stream 1
[11.03.2005 14:47:49] Subtitles: none
[11.03.2005 14:47:49] Codec: XviD
[11.03.2005 14:47:49] Target size: 100Mb
[11.03.2005 14:47:49] Custom resolution settings: fixed width of 720 pixels
[11.03.2005 14:47:49] Custom audio settings: CBR MP3 with bitrate: 240Kbps
[11.03.2005 14:47:49] Started encoding.
[11.03.2005 14:47:49] Demuxing and indexing.
[11.03.2005 14:47:54] Processing file: E:\DBoxRec\AKTE 05.mpg
[11.03.2005 14:47:54] Source aspect ratio: 4:3
[11.03.2005 14:47:54] Source resolution: 720x576
[11.03.2005 14:47:54] Found PAL source.
[11.03.2005 14:47:54] Analyzing source.
[11.03.2005 14:48:46] Source has percentage of interlacing in motion areas: 65,31
[11.03.2005 14:48:46] Source is considered to be interlaced.
[11.03.2005 14:48:47] Output will contain 14183 frames
[11.03.2005 14:48:47] Decoding audio.
[11.03.2005 14:49:00] Normalizing audio.
[11.03.2005 14:49:01] Encoding audio.
[11.03.2005 14:49:01] Using bitrate spikes control.
[11.03.2005 14:49:01] Audio size: 0 bytes (0.00 Mb)
[11.03.2005 14:49:01] Overhead: 168,448 bytes (0.16 Mb)
[11.03.2005 14:49:01] Video size: 104,689,152 bytes (99.84 Mb)
[11.03.2005 14:49:01] Running compressibility test.
[11.03.2005 14:49:01] Writing the following script to E:\DBoxRec\agk_tmp\AKTE 05_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = mpeg2source("E:\DBoxRec\agk_tmp\AKTE 05.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.06666666666667
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(100,15)
===========================================================
[11.03.2005 14:52:55] Duration was: 3 minutes 53 seconds
[11.03.2005 14:52:55] Speed was: 9,12 fps.
[11.03.2005 14:52:55] Compressibility percentage is: 33,04
[11.03.2005 14:52:55] Using softer resizer.
[11.03.2005 14:52:55] Chosen resolution is: 720x544 ( AR: 1,32 )
[11.03.2005 14:52:55] Predicted comptest value is: 35,26
[11.03.2005 14:52:55] Running first pass.
[11.03.2005 14:52:55] Writing the following script to E:\DBoxRec\agk_tmp\AKTE 05_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = mpeg2source("E:\DBoxRec\agk_tmp\AKTE 05.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.06666666666667
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[11.03.2005 15:07:50] Duration was: 14 minutes 55 seconds
[11.03.2005 15:07:50] Speed was: 15,83 fps.
[11.03.2005 15:07:50] Expected quality of first pass size: 32,23
[11.03.2005 15:07:50] Running second pass.
[11.03.2005 15:12:15] Duration was: 4 minutes 24 seconds
[11.03.2005 15:12:15] Speed was: 53,64 fps.
[11.03.2005 15:12:15] Job finished. Total time: 24 minutes 26 seconds

len0x
11th March 2005, 18:52
According to the logs - audio is 0 bytes in size, so encoding step is failing. Do you see demuxed audio in agk_temp dir?

YnfinitY
12th March 2005, 00:10
yes there is demuxed audio in the temp directory!!

I really don't know what it could be. I am doing this exactly this way for a year or so without any problems. But for about a week it doesn't work anymore. I recorded 20 different movies but always the same failure.

YnfinitY
12th March 2005, 00:58
ok i found a solution. If I go back to version 1.89 everything works fine as before. thx for trying to help!!!

alex

len0x
12th March 2005, 20:31
that is not a solution...
What kind of audio is demuxed? Can you provide me a link for downloading a sample?

*Edit* the only thing that is changed is DGIndex - is audio demuxed by version 1.89 the same as audio demuxed by version 1.93?

YnfinitY
13th March 2005, 13:41
ok, but first i'll post a screenshot from cuttermaran, maybe that will help. If not, i'll send you a PM with a link of my ftp-server do download the audiostreams.

It doesn't matter which stream I choose (or both), it always stops after 1st pass.

http://www.borg-cube.net/cuttermaran.jpg

len0x
14th March 2005, 11:44
What for do I need a screenshot from cuttermaran???
Please provide sample (preferably the whole input file, not just audio) for me.

len0x
14th March 2005, 14:51
Your mp2 sound track is not standard one. Lame cannot decode it because "input file is freeformat" (at least headers show that its MPEG2 layer II, that can't have 192kpbs bitrate by standard). Nothing we can do here.

P.S. Why are you using MP2 track while you can use AC3 track instead? (also encoding 192kbps MP2 into 240kbps MP3 doesn't make sense either).

YnfinitY
14th March 2005, 14:53
It doesn't matter which stream I choose. If I choose AC3 I get the same error message!!!

len0x
14th March 2005, 15:00
Hm... yes I only have no problems when selecting AC3 track without encoding it. Its a LAME bug, so I cannot really do anything (it fails with an error "fatal error during initialization").

*Edit* if you find a method of encoding MP2 file manually with LAME let me know...

len0x
17th March 2005, 22:07
it IS a LAME bug, but only with CBR 240kbps (with any source). If you change bitrate to 224 then it works just fine.