hello all,
i have approximately 130GB or two weeks of MP4 video recorded daily
from 4am to 9:30pm this holiday break. the resolution is 640x480.
(from up in the aurora province mountains where the generator runs
only 4 hours a day, powering the cdrking HD camera with a cdrking 5v
usb car charger connected to 3SM car battery {which i carry every
other day 20 mins uphill to charge in the van, then back down}).
made a php script to convert them all to 320x240 which will run in two
machines both 2.5ghz core2quad with 8gb sharing the data using sshfs
over a gigabit lan.
the script simply "find . | grep ".MP4$" then does "echo n | ffmpeg
...." on each item sequentially. ("echo n" tells ffmpeg not to
overwrite a file if the output file exists, which means another
processor is doing or has done that file)
i run four instances of the script on each machine to utilize 100% of the CPUs.
it's fantastic, hehe. 0% idle on both machines according to 'top'. IO
bandwidth, seen in 'iostat' is about 26kblocks/s only which means the
usb/sata path to the external 5.4krpm laptop harddisk is not a
bottleneck yet (can add another node).
total 8 instances of the same script simultaneously running each
processing files that the others haven't finished yet. processing 182
files.
640x480 mp4 is ~130gb [original]
320x240 mp4 (video 200kbps, audio 32kbps) is ~12gb
32k mp3 is ~2.4gb
ubuntu 8.10 at least to run ffmpeg using the codecs i like
---- unrelated to linux ----
so what are the videos about? http://winelfredpasamba.blogspot.com/
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph