Solved

How to merge audio in a video using ffmpeg?

Posted on 2008-10-24
4
1,119 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

623 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