LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trying to combine two video clips containing different .wav audio -wavs too different (https://www.linuxquestions.org/questions/linux-software-2/trying-to-combine-two-video-clips-containing-different-wav-audio-wavs-too-different-813686/)

Lyle 06-12-2010 04:05 AM

Trying to combine two video clips containing different .wav audio -wavs too different
 
I converted an mp3 to wav (using ffmpeg) and added it to a video clip (using avidemux). The video clip plays fine.

I dumped the audio from an flv and converted it to wav (using ffmpeg) and added it to a another video clip (using avidemux). The video clip plays fine.

But when i combined the two clips into one video there's a problem.... Once the part of the video pertaining to the first clip plays through, the audio in the part pertaining to the 2nd is completely distorted.

Trying to combine the two video clips using mencoder results in :
Quote:

videocodec: framecopy (320x240 24bpp fourcc=34504d46)
audiocodec: framecopy (format=1 chans=1 rate=22050 bits=16 B/s=44100 sample-2)
audiocodec: framecopy (format=1 chans=2 rate=44100 bits=16 B/s=176400 sample-0)

All files must have identical audio codec and format for -oac copy.

Exiting...
Trying to combine just the audio files (no video) using sox, results in:
Quote:

sox sox: Input files must have the same sample-rate
sox sox: Input files must have the same # channels
It seems that even though the two audio files are the same format theres something far different about them? and thus i can't successfully combine them.

hoodooman 06-12-2010 06:45 AM

Can you merge them using Transcodes avimerge?Worth a try.


All times are GMT -5. The time now is 03:23 AM.