View Full Version : AVI input in AutoGK
len0x
21st March 2005, 17:23
So here we go, its finally here, but we still have a long way to go.
I'm creating this thread specificaly for bug requests/dicussions ONLY for AVI input.
Features so far (as per current 2.xx version):
- no denoising is done for AVI mode
- no cropping is done for AVI mode apart from the one needed to keep AR (if you need it then enable it via hidden options)
- DV sources are detected via "dv" string in 4cc and appropriate AR resizing is performed (AR is 1.095 or 0.909). Original AR option won't work for such sources.
- Analysis step is only performed for DV source (for deinterlacing)
- BFF is assumed for DV sources
- input audio can be PCM(encoded)/MPA(encoded)/MP3(always kept)/AC3(encoded or kept)/DTS(encoded or kept)
- if your DV source is 16:9 then you need to enable this AR in hidden options as AutoGK can't detect that.
- mp3 re-encoding is not possible due to LAME crashing on most mp3 sources
dap_werewolf
22nd March 2005, 02:30
Seeing avi input in AutoGK made me very happy, because although I use GK myself, I help a lot of others with their encodes, and just today I had someone ask me how he could reencode an avi to make it slightly smaller. I tried out the avi input option to see if it will load ok, etc., and started an encode just to test it, but cut it off because I needed the computer. And since it worked for me, I happily told this other user to try AutoGK instead of teaching him how to do it in Vdub. Sorry he didn't keep the logs, this was his first attempt at encoding anything, but when he clicked on Start he got:
EXCEPTION: '29mn' is not a valid integer value
I know the original avi was divx5 and I assume that the error has something to do with the framerate (?)
Just wanted to post that, maybe it will help.
Schrade
22nd March 2005, 07:03
Yay finally! AVI support! I did some tests with my captured DV files and anything that was 4:3 worked fine. My 16:9 captured DV videos didn't come out properly though. (I use a Canon Optura Xi)
I look forward to when this new feature matures some more.
When trying to convert a FRAPS (http://www.fraps.com/) captured video from a game I get the following error:
Avisynth open failure:
AutoCrop: Currently supports YUY2 and YB12 color formats only.
FRAPS uses its own codec called FPS1. I can't seem to find any specs on it, though :-/
niamh
22nd March 2005, 08:20
Does this mean I'm translating an already outdated tutorial? :D
len0x
22nd March 2005, 12:12
Originally posted by dap_werewolf
but when he clicked on Start he got:
EXCEPTION: '29mn' is not a valid integer value
This is happening when AutoGK tries to parse the duration of an AVI file. I need the string that is being shown in video info after input file is selected.
len0x
22nd March 2005, 12:16
Originally posted by Schrade
My 16:9 captured DV videos didn't come out properly though.
Of course :) AVI files do not store DAR/PAR in them, so its impossible to automatically detect 16:9 sources. Can you provide me with a small sample of such AVI please? (it would probably have to be processed using AR hidden option when I support that).
Originally posted by Schrade
Avisynth open failure:
AutoCrop: Currently supports YUY2 and YB12 color formats only.
That can be easily fixed. Can you also provide small sample for me for testing, please?
GizmoDerMokwai
22nd March 2005, 12:16
just wanted to say, that avi to avi convertion works already fine for me. tried converting 2 episodes of king of queens (xvid->xvid/audio direct-stream copy/pal) without any problem! keep it up!
len0x
22nd March 2005, 12:21
Glad to hear that. I was testing AVI-2-AVI conversion on XviD/DivX/MJPEG, so those ones should not have any problems. DV and other codecs might as I don't have enough testing material.
len0x
22nd March 2005, 12:22
Originally posted by niamh
Does this mean I'm translating an already outdated tutorial? :D
No :) I'll be atl east 1-2 months before next stable version is out and tutorial needs to be updated...
Schrade
22nd March 2005, 13:08
Originally posted by len0x
Can you provide me with a small sample of such AVI please? (it would probably have to be processed using AR hidden option when I support that).
URL sent to you via a PM!
That can be easily fixed. Can you also provide small sample for me for testing, please?
Again, check the PM for a URL to the sample.
For the FRAPS capture you MUST have FRAPS installed in order to view the capture. It installs the FPS1 codec to allow you to view the file. You may download FRAPS from here:
http://www.fraps.com/.
Please let me know when you've downloaded the samples so I may remove them!
chilled
22nd March 2005, 13:27
request: mp3 reencode (not just kept as is). useful when >128 kbps or for stereo-to-mono (when we know original audio IS mono even when original AC3 on the dvd was 2.0, which happens with so many before-1990s-movies) conversion.
kilivipin
22nd March 2005, 14:04
Wow! Great feature.
len0x
22nd March 2005, 14:31
Originally posted by Schrade
Please let me know when you've downloaded the samples so I may remove them!
Got them, thanks.
len0x
22nd March 2005, 14:39
Originally posted by chilled
request: mp3 reencode (not just kept as is). useful when >128 kbps or for stereo-to-mono (when we know original audio IS mono even when original AC3 on the dvd was 2.0, which happens with so many before-1990s-movies) conversion.
hm... I don't know where incorporate this feature (as it cannot be automatic). I'll think about it.
Mtz
22nd March 2005, 14:51
Nice feature. Sometime ago I made a request for it. ;)
Some "cosmetics" things for now:
- after installing 2.0, in file mode I can select only AVI. After pressing the DVD Input and back Avi Input I can select all media files.
- when checking "use external subtitles" the warning window still show: " External subtitles cannot be played on standalone players..." AFAIK, now, most of players can play them. I think the warning is better something like this: "On some standalone players external subtitles cannot be played".
I'm a little involved in standalones (firmwares) world and I know that.
For players which still cannot support external subtitles can be added in AVI mode by selecting some subtitle from PC?
enjoy,
Mtz
len0x
22nd March 2005, 14:59
Originally posted by Schrade
My 16:9 captured DV videos didn't come out properly though.
I have a question for ya. How do you resize 16:9 material now? At the moment for 4:3 DV sources I use 1.0925 PAL (0.909 NTSC) PAR. Which is slightly different from DVDs (1.066/0.9). I need some expert advice on how to resize 16:9 DV sources (well I read in sticky thread of DV forumn that actually if not taking into account overscan I can just resize the same way as DVD).
len0x
22nd March 2005, 15:12
@Mtz
Which part of "I'm creating this thread specificaly for bug requests/dicussions ONLY for AVI input." did you miss? :) Please repost in some other thread.
Mtz
22nd March 2005, 15:27
Grr...
I pressed submit to early;(
First test om 3 minutes avi:
Original:
Mpeg4 Modifier info:
Packed bitstream: No
QPel: No
GMC: No
Interlaced: Yes (bottom field first)
Aspect ratio: Square pixels
Quant type: H.263
I-VOPs: 38 (0,87%)
P-VOPs: 4317 (98,90%)
B-VOPs: 0 (0,00%)
S-VOPs: 0 (0,00%)
N-VOPs: 10 (0,23%)
###########
Resulted:
Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: MPEG Custom
Custom intra matrix:
8 16 20 23 27 30 32 34
16 16 23 24 29 31 34 38
20 23 27 28 30 35 38 40
23 24 28 29 35 39 40 44
27 29 30 35 39 42 45 50
30 31 35 39 42 46 54 59
32 34 38 40 45 54 62 72
34 38 40 44 50 59 72 84
Custom inter matrix:
17 19 21 23 25 27 29 31
19 21 23 25 27 28 29 33
21 23 25 27 29 30 32 37
23 25 27 30 31 34 40 45
25 27 29 31 38 46 54 60
27 28 30 34 46 58 72 74
29 29 32 40 54 72 90 100
31 33 37 45 60 74 100 124
I-VOPs: 41 (1,17%)
P-VOPs: 1849 (52,95%)
B-VOPs: 1602 (45,88%)
S-VOPs: 0 (0,00%)
N-VOPs: 0 (0,00%)
Max consecutive B-VOPs: 1
#########
AutoGK log:
[22.03.2005 15:56:22] AutoGK 2.00b
[22.03.2005 15:56:22] OS: WinXP (5.1.2600).2
[22.03.2005 15:56:22] Job started.
[22.03.2005 15:56:22] Source resolution: 576x304
[22.03.2005 15:56:22] Source fps: 23,976
[22.03.2005 15:56:22] Output will contain 4365 frames
[22.03.2005 15:56:22] Job finished. Total time: 0 seconds
====================================================
[22.03.2005 15:59:15] AutoGK 2.00b
[22.03.2005 15:59:15] OS: WinXP (5.1.2600).2
[22.03.2005 15:59:15] Job started.
[22.03.2005 15:59:15] Input file: cucu.avi
[22.03.2005 15:59:15] Input codec: XviD
[22.03.2005 15:59:15] Output file: G:\New Folder\cucu_agk.avi
[22.03.2005 15:59:15] Output codec: XviD
[22.03.2005 15:59:15] Audio: 131kbps
[22.03.2005 15:59:15] Subtitles: none
[22.03.2005 15:59:15] Format: .AVI
[22.03.2005 15:59:15] Target size: 26Mb
[22.03.2005 15:59:15] Started encoding.
[22.03.2005 15:59:15] Source resolution: 576x304
[22.03.2005 15:59:15] Source fps: 23,976
[22.03.2005 15:59:15] Output will contain 4365 frames
[22.03.2005 15:59:15] Analyzing source.
[22.03.2005 16:02:23] Source is considered to be FILM.
[22.03.2005 16:02:23] Demuxing audio.
[22.03.2005 16:02:28] Audio size: 2,847,024 bytes (2.72 Mb)
[22.03.2005 16:02:28] Overhead: 174,592 bytes (0.17 Mb)
[22.03.2005 16:02:28] Video size: 24,241,360 bytes (23.12 Mb)
[22.03.2005 16:02:28] Running compressibility test.
[22.03.2005 16:06:15] Duration was: 3 minutes 46 seconds
[22.03.2005 16:06:15] Speed was: 8,85 fps.
[22.03.2005 16:06:15] Compressibility percentage is: 73,70
[22.03.2005 16:06:15] Chosen resolution is: 576x304 ( AR: 1,89 )
[22.03.2005 16:06:15] Predicted comptest value is: 73,70
[22.03.2005 16:06:15] Running first pass.
[22.03.2005 16:08:44] Duration was: 2 minutes 29 seconds
[22.03.2005 16:08:44] Speed was: 29,21 fps.
[22.03.2005 16:08:44] Warning! Found different number of frames: 3491
[22.03.2005 16:08:44] Audio size: 2,847,024 bytes (2.72 Mb)
[22.03.2005 16:08:44] Overhead: 139,648 bytes (0.13 Mb)
[22.03.2005 16:08:44] Video size: 24,276,304 bytes (23.15 Mb)
[22.03.2005 16:08:44] Expected quality of first pass size: 87,55
[22.03.2005 16:08:44] Trying to adjust settings.
[22.03.2005 16:08:44] No adjustment is possible
[22.03.2005 16:08:44] Running second pass.
[22.03.2005 16:11:52] Duration was: 3 minutes 7 seconds
[22.03.2005 16:11:52] Speed was: 18,61 fps.
[22.03.2005 16:11:52] Job finished. Total time: 12 minutes 36 seconds
====================================================
The resulted movie has: 19.181 fps (original was 23.976)
Some differences about original movie:
Gspot reported Packed Bistream and Mpeg4 modifier, not.
Mpeg4 modifier reported interlaced but Gspot not.
Regarding matrices, many players don't like custom matrices.
enjoy,
Mtz
len0x
22nd March 2005, 16:45
Originally posted by Mtz
[22.03.2005 15:59:15] Source fps: 23,976
[22.03.2005 15:59:15] Analyzing source.
[22.03.2005 16:02:23] Source is considered to be FILM.
This ain't right :) It causes fps change. Fixed.
P.S. How come its interlaced though? Can you make a small clip available for me?
len0x
22nd March 2005, 18:22
Since I'm not going daily builds these days, but still wanna test the fixes for the problems described in this thread here is the current fix:
http://len0x.shellpower.net/AutoGK.exe
dap_werewolf
22nd March 2005, 18:45
Originally posted by len0x
This is happening when AutoGK tries to parse the duration of an AVI file. I need the string that is being shown in video info after input file is selected.
Video info: DivX 5 - 640x480 - 25fps - 29mn 400ms
Turns out he tried another one after that, and it didn't come up with the error. This is what he wrote:
The one that worked had:
Video info: DivX 5 - 640x480 - 25fps - 28mn 46s 320ms
but sound got bumpy hum in the background after the re-encode
As I mentioned earlier he's a complete newbie. I just tried one and it turned out great, of course I used an avi that I made myself, so I know the original source is fine.
len0x
22nd March 2005, 18:48
Originally posted by dap_werewolf
Video info: DivX 5 - 640x480 - 25fps - 29mn 400ms
Seconds are missing, I need to improve parsing of that.
Originally posted by dap_werewolf
but sound got bumpy hum in the background after the re-encode
what was the original audio?
Taurus
22nd March 2005, 22:23
quote:
--------------------------------------------------------------------------------
Originally posted by len0x
This is happening when AutoGK tries to parse the duration of an AVI file. I need the string that is being shown in video info after input file is selected.
--------------------------------------------------------------------------------
Got the same on a xvid avi file:
[22.03.2005 22:10:53] AutoGK 2.00b
[22.03.2005 22:10:53] OS: WinXP (5.1.2600).2
[22.03.2005 22:10:53] Job started.
[22.03.2005 22:10:53] Source resolution: 720x384
[22.03.2005 22:10:53] Source fps: 25
*************************************
EXCEPTION: '5mn' is not a valid integer value
*************************************
[22.03.2005 22:10:53] Job finished. Total time: 0 seconds
====================================================
The file is 5 min 1 sec long = '5mn' = minutes
The GUI says: Video info: XviD - 720x384 - 25fps - 5mn 1s
Cheers
Taurus
Schrade
22nd March 2005, 22:53
Originally posted by len0x
I have a question for ya. How do you resize 16:9 material now?
Well, I am absolutely no expert on this. I had tried to get a good avs script in the DV forum but all of the resizing part I didn't quit understand everything.
Here's what I currently use for Computers:
# simplest possible scaler, no anti-aliasing, filtering, etc. just blend two
# lines into 1.
PointResize(720,240)
# high quality (slight sharpening) upscale vertical resolution to correct
# aspect ratio for letterboxed 16:9
BicubicResize(720,400)
# you always want width and height evenly divisible by 16 for sake of the
# macroblocks.
#Crop(0,4,720,352)
# voila 720x480.
#AddBorders(0,64,0,64)
This is someone else's code so I don't know if that's what you were looking for or not.
dap_werewolf
22nd March 2005, 22:55
Originally posted by dap_werewolf
but sound got bumpy hum in the background after the re-encode
Originally posted by len0x
what was the original audio?
PCM Audio , 48000Hz 56 kb/s total (2 chnls)
dap_werewolf
22nd March 2005, 22:58
Originally posted by dap_werewolf
PCM Audio , 48000Hz 56 kb/s total (2 chnls)
I just took a look at what the audio was myself, I'm just copying and pasting what he sent me. 56kb/s, well that might have done it right there. Looks like the audio may have been "bumpy" to begin with, just exaggerated by AutoGK during the reencode...lol
len0x
22nd March 2005, 22:59
Originally posted by Taurus
The GUI says: Video info: XviD - 720x384 - 25fps - 5mn 1s
I fixed that already :) will be in 2.01
Exoskeletor
23rd March 2005, 00:43
well done lenox. youre fast and furious
(External subs choice had to be putted a little bit better. its not exacly in the middle)
keep fixing :)
musicnyman
23rd March 2005, 04:09
tried to use 2.00 to convert a divx 3 to divx 5 file and output file is a very low resolution. i know converting an already compressed avi file to another avi file is not the best, but i need to convert these files to be able to play them on a standalone player, thus divx 5 instead of divx 3.
i can try using xvid, but i don't have it installed, i only use divx 5 pro for my encodings...
you can see the source resolution was 640x480 and ended up with a 240x144 file instead, even after telling autogk to make the output file size a little bigger than the source, compensating for encoding an already compressed divx file.
here is the logfile:
[3/22/2005 8:49:27 PM] AutoGK 2.00b
[3/22/2005 8:49:27 PM] OS: WinXP (5.1.2600).2
[3/22/2005 8:49:27 PM] Job started.
[3/22/2005 8:49:27 PM] Input file: 1x01-Children_Of_The_Gods.avi
[3/22/2005 8:49:27 PM] Input codec: DivX 3 Low
[3/22/2005 8:49:27 PM] Output file: D:\StarGate_1\101.avi
[3/22/2005 8:49:27 PM] Output codec: DivX
[3/22/2005 8:49:27 PM] Audio: 192kbps
[3/22/2005 8:49:27 PM] Subtitles: none
[3/22/2005 8:49:27 PM] Format: .AVI
[3/22/2005 8:49:27 PM] Target size: 896Mb
[3/22/2005 8:49:27 PM] Custom audio settings: CBR MP3 with bitrate: 192Kbps
[3/22/2005 8:49:27 PM] Started encoding.
[3/22/2005 8:49:27 PM] Source resolution: 640x360
[3/22/2005 8:49:27 PM] Source fps: 23.976
[3/22/2005 8:49:27 PM] Output will contain 139468 frames
[3/22/2005 8:49:27 PM] Analyzing source.
[3/22/2005 9:05:11 PM] Source has percentage of interlacing in motion areas: 0.00
[3/22/2005 9:05:11 PM] Source has percentage of telecined patterns: 0.00
[3/22/2005 9:05:11 PM] Source has percentage of progressive patterns: 100.00
[3/22/2005 9:05:11 PM] Source has percentage of interlaced patterns: 0.00
[3/22/2005 9:05:11 PM] Source is considered to be progressive.
[3/22/2005 9:05:11 PM] Demuxing audio.
[3/22/2005 9:05:49 PM] Decoding audio.
[3/22/2005 9:07:16 PM] Normalizing audio.
[3/22/2005 9:09:06 PM] Encoding audio.
[3/22/2005 9:15:54 PM] Using bitrate spikes control.
[3/22/2005 9:15:54 PM] Audio size: 139,608,000 bytes (133.14 Mb)
[3/22/2005 9:15:54 PM] Overhead: 5,076,096 bytes (4.84 Mb)
[3/22/2005 9:15:54 PM] Video size: 794,840,000 bytes (758.02 Mb)
[3/22/2005 9:15:54 PM] Target bitrate is: 1093kbps
[3/22/2005 9:15:54 PM] Running compressibility test.
[3/22/2005 9:15:54 PM] Writing the following script to D:\agk_tmp\101_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\fdecimate.dll")
movie = DirectShowSource("D:\StarGate_1\1x01-Children_Of_The_Gods.avi",23.976).KillAudio()
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(280,14)
===========================================================
[3/22/2005 9:28:44 PM] Duration was: 12 minutes 49 seconds
[3/22/2005 9:28:44 PM] Speed was: 9.06 fps.
[3/22/2005 9:28:44 PM] Compressibility percentage is: 8.31
[3/22/2005 9:28:44 PM] Using softer resizer.
[3/22/2005 9:28:44 PM] Chosen resolution is: 240x144 ( AR: 1.67 )
[3/22/2005 9:28:44 PM] Predicted comptest value is: 60.76
[3/22/2005 9:28:44 PM] Running first pass.
[3/22/2005 9:28:44 PM] Writing the following script to D:\StarGate_1\agk_tmp\101_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\fdecimate.dll")
movie = DirectShowSource("D:\StarGate_1\1x01-Children_Of_The_Gods.avi",23.976).KillAudio()
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 240
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/22/2005 9:44:34 PM] Duration was: 15 minutes 50 seconds
[3/22/2005 9:44:34 PM] Speed was: 146.76 fps.
[3/22/2005 9:44:34 PM] Running second pass.
[3/22/2005 9:59:08 PM] Duration was: 14 minutes 33 seconds
[3/22/2005 9:59:08 PM] Speed was: 159.64 fps.
[3/22/2005 9:59:08 PM] Job finished. Total time: 1 hour, 9 minutes 40 seconds
len0x
23rd March 2005, 12:23
Originally posted by musicnyman
you can see the source resolution was 640x480 and ended up with a 240x144 file instead, even after telling autogk to make the output file size a little bigger than the source, compensating for encoding an already compressed divx file.
If original source is very blocky and noisy then it can happen. As I said in the first post - atm no denoising is applied for AVI input.
What do you use for decoding divx3 content? You can try using ffdshow and its filters to denoise/deblock the source. Since AutoGK uses dshow input all settings for playback are applied before encoding in the application.
len0x
23rd March 2005, 12:54
So far it should fix all the issues reported here. Please have a go with it.
musicnyman
23rd March 2005, 16:23
first, i upgraded to the lastest beta version before i tried this again, even though i know nothing was changed for my problem..
i tried enconding a xvid file instead of divx and just goes in a loop.
len0x, i don't know how to change to ffdshow like you said... i'll look around on the forums, but if you could let me know, i'd appreciate it and i'll try it out.
opened the divx 3 file in gspot and it tells me it's using the divx decoer filter to decode the file...
[3/23/2005 9:19:36 AM] AutoGK 2.01b
[3/23/2005 9:19:36 AM] OS: WinXP (5.1.2600).2
[3/23/2005 9:19:36 AM] Job started.
[3/23/2005 9:19:36 AM] Input file: 1x02-The_Enemy_Within.avi
[3/23/2005 9:19:36 AM] Input codec: DivX 3 Low
[3/23/2005 9:19:36 AM] Source duration: 44mn 12s
[3/23/2005 9:19:36 AM] Output file: D:\temp\102.avi
[3/23/2005 9:19:36 AM] Output codec: XviD
[3/23/2005 9:19:36 AM] Audio: 192 Kbps
[3/23/2005 9:19:36 AM] Subtitles: none
[3/23/2005 9:19:36 AM] Format: .AVI
[3/23/2005 9:19:36 AM] Target size: 350Mb
[3/23/2005 9:19:36 AM] Custom audio settings: CBR MP3 with bitrate: 192Kbps
[3/23/2005 9:19:36 AM] Started encoding.
[3/23/2005 9:19:36 AM] Source resolution: 640x360
[3/23/2005 9:19:36 AM] Source fps: 23.976
[3/23/2005 9:19:36 AM] Output will contain 63584 frames
[3/23/2005 9:19:36 AM] Demuxing audio.
[3/23/2005 9:19:53 AM] Decoding audio.
[3/23/2005 9:20:34 AM] Normalizing audio.
[3/23/2005 9:21:28 AM] Encoding audio.
[3/23/2005 9:24:27 AM] Using bitrate spikes control.
[3/23/2005 9:24:27 AM] Audio size: 63,668,160 bytes (60.72 Mb)
[3/23/2005 9:24:27 AM] Overhead: 755,072 bytes (0.72 Mb)
[3/23/2005 9:24:27 AM] Video size: 302,578,368 bytes (288.56 Mb)
[3/23/2005 9:24:27 AM] Running compressibility test.
[3/23/2005 9:24:27 AM] Writing the following script to D:\temp\agk_tmp\102_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
[3/23/2005 9:30:21 AM] Duration was: 5 minutes 53 seconds
[3/23/2005 9:30:21 AM] Speed was: 9.01 fps.
[3/23/2005 9:30:21 AM] Compressibility percentage is: 7.32
[3/23/2005 9:30:21 AM] Using softer resizer.
[3/23/2005 9:30:21 AM] Chosen resolution is: 224x128 ( AR: 1.75 )
[3/23/2005 9:30:21 AM] Predicted comptest value is: 64.16
[3/23/2005 9:30:21 AM] Running first pass.
[3/23/2005 9:30:21 AM] Writing the following script to D:\temp\agk_tmp\102_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 224
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/23/2005 9:36:39 AM] Duration was: 6 minutes 18 seconds
[3/23/2005 9:36:39 AM] Speed was: 167.91 fps.
[3/23/2005 9:36:39 AM] Warning! Found different number of frames: 63603
[3/23/2005 9:36:39 AM] Audio size: 63,668,160 bytes (60.72 Mb)
[3/23/2005 9:36:39 AM] Overhead: 755,328 bytes (0.72 Mb)
[3/23/2005 9:36:39 AM] Video size: 302,578,112 bytes (288.56 Mb)
[3/23/2005 9:36:39 AM] Expected quality of first pass size: 338.99
[3/23/2005 9:36:39 AM] Trying to adjust settings.
[3/23/2005 9:36:39 AM] Chosen resolution is: 480x272 ( AR: 1.76 )
[3/23/2005 9:36:39 AM] Predicted comptest value is: 74.45
[3/23/2005 9:36:39 AM] Re-running first pass.
[3/23/2005 9:36:39 AM] Writing the following script to D:\temp\agk_tmp\102_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 480
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/23/2005 9:49:08 AM] Duration was: 12 minutes 28 seconds
[3/23/2005 9:49:08 AM] Speed was: 84.98 fps.
[3/23/2005 9:49:08 AM] Expected quality of first pass size: 28.50
[3/23/2005 9:49:08 AM] Trying to adjust settings.
[3/23/2005 9:49:08 AM] Chosen resolution is: 288x176 ( AR: 1.64 )
[3/23/2005 9:49:08 AM] Predicted comptest value is: 73.40
[3/23/2005 9:49:08 AM] Re-running first pass.
[3/23/2005 9:49:08 AM] Writing the following script to D:\temp\agk_tmp\102_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 288
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/23/2005 9:56:23 AM] Duration was: 7 minutes 15 seconds
[3/23/2005 9:56:23 AM] Speed was: 146.06 fps.
[3/23/2005 9:56:24 AM] Expected quality of first pass size: 228.15
[3/23/2005 9:56:24 AM] Trying to adjust settings.
[3/23/2005 9:56:24 AM] Chosen resolution is: 528x304 ( AR: 1.74 )
[3/23/2005 9:56:24 AM] Predicted comptest value is: 72.05
[3/23/2005 9:56:24 AM] Re-running first pass.
[3/23/2005 9:56:24 AM] Writing the following script to D:\temp\agk_tmp\102_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 528
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/23/2005 10:10:22 AM] Duration was: 13 minutes 58 seconds
[3/23/2005 10:10:22 AM] Speed was: 75.89 fps.
[3/23/2005 10:10:22 AM] Expected quality of first pass size: 18.04
[3/23/2005 10:10:22 AM] Trying to adjust settings.
[3/23/2005 10:10:22 AM] Chosen resolution is: 256x144 ( AR: 1.78 )
[3/23/2005 10:10:22 AM] Predicted comptest value is: 78.57
[3/23/2005 10:10:22 AM] Re-running first pass.
[3/23/2005 10:10:22 AM] Writing the following script to D:\temp\agk_tmp\102_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 256
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/23/2005 10:17:00 AM] Duration was: 6 minutes 38 seconds
[3/23/2005 10:17:00 AM] Speed was: 159.78 fps.
[3/23/2005 10:17:00 AM] Expected quality of first pass size: 274.90
[3/23/2005 10:17:00 AM] Trying to adjust settings.
[3/23/2005 10:17:00 AM] Chosen resolution is: 496x288 ( AR: 1.72 )
[3/23/2005 10:17:00 AM] Predicted comptest value is: 70.94
[3/23/2005 10:17:00 AM] Re-running first pass.
[3/23/2005 10:17:00 AM] Writing the following script to D:\temp\agk_tmp\102_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
movie = DirectShowSource("D:\temp\1x02-The_Enemy_Within.avi",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYUY2(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
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 = 496
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=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
*************************************
EXCEPTION: Job aborted
*************************************
[3/23/2005 10:20:00 AM] Job finished. Total time: 1 hour, 0 minutes 23 seconds
len0x
23rd March 2005, 16:37
lol This is a fantastic log! Its not looping in a sense that it has repeated values. So AutoGK does nothing wrong - its just trying to make a good quality encode. Unfortunately as resolution is changing drasticly compressibility is chaning in non linear was that current AutoGK mechanism cannot deal with. Basically
- you probably have very blocky/noisy source = low compresibility
- when heavily reducing resolution compressibility raises in non-linear way because blocks are removed by resizing algorithm (and details in general)
- when heavily increasing resolution compressibility drops in non-linear way again (and block appear back)
So nothing can be done by AutoGK here (at least I can't think of anything I can do inside to tweak this). Suggestions would be:
- increase target size
- use fixed width (~ 384)
- use ffdshow's denoising/deblocking filters (I personally never used them so I can't help you).
P.S. if you're using DivX filter then try to experiment with decodec settings (i.e. turn post processing to FULL and switch off FILM effect)
Cocophone
23rd March 2005, 20:42
Ok... I downloaded and installed 2.01
Here's the error message I get.
Also, I select 700mb file size and the divx file ended up only 1,988 kb. My source file is 43mn and 19 sec in duration. Not 3mn 26s
Here is my log file
[3/23/2005 7:12:20 AM] AutoGK 2.01b
[3/23/2005 7:12:20 AM] OS: Win2000 (5.0.2195).2
[3/23/2005 7:12:20 AM] Job started.
[3/23/2005 7:12:20 AM] Input file: EDITED 24 8-9pm.avi
[3/23/2005 7:12:20 AM] Input codec: Huffman
[3/23/2005 7:12:20 AM] Source duration: 3mn 26s
[3/23/2005 7:12:20 AM] Output file: D:\EDITED 24 8-9pm_agk.avi
[3/23/2005 7:12:20 AM] Output codec: DivX
[3/23/2005 7:12:20 AM] Audio: 1536 Kbps
[3/23/2005 7:12:20 AM] Subtitles: none
[3/23/2005 7:12:20 AM] Format: .DIVX
[3/23/2005 7:12:20 AM] Target size: 700Mb
[3/23/2005 7:12:20 AM] Custom audio settings: VBR MP3 with average bitrate: 160Kbps
[3/23/2005 7:12:20 AM] Started encoding.
[3/23/2005 7:12:20 AM] Source resolution: 640x480
[3/23/2005 7:12:20 AM] Source fps: 29.97
[3/23/2005 7:12:20 AM] Output will contain 6174 frames
[3/23/2005 7:12:20 AM] Analyzing source.
[3/23/2005 8:09:19 AM] Source is considered to be progressive.
[3/23/2005 8:09:19 AM] Demuxing audio.
[3/23/2005 8:18:46 AM] Normalizing audio.
[3/23/2005 8:18:56 AM] Encoding audio.
[3/23/2005 8:21:57 AM] Audio size: 54,379,392 bytes (51.86 Mb)
[3/23/2005 8:21:57 AM] Overhead: 401,152 bytes (0.38 Mb)
[3/23/2005 8:21:57 AM] Video size: 679,222,656 bytes (647.76 Mb)
[3/23/2005 8:21:57 AM] Target bitrate is: 26377kbps
[3/23/2005 8:21:57 AM] Running compressibility test.
[3/23/2005 9:01:52 AM] Duration was: 39 minutes 54 seconds
[3/23/2005 9:01:52 AM] Speed was: 0.85 fps.
[3/23/2005 9:01:53 AM] Compressibility percentage is: 653.70
[3/23/2005 9:01:53 AM] Switching b-frames off
[3/23/2005 9:01:53 AM] Chosen resolution is: 640x480 ( AR: 1.33 )
[3/23/2005 9:01:53 AM] Predicted comptest value is: 554.34
[3/23/2005 9:01:53 AM] Running first pass.
[3/23/2005 10:13:56 AM] Duration was: 1 hour, 12 minutes 2 seconds
[3/23/2005 10:13:56 AM] Speed was: 1.43 fps.
*************************************
EXCEPTION: Number of frames is very different from expected. Found only 77920 frames.
*************************************
[3/23/2005 10:13:56 AM] Job finished. Total time: 3 hours 1 minute, 35 seconds
====================================================
len0x
23rd March 2005, 21:18
Originally posted by Cocophone
My source file is 43mn and 19 sec in duration. Not 3mn 26s
That is the problem. Does Gspot shows correct length of input AVI? Also take command line utility MediaInfo.exe from tools dir of AutoGK and see which duration does it show?
Cocophone
24th March 2005, 02:43
GSpot had the runtime as a "?" It also said the file had a corrupt avi header. I captured the file using virtualdub with the huffy codec and then edited it and resaved it in virtualdub with huffy codec.
I tried converting the avi file to mpeg using ulead media studio and then I ran that mpeg file thru AutoGk to convert to divx. AutoGk output 2 files. One named "filename.avi" and one named "filename.divx" The filename.avi was 716,304kb and created at 1:43pm. The filename.divx was 716,296kb and created at 1:45pm
I have used previous versions of AutoGK to convert the mpeg file to divx and it only created one output file.
Thanks for the help.
Thomas Davie
24th March 2005, 05:02
Originally posted by Cocophone
I tried converting the avi file to mpeg using ulead media studio and then I ran that mpeg file thru AutoGk to convert to divx. AutoGk output 2 files. One named "filename.avi" and one named "filename.divx" The filename.avi was 716,304kb and created at 1:43pm. The filename.divx was 716,296kb and created at 1:45pm
I have used previous versions of AutoGK to convert the mpeg file to divx and it only created one output file.
Thanks for the help.
I can verify this. As of 2.0, using AutoGK (whether to convert a correctly ripped DVD to avi, or to convert an avi to another format avi) results in the creation of 2 identically named files; one an avi, and the other a divx. I can post logs if desired.
Tom
Filbert
24th March 2005, 09:04
Originally posted by len0x
That is the problem. Does Gspot shows correct length of input AVI? Also take command line utility MediaInfo.exe from tools dir of AutoGK and see which duration does it show?
I have the same problem, capture of TV-material on DV (Sony-DV Codec). The conversion stops after first pass, length is recognized incorrect (should be 1:28:43, not 9mn 31s). Source Size is 18,4GB. Maybe this is the problem as the Huffmann Codec also produces big filesizes, which might be a problem for AGK?
GSpot 252b1 shows the correct length (old stable version didn't)
MediaInfo 0512 doesn't show correct length (shows 9:31 as AGK)
[23.03.2005 23:00:17] AutoGK 2.01b
[23.03.2005 23:00:17] OS: Win2000 (5.0.2195).2
[23.03.2005 23:00:17] Job started.
[23.03.2005 23:00:17] Input file: Attitude.avi
[23.03.2005 23:00:17] Input codec: dvsd
[23.03.2005 23:00:17] Source duration: 9mn 31s
[23.03.2005 23:00:17] Output file: G:\Attitude_agk.avi
[23.03.2005 23:00:17] Output codec: XviD
[23.03.2005 23:00:17] Audio: 1024 Kbps
[23.03.2005 23:00:17] Subtitles: none
[23.03.2005 23:00:17] Format: .AVI
[23.03.2005 23:00:17] Target size: 1493Mb
[23.03.2005 23:00:17] Custom audio settings: CBR MP3 with bitrate: 128Kbps
[23.03.2005 23:00:17] Started encoding.
[23.03.2005 23:00:17] Source resolution: 720x576
[23.03.2005 23:00:17] Source fps: 25
[23.03.2005 23:00:17] Output will contain 14275 frames
[23.03.2005 23:00:17] Analyzing source.
[23.03.2005 23:39:51] Source is considered to be interlaced.
[23.03.2005 23:39:51] Demuxing audio.
[24.03.2005 00:02:57] Normalizing audio.
[24.03.2005 00:03:35] Encoding audio.
[24.03.2005 00:08:24] Using bitrate spikes control.
[24.03.2005 00:08:24] Picking up autocrop parameters.
[24.03.2005 00:08:24] Audio size: 85,182,912 bytes (81.24 Mb)
[24.03.2005 00:08:24] Overhead: 169,472 bytes (0.16 Mb)
[24.03.2005 00:08:24] Video size: 1,480,171,584 bytes (1411.60 Mb)
[24.03.2005 00:08:24] Running compressibility test.
[24.03.2005 00:46:12] Duration was: 37 minutes 47 seconds
[24.03.2005 00:46:12] Speed was: 0,94 fps.
[24.03.2005 00:46:14] Compressibility percentage is: 375,63
[24.03.2005 00:46:14] Switching b-frames off
[24.03.2005 00:46:14] Chosen resolution is: 720x400 ( AR: 1,80 )
[24.03.2005 00:46:14] Predicted comptest value is: 262,68
[24.03.2005 00:46:14] Running first pass.
[24.03.2005 02:31:11] Duration was: 1 hour, 44 minutes 57 seconds
[24.03.2005 02:31:11] Speed was: 2,27 fps.
*************************************
EXCEPTION: Number of frames is very different from expected. Found only 133096 frames.
*************************************
[24.03.2005 02:31:12] Job finished. Total time: 3 hours 30 minutes 54 seconds
====================================================
len0x
24th March 2005, 11:47
Originally posted by Cocophone
AutoGk output 2 files. One named "filename.avi" and one named "filename.divx"
You must have selected .DIVX format? Coz AutoGK is muxing AVI into new DivX media format then. AVI file is not deleted for the time being for debug purposes.
len0x
24th March 2005, 11:49
Originally posted by Filbert
GSpot 252b1 shows the correct length (old stable version didn't)
MediaInfo 0512 doesn't show correct length (shows 9:31 as AGK)
I have a real problem here then. Atm I don't plan to write my own AVI parser, so I have to rely on MediaInfo (of if anyone knows another CLI parser) that has to give me correct length...
Filbert
24th March 2005, 12:07
Originally posted by len0x
I have a real problem here then. Atm I don't plan to write my own AVI parser, so I have to rely on MediaInfo (of if anyone knows another CLI parser) that has to give me correct length...
Just did another test, if I cut the AVI below 9:31 then AGK does correct conversion (which is not a real help ;-) ). I will look if I can find some other parser that gives correct info, and/or report this to MediaInfo...
Thanx for your effort...
Taurus
24th March 2005, 13:56
http://img213.exs.cx/img213/2097/error1cp.png (http://www.imageshack.us)
This is what you get, when using ffdshow (libavcodec) for decoding huffyuv stuff.
So make sure you disable libavcodec in codecs settings before encoding with AutoGk, or you get grey hair, scurvy, etc.....
Cheers
Taurus
Thomas Davie
24th March 2005, 18:59
Originally posted by len0x
You must have selected .DIVX format? Coz AutoGK is muxing AVI into new DivX media format then. AVI file is not deleted for the time being for debug purposes.
This happened to me when selecting AVI.
regards
Tom
len0x
24th March 2005, 19:47
:logfile: then
Frisco
24th March 2005, 21:41
Hi len0x
Thank for AutoGK
When I use File input, AutoGK don't AutoCrop, like in DVD input.
Hi Frisco
4.6 Can I manually crop video?
- Sort of. Starting with version 1.86 its possible via ".autocrop" hidden option (CTRL-F9). Just set threshold to 0 and then use "Force cropping of" option.
OK Frisco
len0x
24th March 2005, 22:48
as I said in the first post of this thread - autocrop is disabled for AVI input by default. YOu can set threshold back to 34 using hidden options and it'll be ok then.
chilled
25th March 2005, 14:13
about the mp3 reencoding feature request, maybe you could make it reencode if the user selects (in advanced mp3 tab) less bitrate than the source has, keeping it as is if user selected same or higher bitrate than the original. If you think this can be a bit confusing you can introduce a typical "keep original audio" tick button...
Taurus
25th March 2005, 18:07
FFDShow terribly burks encoding with AutoGk on my side.
x264, divx3, huffyuv all got messed up with ffdshow enabled.
Xvid works fine with ffdshow enabled. I guess Divx5 too, couldn't test it, no clip available.
For h.264 (x264)the nero decoder works fine, but no sound cos of missing aac decoding.
Divx3 working with it's own decoder and divx5.2, but image vertically flipped. Sound (mp3)ok.
huffyuv ok with systems decoder: AviDecompressor(HFYU) and color space converter.
So make sure ffdshow is disabled for the mentioned Codecs and make sure processing for raw video is disabled too.
Otherwise you will see the warning I posted a few posts above.
Cheers
Taurus
P.S.: Latest FFDShow, tested on two machines.
Installing, uninstalling did not change anything.
So many Codecs, all in the Avi Container, brrrr..
@ len0x, I wish you a golden hand, and maybe mpeg-1 would be a lot easyer to handle...;) :D
Analyzing stage is taking forever(longer as encoding to Xvid) on some Divx3 and H264 clips.
Cocophone
25th March 2005, 19:12
len0x,
I'm having the problem with the time length of my avi file.
Ok... I downloaded and installed 2.01 Here's the error message I get. Also, I select 700mb file size and the divx file ended up only 1,988 kb. My source file is 43mn and 19 sec in duration. Not 3mn 26s
Gspot tells me I have a corrupt header and shows the wrong time length for the avi file. I read elsewhere that GSpot sometime incorrectly does this.
Would it have anything to do with the size of my avi source file? Its usually between 28GB and 32GB and is usually about 42 minutes long.
len0x
25th March 2005, 22:19
Originally posted by Cocophone
I'm having the problem with the time length of my avi file.
We already established that tools that are used to detect that have bugs (yes, it can be size problem indeed) - I have very small chance of parsing AVI correctly myself since tools that are meant to do only that are failing.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.