Audio cut short?

Discussion about Avi2Dvd.
Requests and bug fixing.

Moderators: george, roger_rabbit, reburn, Excalibur!, skyheartblue

Post Reply
ebeighe
Junior Member
Posts: 2
Joined: Sun Apr 30, 2006 8:18 pm

Audio cut short?

Post by ebeighe »

hi there.
I am converting a .wmv (I made with Windows Movie Maker) to DVD.
Everything appeared to work just fine... but when I played it, the audio stopped after about 1 minute -- the movie is about 6 minutes long.

There are no errors in the log file.

I noticed afterward that the audio file that is left over in the avi2dvdtemp folder is truncated, that is it is only about a minute long.

Any help would be appreciated.
ebeighe
Junior Member
Posts: 2
Joined: Sun Apr 30, 2006 8:18 pm

log file

Post by ebeighe »

One thing is strange -- the length/size of the audio file "AudioStream 1 WMA 0CH.ac3" is different each time I run avi2dvd. For example, in the log below, it was about 10MBytes (which turned out to be 153 seconds)... usually it is around 5MBytes (about 70 seconds), it is always different.

here is the log file:

Code: Select all

[7:46:34 PM] AVI2DVD Started !
[7:46:34 PM] Type mode : Avi Input
[7:46:34 PM] Output : Dvd
[7:46:34 PM] Encoder Selected : Other External Encoder
[7:46:35 PM] Start demuxing the AudioStream No.1 ...
[7:46:38 PM] Demuxing of the selected audio finished 
successfully ! 
[E:\Schoolvid\Avi2dvd_temp\Extracted_Audio.wav 
40214574 Bytes]
[7:46:38 PM] Audio extracted renamed successfully ! 
[E:\Schoolvid\Avi2dvd_temp\Fixed_Audio01.wav 
40214574 Bytes]
[7:46:38 PM] Starts Wav->Ac3 convertion ...
[7:46:48 PM] Audio converted in Ac3 successfully ! 
[E:\Schoolvid\Avi2dvd_temp\AudioStream 1 WMA 
0CH.ac3 10942464 Bytes]
[7:46:48 PM] Start creating avisynth script ...
[7:46:48 PM] Avisynth script created successfully ! 
[E:\Schoolvid\Avi2dvd_temp\Avisynth_Script_File.avs 173 
Bytes]
[7:46:48 PM] Bitrate used : 7616 Kbpps
Instructions :
Use these input files to your encoder :
Audio : AudioStream 1 WMA 0CH.ac3
Video : Avisynth_Script_File.avs
Bitrate : 7616 Kbpps
[7:46:48 PM] Job Done !!!
Sync
Junior Member
Posts: 6
Joined: Fri Jun 30, 2006 3:42 am
Location: Los Angeles

Same here...

Post by Sync »

Yep-- getting it too. There's another thread in the forum about it with not much info yet as well...

I run process guard which monitors executables, and found that Avi2DVD runs SOX and FFMPEG on the file which it hadn't used before on non-WMV files. Not sure if they are responsible, but it's something that's different about converting WMV files from WMM. I get a short .mp2 file, and Avi2DVD generates a Windows crash in a thread in Avi2DVD-- apparently the audio processing thread is crashing in mid-conversion and Avi2DVD doesn't really notice... The crash window I get though is on exit so it could be a resource cleanup problem I suppose...

At any rate, am thinking about using AutoGordianKnot to convert it to an avi first to see if that helps... VirtualDub can't read it so I can't crunch the audio into another format. I did create a custom profile in WMM (http://www.microsoft.com/windowsxp/usin ... ofile.mspx -- check it out) though so that I could play with some parameters, but the only audio options that seemed to work with WMM and VBR video were the Media 9 or Media 9 Lossless codecs (invalid MM options cause the profile to disappear from MM) -- tried both and both had the same problem with short audio in Avi2DVD. May try to tweak the bit rates in the WM Profile editor though to see if that helps at all...
--
Sync
trustfm
Site Admin
Posts: 1649
Joined: Sun Feb 27, 2005 4:40 pm

Post by trustfm »

Sync do you get extracted successfuly the ac3 audio (all of it not only a part) ? [you can hear it with mpc ... ]
Sync
Junior Member
Posts: 6
Joined: Fri Jun 30, 2006 3:42 am
Location: Los Angeles

Post by Sync »

I don't think so-- the only files in the Avi2dvd_temp directory afterwards are:

AudioStream 1 WMA 0CH.mp2
Avi2Dvd_Log.txt (hey, I just noticed this.... Guess I should look at it, eh?)
Avisynth_Script_File.avs
Encoded_Video.mpv


The log has this. I probably aborted this one after I saw that the audio was short, so the "not done" was probably due to my quitting it early...

[10:07:43 PM] AVI2DVD Started !
[10:07:44 PM] Type mode : Avi Input
[10:07:44 PM] Output : Svcd
[10:07:44 PM] Encoder Selected : QuEnc
[10:07:44 PM] Start demuxing the selected audio ...
[10:07:44 PM] Demuxing of the selected audio finished
successfully ! [C:\DVD\Avi2dvd_temp\Extracted_Audio.wav
9775150 Bytes]
[10:07:44 PM] Audio extracted renamed successfully !
[C:\DVD\Avi2dvd_temp\Fixed_Audio01.wav 9775150
Bytes]
[10:07:44 PM] Starts Wav->Mp2 convertion ...
[10:07:46 PM] Audio converted in Mp2 successfully !
[C:\DVD\Avi2dvd_temp\AudioStream 1 WMA 0CH.mp2
886491 Bytes]
[10:07:46 PM] Start creating avisynth script ...
[10:07:46 PM] Avisynth script created successfully !
[C:\DVD\Avi2dvd_temp\Avisynth_Script_File.avs 171
Bytes]
[10:07:46 PM] Bitrate used : 2402 Kbpps
[10:07:46 PM] Start video encoding ...
[10:07:49 PM] Video encoded successfully !
[C:\DVD\Avi2dvd_temp\Encoded_Video.mpv 0 Bytes]
[10:07:49 PM] Job NOT Done. There are warnings ... Find at
the log file the 0 byte generated file to focus where exactly
the problem appears


The fact the wav is 9M makes me think that step was successful-- it would appear to be the wav->mp2 that's having trouble.... What command does that and I'll try it manually?.....
--
Sync
Sync
Junior Member
Posts: 6
Joined: Fri Jun 30, 2006 3:42 am
Location: Los Angeles

Post by Sync »

Oh, and BTW-- the audio is about 5 minutes long-- the mp2 output ended up as 55 seconds in this case. I think I noticed too that when it fails it's not always the same length...
--
Sync
Post Reply