Log in

View Full Version : video too short by an hour, ac3 xvid to dvd w/subs


VegasF6
19th December 2004, 20:11
OK I give up, I have looked and looked for a solution to this, and encoded this video at least 10 times. I have used d2sroba, and not used it, changed my cd size from 4350 to 4464 in roba, in dvd2svcd, and in both together. Encoded with subs in .srt, and tried in .sub. Also tried with NO subs.

I have an xvid file with .ac3 audio in 2 pieces (with subtitles). I start vdub, and simply append the file, and start submax and join the .srt file to one. I also tried converting the .srt to .sub microdvd like I had read in another thread. None of that seemed to fix my problem. I am trying yet again right now, so my log isn't availible for another couple hours or so.

Anyhow, here is what happens. My video should be 2:15.11 and audio the same. As soon as cce encodes this each video is still all there, but when I play it, it falsely reports 1:14.15. But, the whole video is there. I also play the .ac3 file, and it is all there and correctly reports its length. (this is both extracted audio.ac3 and encoded audio.ac3) I am using the option do not convert audio, use source audio, so this is as it should be.

Then, when mplex_muxed_file00.mpg is created, the size is only 2.2 gigs, and the video length is cut down to 1:01.56 This is the reported lenght of that video segment, and when I play it, it is actually whats there, about half of the movie is missing. This also seems to be the point where virtual dub appended them. Obviously, from there, things go horribly wrong. The subsequent file, mplex_muxed_file00-subbed.mpg is the same length as the prior non subbed version. My .vobs are then created and of course are too short, as per the dvdimage.iso file.


So, apparently I am doing something wrong. It is either that I am joining them wrong in virtual dub, or, there is a problem with the subs, or a problem with the .ac3 file.

The original video frame rate is 23.976 so of course the same is true of my subs and my audio. In sub max I can choose to change the subs to 29.97, should I? I have been leaving them as 23.976. Also, the audio is 23.976. So, when dvd2svcd runs 3:2 pulldown, is it converting the video to 30 fps and not converting the subs and audio??

Like I said, I will post a log file later, but here is a log from bsplit, I ran the .ac3 through there to see if it would tell me anything, and this may be an anomoly.

BeSplit v0.82 by DSPguru.
--------------------------
Logging start : 12/19/04 , 10:46:39.

C:\BeSplitv0.82\BeSplit.exe -core( -input J:\Video Tools\dvd2svcd output\Encoded_audio_1.ac3 -prefix J:\Video Tools\dvd2svcd output\Encoded_audio_1_Fixed -fix -logfile C:\DOCUME~1\Chris\LOCALS~1\Temp\BeSliced.txt -type ac3 ) -profile( BeSliced v0.2 )

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : J:\Video Tools\dvd2svcd output\Encoded_audio_1.ac3
[00:00:00:000] | Output Prefix : J:\Video Tools\dvd2svcd output\Encoded_audio_1_Fixed
[00:00:00:000] +---------------------
[01:01:57:152] Stream error : Sync found after 1787 bytes
[02:15:11:712] | Writing J:\Video Tools\dvd2svcd output\Encoded_audio_1_Fixed01.ac3
[02:15:11:712] +---------------------
[02:15:11:712] Operation Completed !
[00:04:06:000] <-- Process Duration
Logging ends : 12/19/04 , 10:50:45.

VegasF6
21st December 2004, 02:22
Ok here is that log I promised, any help here would be greatly appreciated guys!

WNASPI32.DLL 0.0.0.0
--------------------------------------------------------
- 12/19/2004 10:31:45 AM
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
- C:\Video Tools\another silmado\silmado.avi
Initializing finished.

