Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am creating a video in mp4 format from a sequence of images and an MP3 audio file. For performance reasons I switched from image2 option to image2pipe option and now video is creating OK but without an audio,

Is it possible at all to add an audio while pipe processing images or it should be done afterwards a separate step?

my FFMPEG command:

$command = $ffmpegpath ." -f image2pipe -pix_fmt rgb24 -r 20 -c:v png -i - ".
    "-i " .$mp3path ." "
    "-r 20 -vcodec libx264 -pix_fmt yuv420p ".
    "-y " .$outputpath;
share|improve this question
I cannot reproduce your problem. Please show the actual command you used (not with variables etc.), and the full, uncut ffmpeg console output. Make sure to try this with a recent version, either a static build ( or a self-compiled binary. – slhck Aug 20 '13 at 9:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.