[FFmpeg-devel] decode_frame of libavcodec/h264.c

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jun 12 16:19:44 CEST 2012


Jean Marie Vella <jeanm.vella <at> gmail.com> writes:

> I have .264 files which I used ffmpeg to convert to yuv files. 
> I am trying to monitor which frames are actually decoded and 
> written in the yuv file. I am doing this by monitoring 
> h->frame_num in the function decode_frame of libavcodec/h264.c. 
>  However, I would like to know which function calls the
> function decode_frame().

avcodec_decode_video2() in libavcodec/utils.c or 
frame_worker_thread() in libavcodec/pthreads.c
Note that you can use gdb to find out yourself.

Carl Eugen



More information about the ffmpeg-devel mailing list