Yes, this is possible. Just use two instances of the -i flag to specify your 
video and audio sources. A sort of general example:

ffmpeg -i imageSequence.%04d.jpg -i audioFile.wav -vcodec mjpeg -acodec mp3 
output.mov

Since each source only has a single stream, you shouldn’t need any mapping 
flags.

-Nathan



From: Gary Jaeger 
Sent: Thursday, January 02, 2014 1:46 PM
To: Nuke user discussion 
Subject: Re: [Nuke-users] ffmpeg frame range

another ffmpeg question that I couldn’t solve. Is it possible to give ffmpeg 
both a file sequence and audio file as input and end up with a quicktime 
containing both, in a single step? 

On Aug 24, 2013, at 8:56 AM, Gary Jaeger <[email protected]> wrote:


  So all is working great, thanks for the help. I did have a question which may 
or may not be ffmpeg related.  

  In the terminal, I'm used to being able to paste a series of commands 
separated by a semicolon, and they will execute in order. For instance:

  /Applications/ffmpeg -f image2 -i /server/comps/E010_v03.%04d.png -vcodec 
prores -profile:v 3 -s 3840x2160 -r 23.98 /server/shots/E010_v03.mov;
  /Applications/ffmpeg -f image2 -i /server/comps/E020_v02.%04d.png -vcodec 
prores -profile:v 3 -s 3840x2160 -r 23.98 /server/shots/E020_v02.mov;

  and those would both execute in order. But ffmpeg only executes the first, 
while giving me the parse error below on the second. I get the first .mov but 
not the second. Running the commands separately is fine. 

  Parse error, at least 3 arguments were expected, only 1 given in string 
'ations/ffmpeg -f image2 -i /server/comps/E020_v02.%04d.png -vcodec prores 
-profile:v 3 -s 3840x2160 -r 23.98 /server/shots/E020_v02.mov;'

  Any idea why that is?

  On Aug 22, 2013, at 12:56 PM, Gary Jaeger <[email protected]> wrote:


    That was it! Thanks Nathan.  

    fwiw this is where I got the binary http://ffmpegmac.net

    On Aug 22, 2013, at 12:41 PM, Nathan Rusch <[email protected]> wrote:


       The `-start_number` flag is a per-source argument, so it should be 
placed before the `-i inputPath.%04d.ext` portion.

    Gary Jaeger // Core Studio
    249 Princeton Avenue
    Half Moon Bay, CA 94019
    650 728 7060
    http://corestudio.com


  Gary Jaeger // Core Studio
  249 Princeton Avenue
  Half Moon Bay, CA 94019
  650 728 7060
  http://corestudio.com


Gary Jaeger // Core Studio
249 Princeton Avenue
Half Moon Bay, CA 94019
650 728 7060
http://corestudio.com



--------------------------------------------------------------------------------
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to