VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Apr 2011
    Location
    location, location
    Search Comp PM
    Hello, I have a silent avi that I want to add an audio track to.

    I am using ffmpeg, and I have tried various commands, but with each one I get quality degradation of the video. and sometimes the frame rate changes. Really weird.

    The original avi is 29.97 fps.

    the command I am using is ffmpeg -i someaudio.mp3 -i somevideo.avi -r 29.97 -b 16384k somecombined.mov (mp4, avi, whatever)

    the final file comes out and says it is 29.97 thru the quicktime info bar, but when I play it is in half motion, and there is definite loss of quality in the video. The sound is also half motion.

    Has anyone had any luck in embedding audio into a movie using ffmpeg successfully?
    Quote Quote  
  2. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by vidgem View Post

    Has anyone had any luck in embedding audio into a movie using ffmpeg successfully?
    Yup
    Try a command like this:-
    Code:
    ffmpeg -i somevideo.avi -i someaudio.mp3 -vcodec copy -acodec copy somecombined.mov
    Quote Quote  
  3. Member
    Join Date
    Apr 2011
    Location
    location, location
    Search Comp PM
    cool, thank you bat999, that seems to work. am going to test with some others tonight.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!