I'll checkout some other encoders and ff_alloc_packet2.  Thanks.