> And I have found a example but without x264_nal_encode, which is not working well Is there some tutorial about how to use these function? Thank you! x264.c libavcodec/libx264.c Jason