Hello, I work on two encoders (hardware) which are sending MPEG4 and H264 over RTSP. I recover MPEG4/H264 data using live555 and I passed it to av_decode_video. In both cases, I-frames are well decoded, but I notice some problems while decoding P frames. avcodec_decode_video return no error, but the objects leave a trail behind while moving.
I don't know if this change something: in the case of MPEG4, I received no information in fmtp_config. For H264, I got some data in fmtp_spropparametersets. I transform this data (similar to the mechanism used in VLC) and treat it then like any other input data. VLC display both video without problem. If I save raw MPEG4/H264 data to a file (in case of H264, spropparametersets are also saved), the file is displayed by VLC and both I- and P- frames are decoded properly. I think I miss something in the configuration of the codec or context, but I don't see what. Thanks, Ionel POP _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
