[Ffmpeg-devel] Modding ffmpeg to add fade-in/out and sound looping
Wed Oct 25 18:53:50 CEST 2006
Michel Bardiaux wrote:
> Baptiste Coudurier wrote:
>> Michel Bardiaux wrote:
>>> Joel Reymont wrote:
>>>> I need to mod ffmpeg to be able to overlay several sound samples along
>>>> the length of a video composed of a number of picture frames.
>>>> I could not figure out if ffmpeg is able to build a 24fps movie out
>>>> of, say, one jpeg by repeating it 24 times a second. I believe this
>>>> requires creating several thousand symlinks or copies of my jpeg for a
>>>> movie of several minutes.
>>> Yes, ffmpeg can do that (you need TWO copies of the JPEG; I was never
>>> able to do it with only one).
>> Humm, works well here: ffmpeg -loop_input -f image2 -i file.jpg test.mpg
> OK, my bad - but does it make sense -vframes on output?
Yes, it will stop encoding after vframes num.
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel