I am playing MPEG-4 Streaming video from a camera by using av_open_input_stream
(with initialized Byte IO Context, cutom IO Read...).

The camera sends new I Frame whenever it changes it resolution.

Lib-av is able to detect this after reading (av_read_frame) this new I Frame
and update it in the CodecContext.

It CRASHES when decoding (avcodec_decode_video).

Is there any re - initialization that we have to do to prevent this crash?

Any pointers for playing through the video when its resolution changes will
be very much helpful.

-Balaji
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to