PDA

View Full Version : converting audio -> NTSC to PAL with Besweet


chrisn
29th February 2008, 10:44
I'm fairly new to audio encoding (and video for that matter).

I'm trying to convert an xvid from NTSC to PAL. I've done the video part but the problem lies in the audio. I demuxed the audio stream with Virtual Dub Mod which resulted in an ac3 file. After reading the Besweet Reference (pdf) I think I should use the following command:

besweet -core( -input d:\ntsc.ac3 -output d:\pal.ac3 -logfile d:\log.txt -payload ) -soundtouch ( -r 29970 25000 )

When the transcoding is done. My output file has the same length (my new avi is 12 seconds longer) and size as the NTSC file. It looks like nothing really happend allthough in the log it looks like soundtouch did something but I'm not getting the result I want.

Here is the log if this can be of any aid:

BeSweet v1.5b31 by DSPguru.
--------------------------
Using azid.dll v1.9 (b922) by Midas (midas@egon.gyaloglo.hu).
Using SoundTouch.dll v1.3.0 by Olli Parviainen (www.iki.fi/oparviai/soundtouch).
Using AC3enc.dll v1.20 (Feb 18 2004) by Fabrice Bellard (http://ffmpeg.org).

Logging start : 02/29/08 , 10:03:07.

besweet -core( -input d:\ntsc.ac3 -output d:\pal.ac3 -logfile d:\log.txt -payload ) -soundtouch ( -r 29970 25000 )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : d:\ntsc.ac3
[00:00:00:000] | Output: d:\pal.ac3
[00:00:00:000] +----- SoundTouch ----
[00:00:00:000] | Pitch : 0 semitones
[00:00:00:000] | Tempo : -17 percents
[00:00:00:000] | Rate : 0 percents
[00:00:00:000] | AA-Filter : Yes
[00:00:00:000] | Quick Mode : No
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | AC3 bitrate : 256
[00:00:00:000] | Channels Mode : 2.0
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[ 119057408] Conversion Completed !
[00:00:03:000] <-- Transcoding Duration

Logging ends : 02/29/08 , 10:03:10.


Is my command line wrong ? Or am I trying to do the impossible here ? :-) Any help is appreciated

tebasuna51
29th February 2008, 11:54
From the pdf you say:
"-payload
Does not decode anything, but copies the source audio unprocessed. Useful for demuxing tracks from VOBs, for splitting files without decoding, for inserting delays etc."

Your process need decode the ac3, do the TimeStretch and encode to ac3.

Seems is stereo audio then you can use -soundtouch with BeSweet. Use BeLight or this command line (with last bsn an Aften with links in pdf doc):

besweet -core( -input d:\ntsc.ac3 -output d:\pal.ac3 -logfile d:\log.txt ) -soundtouch ( -r 29970 25000 ) -bsn( -exe aften.exe -b 192 )

chrisn
29th February 2008, 16:19
From the pdf you say:
"-payload
Does not decode anything, but copies the source audio unprocessed. Useful for demuxing tracks from VOBs, for splitting files without decoding, for inserting delays etc."

Your process need decode the ac3, do the TimeStretch and encode to ac3.

Seems is stereo audio then you can use -soundtouch with BeSweet. Use BeLight or this command line (with last bsn an Aften with links in pdf doc):

besweet -core( -input d:\ntsc.ac3 -output d:\pal.ac3 -logfile d:\log.txt ) -soundtouch ( -r 29970 25000 ) -bsn( -exe aften.exe -b 192 )

Thank you for the fast reply.

Because my input and output where the same (ac3), I figured that I didnt have to decode anything ... hence the -payload. I'm new at this ;-)

I tried your command and it looks like it did the trick. Thanks again.