Okay thanks for quick responding :) I’ve another question, as per my understanding for the H264 decoding technique, the I-frame (a.k.a. key frame) is the actual full frame, the P-frame is the one predicted from the previous I-frame and finally the B-frame is some kind of interpolation between frames. Now If, in the h264_decode_frame function, I changed each I-frame to be let’s say blue frame, why the video isn’t all blue? I see a lot of blocks from the original video scene!
Best Regards, Ibrahim Radwan > On Jan 27, 2019, at 02:40, Carl Eugen Hoyos <[email protected]> wrote: > > 2019-01-26 21:04 GMT+01:00, Ibrahim Radwan <[email protected]>: > >> I would like to edit the decoder function of the h264 codec, in order to >> test what I’m doing, I’m trying to av_log anything inside this function >> "h264_decode_frame", and whenever I try to play any video, this function >> should be called (as per my understanding), but the logging doesn’t occur at >> all! > > This function is called (once) for each H.264 frame if you use > software decoding with libavcodec. > > Carl Eugen > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe".
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
