2012/4/5 Mark Kenna <[email protected]>: > Hi Guys > > I am aware that it's possible to have an FLV containing h.264 that changes > resolution mid-stream. I have an example that does exactly what I need > (http://ffmpeg.org/trac/ffmpeg/raw-attachment/ticket/499/resolutionchange.flv). > > My question is how is this done in code? I have attempted clearing down the > video stream and re-creating a new one against the same AVFormatContext with > the desired resolution but this gives all kinds of errors. > > Just an outline of the logic needed would be great. > > > P.s. I am using the output_example.c for testing.
IMO you can't do it with libavformat, as your task does not fit its logics. You need another tool that does this specific work. -- Andrey Utkin _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
