[Libav-user] Logging inside the ffmpeg h264dec.c functions

Ibrahim Radwan i.radwan1996 at gmail.com
Sun Jan 27 04:12:46 EET 2019

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 <ceffmpeg at gmail.com> wrote:
> 2019-01-26 21:04 GMT+01:00, Ibrahim Radwan <i.radwan1996 at gmail.com>:
>> 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
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190127/5a789acc/attachment.html>

More information about the Libav-user mailing list