Add Audio to a Video File Using ffmpeg

Tagged with: , , , , , ,

FFMPEG command to mix an audio file with a video file to create a final video.

ffmpeg -vcodec flv -qscale 9.5 -r 25 -ar 22050 -ab 32k -s 320x240 -i 1.mp3 -i Meta.ogv final.flv

4 Responses to “Add Audio to a Video File Using ffmpeg

  • 1
    Roshan Bhattarai
    August 25th, 2008 22:16

    Thanks for this post man…..very useful for me…..

  • 2
    Prashant Patil (PK)
    January 31st, 2009 13:47

    Thanks for this post; it’s very very useful for me…..

  • 3
    April 30th, 2009 21:27

    what if i hav two different length files .. my audio file is of length 2:08 and my video is of 2:04 and i want to start few seconds late

    how do i give the starting point .. i mean if i want the mixing to start from 1 min … how do i giv it in cmd form ??

  • 4
    June 5th, 2009 12:42

    If the audio is a different length, try padding it out to the same length with a silent section using Audacity.


Leave a Reply