<div>By the way, ITU-T-REC H264 , section 7.3.2.1 "Sequence parameter set RBSP syntax" and 7.3.2.2 "Picture parameter set RBSP syntax" do not look like they contain information about picture dimensions.</div><div>š</div><div><a href="https://www.itu.int/rec/T-REC-H.264-200305-S/en">https://www.itu.int/rec/T-REC-H.264-200305-S/en</a></div><div>š</div><div>And funcšff_h264_decode_extradata() called by avcodec_open() doesn't fill H264Context->width and height .<br /><br />What if decoder just receives dimensions from the "gop_header" ?</div><div>š</div><div>--š</div><div>ó Õ×ÁÖÅÎÉÅÍ,</div><div>óÌÏÂÏÄÅÎÀË áÌÅËÓÁÎÄÒ éÇÏÒÅ×ÉÞ</div><div>š</div><div>ËÏÎÔÁËÔÎÙÊ ÔÅÌÅÆÏÎ: +7-925-050-64-62</div><div>š</div><div>š</div><div>š</div><div>30.05.2016, 12:24, "Sampsa Riikonen" <sampsa.riikonen@iki.fi>:</div><blockquote type="cite"><p><br /><br />On 30.05.2016 11:49, Carl Eugen Hoyos wrote:</p><blockquote>šSampsa Riikonen <sampsa.riikonen@...> writes:<br /><br /><blockquote>šI do not want to decode anything, just to get the codec<br />šparameters from sps and pps.</blockquote>šWhat other word than "decoding" would you use to get the<br />šcodec parameters from sps and pps?</blockquote><p><br />Sorry I was not clear enough..<br /><br />I pass sps and pps packets to the decoder => the AVFormatContext that is <br />handled by the decoder is empty<br /><br />Only when I pass the following IFrame, the AVFormatContext is being <br />populated<br /><br />(i.e. i need sps,pps & iframe, instead of just sps and pps)<br /><br />I was wondering if there is a way to avoid that I frame decoding.<br /><br /></p><blockquote><br />šCarl Eugen<br /><br />š_______________________________________________<br />šLibav-user mailing list<br />š<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br />š<a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a></blockquote><p><br />_______________________________________________<br />Libav-user mailing list<br /><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br /><a href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a></p></blockquote>