06.01.2014, 17:44, "m m" <[email protected]>: > Hello, > > I have a problem making a preview video of the bigger one (by making few > short clips and concatenating them into one smaller video). > > I already successfully implemented seeking and making temporary clip files > (using libs: avformat, avcodec and avutil). > Can someone provide an example or direct to tutorial in C/C++, which libs, > methods and parameters should be used to concatenate videos? > > Thanks in advance! > > , > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user
I think, you can open input-file format context, output format context (equals input format context), output stream with format as input file. Seek at places that you want to combine, read frames from input format-context, and write directly to output file. -- С уважением, Евгений Гарифуллин. e-mail: [email protected] jabber: [email protected] ICQ : 387906261 _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
