Solved

How to merge audio in a video using ffmpeg?

Posted on 2008-10-24
4
1,117 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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