<div>I used avcodec to decode and transcode individually. It cannot receive a proper header of the first decode packet.  <br>But for transcode, it can receive the proper header. I would like someone to help me understand why for same video file<br>
decode and transcode produce different stream header? And why AVcodec can successfully decode without a proper header?</div>
<div> </div>
<div>Please find the attached image file which includes the header data.</div>
<div><br>Thanks!</div>