Solved

How to merge audio in a video using ffmpeg?

Posted on 2008-10-24
4
1,114 Views
Last Modified: 2013-12-26
In our application we need to merge audio file(mp3) and a video file (flv). We have tried with
[ffmpeg -i input.flv -i input.mp3 -vcodec copy -acodec copy output.flv] but we cant merge the files. so can someone give some suggestion over this.
0
Comment
Question by:Tathagat_Chakravarty
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
edster9999 earned 125 total points
ID: 22871769
I would think something like :

mencoder input.flv -o output.flv -ovc copy -oac mp3lame -audiofile input.mp3

(you get mencoder with mplayer sources)
0
 
LVL 20

Expert Comment

by:edster9999
ID: 25176535
Well as there is only one answer (mine) I guess that gets all the points
:)

0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question