Anyway, your code should work. My application has similar code, and it works.
The reason, that the libav doesn't decode the first supplied frame, could be in the interframe compression. That is, this frame could depend on previous ones, which don't exist in your application. Try repeat the calls with the new portions of data. When I-frame will come, it will be decoded, and all subsequent frames also. You should read elsewhere about I, P and B-frames. -- View this message in context: http://n4.nabble.com/H264-decoding-tp1468742p1469981.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
