Ok, I think I found a bug in DVD2OGMs bitrate calculator. For whatever reason, DVD2OGM thinks that AC3 audio is smaller than even q2 OGG or 64kbps MP3, because if you select the AC3 radio button over OGG or MP3, you get a higher resulting bitrate. But when you actually encode the movie, DVD2OGM finds out how big the audio really is and then recalculates a much smaller bitrate to really encode at.
For instance, I was encoding a movie just now. The bitrate calculator said the bitrate would be about 895kbps with muxed AC3 (814 with q2 OGG). After I had started the encode, and the video was on its second pass, I went back and was looking through the log. DVD2OGM looked at the AC3, found out it was however many bytes, and then recalculated the bitrate to 456kbps. It cut the bitrate by more than half. Obviously, the resulting video with a resolution of 640x336 looked like crap.
Clearly, DVD2OGM doesn't calculate bitrate properly when AC3 is selected.
Here's a copy of the log (there is an error at the end because I cancelled the file):
---------------------------------
DVDtoOgm - Encoding Job:
Encoding Video 2-pass, 1st pass: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
Encoding Video 2-pass, 2nd pass: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
Muxing Ogm Inputs: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
DVDtoOgm 1.35.2 beta
Encoding Log File:
Files:
Sorce File C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.d2v
Final Movie-File: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
Movie File: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi
AVS-File: C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs
Job Settings:
Mux Audio & Video: true
Delete Files: true
Write Log File: true
Enc. Credits sep.: false
Video Codec: DivX
Calculate Bitrate:
Audio 1 Size: 0 KB
Audio 2 Size: 0 KB
Final Ogm Size: 716800 KB
Add File Size: 0 KB
Bitrate: 895
Frames: 154234
Framerate: 23.976
Movie Duration: 1 : 47 : 13
Resolution: 512 x 304
Audio 1 Information:
Audio 1 Comment: English
Audio 1 Re-Calc.: true
Audio 1 Fin. File: C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator AC3 T01 3_2ch 448Kbps DELAY 3ms.ac3
Commandline:
Audio 2 Information:
No Audio processing!
Start Encoding Progress:
[1:59:12 PM]: Audio 1 final Filesize: 351804 KB
[1:59:12 PM]: Re-Calculate Bitrate: 456 kbps
[1:59:12 PM]: Adding this Script to VirtualDubMod.jobs:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//
// $job "DVDtoOgm - Encoding Job"
// $input "C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs"
// $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator.avs",0,0);
VirtualDub.RemoveInputStreams();
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:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
[1:59:12 PM]: Start Encoding Video - 2pass, 1st-pass
[3:24:33 PM]: Finished Encoding Video - 2pass, 1st-pass
[3:24:33 PM]: Adding this Script to VirtualDubMod.jobs:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//
// $job "DVDtoOgm - Encoding Job"
// $input "C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs"
// $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator.avs",0,0);
VirtualDub.RemoveInputStreams();
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:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
[3:24:33 PM]: Start Encoding Video - 2pass, 2nd-pass
[3:40:47 PM]: Finished Encoding Video - 2pass, 2nd-pass
[3:40:47 PM]: Adding this Script to VirtualDubMod.jobs:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//
// $job "DVDtoOgm - Muxing Job"
// $input "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
// $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator AC3 T01 3_2ch 448Kbps DELAY 3ms.ac3",0x00000203);
VirtualDub.stream[0].AddComment(0x00010000,"","English");
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.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.stream[1].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\Terminator French subtitles.srt",0x00000301);
VirtualDub.stream[1].AddComment(0x00010000,"","French");
VirtualDub.stream[1].SetMode(0);
VirtualDub.stream[1].SetInterleave(1,500,1,0,0);
VirtualDub.stream[1].SetClipMode(1,1);
VirtualDub.stream[1].SetConversion(0,0,0,0,0);
VirtualDub.stream[1].SetVolume();
VirtualDub.stream[1].SetCompression();
VirtualDub.stream[1].EnableFilterGraph(0);
VirtualDub.stream[1].filters.Clear();
VirtualDub.stream[2].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\Terminator Spanish subtitles.srt",0x00000301);
VirtualDub.stream[2].AddComment(0x00010000,"","Spanish");
VirtualDub.stream[2].SetMode(0);
VirtualDub.stream[2].SetInterleave(1,500,1,0,0);
VirtualDub.stream[2].SetClipMode(1,1);
VirtualDub.stream[2].SetConversion(0,0,0,0,0);
VirtualDub.stream[2].SetVolume();
VirtualDub.stream[2].SetCompression();
VirtualDub.stream[2].EnableFilterGraph(0);
VirtualDub.stream[2].filters.Clear();
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.SaveOGM("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
[3:40:47 PM]: Start Muxing Audio, Video & Ogm Inputs
[3:41:07 PM]: Finished Muxing Audio, Video & Ogm Inputs
[3:41:07 PM]: ERROR: Final movie size is smaller than intermediate file size! Not deleting intermediate Files!
Job Finished - End of Log-File
For instance, I was encoding a movie just now. The bitrate calculator said the bitrate would be about 895kbps with muxed AC3 (814 with q2 OGG). After I had started the encode, and the video was on its second pass, I went back and was looking through the log. DVD2OGM looked at the AC3, found out it was however many bytes, and then recalculated the bitrate to 456kbps. It cut the bitrate by more than half. Obviously, the resulting video with a resolution of 640x336 looked like crap.
Clearly, DVD2OGM doesn't calculate bitrate properly when AC3 is selected.
Here's a copy of the log (there is an error at the end because I cancelled the file):
---------------------------------
DVDtoOgm - Encoding Job:
Encoding Video 2-pass, 1st pass: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
Encoding Video 2-pass, 2nd pass: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
Muxing Ogm Inputs: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
DVDtoOgm 1.35.2 beta
Encoding Log File:
Files:
Sorce File C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.d2v
Final Movie-File: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm
Movie File: C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi
AVS-File: C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs
Job Settings:
Mux Audio & Video: true
Delete Files: true
Write Log File: true
Enc. Credits sep.: false
Video Codec: DivX
Calculate Bitrate:
Audio 1 Size: 0 KB
Audio 2 Size: 0 KB
Final Ogm Size: 716800 KB
Add File Size: 0 KB
Bitrate: 895
Frames: 154234
Framerate: 23.976
Movie Duration: 1 : 47 : 13
Resolution: 512 x 304
Audio 1 Information:
Audio 1 Comment: English
Audio 1 Re-Calc.: true
Audio 1 Fin. File: C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator AC3 T01 3_2ch 448Kbps DELAY 3ms.ac3
Commandline:
Audio 2 Information:
No Audio processing!
Start Encoding Progress:
[1:59:12 PM]: Audio 1 final Filesize: 351804 KB
[1:59:12 PM]: Re-Calculate Bitrate: 456 kbps
[1:59:12 PM]: Adding this Script to VirtualDubMod.jobs:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//
// $job "DVDtoOgm - Encoding Job"
// $input "C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs"
// $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator.avs",0,0);
VirtualDub.RemoveInputStreams();
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:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
[1:59:12 PM]: Start Encoding Video - 2pass, 1st-pass
[3:24:33 PM]: Finished Encoding Video - 2pass, 1st-pass
[3:24:33 PM]: Adding this Script to VirtualDubMod.jobs:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//
// $job "DVDtoOgm - Encoding Job"
// $input "C:\Documents and Settings\Name\My Documents\My DVDs\DVD\The Terminator.avs"
// $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator.avs",0,0);
VirtualDub.RemoveInputStreams();
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:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
[3:24:33 PM]: Start Encoding Video - 2pass, 2nd-pass
[3:40:47 PM]: Finished Encoding Video - 2pass, 2nd-pass
[3:40:47 PM]: Adding this Script to VirtualDubMod.jobs:
// VirtualDub job list (Sylia script format)
// This is a program generated file -- edit at your own risk.
//
// $numjobs 1
//
// $job "DVDtoOgm - Muxing Job"
// $input "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi"
// $output "C:\Documents and Settings\All Users\Documents\Shared DVDs\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script
VirtualDub.Open("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs)_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\The Terminator AC3 T01 3_2ch 448Kbps DELAY 3ms.ac3",0x00000203);
VirtualDub.stream[0].AddComment(0x00010000,"","English");
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.stream[0].EnableFilterGraph(0);
VirtualDub.stream[0].filters.Clear();
VirtualDub.stream[1].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\Terminator French subtitles.srt",0x00000301);
VirtualDub.stream[1].AddComment(0x00010000,"","French");
VirtualDub.stream[1].SetMode(0);
VirtualDub.stream[1].SetInterleave(1,500,1,0,0);
VirtualDub.stream[1].SetClipMode(1,1);
VirtualDub.stream[1].SetConversion(0,0,0,0,0);
VirtualDub.stream[1].SetVolume();
VirtualDub.stream[1].SetCompression();
VirtualDub.stream[1].EnableFilterGraph(0);
VirtualDub.stream[1].filters.Clear();
VirtualDub.stream[2].SetSource("C:\\Documents and Settings\\Name\\My Documents\\My DVDs\\DVD\\Terminator Spanish subtitles.srt",0x00000301);
VirtualDub.stream[2].AddComment(0x00010000,"","Spanish");
VirtualDub.stream[2].SetMode(0);
VirtualDub.stream[2].SetInterleave(1,500,1,0,0);
VirtualDub.stream[2].SetClipMode(1,1);
VirtualDub.stream[2].SetConversion(0,0,0,0,0);
VirtualDub.stream[2].SetVolume();
VirtualDub.stream[2].SetCompression();
VirtualDub.stream[2].EnableFilterGraph(0);
VirtualDub.stream[2].filters.Clear();
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.SaveOGM("C:\\Documents and Settings\\All Users\\Documents\\Shared DVDs\\The Terminator (DVD rip, DivX, Eng AC3, w Fre and Spa subs).ogm");
VirtualDub.Close();
// $endjob
//
//--------------------------------------------------
// $done
[3:40:47 PM]: Start Muxing Audio, Video & Ogm Inputs
[3:41:07 PM]: Finished Muxing Audio, Video & Ogm Inputs
[3:41:07 PM]: ERROR: Final movie size is smaller than intermediate file size! Not deleting intermediate Files!
Job Finished - End of Log-File
Comment