View previous topic :: View next topic |
Author |
Message |
madrebel n00b
Joined: 26 May 2002 Posts: 55 Location: Rancho Santa Margarita CA
|
Posted: Fri Nov 21, 2003 5:58 pm Post subject: command line video capture? |
|
|
hello, thanks for any help in advance.
basically what im doing is this.
svid out from my windows box into the video in on my hauppage card (gentoo powered box). i would like to be able to kick off the capture via a ssh cli thus avoiding unecesary kvm switching.
what programs/tools will work well for that? |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Sat Nov 22, 2003 12:08 am Post subject: |
|
|
Code: | mencoder -tv on:driver=v4l:width=768:height=284 -lavcopts vcodec=mpeg4:vhq:vqscale=2:aspect=1.3333 -ovc lavc -oac copy -o raw.avi
|
mencoder is part of mplayer (with the
Code: | encode - Adds support for MEncoder or LaME encoder, wherever applicable |
USE-Flag.
Postprocess the file to a better bitrate with:
Code: | mencoder raw.avi -lavcopts vcodec=mpeg4:vqscale=2:vhq:vpass=1 -ovc lavc -oac mp3lame -o /dev/null
mencoder raw.avi -lavcopts vcodec=mpeg4:vbitrate=1300:vhq:vpass=2:aspect=1.3333 -ovc lavc -oac mp3lame -o uncut.avi |
Insert a
to rescale the image if you want to use the video with other players than mplayer .... |
|
Back to top |
|
|
lbrtuk l33t
Joined: 08 May 2003 Posts: 910
|
|
Back to top |
|
|
dmind Tux's lil' helper
Joined: 12 Jan 2003 Posts: 120 Location: sweden, Terra, Sol, Milky Way
|
Posted: Sat Nov 22, 2003 6:26 pm Post subject: |
|
|
or just emerge -s vcr
and do your thingy in cron
Code: | 00 21 20 11 * vcr -r 384 -c 'divx ;-) low-motion' -p TV4 -m mono -b 96 -F 27 -S 700 -t 58m 24_20031120.avi |
_________________ Gentoo: it just changed my love life. |
|
Back to top |
|
|
|