On Wed, 10 Aug 2005, Peter Dettori wrote: > the files are from my digital camera so maybe they fall into the first > category, but i guess they are encoded and fall into the second > category.
Ah, ok. They are probably either MPEG-1 or MPEG-4 in an AVI container. > i shall see if i can get avi from the camera directly which > will avoid the problem in the future. I don't think that will make any difference. The data will be encoded to MPEG already. For example - my camcorder can, in addition to recording to a miniDV tape, capture MPEG-1 movies to the 'memory stick'. The miniDV tape can later be "captured" over a ieee1394 and then edited (using Kino for example) and encoded with mjpegtools. The '.mpg" file from the memorystick is already MPEG-1 - to do any editing with that it is necessary to demultiplex the audio and video, decode the video to something that can be edited (to DV, MJPEG, PPM, PNG, etc). The editing would be done, and then the data re-encoded to MPEG. MPEG is not a very good format for editing. Accuracy of edits is limited to the GOP size unless you decode/re-encode (which of course lowers the quality). Inside the AVI file the contents are probably not MJPEG or DV so mjpegtools can not be used directly. Good Luck! Cheers, Steven Schultz ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users