Re: Command Line and Video Capture/Tuner Cards
Am Mittwoch, 7. Juni 2006 21:44 schrieb Martin McCormick:
> In Linux, is it possible to use the command line to
> command one of those video capture/tuner cards to begin recording
> to a file?
>
> I was discussing the virtues of Linux with a friend and
> said that if these cards can at least be commanded to start and
> stop recording via the command line, all the power of at and cron
> are available. It would also be easier to remotely control a
> system if the CLI works kind of like the sound commands of aplay
> and arecord commands do.
>
> Thanks for any replies.
>
> Martin McCormick WB5AGZ Stillwater, OK
> Systems Engineer
> OSU Information Technology Department Network Operations Group
Hi,
for DVB (digital video broadcasting) you could do that with the dvb-utils:
xzap -r <channel>
cat /dev/dvb/adapter0/dvr0 > recording.ts
You need a suitable channels.conf file (example files are included in the
dvb-utils package) and you have to replace the x in xzap with t for dvb-t, s
for dvb-s and c for dvb-c. The .ts stands for transport stream which is a
special mpeg2 format (playable by xine or mplayer).
regards
Christoph
Reply to: