PDA

View Full Version : muxing two mono files doesn't work


Wilbert
1st June 2004, 23:57
I'm trying to mux two mono files and compress it to mp2.

mux file:

D:\TestGuide\lisa_mono.wav
D:\TestGuide\lisa_mono.wav

log file:

BeSweet v1.5b28 by DSPguru.
--------------------------
Using tooLame.dll v0.2l (Apr 24 2003) by Mike Cheng <http://tooLame.sf.net>

Logging start : 06/01/04 , 23:53:58.

C:\Program Files\Besweet\BeSweet.exe -core( -input d:\TestGuide\lisa.mux -output d:\TestGuide\lisa.mp2 -logfilea C:\Program Files\Besweet\BeSweet.log ) -toolame( -m s -b 192 -e )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : d:\TestGuide\lisa.mux
[00:00:00:000] | Output: d:\TestGuide\lisa.mp2
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +------ tooLame ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 192
[00:00:00:000] | Channels Mode : Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[00:07:09:850] Conversion Completed !
[00:07:09:850] Actual Avg. Bitrate : 191kbps
[00:00:12:000] <-- Transcoding Duration

Logging ends : 06/01/04 , 23:54:10.

The original mono wavs are both 03:04:920 (they are exactly the same). The resulting stream sounds crippled and is about twice as long as the original.

(It also happens if I choose PCM-WAV instead of MP2.)

DSPguru
2nd June 2004, 00:52
try feeding a single mono wave and transcode it to stereo wave to see whether this is a "mux" problem or simply an unsupported wave.

eb
2nd June 2004, 01:17
Wilbert,

Please explain, latter this .mp2 file shoud play as separate audio1 audio 2, o as "stereo" audio?

eb

Wilbert
2nd June 2004, 01:39
try feeding a single mono wave and transcode it to stereo wave to see whether this is a "mux" problem or simply an unsupported wave.
My mistake. I'm very sorry. They were actually stereo files with one silent channel. I feel so stupid ... Btw, wavs are coming from a capture process (vdub -> save as wav).

Anyway, I tried to demux the wav into two channels:

BeSweet v1.5b28 by DSPguru.
--------------------------

Logging start : 06/02/04 , 01:38:08.

C:\Program Files\Besweet\BeSweet.exe -core( -input d:\TestGuide\lisa_mono.wav -output d:\TestGuide\lisa_mono-New.wav -2ch -logfilea C:\Program Files\Besweet\BeSweet.log )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : d:\TestGuide\lisa_mono.wav
[00:00:00:000] | Output: d:\TestGuide\lisa_mono-New.wav
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] | Source Sample-Rate: 44.1KHz
[00:00:00:000] +---------------------
[00:03:34:910] Conversion Completed !
[00:03:34:910] Actual Avg. Bitrate : 1411kbps
[00:00:00:000] <-- Transcoding Duration

Logging ends : 06/02/04 , 01:38:08.

But it only produces one wav file.

It's late now, I will check it with normal wavs tomorrow.