[FFmpeg-devel] Would like to work on lavf-based concatenation tool for GSoC qualification

Geza Kovacs gkovacs
Tue Mar 31 23:39:04 CEST 2009

Thanks for the project description, it certainly sounds interesting.
However, what I was referring to was the qualification task "lavf-based
concatenation tool: Unless we have multiple files input in FFmpeg, it
would be nice to have some libavformat-based tool that would extract
frames from multiple files (possible different containers as well) and
put them into single one." - I had meant to ask whether the tool I'm
writing for the qualification task can be a separate tool, rather than
being called as part of ffmpeg's parse_options(), and as as Kostya said,
it wouldn't have to deal with different input stream formats that can't
simply be concatenated for now.

Thanks for the responses,

On Tue, 2009-03-31 at 10:55 -0700, Baptiste Coudurier wrote:
> Hi guys,
> On 3/31/2009 7:26 AM, Robert Swain wrote:
> > On 31/3/09 15:00, Geza Kovacs wrote:
> >> I'd like to know, by "concatenation" I assume this means "without
> >> re-encoding"; therefore I assume I'm not supposed to handle situations
> >> when multiple files are encoded with different framerate settings or
> >> different codecs (or do I instead transcode them into an intermediate
> >> format in these situations?).
> > 
> > Concatenate means to link to together. I'm not sure what the plans are
> > for handling differences in frame rates or resolutions. Differing source
> > formats shouldn't matter for transcoding purposes as long as on entry to
> > the video encoder the resolution, frame rate and pixel format as all
> > appropriate and similarly the number of channels, sample rate and sample
> > format for the audio encoder, there shouldn't be any major problem.
> > 
> > I expect Baptiste will elaborate on this. I think he had plans to allow
> > specification of command line options per input so that one could affect
> > the different inputs to make them concatenate-able.
> Here is the project description:
> Playlist/Concatenation Support
> - primary goal: implement a playlist/concatenation interface to
>     transcode(FFmpeg) and play(FFplay) media
> - interface will use commandline switches.
> - interface must support every input format FFmpeg support
> - interface must work with different input stream parameters (different
>     formats, codecs, video resolution, audio sample rate, audio
>     channels, etc..)
> - interface must support track selection
> - interface must support existing playlist format files .m3u, .pls,
>     xpsf.
> So according to this, different resolution must be handled. About
> different frame rates, this could be added later I think.

More information about the ffmpeg-devel mailing list