Dag Bakke writes: > > It has often been stated that great utilities should do exactly one thing, > and do that very well. Do you know any great utilities for recording from > a V4L(2) device? Please do not hesitate to tell me if it already exists. > > (If you are tired of non-programmers whining for this or that program or > feature, this message may not be for you. Sorry.) > > There are a number of solutions for recording video from a v4l device > to be found. Most of them appear to have a shitload of dependencies on > other pieces of software in various states of maturity, and most often > have a user-interface and/or documentation which I'd rather not describe > in a civilized forum. > In short, the existing offers very much reflect how much i paid for them. > > I'd like to have a piece of software that: > - reads audio and video and > - compress the input to mp3/mpeg-4 while keeping audio and video in sync. > - will require one preinstalled audio and video codec and a v4l2-device. > - does de-interlacing > - has built-in defaults for all options. > - is installed with './configure; make install' > - creates content which is viewable with common software > > All other requirements should be strictly optional. > (Excluding obvious omissions.) > > > I cooked up a man-page, if anyone feels like taking on the task. > It may reveal my total lack of understanding of the subject at hand, but > it should also reflect the level of simplicity I'd like to see. > > Your reward for coding this will be an eternal stream of requests for > new features in v4l2record, and almost as much fame, glory and spam as > Gerd Knorr is getting. :-) > Do you mean ssomething like this: mencoder -tv on:driver=v4l:width=480:height=576:adevice=/dev/dsp:forcechan=2:outfmt=yuy2 -ovc xvid -vop pp=lb -oac mp3lame -lameopts cbr:mode=0:br=128 -o output.avi Marcus -- /--------------------------------------------------------------------\ | Dr. Marcus O.C. Metzler | | |--------------------------------|-----------------------------------| | mocm@xxxxxxxxxxxxxx | http://www.metzlerbros.de/ | \--------------------------------------------------------------------/