Log in

View Full Version : Encoding Problems


dome
29th June 2003, 22:33
i notice 2 cosmetic bugs on what is otherwise a fabulous update and great new interface....
1) on the resolution tab the input aspect pixel ratio disappears (anamorphic/non anamorphic) and only reappears when you change the input resolution from PAL to NTSC and back again
2) The FPS box (bottom left hand corner) diappears also and when it reappears it's changed from PAL 25000 to NTSC 23970
when encoding the movie "Halloween"....
3) The Size Setting seems to respond ok but no matter how many times i set it at 1cd 700 mb and also put 700 mb in the total file size, it always comes out at exactly 865 mb.(which i notice is one of the other size settings that i don't select)This is with DiVX5.however, with XViD, the result is perfect as ever.I know that DiVX had issues of producing sizes too small with compressiblity tests of over 85% but 165 mb too big exactly ???
This is the log i got...what am i doing wrong ? (i think it's probable that i am at fault rather than the program or did i get a bum installation exe ? The movie i have is Halloween and it has a compressibilty test result of 84% of 2.3
I also notice that when it has finished encoding, the frame rate has changed (by itself) from 25 to 23.976

LOG:
03:01:54: Started DivX5-First Pass: C:\DVD\Rips\DVDVolume_VTS_02_PGC1\pro.avs
03:05:06: Finished DivX5-First Pass: Duration: 3 minutes, 11 seconds.
03:05:06: Trying to open Log-file.
03:05:06: Success: Log-file open.
03:05:06: Encoded: 5454 Frames.
03:05:06: Speed: 28.459 Frames per Second.
03:05:06: WARNING: Number of counted frames differs from settings!
03:05:06: WARNING: Settings: 130700
03:05:06: WARNING: Counted: 5454
03:05:06: WARNING: Difference: 125246
03:05:06: Correcting Bitrate...
03:05:06: Original Bitrate = 1405 k(=1000)Bits/s
03:05:06: Error: Correction impossible.
03:05:06: Now encoding at 1405 k(=1000)Bits/s

Adding this script to C:\Program Files\Gordian Knot\VirtualDubMod\LastJob.vcf :

// $job "DivX5-Second Pass"
// $input "C:\DVD\Rips\DVDVolume_VTS_02_PGC1\pro.avs"
// $output "C:\DVD\Rips\DVDVolume_VTS_02_PGC1\pro.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\DVD\\Rips\\DVDVolume_VTS_02_PGC1\\pro.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("C:\\DVD\\Rips\\DVDVolume_VTS_02_PGC1\\pro.avi");
VirtualDub.Close();

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

03:05:06: Started DivX5 - Pass: 2: C:\DVD\Rips\DVDVolume_VTS_02_PGC1\pro.avs
03:07:38: Finished DivX5 - Pass: 2: Duration: 2 minutes, 32 seconds.
03:07:38: Speed: 35.849 Frames per Second.

03:07:38: Done.
03:07:38: Movie = C:\DVD\Rips\DVDVolume_VTS_02_PGC1\pro.avi
Total Encoding Time: 5 minutes, 43 seconds.
29/06/2003 03:07:38: Job " 1" finished.

len0x
30th June 2003, 11:11
1) that's known and fixed already (pure *.ini error), but not released yet

2) probably the same translation problems as above, will check

3) just to make sure that initial settings are propagated to codec OK can you post "Calculator" section of the log file ?

dome
3rd July 2003, 00:04
unfortunately i deleted that log but i have since tried encoding several movies with divx5 (all a disaster) and xvid (all perfect)this is an example..i think this is the log you mean

Calculator:
VideoSize: 633616 kbyte.
Audio1Size: 69226 kbyte.
Audio2Size: 0 kbyte.
Overhead: 13956 kbyte.
AviSize: 716800 kbyte (700 mbyte).
FilesSize: 0 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving: vbrmp3
Bitrate: 586 k(=1000)Bits/s
Frames: 221531
FPS: 25.000
Duration: 227:41
Quality: 0.168 bits/(pixel*frame).
CompCheck3: 0.000 bits/(pixel*frame).
CompCheck5: 0.000 bits/(pixel*frame).
Resolution: 512 x 272

every time the program tries to recalculate the size i get an error message and it continues with the original calculation. It must be something i am doing wrong but i have no idea what because xvid produces no errors....

22:38:22: Started DivX5-First Pass: C:\COLOR_PURPLE1\VIDEO_TS\proj.avs
22:38:48: Finished DivX5-First Pass: Duration: 25 seconds.
22:38:48: Trying to open Log-file.
22:38:48: Success: Log-file open.
22:38:48: Encoded: 1165 Frames.
22:38:48: Speed: 44.861 Frames per Second.
22:38:48: WARNING: Number of counted frames differs from settings!
22:38:48: WARNING: Settings: 221531
22:38:48: WARNING: Counted: 1165
22:38:48: WARNING: Difference: 220366
22:38:48: Correcting Bitrate...
22:38:48: Original Bitrate = 586 k(=1000)Bits/s
22:38:48: Error: Correction impossible.
22:38:48: Now encoding at 586 k(=1000)Bits/s

and on another occasion....
22:20:35: Started DivX5-First Pass: C:\COLOR_PURPLE1\VIDEO_TS\proj.avs
22:23:29: Finished DivX5-First Pass: Duration: 2 minutes, 53 seconds.
22:23:29: Trying to open Log-file.
22:23:29: Success: Log-file open.
22:23:29: Encoded: 6051 Frames.
22:23:29: Speed: 34.917 Frames per Second.
23:23:29: WARNING: Number of counted frames differs from settings!
22:23:29: WARNING: Settings: 214894
22:23:29: WARNING: Counted: 6051
22:23:29: WARNING: Difference: 208843
22:23:29: Correcting Bitrate...
22:23:29: Original Bitrate = 500 k(=1000)Bits/s
22:23:29: Error: Correction impossible.
22:23:29: Now encoding at 500 k(=1000)Bits/s

obviously something is seriously wrong with the fram counting (it was the same movie) and also the recalculation for bitrates.

(these are obviously not full tests but i received the same error messages when i let the encoding complete both passes) i will post the log file when i encode the full movie tonight.

tHe gLouCh
3rd July 2003, 07:27
This problem may occurs when you mess with credits. Maybe you have try Divx5 with Credits before using XVid.