[Libav-user] ffmpeg debugging

eymen eymenkurdoglu at gmail.com
Sun Sep 6 22:23:22 CEST 2015


Hi all,

While decoding an H.264 bytestream with ffmpeg, I am trying to get the 
"static void print_short_term 
<https://www.ffmpeg.org/doxygen/2.5/h264__refs_8c.html#a2cfbf524bc60d95d98d40fa0e35d6034>(H264Context 
<https://www.ffmpeg.org/doxygen/2.5/structH264Context.html> *h)" 
function to work (Definition at line 509 
<https://www.ffmpeg.org/doxygen/2.5/h264__refs_8c_source.html#l00509> of 
file h264_refs.c 
<https://www.ffmpeg.org/doxygen/2.5/h264__refs_8c_source.html>)

I tried adding "-loglevel debug" in the command line, but I still cannot 
see the short term reference frames.

There is an if statement inside the function like:
if (h->avctx 
<https://www.ffmpeg.org/doxygen/2.5/structH264Context.html#a4ffe05fa45bcaf7998889085ebce941a>->debug 
<https://www.ffmpeg.org/doxygen/2.5/structAVCodecContext.html#a1c52e4da25b608b2b9a80af21bb86d58> 
& FF_DEBUG_MMCO 
<https://www.ffmpeg.org/doxygen/2.5/libavcodec_2avcodec_8h.html#ab4c33b60e800404f9413fb651c10340f>) 
// so on...

But that does not make much sense to me. How can I make this function work?

Thanks a lot for your help,
Eymen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150906/488c3fea/attachment.html>


More information about the Libav-user mailing list