<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks for your response and sorry about the top-posting đź™Ź<div class=""><br class=""><div class="">Well what I’ve done is hard-setting the `pict` frame buffers (inside the h264_decode_frame function) to the color I want, the first frame (i.e. the first I-frame) is completely blue as expected, but the subsequent frames tend to return back to the original video frame gradually (as shown in the attached frame).</div><div class="">I don’t know if there’s something more that I’ve to change to reflect the change on the next frames!</div></div><div class=""><br class="webkit-block-placeholder"></div><div class=""><img apple-inline="yes" id="013FCB1A-D6D5-4E48-89C4-A4D2AEE5259B" width="231.5" height="145.5" src="cid:71860844-E82B-42AA-B327-5D45834317B6" class=""></div><div class="">
<br class="Apple-interchange-newline"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">Best Regards,</span><br style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;" class="">Ibrahim Radwan</span>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jan 27, 2019, at 05:38, Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com" class="">ceffmpeg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">2019-01-27 3:12 GMT+01:00, Ibrahim Radwan <<a href="mailto:i.radwan1996@gmail.com" class="">i.radwan1996@gmail.com</a>>:<br class=""><br class=""><blockquote type="cite" class="">I’ve another question, as per my understanding for the H264 decoding<br class="">technique, the I-frame (a.k.a. key frame) is the actual full frame, the<br class="">P-frame is the one predicted from the previous I-frame and finally the<br class="">B-frame is some kind of interpolation between frames.<br class=""></blockquote><br class=""><blockquote type="cite" class="">Now If, in the h264_decode_frame function, I changed each<br class="">I-frame to be let’s say blue frame, why the video isn’t all blue?<br class="">I see a lot of blocks from the original video scene!<br class=""></blockquote><br class="">You may have missed something when changing the the frame?<br class=""><br class="">Please do not top-post here, Carl Eugen<br class="">_______________________________________________<br class="">Libav-user mailing list<br class=""><a href="mailto:Libav-user@ffmpeg.org" class="">Libav-user@ffmpeg.org</a><br class="">http://ffmpeg.org/mailman/listinfo/libav-user<br class=""><br class="">To unsubscribe, visit link above, or email<br class="">libav-user-request@ffmpeg.org with subject "unsubscribe".</div></div></blockquote></div><br class=""></body></html>