LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Video voice over or sound track replacement? (https://www.linuxquestions.org/questions/linux-software-2/video-voice-over-or-sound-track-replacement-718064/)

lucmove 04-09-2009 05:54 PM

Video voice over or sound track replacement?
 
Hi. Can someone recommend an application or method for completely replacing a video file's sound track? My camera picks up an awful lot of noise no matter how quiet the ambient is, so I need to erase the original sound track and replace it with another one recorded in more adequate conditions. It's just talking for video reviews, Youtube kind of stuff.

The only app I have tried is Kino and it's crashing on me. I haven't even been able to import a video to discover if Kino can do that.

I'd actually prefer to use command line tools if possible. I am trying ffmpeg, but can't find anything in the man page that points in that direction except -newaudio, but it doesn't seem to be what I am looking for.

TIA

David the H. 04-09-2009 07:58 PM

What you want to do is de-multiplex the video from the audio. Use "copy" for the video codec and disable the audio completely. You don't mention what format your media is in, but you'll want to output to whatever the raw format is for your video stream.

Once you have the video separated you can re-combine it with your desired audio track.

If you want to try a gui app, I recommend avidemux. You can select an external file for the audio track then export the whole thing to a new file using the "copy" export options.

lucmove 04-09-2009 08:52 PM

Wow. I just installed avidemuxer and tested replacing the audio in a video file. It was so easy it took me a while to believe it. Thanks!


All times are GMT -5. The time now is 05:40 PM.