PDA

View Full Version : Incomplete encoded AVI


SoundScape
20th February 2005, 01:11
Hello to all,

I am using DivX 5.2.1 Pro and GK 0.34.8 Beta for my encoding. For some days now I am trying to encode a couple of movies, target sizes are 1400 MB and 700 MB (for first movie and second movie respectively). Encoding finishes normally according to GK's log file, but both encoded AVIs are far from the target sizes. First movie results in a filesize of about 800 MB only and second one is only 200-250 MB. Moreover, when I open them in Media Player, I cannot skip forward or backwards since they only have 2 keyframes! Audio is present though. At first I thought that another program installed in my PC might cause the problem (I had Ulead's MovieFactory 3 and DVD Workshop 2 installed when I first encountered the problem), so I formatted my disk and did a clean install but the same problem did continue to exist. My second thought was that maybe my processor got tired because of the hundrends of encodings I have done with it but if that was the case my PC would hang or just freeze during an encoding, right?

Anyone has a clue about all that? Any help is much appreciated! :D
Thank you in advance.

niamh
20th February 2005, 08:58
post your logfiles :)

I'd say you might get better answers if a mod moved this to the GK forum too (or/and if you mention it in the title).

jggimi
20th February 2005, 19:17
Logfiles will be very helpful. In the meantime, see:

Undersized Files. Why do I get them, and what do I do about it? (http://forum.doom9.org/showthread.php?s=&threadid=24584)

SoundScape
6th March 2005, 23:32
Hello again guys,

I tried to encode a movie today but the "incomplete and/or corrupt avi" problem surfaced again. Target size was 1400MB but I only got 300MB and an encoding time of 2 hours, 51 minutes, 45 seconds, the latter being too short since with my machine a 1h 30m movie takes about 4 hours to encode. I am following your advise about log files and I am posting mine in case you find something out of the ordinary. Something else that might help is that my processor's temperature riched 75 degrees Celsius during encoding, close to the "dangerous" zone...:D

Hope you get back to me with a solution to my problem. Thanks in advance!

=============
LOG FILE BEGINS
=============

6/3/2005 3:19:06 μμ: Job " 1 - The Bourne Supremacy.avi" started.

o DivX5-Single, Quality 20 : H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Credits.avs
o DivX5-First Pass: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs
o DivX5 - Pass 2: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs
o Append Credits & Mux Audio.
x Delete Intermediate Files (disabled).
End of Job 1 ( 1 - The Bourne Supremacy.avi).
_______________________________________________________________________________________________________________________

Gordian Knot
Encoding Job Data:

Type: EncD5_All_CreditsSep
Container: Audio-Video Interleave (AVI)
Number: 1
Name: 1 - The Bourne Supremacy.avi
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: D:\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: D:\GORDIA~1\nandub\Nandub.exe
AviFinal: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avi
AviMovie: H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Movie.avi
AviCredits: H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Credits.avi
MovieFS: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs
CreditsFS: H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Credits.avs
Log : H:\Movies\The Bourne Supremacy\The Bourne Supremacy.log
Stats: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.stats
Ecf : H:\Movies\The Bourne Supremacy\The Bourne Supremacy.ecf

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

Calculator:
VideoSize: 1133777 kbyte.
Audio1Size: 292470 kbyte.
Audio2Size: 0 kbyte.
Overhead: 7352 kbyte.
AviSize: 1433600 kbyte (1400 mbyte).
FilesSize: 0 kbyte.
TotalSize: 1433600 kbyte (1400 mbyte).
Interleaving: ac3
Bitrate: 1489 k(=1000)Bits/s
Frames: 155985
FPS: 25.000
Duration: 143:59
Quality: 0.363 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 640 x 256

Audio 1:
Mode: Just Mux Source File.
SourceFile: H:\Movies\The Bourne Supremacy\The Bourne Supremacy AC3 T01 3_2ch 384Kbps DELAY 0ms.ac3
WavFile: H:\Movies\The Bourne Supremacy\The Bourne Supremacy AC3 T01 3_2ch 384Kbps DELAY 0ms.wav
Mp3File: H:\Movies\The Bourne Supremacy\The Bourne Supremacy AC3 T01 3_2ch 384Kbps DELAY 0ms.mp3
OggFile: H:\Movies\The Bourne Supremacy\The Bourne Supremacy AC3 T01 3_2ch 384Kbps DELAY 0ms.ogg
OggQuality: 0.200
OggLanguage: English
Azid:
Lame:
Delay: 0
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.

3:19:06 μμ: Audio 1, determined: 292470 kb
3:19:06 μμ: Audio 1, calc: 292470 kb
3:19:06 μμ: New Bitrate for Movie = 1489 k(=1000)Bits/s

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

// $job "DivX5 Single Pass"
// $input "H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Credits.avs"
// $output "H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Credits.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy_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("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy_Credits.avi");
VirtualDub.Close();

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

3:19:06 μμ: Started DivX5-Single, Quality 20: H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Credits.avs
3:23:06 μμ: Finished DivX5-Single, Quality 20: Duration: 4 minutes, 0 seconds.
3:23:06 μμ: Assumed: Main Movie has 146735 Frames.
3:23:06 μμ: Assumed: Credits Part has 9250 Frames.
3:23:06 μμ: Credits Size = 7220 Kb
3:23:06 μμ: New Bitrate for Movie = 1572 k(=1000)Bits/s

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

// $job "DivX5 First Pass"
// $input "H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs"
// $output "H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy.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("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy_Movie.avi");
VirtualDub.Close();

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

3:23:06 μμ: Started DivX5-First Pass: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs
5:25:06 μμ: Finished DivX5-First Pass: Duration: 2 hours, 1 minute, 59 seconds.
5:25:06 μμ: Trying to open Log-file.
5:25:06 μμ: Success: Log-file open.
5:25:06 μμ: Encoded: 146735 Frames.
5:25:06 μμ: Speed: 20.047 Frames per Second.

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

// $job "DivX5 Second Pass"
// $input "H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs"
// $output "H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy.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("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy_Movie.avi");
VirtualDub.Close();

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

5:25:06 μμ: Started DivX5 - Pass: 2: H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avs
6:08:56 μμ: Finished DivX5 - Pass: 2: Duration: 43 minutes, 49 seconds.
6:08:56 μμ: Speed: 55.800 Frames per Second.

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

// $job "DivX5 Append"
// $input "H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Movie.avi"
// $output "H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy_Movie.avi",0,0);
VirtualDub.Append("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy_Credits.avi");
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy AC3 T01 3_2ch 384Kbps DELAY 0ms.ac3",0x00000203,0);
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.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("H:\\Movies\\The Bourne Supremacy\\The Bourne Supremacy.avi");
VirtualDub.Close();

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

6:08:56 μμ: Started Appending Credits and Muxing Audio.: H:\Movies\The Bourne Supremacy\The Bourne Supremacy_Movie.avi
6:10:51 μμ: Finished Appending Credits and Muxing Audio.: Duration: 1 minute, 54 seconds.

6:10:51 μμ: Done.
6:10:51 μμ: Movie = H:\Movies\The Bourne Supremacy\The Bourne Supremacy.avi
Total Encoding Time: 2 hours, 51 minutes, 45 seconds.
6/3/2005 6:10:51 μμ: Job " 1 - The Bourne Supremacy.avi" finished.
_____________________________________________________________________

============
LOG FILE ENDS
============

niamh
7th March 2005, 08:18
Something else that might help is that my processor's temperature riched 75 degrees Celsius during encoding, close to the "dangerous" zone..

I wouldn't look much further than that. You'd better open your case and stick a full size fan in front of your cpu :p. Overheating and overclocking wreak havoc with encoding.

Sharktooth
7th March 2005, 17:57
Overclocking kills encoding.
If you're going to encode something DO NOT OVERCLOCK.

jggimi
7th March 2005, 18:49
See Hardware problems / How to test system stability (http://forum.doom9.org/showthread.php?s=&threadid=54130).