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.

Thanks,
Mark.

_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to