On Wed, 21 Mar 2012 11:13:25 +0100, Jindřich Makovička <makov...@gmail.com> wrote: > On Thu, Mar 15, 2012 at 21:04, Anton Khirnov <an...@khirnov.net> wrote: > > > > On Thu, 15 Mar 2012 07:22:07 -0700, Luca Barbato <lu_z...@gentoo.org> wrote: > >> On 3/15/12 5:40 AM, Anton Khirnov wrote: > >> > There is no reason for it to be public, it's only meant to be used > >> > internally. > >> > >> I'd be careful, I know that sometimes we suggest to use this function > >> directly as a workaround for the issues we have with the standard > >> interleave... > >> > > > > Are you sure you're not confusing it with av_write_frame()? > > > > I've never seen this function recommended and I don't really see how > > it can be useful to the calling program. > > We use this function to flush queued frames when chunking MPEG-TS for > Apple HTTP Live Streaming, so we can control that every chunk starts > with a keyframe. In other words, we need av_write_trailer without > calling oformat->write_trailer(), just the packet flushing loop. >
Is this the same functionality that Martin recently added to movenc (AVFMT_ALLOW_FLUSH)? I suppose we could also add it to the mpegts muxer. -- Anton Khirnov _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel