[Ffmpeg-devel] Modding ffmpeg to add fade-in/out and sound looping

Michel Bardiaux mbardiaux
Wed Oct 25 18:49:23 CEST 2006


Baptiste Coudurier wrote:
> Hi
> 
> Michel Bardiaux wrote:
>> Joel Reymont wrote:
>>> Folks,
>>>
>>> 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?


-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list