On 5 Apr 2012, at 19:59, Luca Barbato <[email protected]> wrote: > On 05/04/12 08:43, Mark Kenna wrote: >> My question is how is this done in code? > > I guess you'd need to add another onMetaData packet with the new > resolution and reset the stream. > > If you really need that feature you'd have to: > > - make sure the libx264 wrapper supports dimension change. > - make sure the flv muxer adds the updated onMetaData. > > It shouldn't take much if you force it to be single threaded. > > lu > > -- > > Luca Barbato > Gentoo/linux > http://dev.gentoo.org/~lu_zero > > _______________________________________________ > libav-api mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-api
Sounds like a bit more effort than it's worth to be honest guys. I can just restart the stream at a different resolution I guess - bit more overhead but it's "safer". Thanks for the info though! Mark. _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
