With the help of a friend, I think I have the solution.<div><br></div><div>I use &quot; -srcnodata &quot;0 0 0&quot; &quot; in gdalbuildvrt, and &quot;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><b><span style="font-weight: normal; "><b> </b>-wo init_dest=255 &quot;<b><span style="font-weight: normal; ">in gdalwarp and the result is the background color I want (black here).</span></b></span></b></span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><b><span style="font-weight: normal; ">I tried on several images and it works.</span></b></span></div>
<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
</blockquote></div><br></div>