andro <sendtofaraway@...> writes:

> I'm looking for a way to mux mjpeg (compressed) video 
> data into a video container like mp4 or avi.

$ ffmpeg -i input -vcodec mjpeg out.avi

> (I'll also need to add audio in the future) .

$ ffmpeg -i input -vcodec mjpeg -acodec ac3 out.avi

> I do not want decode the MJpeg data first ,and then 
> encode and mux it into AVI container .

$ ffmpeg -i mjpeg -vcodec copy out.avi

Generally, it is a good idea to test something before 
posting on this mailing list and report here if it 
does not work (includig failing command line and 
complete, uncut console output).

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to