https://www.freebsd.org/cgi/man.cgi?q...
https://www.freshports.org/multimedia...
http://lavrsen.dk/foswiki/bin/view/PW...
http://lavrsen.dk/foswiki/bin/view/PW...
https://linux.die.net/man/1/mencoder
For help: pwcview --help OR: man pwcview OR: pwcview -?
pwcview -xs sif -f 30
pwcview -xs vga -f 30
pwcview -xs cif -f 30
*Note* if ran with no flags: Webcam set to: 320x240 (sif) at 5 fps
-x Create window without frame
-s size Video size to use (default: sif)
Sets the webcam's video size. The default is sif. Can be
one of 'sqcif', 'qsif', 'qcif', 'sif', 'cif' or 'vga',
for an image size of resp. 128x96, 160x120,
176x144,320x240, 352x288 and 640x480 (of course, only for
those cameras that support these resolutions).
-f fps Sets the webcam's frame rate. The default is 5.
Should be in the range of 5-30.
valid sizes: sqcif, qsif, qcif, sif, cif, vga, svga, xga, sxga, uxga
USE taskbar right click to resize and or move screen & select 'always on top'
uxga = zoomed in: : : Webcam set to: 1280x1024 (uxga)
sqcif = full screen: : : Webcam set to: 1920x1080 (sqcif)
qsif = very small
cif = A good size for recording: : : Webcam set to: 352x288 (cif)
sif = even better: : :Webcam set to: 320x240 (sif)
vga: : : Webcam set to: 640x480 (vga)
svga: : : Webcam set to: 800x600 (svga)
xga: : : Webcam set to: 800x600 (xga)
sxga: : : Webcam set to: 1280x1024 (sxga)
**Note: Before recording with pwcview install mencoder
pkg install mencoder
The record video command:
pwcview -hkr -s sif -f 15 | mencoder -demuxer rawvideo -rawvideo fps=15:w=320:h=240:i420 - -ovc lavc -lavcopts vcodec=mpeg4 -o motion.avi
-h: headless
-k: Add time & date stamp
-r: record
-sif: (size) 320x240
-f: (fps) frame count
mencoder is a free command line transcoding tool released under the GNU General Public License. It is a sibling of MPlayer, and can convert all the formats that MPlayer understands into a variety of compressed and
uncompressed formats using different codecs. MEncoder is included in the MPlayer distribution. Wikipedia
demuxer: https://en.wikipedia.org/wiki/Demulti...)
A demultiplexer (often abbreviated as a demuxer or dmux) is a
software or hardware tool that creates two or more streams of
data from a single-stream input.
rawvideo: footage is the crude output of a video or still camera recording. It is the unprocessed data from a camera's image sensor.
-ovc:
-o = outfile Filename of the jpeg output images. This is a string that
is passed to the strftime(3) function and thus can
contain the format specifiers as documented in the
strftime(3) man page. The default is /tmp/%Y%m%d%H%M%S.jpg
-v = video
-c = count Number of automatic jpeg snapshots to take. Set this to
-1 for unlimited automatic jpeg snapshots. The default is 0
Thanks for watching Hope all is well with you & your part of the world!
Archin on with some extra friends along.