Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to merge audio in a video using ffmpeg?

Posted on 2008-10-24
4
Medium Priority
?
1,121 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

715 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