Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd February 2010, 09:29 | #1 | Link |
Registered User
Join Date: Mar 2008
Posts: 280
|
Not sure what I should do in this case
Last night I was checking one of my old AVI files and used VirtualDubMOD to demux the MP3 stream (Save WAV option).
The reason I did that was because there's only audible sound in one side, the other is 100% mute, so I need to duplicate channels and make the audio stream normal again. At first I thought it was only a matter of doing a simple conversion using SoundForge (last version). And it really worked. I saved into MP3 again, and inserted that stream on the AVI, saving using DirectStream copy and disabling the original. Then I noticed something strange. The new audio (which may have only a different bitrate, like 96 to 128 kbp/s but still remains to be 44 Khz as far as I can tell) lasts 2 seconds more than the original one. I checked the sync and it was fine for two of those videos, really: nothing is out of sync. But then the third video was (don't recall exactly how much longer was it, but it didn't match the original lenght of the audio) indeed out of sync. Which makes me wonder if this is the proper way to solve this problem. Should I use another software instead of Sound Forge? Why the lenght is different if the only thing I did was to duplicate the channels? I am going to post here only the original audio from the video, the one that was out of sync only when the half-channel issue was fixed. Solving this problem caused another: http://www.mediafire.com/?mm0neuz0z4x (filesize: 19 MB). If you guys just wanna take a look. In this case I can't hear anything on the right side (number 2), despite the graph showing otherwise. When I merge both channels, the problem described above (audio out of sync) shows up. Picture from the graph after analysing this file: http://img502.imageshack.us/img502/4168/imagem1ne.png Maybe in this case something else happened because the right side wasn't totally mute despite the fact I can't hear anything in playback?
__________________
"Whoever has not known himself has known nothing. But whoever has known himself has simultaneously achieved knowledge about the depth of all things." Last edited by Lincoln Burrows; 3rd February 2010 at 09:31. |
3rd February 2010, 12:45 | #2 | Link | ||||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
2) Check if there are initial padded '0', before the first mp3/ac3 header to see if there are a VirtualDub Delay (use DelayCut with the audio or AVIMux_GUI with the avi) 3) Decode/edit/encode the audio and insert the delay (if any) in wav editor or after encode with DelayCut. 4) Remux the audio, and Disable the original, with VirtualDubMod -> Streams -> Stream list -> Add Quote:
Quote:
Quote:
__________________
BeHappy, AviSynth audio transcoder. |
||||
3rd February 2010, 15:12 | #3 | Link | ||
Registered User
Join Date: Mar 2008
Posts: 280
|
DelayCut doesn't read Mp3 files. I instructed to read all kinds of files and the answer was that for the MP3 demuxed from the video:
Quote:
http://img638.imageshack.us/img638/9691/imagemjs.png Note: When analysing the MP3 demuxed from the video, Avi Mux said it was MP3, CBR, 128 kbp/s 2 ch, 44.100 Hz. If I choose to convert this MP3 into a VBR file, will that be recommended or should I stick with CBR? Quote:
Channel Converter > Duplicate the right side into the left. And then > reducing the overall volume from both sides (minus -9 db for example). Amplifying one side to match another will not give the precise volume for both sides, if I understand that correctly. The original idea was to remove everything audible on the "defective" side and replace by all information present in the working (in this case, left) side.
__________________
"Whoever has not known himself has known nothing. But whoever has known himself has simultaneously achieved knowledge about the depth of all things." |
||
3rd February 2010, 20:54 | #4 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Code:
====== INPUT FILE INFO ======================== ... Duration 00:01:00.000 Frame length (ms) 24.000000 Frames/second 41.666667 Num of frames 2500 Bytes per Frame 384.0000 ... ============================================= ====== TARGET FILE INFO ====================== ... Num of Frames 2500 Duration 00:01:00.000 ============================================= ====== PROCESSING LOG ====================== Time 00:00:00.000; Frame#= 1. Unsynchronized frame...SKIPPED 15744 bytes. Found new synch word Number of written frames = 2459 Number of Errors= 1 And the audio is 2459 * 24 = 59016 ms Total: 984 + 59016 = 60000 ms When load the original avi in AviMuxGUI show about the audio: Code:
audio: MPEG 1 Layer 3 (VBR, 2 Ch, 48kHz, bad: 15744 , delay: 984 ms, 938 KByte) Quote:
There are hacks to mux VBR, don't use VirtualDubMod, use AviMuxGUI (with proper settings) instead. EDIT: in your sample I don't see delay then must be in sync
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 3rd February 2010 at 20:58. |
||
3rd February 2010, 23:00 | #5 | Link | |||
Registered User
Join Date: Mar 2008
Posts: 280
|
Quote:
Look: DelayCut reports from the extracted MP3 from that same video: Quote:
Quote:
Would you consider doing them everytime something like that happens (videos with only one channel working)? Since it worked for two previous files (they were not out of sync, I compared but perhaps a very slight delay was there and it was so small that I couldn't see?), I never imagined that such delay would exist after using SF. Because it wasn't there on the original file, and converting a channel or changing the volume are not things that should insert a delay (at least I didn't think so). Last edited by Lincoln Burrows; 3rd February 2010 at 23:04. |
|||
4th February 2010, 02:01 | #6 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
If this track is demuxed and decoded with SoundForge have only 59016 ms and go out of sync. But if your track don't have the delay then the edited audio must be in sync like the original avi. Quote:
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 4th February 2010 at 02:03. |
||
|
|