Log in

View Full Version : Audio problem in AVI2SVCD mode


jornada
5th July 2002, 13:32
I use capture card(+iuVCR) to record a avi file(Mjpeg+PCM).
And via AVI2SVCD to transfer to SVCD format.

The vido part is OK.
But audio part face a serious problem.Some times the Besweet will crash, or the transfer part(*.mp2) can't hear anything.

I have check the extract part(*.wav) and it's OK.
And I also use besplit to check the wav file. The log file also show no problem. Pls ref following.

Does anybody have same problem like this?
Pls help since this method can produce much better quality and easy way. It's OK if I record in MPEG2 format. but it will loss some quality.

(ps. I have try in W2K and WXP plateform, both have same problem)
Thanks.


Following is log file of audio part:(if besweet didn't crash)
*****************************************************
BeSweet v1.4b12 by DSPguru.
--------------------------
Using ssrc.dll v1.28 by Naoki Shibata & Dg (shibatch@geocities.co.jp).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.

Logging start : 07/05/02 , 20:12:36.

G:\Downloads\AV encoding\DVD2SVCD\BeSweet\BeSweet.exe -core( -input d:\test\Extracted_audio_1.wav -output d:\test\Encoded_audio_1.mp2 -logfile d:\test\Encoded_audio_1.log ) -ota( -g max -r 29970 30239 ) -2lame( -e -b 160 -m s )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : d:\test\Extracted_audio_1.wav
[00:00:00:000] | Output: d:\test\Encoded_audio_1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] | Overall Track Gain: 2.1dB
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- FRC --------
[00:00:00:000] | Source Frame-Rate: 30239
[00:00:00:000] | Dest. Frame-Rate: 29970
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 160
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[00:00:20:302] Conversion Completed !
[00:00:20:302] Actual Avg. Bitrate : 158kbps
[00:00:46:000] <-- Transcoding Duration
Logging ends : 07/05/02 , 20:13:22.
*******************************************************

And following is besplit log file
*******************************************************
BeSplit v0.7 logfile.
--------------------------
Logging start : 07/05/02 , 20:25:36.

D:\willy doc\®à_±\vd plug in\BeSplitv0.7\BeSplit.exe -core( -logfile D:\test\Extracted_audio_1.LOG -input D:\test\Extracted_audio_1.wav -prefix D:\test\Extracted_audio_1FIX -type wav -a -fix )

[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : D:\test\Extracted_audio_1.wav
[00:00:00:000] | Output Prefix : D:\test\Extracted_audio_1FIX
[00:00:00:000] +---------------------
[00:00:20:310] | Writing D:\test\Extracted_audio_1FIX01.wav
[00:00:20:310] +---------------------
[00:00:20:310] Operation Completed !
[00:00:01:000] <-- Process Duration
Logging ends : 07/05/02 , 20:25:37.
***********************************************************

zr1
5th July 2002, 14:10
ive also had the same thing happen, besweet will crash or the completed files have no audio.

jornada
5th July 2002, 20:37
I thnk I found the problem.
It will occour when the audio and video is resync by capture program.
That's mean the audio don't fix at same rate.
I don't know the term is. (FPS in Video, Audio ?)

Once I don't use the resync by audio or video. The problem is gone.
But will face the video don't sync with audio some time.

Does anybody can fix both problem?

zr1
9th July 2002, 03:01
what i did was encoded the audio with tmpenc and demuxed it and them named it the correct file that dvd2svcd would look for. it took about 30min. to do while cce was encoding the video. i hope someone finds the solution to this.

UltimateDBZ
9th July 2002, 04:43
Originally posted by jornada
I thnk I found the problem.
It will occour when the audio and video is resync by capture program.
That's mean the audio don't fix at same rate.
I don't know the term is. (FPS in Video, Audio ?)

Once I don't use the resync by audio or video. The problem is gone.
But will face the video don't sync with audio some time.

Does anybody can fix both problem? Audio sync problems are fixed via the movie offset value in the bbMPEG tab.

jornada
9th July 2002, 05:44
It's really had to estimate the how much of offset in BBmpeg?
I have tried it before, hard to get it perfect.
The audio always have a little gap with mouth of speaker.
So I also use Tmpeg to transfer the audio part.

It's really strange that it seems no problem by Tmpeg and Besplit. But Besweet can't encode it. It would be better if the Besweet can convert it. Hope DSPguru have time to fix it.

Thaks anyway.

Cidici
9th July 2002, 12:21
Source Sample-Rate: 48.0KHz
i think that this is the problem
i dont think that you have a 48khz PCM file but it should be 44khz.

take a look at dspguru reply to my post here:
http://forum.doom9.org/showthread.php?s=&threadid=28748

DSPguru
9th July 2002, 19:45
"-r 29970 30239" combination is invalid.

jornada
10th July 2002, 05:46
I had try before via remove the "-r" function. But it didn't work. DSPguru has suggest in some post I remember.

The -r 29970 30239 is tune the frame rate as following.

[00:00:00:000] +-------- FRC --------
[00:00:00:000] | Source Frame-Rate: 30239
[00:00:00:000] | Dest. Frame-Rate: 29970
[00:00:00:000] +------- MP2ENC ------

I am confuse in this part. The difference between smaple rate and frame rate. If don't tune the frame rate, how to sync with video part?

The convert problem truely come from the fram rate difference.
If I chose don't sync video/audio part in capture program, audio can be convert. But if I chose master stream -audio, audio can't be convert by besweet. The difference is AVI2SVCD will re-tune the frame rate from 30.239 to 29.970. So audio part either in crash or totally no sound after coding.

Thanks again

DSPguru
13th December 2002, 13:26
please post a BeSweet v1.5b8 (http://besweet.notrace.dk/beta.html)'s logfile.