<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>I wrote a libAV-based C program for video editing.  It takes a video file as<br>input and produces a video file as output.  The input file is AVI container,<br>yuv422p pixels, and is ffvhuff compressed.  I want the output file to also be<br>AVI, yuv422p pixels, but uncompressed video (not ffvhuff).  What should I set<br>the output format to in my libAV program?  Currently I'm setting it to<br>AV_CODEC_ID_RAWVIDEO like this<br><br>    AVOutputFormat *OutFormat;<br>    OutFormat->video_codec = AV_CODEC_ID_RAWVIDEO;<br><br>However, when I do the above, the output pixels are blue-ish.  If I instead<br>set the output file video_codec to AV_CODEC_ID_FFVHUFF, the pixels look<br>correct.  But if AV_CODEC_ID_RAWVIDEO, then all
 pixels have a blue tint.  What<br>should I set the output codec to?<br><br class=""></div></div></body></html>