Hi,<div><br></div><div>I found some informations on internet, some said that if replace the first 4 bytes as "0x00000001", it will be the Annex-B format NALU.</div><div>And i tried in that way, the output mp4 file has video data, but all pictures are green, so it still not solve the problem.</div>
<div>Do you have any hint about this?</div><div>Thanks.<br><br><div class="gmail_quote">2012/12/27 Brian Chi <span dir="ltr"><<a href="mailto:beyond702@gmail.com" target="_blank">beyond702@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":6d">ction "av_write_frame->mov_write_packet->ff_mov_write_packet->ff_avc_parse_nal_units->ff_avc_find_startcode" find the start code 0x000001, how can i resolve this problem to make it works?<div>
The first 4 bytes in the AVPacket is the size of this NALU, should i replace the first 4 bytes with 0x000001 or 0x000</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<div>Chi</div>
</div>