--------------------------------------------------------
- 12/19/2004 10:31:47 AM
- Free on drive C: 6710.86 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 12/19/2004 10:33:37 AM
- Free on drive C: 6710.86 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 12/19/2004 10:33:39 AM
- Free on drive C: 6710.86 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: C:\Video Tools\dvd2svcd output\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\Video Tools\dvd2svcd output\Extracted_audio_1.ac3" -output "C:\VIDEOT~1\DVD2SV~1\Encoded_audio_1.ac3" -payload -logfile "C:\VIDEOT~1\DVD2SV~1\Encoded_audio_1.log" )
Audio conversion of C:\Video Tools\dvd2svcd output\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 12/19/2004 10:35:22 AM
- Free on drive C: 6710.82 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 4546875788
AudioSectors: 2324
VideoPAPO: 70433496
ScanOffsetBytes: 291734
SeqAligningBytes: 18541285
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4457606945.83
Seconds: 8113.82
CalcMPEGStream: 4457606945.83
Frames: 194489
CDSize: 4350.00
Number of CDs: 1
Cut point 4346.00
Variable Settings:
Frames: 194489
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: 4395
Aspect Ratio: Anamorphic (no borders, encoded as 16:9)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("C:\VIDEOT~1\ANOTHE~1\silmado.avi",audio=false)
ConvertToYUY2()
Import("C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs")
LanczosResize(720,362)
AddBorders(0,59,0,59)
Import("C:\Video Tools\dvd2svcd output\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----

--------------------------------------------------------
- 12/19/2004 12:25:47 PM
- AVI to SVCD Conversion
- AVI2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
-
Initializing finished.

--------------------------------------------------------
- 12/19/2004 12:25:47 PM
- Free on drive C: 6277.45 mb
- Restarting from: Pulldown
--------------------------------------------------------
- 12/19/2004 12:25:50 PM
- Free on drive C: 10526.96 mb
- Video Pulldown
--------------------------------------------------------
Executing Pulldown. Commandline:
"C:\Program Files\DVD2SVCD\pulldown\pulldown.exe" "C:\Video Tools\dvd2svcd output\Encoded_Video_CCE_NTSC.mpv" "C:\Video Tools\dvd2svcd output\Pulldown_Encoded_Video_NTSC.mpv" -prog_frames p
Video pulldown finished.

--------------------------------------------------------
- 12/19/2004 12:36:28 PM
- Free on drive C: 6277.49 mb
- Multiplexing Audio and Video
--------------------------------------------------------
Executing MPlex. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\mplex.exe" -f 8 -o "C:\Video Tools\dvd2svcd output\MPlex_Muxed_File00.mpg" "C:\Video Tools\dvd2svcd output\Pulldown_Encoded_Video_NTSC.mpv" "C:\Video Tools\dvd2svcd output\Encoded_audio_1.ac3"
--------------------------------------------------------
- 12/19/2004 12:43:14 PM
- Free on drive C: 6277.47 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: C:\Video Tools\dvd2svcd output\MPlex_Muxed_File00.mpg
3715.344 seconds C:\Video Tools\dvd2svcd output\MPlex_Muxed_File00.mpg
Analyzing finished.

Saving Subtitle Timecodes.
SVCD subtitles.
Length of C:\Video Tools\dvd2svcd output\MPlex_Muxed_File00.mpg
3715
--------------------------------------------------------
- 12/19/2004 12:45:19 PM
- Free on drive C: 8486.45 mb
- Authoring DVD
--------------------------------------------------------
Executing DVDAuthor. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\dvdauthor.exe" -x "C:\Video Tools\dvd2svcd output\DVDAuthor.xml"
--------------------------------------------------------
- 12/19/2004 12:53:29 PM
- Free on drive C: 6278.65 mb
- Creating DVD ISO Image
--------------------------------------------------------
Executing MkIsoFs. Commandline:
"C:\Program Files\DVD2SVCD\DVDAuthor\mkisofs.exe" -o "C:\Video Tools\dvd2svcd output\DVDImage.iso" -publisher "DVD2SVCD" -volid "" -dvd-video "C:\Video Tools\dvd2svcd output\DVD-Files"
Image creation finished.

--------------------------------------------------------
- 12/19/2004 12:57:57 PM
- Free on drive C: 6279.89 mb
- Conversion done!
--------------------------------------------------------

Matthew
21st December 2004, 07:30
It's not uncommon for there to be corruption at the join point with CD2 AC3s (stream error in besplit log). You need to fix the AC3 and remux it back in to the joined avi. I recommend using delaycut to replace the bad frame with silence. Besplit just deletes it.

VegasF6
29th December 2004, 08:18
I ended up doing it just a little different, I extracted the audio and repaired it, then encoded the video with tmpeg and muxed it back together in dvd-lab pro. But, still I wouldn't have been able to figure it out without your suggestion, thanks!!
VegasF6