[FFmpeg-devel] does ffmpeg decoder clipps the num_ref_frames to MaxDpbSize when num_ref_frames exeeds MaxDpbSize

chemsi mehdi chemsi_mehdi at live.fr
Thu Apr 26 09:19:47 CEST 2012


 
 
Hi All,
 
I have a stream which is properly decoded with VLC but the professional tool (Elecard) has raisen many issues
 

the stream presents an encoding violation that leads to noticed macrobloks at display stage.
  
As it is encoded the stream needs 16 reference frame buffers and such number exceeds the MaxDpbSize
 
(maximum number of reference frame buffer) which is encoded as 9.
 
H264 standards(subclauseA.3.1 or A.3.2) states that The value of reference frame buffer number
 
(num_ref_frames)shall be in the range of 0 to MaxDpbSize.
 
I knew that VLC player uses fffmpeg to decode H264.  
 
does ffmpeg decoder clipps the num_ref_frames to MaxDpbSize when num_ref_frames exeeds MaxDpbSize?
 
 
regards
 
 
Mehdi 		 	   		  


More information about the ffmpeg-devel mailing list