Solved

How to merge audio in a video using ffmpeg?

Posted on 2008-10-24
4
1,113 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now