SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    add audio in video file using ffmpeg

    I am using ffmpeg, I want to add audio in my video file but I have some different scenario, I have 5 images and 3 min audio file but I want that every image comes for 10 sec in the video and when last image comes for 10 seconds after that video will end. So it mean the whole video time will be 50 seconds. I am trying this but failed to do this. It stuck on the last image till the audio ends and the duration is 3 min this wrong. Please see my code I am new to ffmpeg so this the basic code of audio file I am using to add in video.

    ffmpeg -i output.mp4 -i audio.mp3 -c copy -map 0:0 -map 1:0 final.mp4

  2. #2
    Barefoot on the Moon! silver trophy
    Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,524
    Mentioned
    52 Post(s)
    Tagged
    1 Thread(s)
    Unfortunately, this is a web development forum and not a forum that specializes in video encoding. As such, you will likely have to find a community that specializes in video encoding or ffmpeg.

    Here are some possibilities:

    http://forums.creativecow.net/ffmpeg
    http://forum.videohelp.com/
    http://ffmpeg.zeranoe.com/forum/
    http://ffmpeg.gusari.org/
    Email lists and chat resources: http://www.ffmpeg.org/contact.html
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •