User User name Password  
   
Friday 28.11.2025 / 15:31
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > replacing the audio in a movie (avi, mpg)
Show topics
 
Forums
Forums
 
Replacing the audio in a movie (AVI, MPG)
  Jump to:
 
Posted Message
aldaco12
AfterDawn Addict
_
12. May 2005 @ 00:36 _ Link to this message    Send private message to this user   
I decided to write this 'sticky' thread because often an AVI movie can have AC3 audio (which one cannot decode), MP3 VBR audio [which gives problem when you try to encode the movie to MPG (which is encoded CBR)], a sound stream (in an AVI or in a MPG) which must be delayed, and so on. I present a tutorial for making an AVI with MP3 sound stream. You also might insert a sound in different format (WMA, AC3..), if you knew how to use it.

The correct procedure to replace the sound stream from a movie is:

1) In VirtualDub do File___File Information. You'll see the AVIs audio bitrate. Let it be B a number slightly larger than the averege VBR bitrate (for instance: 128 if you have 118 kbps, 160 of you have 135 kbps and so on.
Extract the audio as uncompressed WAV, setting on Audio = Full processing mode. Do File___Save WAV.

2) Modify the sound stream . Load the sound stream with HeadAC3he (option a) or FFMPEG GUI (option b).

2.a1) In HeadAC3he choose, as destination format, MP3.
2.a2) Click 2 times the [options>>] button and you shuold see on the right of the screen the [LAME configuretion] screen.
2.a3) Choose 'Preset' = NONE.
2.a4) Set bitrate Min = Max = Ave = B.
2.a5) Choose Mode = CBR.
2.a6) Press [Stert]. In few minutes you'll create a proper MP3 CBR sound stream.

2.b1) In FFMPEG GUI let Audio Sttings: AC3, bitrate = B; Let the other as default, choose the output name and press [convert].

3) Replace the old sound stream with the new sound stream, in the movie :
- open the movie with VirtualDubMod
- do Stream___Stream List ; click Disable to disable the old stream, click Add to add the new one.
If teh video type is AVI, just set Video to Direct Stream Copy and do File__Save (F7). The video will remain the same. If the video type is MPG, you have to keep Video to Full Processing Mode, choose with Video__Compression the codec you'll use, configure the compression in a proper way, such to have minmum losses in your video, and do File__Save (F7). In few minutes you'll have , in AVI form, the new movie with the correct sound (and the same video if the movie was a AVI, a video re-encoded to AVI if the movie was a MPG).

This message has been edited since posting. Last time this message was edited on 26. February 2007 @ 04:21

This thread is closed and therefore you are not allowed reply to this thread.
 
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > replacing the audio in a movie (avi, mpg)
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork