FORUMS: list search recent posts

ffmpeg adding white frames & extending end of .mov due to longer audio

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
chris graham
ffmpeg adding white frames & extending end of .mov due to longer audio
on Feb 15, 2012 at 3:53:16 pm

hey guys we're using ffmpeg to output a H264 .mov from a series of .png's @24fps

works fine without audio

however when we add the .aifc audio ( that is supposed to be the same length ) it adds a couple frames of white at the end

is there a simple way to just truncate the audio to the length of the footage, if it is too long?

thanks!


Return to posts index

stephen dixon
Re: ffmpeg adding white frames & extending end of .mov due to longer audio
on Feb 16, 2012 at 11:49:23 am

use -shortest. As in ffmpeg -shortest -i inputone-%05d.png -i inputtwo.wav -map 0:0 -map 1:0 output.mov. It will truncate the output to the length of the shortest input stream


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]