On Wed, 26 Jan 2005, E.Chalaron wrote:
> Anyway I have another small thing here.
> A 400 ft reel of Super 8 comes to 28800 individual frames, which is obviously
> too much to handle for bash/cat
Did you really take 28800 individual pictures by hand?
> I know that
> find . -name \*.tga | xargs -n1 tgatoppm | ppmtoy4m | blabla
Try this:
find . -name \*.tga | xargs -n1 cat | ppmtoy4m
or
find . -name \*.tga -exec cat {} \; | ppmtoy4m
If find is not finding the files in the correct order, you may want
to do something like:
find .-name \*.tga | sort | xargs -n1 cat | ppmtoy4m
> An option would be to save in TGA.
If you used a digital camera, didn't it produce jpeg files? You'd get the
best quality be going from jpeg to y4m directly, without the ppm step.
Converting from jpeg to ppm involves a colorspace conversion (YUV->RGB) as
well as chroma re-sampling (4:2:0 -> 4:4:4). Going from ppm to y4m involves
converting back to YUV and 4:2:0. The files would probably be a lot smaller
too!
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Mjpeg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users