Yakuza965
23rd December 2005, 11:36
I have a couple of avi files which I encoded myself using AGK. They play fine from start to finish, but when I convert them to DVD using D2SRoba the sound always cuts out at the same place at the end.
I believe this may be caused by what GSpot reports as "garbage" at the end of the file. The latest beta of GSpot says "Garbage at end" in the container info box. None of my other avi's say this apart from the two I've had sound trouble with converting.
Here are the D2SRoba log and DVD2SVCD log files.
--------------------------------------------------------
D2SRoBa v3.80, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.1.1.0
- 2005-12-17 18:52:31
--------------------------------------------------------
- INI file : C:\Program Files\DVD2SVCD\Tylo\D2SRoBa.ini
- Output type : DVD
- CD size : 4400
- Sample file size : 1.0% (delete previous: Yes)
- Adjust estimated : 1.4% (accuracy tweak: Yes)
- Sizing pass : Encode (1 pass) if opv pass < -4.0% from target, or Q > 40
Transcode (ReJig) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : No
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window, or 'Ripping done' message box...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2005-12-17 18:56:16
- Copying D2SRoBa.ini to project dir C:\Program Files\DVD2SVCD\Movie\
- Avisynth setup: LanczosResize
- D2S ver. 1.2.3.1, CCE ver. 2.50.1.0
- Setting process priority 1
--------------------------------------------------------
- Movie length : 02:07:02 (190551 frames, 25 fps)
- D2S audio select : 362 + 0 kbps
- D2S video calc. : 4348 kbps, 1 CDs
- Select ranges : every 1200, select 12 frames
- Sample frames : 1908
--------------------------------------------------------
Calculations:
- 1 CD: video_br=4348 (4348) audio_br=362+0 video_sz=4142578740 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 4348 (max 8000) kbps, size=4142578740 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=18 : 4709 kbps, err=8.3%, size=4487367771, sample sz=45570300
- Sample enc. Q=20 : 4348 kbps, err=0%, size=4143359777, sample sz=42076816
--------------------------------------------------------
- Determined Q : 20 = Round(20 + (0/4.2)) with 1.4% adjustment.
--------------------------------------------------------
- 2005-12-17 18:59:06
- Start movie OPV encoding (Q 20)
- OPV pass result: 100.3% on target, 4361 kbps (4155249064 / 4142578740) Speed: 2.26
--------------------------------------------------------
- 2005-12-17 19:55:27
- Executing: "C:\Program Files\DVD-RB PRO\Encoders\ReJig\ReJig.exe" -level 99.7 -o "C:\Program Files\DVD2SVCD\Movie\Encoded_Video_CCE_PAL.mpv" -i "C:\Program Files\DVD2SVCD\Movie\Encoded_Video_CCE_PAL.oversz.mpv" -auto -close
- Transcoding pass: 100% on target, 4347 kbps (4142521057 / 4142578740) Speed: 28.44
--------------------------------------------------------
- 2005-12-17 19:59:58
- Recover DVD2SVCD: Muxing
--------------------------------------------------------
- 2005-12-17 21:36:00
- D2SRoBa successfully finished
--------------------------------------------------------
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 17/12/2005 18:52:40
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.3 build 1
--------------------------------------------------------
Initializing
- C:\Documents and Settings\HP_Owner\Desktop\40yo.avi
Initializing finished.
--------------------------------------------------------
- 17/12/2005 18:52:43
- Free on drive C: 87022.17 mb
- AUDIO Extraction
--------------------------------------------------------
Checking C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3
Audio extraction finished.
--------------------------------------------------------
- 17/12/2005 18:54:42
- Free on drive C: 86768.77 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 17/12/2005 18:54:45
- Free on drive C: 86768.77 mb
- AUDIO conversion
--------------------------------------------------------
Encoding Audio. Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3" -output "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.ac3" -payload -logfile "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log" )
Audio conversion of C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3 finished.
Audio conversion finished.
--------------------------------------------------------
- 17/12/2005 18:55:28
- Free on drive C: 86439.63 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Executing Cinema Craft Encoder.
StreamSectors: 4599165788
AudioSectors: 370903428
VideoPAPO: 65498040
ScanOffsetBytes: 285827
SeqAligningBytes: 18165862
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4144312627.50
Seconds: 7624.04
CalcMPEGStream: 4144312627.50
Frames: 190551
CDSize: 4400.00
Number of CDs: 1
Cut point 4396.00
Variable Settings:
Frames: 190551
Anti Noise Filter: Off
Passes: 3
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 800
Max. bitrate: 8000
Avg. Bitrate: 4348
Aspect Ratio: 16:9 (borders added, encoded as 4:3)
---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\dgindex\DGDecode.dll")
AVISource("C:\DOCUME~1\HP_Owner\Desktop\40yo.avi",audio=false)
ConvertToYUY2()
Import("C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs")
LanczosResize(720,432)
AddBorders(0,72,0,72)
Import("C:\Program Files\DVD2SVCD\Movie\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----
--------------------------------------------------------
- 17/12/2005 20:00:04
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.3 build 1
--------------------------------------------------------
Initializing
-
Initializing finished.
--------------------------------------------------------
- 17/12/2005 20:00:04
- Free on drive C: 82358.68 mb
- Restarting from: Muxing and Cutting
--------------------------------------------------------
- 17/12/2005 20:00:06
- Free on drive C: 82358.68 mb
- Multiplexing Audio and Video
--------------------------------------------------------
Executing MPlex. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\mplex.exe" -f 8 -o "C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg" "C:\Program Files\DVD2SVCD\Movie\Encoded_Video_CCE_PAL.mpv" "C:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.ac3"
--------------------------------------------------------
- 17/12/2005 20:06:31
- Free on drive C: 77980.95 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg
7190.144 seconds C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg
Analyzing finished.
--------------------------------------------------------
- 17/12/2005 20:08:51
- Free on drive C: 82371.31 mb
- Authoring DVD
--------------------------------------------------------
Executing DVDAuthor. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\dvdauthor.exe" -x "C:\Program Files\DVD2SVCD\Movie\DVDAuthor.xml"
Image creation finished.
--------------------------------------------------------
- 17/12/2005 20:16:49
- Free on drive C: 77993.43 mb
- Conversion done!
--------------------------------------------------------
I have tried fixing the file with DivFix but all it ever comes up with is I/O error 131 - can't seem to make it do anything else! I've also tried the VDub suggestion from the stickies for problems specific to avi. No success with that either.
I've checked the audio that was extracted from the file by DVD2SVCD and it's seven minutes too short - which is clearly why it cuts out.
Anybody any ideas where this problem is arising from, and how I can fix it?
(Sorry for the disgustingly long first post!)
I believe this may be caused by what GSpot reports as "garbage" at the end of the file. The latest beta of GSpot says "Garbage at end" in the container info box. None of my other avi's say this apart from the two I've had sound trouble with converting.
Here are the D2SRoba log and DVD2SVCD log files.
--------------------------------------------------------
D2SRoBa v3.80, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.1.1.0
- 2005-12-17 18:52:31
--------------------------------------------------------
- INI file : C:\Program Files\DVD2SVCD\Tylo\D2SRoBa.ini
- Output type : DVD
- CD size : 4400
- Sample file size : 1.0% (delete previous: Yes)
- Adjust estimated : 1.4% (accuracy tweak: Yes)
- Sizing pass : Encode (1 pass) if opv pass < -4.0% from target, or Q > 40
Transcode (ReJig) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : No
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window, or 'Ripping done' message box...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2005-12-17 18:56:16
- Copying D2SRoBa.ini to project dir C:\Program Files\DVD2SVCD\Movie\
- Avisynth setup: LanczosResize
- D2S ver. 1.2.3.1, CCE ver. 2.50.1.0
- Setting process priority 1
--------------------------------------------------------
- Movie length : 02:07:02 (190551 frames, 25 fps)
- D2S audio select : 362 + 0 kbps
- D2S video calc. : 4348 kbps, 1 CDs
- Select ranges : every 1200, select 12 frames
- Sample frames : 1908
--------------------------------------------------------
Calculations:
- 1 CD: video_br=4348 (4348) audio_br=362+0 video_sz=4142578740 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 4348 (max 8000) kbps, size=4142578740 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=18 : 4709 kbps, err=8.3%, size=4487367771, sample sz=45570300
- Sample enc. Q=20 : 4348 kbps, err=0%, size=4143359777, sample sz=42076816
--------------------------------------------------------
- Determined Q : 20 = Round(20 + (0/4.2)) with 1.4% adjustment.
--------------------------------------------------------
- 2005-12-17 18:59:06
- Start movie OPV encoding (Q 20)
- OPV pass result: 100.3% on target, 4361 kbps (4155249064 / 4142578740) Speed: 2.26
--------------------------------------------------------
- 2005-12-17 19:55:27
- Executing: "C:\Program Files\DVD-RB PRO\Encoders\ReJig\ReJig.exe" -level 99.7 -o "C:\Program Files\DVD2SVCD\Movie\Encoded_Video_CCE_PAL.mpv" -i "C:\Program Files\DVD2SVCD\Movie\Encoded_Video_CCE_PAL.oversz.mpv" -auto -close
- Transcoding pass: 100% on target, 4347 kbps (4142521057 / 4142578740) Speed: 28.44
--------------------------------------------------------
- 2005-12-17 19:59:58
- Recover DVD2SVCD: Muxing
--------------------------------------------------------
- 2005-12-17 21:36:00
- D2SRoBa successfully finished
--------------------------------------------------------
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 17/12/2005 18:52:40
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.3 build 1
--------------------------------------------------------
Initializing
- C:\Documents and Settings\HP_Owner\Desktop\40yo.avi
Initializing finished.
--------------------------------------------------------
- 17/12/2005 18:52:43
- Free on drive C: 87022.17 mb
- AUDIO Extraction
--------------------------------------------------------
Checking C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3
Audio extraction finished.
--------------------------------------------------------
- 17/12/2005 18:54:42
- Free on drive C: 86768.77 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 17/12/2005 18:54:45
- Free on drive C: 86768.77 mb
- AUDIO conversion
--------------------------------------------------------
Encoding Audio. Filename: C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3" -output "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.ac3" -payload -logfile "C:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log" )
Audio conversion of C:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3 finished.
Audio conversion finished.
--------------------------------------------------------
- 17/12/2005 18:55:28
- Free on drive C: 86439.63 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Executing Cinema Craft Encoder.
StreamSectors: 4599165788
AudioSectors: 370903428
VideoPAPO: 65498040
ScanOffsetBytes: 285827
SeqAligningBytes: 18165862
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4144312627.50
Seconds: 7624.04
CalcMPEGStream: 4144312627.50
Frames: 190551
CDSize: 4400.00
Number of CDs: 1
Cut point 4396.00
Variable Settings:
Frames: 190551
Anti Noise Filter: Off
Passes: 3
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 800
Max. bitrate: 8000
Avg. Bitrate: 4348
Aspect Ratio: 16:9 (borders added, encoded as 4:3)
---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\dgindex\DGDecode.dll")
AVISource("C:\DOCUME~1\HP_Owner\Desktop\40yo.avi",audio=false)
ConvertToYUY2()
Import("C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs")
LanczosResize(720,432)
AddBorders(0,72,0,72)
Import("C:\Program Files\DVD2SVCD\Movie\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----
--------------------------------------------------------
- 17/12/2005 20:00:04
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.3 build 1
--------------------------------------------------------
Initializing
-
Initializing finished.
--------------------------------------------------------
- 17/12/2005 20:00:04
- Free on drive C: 82358.68 mb
- Restarting from: Muxing and Cutting
--------------------------------------------------------
- 17/12/2005 20:00:06
- Free on drive C: 82358.68 mb
- Multiplexing Audio and Video
--------------------------------------------------------
Executing MPlex. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\mplex.exe" -f 8 -o "C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg" "C:\Program Files\DVD2SVCD\Movie\Encoded_Video_CCE_PAL.mpv" "C:\Program Files\DVD2SVCD\Movie\Encoded_audio_1.ac3"
--------------------------------------------------------
- 17/12/2005 20:06:31
- Free on drive C: 77980.95 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg
7190.144 seconds C:\Program Files\DVD2SVCD\Movie\MPlex_Muxed_File00.mpg
Analyzing finished.
--------------------------------------------------------
- 17/12/2005 20:08:51
- Free on drive C: 82371.31 mb
- Authoring DVD
--------------------------------------------------------
Executing DVDAuthor. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\dvdauthor.exe" -x "C:\Program Files\DVD2SVCD\Movie\DVDAuthor.xml"
Image creation finished.
--------------------------------------------------------
- 17/12/2005 20:16:49
- Free on drive C: 77993.43 mb
- Conversion done!
--------------------------------------------------------
I have tried fixing the file with DivFix but all it ever comes up with is I/O error 131 - can't seem to make it do anything else! I've also tried the VDub suggestion from the stickies for problems specific to avi. No success with that either.
I've checked the audio that was extracted from the file by DVD2SVCD and it's seven minutes too short - which is clearly why it cuts out.
Anybody any ideas where this problem is arising from, and how I can fix it?
(Sorry for the disgustingly long first post!)