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

Michael Niedermayer michaelni
Thu Oct 26 00:19:41 CEST 2006


On Wed, Oct 25, 2006 at 08:37:01PM +0100, Joel Reymont wrote:
> On Oct 25, 2006, at 4:02 PM, Michel Bardiaux wrote:
> >ffmpeg does not do sound effects, other apps exist for that. Use  
> >them to produce a .wav in pcm at the correct length.
> >
> >Use ffmpeg to mux the 2 together(and maybe encode the sound).
> I cannot take this approach, unfortunately, as it's gonna be very  
> detrimental to performance. I need to overlay several audio samples  
> (chunks of streams) over given places in the video. Extracting audio  
> samples outside of ffmpeg would result in multiple runs of outside  
> tools, plus multiple compressions and decompressions of the sound.
> I would like to go ahead and modify the main ffmpeg encoding loop.  
> Any recommendations?

write a audio filter system for ffmpeg, submit a patch and then implement
filters for it to do what you need and yes submit patches for these too :)

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list