add jpeg and x264