LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-12-2010, 04:05 AM   #1
Lyle
Member
 
Registered: May 2010
Location: Guyana, South America
Distribution: Debian, Sabayon
Posts: 37

Rep: Reputation: 15
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.

Last edited by Lyle; 06-12-2010 at 04:14 AM.
 
Old 06-12-2010, 06:45 AM   #2
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
Can you merge them using Transcodes avimerge?Worth a try.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how can I combine clips to form single video file with mencoder or ffmpeg sumeet inani Linux - Newbie 3 12-17-2009 05:01 AM
combine multiple wav files together with different sample rates / channels / bits PiNPOiNT Programming 2 04-24-2009 07:02 PM
No audio on those crazy "imbedded video" clips on webpages tw001_tw Slackware 7 05-14-2006 06:25 PM
Copy *.wavs from audio CD??? can't mount?? servnov Linux - General 2 06-24-2005 10:39 AM
SCALE 3X Audio Clips have been Posted to LQ Radio jeremy LQ Suggestions & Feedback 1 02-23-2005 02:27 AM


All times are GMT -5. The time now is 08:02 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