PDA

View Full Version : Issues with audio processing in D2S from an analogue avi


equilibrium
7th December 2002, 09:45
Good morning. A friend gave me a sample .avi (640Mb) that lasts approx. 1.5 Mins that he read in from video through a DC10 plus. He wanted me to try to get a successful encode out of it as he wasn't having much luck (quality issues etc.).

I have tried putting it through D2S with what I think are the appropriate setting for AVI2SVCD, However, BBMpeg Gets stuck, saying that it can't find an .mp2 audio file which is true as there has been a .wav extracted from the .avi but it hasn't been converted ?

If I run the process again UNticking 'Downsample audio 48 -> 44' then for some reason I DO get an mp2 file but when it gets to the VCDXBuild stage the log file has warnings the the audio has not been downsampled and the resulting .cue/bin image that I have contains good looking video but with no audio?

Can anyone help?

Cheers

Equilibrium

markrb
7th December 2002, 18:11
I don't know if it will work for you, but whenever I have a difficult AVI I always run it through Vdub and it seems to make it work 9/10 times. Most times I can just use Direct Stream copy on the video drop down and then just save it as an AVI as a different name. Sometimes I have to go much further and basically demux and remux it.

Mark

equilibrium
8th December 2002, 22:37
Mark.

I tried to run in through Virtual Dub using the option that you said and then saying save as avi.

Unfortunatly this one did the same thing.

However there is an issue that I should have mentioned before. The .avi my mate gave me was @ 25.002fps. When D2S starts the process it says:

The original video framerate of 25.002 is not supported. The framerate will be adjusted!

Which it does, but later on when the mp2 file doesn't get created, if I look in the BeSweet log file it says:

BeSweet v1.5b1 by DSPguru.
--------------------------
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 12/08/02 , 20:50:12.

C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input D:\Movie\Extracted_audio_1.wav -output D:\Movie\Encoded_audio_1.mp2 -logfile D:\Movie\Encoded_audio_1.log ) -ota( -g max -r 25000 25002) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : D:\Movie\Extracted_audio_1.wav
[00:00:00:000] | Output: D:\Movie\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
Error 46: Invalid combination between SSRC values & FRC values.
Quiting...
[00:00:00:000] Conversion Completed !
Logging ends : 12/08/02 , 20:50:12.

Not entirely understanding these params I'm wondering whether the mismatched figures in bold above of 25000 and 25002 is a bug in D2S or a request to BeSweet to resample the audio to match the video? But it looks like an issue to me as BeSweet then throws the error.

I had earlier considered resampling the framerate in Virtual Dub before resaving the avi, but it warned me that this would shag-up the picture/sound sync so I left it for D2S to sort out ;)

Equilibrium

DSPguru
13th December 2002, 13:22
use the following commandline :
C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input D:\Movie\Extracted_audio_1.wav -output D:\Movie\Encoded_audio_1.mp2 -logfile D:\Movie\Encoded_audio_1.log ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )