<div><div style="font-family: 'lucida Grande', Verdana; line-height: 23px;"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 18px; orphans: 2; widows: 2;">  I'm looking for a way to mux mjpeg (compressed) video data into a video container like mp4 or avi.</span></div><div style="font-family: 'lucida Grande', Verdana; line-height: 23px;"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 18px; orphans: 2; widows: 2;"> (I'll also need to add audio in the future) . I do not want decode the MJpeg data first ,and then encode and mux</span></div><div style="font-family: 'lucida Grande', Verdana; line-height: 23px;"><span style="font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 18px; orphans: 2; widows: 2;">it into AVI container .</span></div></div>