I captured a VHS video tape to an avi file with my WinTV card. I'm using DVD2SVCD to create a DVD from this AVI file. Audio extraction failed so I opened the AVI file in VirtualDub 1.5.10 and saved the audio as a wav. The audio was captured at 48000.
Next I used BeSweet 1.5.26 to encode the wav to an mp2 using the same command line used by DVD2SVCD. The resulting mp2 plays fine in Windows Media Player and is the same time length as the AVI.
However, when DVD2SVCD uses mplex to mux the audio and video, the audio stops short of the end. Here's the mplex output:
INFO: [???] mplex version 2.0.0 (2.2.3 $Date: 2004/01/13 20:45:26 $)
INFO: [???] File C:\Video\Daryl_Encyclopedia.of.Card.Sleights_Vol.2_VHSDub.D D\Encoded_Video_TMPGEnc_NTSC.mpv looks like an MPEG Video stream.
INFO: [???] File C:\Video\Daryl_Encyclopedia.of.Card.Sleights_Vol.2_VHSDub.D
D\Encoded_audio_1.mp2 looks like an MPEG Audio stream.
INFO: [???] Video stream 0: profile 8 selected - ignoring non-standard optio
s!
INFO: [???] Found 1 audio streams and 1 video streams
INFO: [???] Selecting dvdauthor DVD output profile
INFO: [???] Multiplexing video program stream!
INFO: [???] Scanning for header info: Video stream e0 (C:\Video\Daryl_Encycl
pedia.of.Card.Sleights_Vol.2_VHSDub.DVD\Encoded_Video_TMPGEnc_NTSC.mpv)
INFO: [???] VIDEO STREAM: e0
INFO: [???] Frame width : 720
INFO: [???] Frame height : 480
INFO: [???] Aspect ratio : 4:3 display
INFO: [???] Picture rate : 29.970 frames/sec
INFO: [???] Bit rate : 8000000 bits/sec
INFO: [???] Vbv buffer size : 229376 bytes
INFO: [???] CSPF : 0
INFO: [???] Scanning for header info: Audio stream c0 (C:\Video\Daryl_Encycl
pedia.of.Card.Sleights_Vol.2_VHSDub.DVD\Encoded_audio_1.mp2)
INFO: [???] MPEG AUDIO STREAM: c0
INFO: [???] Audio version : 1.0
INFO: [???] Layer : 2
INFO: [???] CRC checksums : yes
INFO: [???] Bit rate : 24576 bytes/sec (192 kbit/sec)
INFO: [???] Frequency : 48000 Hz
INFO: [???] Mode : 0 stereo
INFO: [???] Mode extension : 0
INFO: [???] Copyright bit : 0 no copyright
INFO: [???] Original/Copy : 0 copy
INFO: [???] Emphasis : 0 none
INFO: [???] SYSTEMS/PROGRAM stream:
INFO: [???] rough-guess multiplexed stream data rate : 8365848
INFO: [???] target data-rate specified : 10080000
INFO: [???] Setting specified specified data rate: 10080000
INFO: [???] Run-in Sectors = 89 Video delay = 13019 Audio delay = 0
INFO: [???] New sequence commences...
INFO: [???] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [???] Audio c0: buf= 4096 frame=000000 sector=00000000
++ WARN: [???] Data follows end of last recogniseable MPEG audio frame - bad st
eam?
INFO: [???] STREAM c0 completed @ frame 1156.
INFO: [???] Scanned to end AU 152739
INFO: [???] STREAM e0 completed @ frame 152739.
INFO: [???] Multiplex completion at SCR=458659254.
INFO: [???] Video e0: buf= 5371 frame=152739 sector=02284719
INFO: [???] Audio c0: buf= 4096 frame=001156 sector=00000330
INFO: [???] VIDEO_STATISTICS: e0
INFO: [???] Video Stream length: 318436095 bytes
INFO: [???] Sequence headers: 12816
INFO: [???] Sequence ends : 1
INFO: [???] No. Pictures : 152739
INFO: [???] No. Groups : 12816
INFO: [???] No. I Frames : 12816 avg. size 91967 bytes
INFO: [???] No. P Frames : 25539 avg. size 59952 bytes
INFO: [???] No. B Frames : 114385 avg. size 16642 bytes
INFO: [???] Average bit-rate : 7241600 bits/sec
INFO: [???] Peak bit-rate : 8978400 bits/sec
INFO: [???] BUFFERING min 15 Buf max 134306
INFO: [???] AUDIO_STATISTICS: c0
INFO: [???] Audio stream length 666432 bytes.
INFO: [???] Syncwords : 1157
INFO: [???] Frames : 1157 padded
INFO: [???] Frames : 0 unpadded
INFO: [???] BUFFERING min 15 Buf max 587
INFO: [???] MUX STATUS: no under-runs detected.
The line of importance is this:
++ WARN: [???] Data follows end of last recogniseable MPEG audio frame - bad stream?
I tried muxing the file in TMPGEnc but got an error there as well. How can I fix my audio file?
Thanks,
Drew
|