I'm looking for a way to mux mjpeg (compressed) video data into a video container like mp4 or avi. (I'll also need to add audio in the future) . I do not want decode the MJpeg data first ,and then encode and mux it into AVI container .