LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 04-19-2006, 08:24 AM   #1
ajkannan83
Member
 
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 120

Rep: Reputation: 15
Add or Replace Sound


Hello Sir,

I have one movie file with sound. (test.avi)

I want to remove the sound and add or replace other sound in same file.

Whether it is possible? How? please reply.


Thank You

A.Kannan
 
Old 04-19-2006, 08:55 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
You need to demultiplex the audio and video, that is separate them into separate files. There are several good programs that can do this, but most of them are command line. Mplayer can do it, and transcode includes some tools that can do it also.

Once you have the audio track separated, you can decompress it into .wav format and edit it as you want in Audacity or some other program. Or create a new audio track of the same length to replace it. Then you simply recompress the final version back down into a compressed file and multiplex the audio and video back into a single .avi file, reversing the original process.

An .avi file can hold video and audio tracks in several different formats, so I can't give you any more detailed instructions. You'll have to research how to use the tools yourself to do exactly what you want. Read the man pages and search around the web. There's a lot of good information out there if you look for it.
 
  


Reply

Tags
audio, avi, editing, multimedia, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I use a shell script to add and replace lines in a file? abefroman Programming 10 12-27-2005 05:05 PM
How can I add this startup sound to gnome? imdeemvp Fedora 1 01-19-2005 11:12 AM
how to remove sound card and add linksys WMP55AG WIFI in Federo? pwangee Linux - Hardware 2 03-18-2004 02:41 PM
add card sound jose_luis Slackware 1 09-16-2003 08:03 AM
problem in perl replace command with slash (/) in search/replace string ramesh_ps1 Red Hat 4 09-10-2003 01:04 AM


All times are GMT -5. The time now is 09:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration