digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Audio Conversion (http://www.digitalfaq.com/archives/audio/)
-   -   BeSweet: First 30 seconds lost when converting MP3 to MP2 (http://www.digitalfaq.com/archives/audio/8675-besweet-first-30-a.html)

dongxu 03-18-2004 10:17 PM

BeSweet: First 30 seconds lost when converting MP3 to MP2
 
I have encountered this problem: I demux the MP3 audio from an avi file using VirtualDubMod and converted to MP2 by using besweet. But abour 30 seconds of the audio was last from the converted MP2 file. Thus it caused the video and audio out of syn.

Anybody know what was the cause?

Dialhot 03-18-2004 10:23 PM

Can you explain a little more "were lost" ?
Where ? at the beguining ? At the end ? Or do you mean the playing time is 30s shorter ?

Prodater64 03-18-2004 10:29 PM

Quote:

Originally Posted by Dialhot
Can you explain a little more "were lost" ?
Where ? at the beguining ? At the end ? Or do you mean the playing time is 30s shorter ?

Phil, take a look at the thread's subject :!:
:wink:

dongxu 03-18-2004 10:30 PM

Phil,

thank you for prompt response.

The converted MP2 file has about 30 seconds short. When played in MPC, I found it started about 30 seconds earlier than the original one in the avi file. So it shifted backward. so the first 30 seconds was "lost", I mean, missing from the MP2 file.

Prodater64 03-18-2004 10:50 PM

Is mp2, 30s shorter than the avi file?
And, than the demuxed mp3 file?
Did you extract audio with menu option file, save wav or with file, demux audio, in VirtualDubMod?

dongxu 03-18-2004 10:53 PM

The MP3 was demuxed in VirtualDubMod from an avi file and mp2 converted by besweet was 30s shorter than the avi file.

Prodater64 03-18-2004 11:13 PM

Your losted audio are dialogs or presentation?

Take a look at VirtualDubMod, File, File Information. How many audio streams have you?
If you have 2, maybe 1 for presentation (losted 30 seg) and 1 for the movie.

Dialhot 03-19-2004 04:52 AM

Quote:

Originally Posted by dongxu
The MP3 was demuxed in VirtualDubMod from an avi file and mp2 converted by besweet was 30s shorter than the avi file.

Listen to this MP3 : are the missing 30s there or not ?
Can you redo the operation in besweet and post the log file here ?

dongxu 03-20-2004 01:45 AM

avi audio stream 1 (tag 0x0055, MPEG-1 Layer 3 [MP3]), Length:1:37:30.096.

The Mp3 was demuxed by vDubMod, but when I tried to add it back to the Stream List, vDubMod reported it "doesn't seem to be a valid Mpeg Audio file"

When I tried to play the MP3:

RealOne player says: MPEG by Bitcasting: File Format cannot find MPEG file header. This may not be an MPEG file.

Windows Media Player says: ClassFactory cannot supply requested class.

WinAmp3 plays it but with about 14 (I counted, not 30 in my previous estimation ) seconds short at the begining.


However, Besweet can convert the MP3 to MP2 and vDubMod can accept as: MPEG1-L2 Stero 44100Hz 128+/-0.1kbps. Length:01:37:16.304.

So now I guess something wrong with the "file head", Anyway I solved out-of-syn problem by letting TMPGenc encoder the audio together with the video.

The log file:

Quote:

Using hip.dll v1.19 by Myers Carpenter <myers@users.sf.net>
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using MP2enc.dll v1.129 (23/5/2002), Engine 1.129 <http://www.cdex.n3.net>.
Manual Dynamic-Compression algorithm by LigH (author of WaveBooster).

Logging start : 03/20/04 , 07:51:13.

c:\Program Files\GordianKnot\BeSweet.exe -core( -input k:\list1.mp3 -output k:\list1.mp2 -logfile C:\Program Files\GordianKnot\BeSweet.log ) -ssrc( --rate 44100 ) -boost( /b2=5 ) -mp2enc( -m j -b 128 -e )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : k:\list1.mp3
[00:00:00:000] | Output: k:\list1.mp2
[00:00:00:000] | Floating-Point Process: Yes
[00:00:00:000] +------ Shibatch -----
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] | Dest. Sample-Rate: 44.1KHz
[00:00:00:000] | Attenuation : 0.0db
[00:00:00:000] +-------- BOOST ------
[00:00:00:000] | Algorithm by : Dg
[00:00:00:000] | Boost Factor : 5.0
[00:00:00:000] | Limit Factor : 0.73
[00:00:00:000] +------- MP2ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | MP2 bitrate : 128
[00:00:00:000] | Channels Mode : Joint Stereo
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[01:37:16:397] Conversion Completed !
[01:37:16:397] Actual Avg. Bitrate : 127kbps
[00:16:48:000] <-- Transcoding Duration

Logging ends : 03/20/04 , 08:08:01.

Dialhot 03-20-2004 09:15 PM

Okay, it seems that your MP3 really has a problem taht Besweet don't see and that doesn't even cause any trouble to tmpgenc !
So, just do it with tmpgenc and forget this problem :-)


All times are GMT -5. The time now is 08:57 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.