LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-05-2009, 07:19 PM   #16
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120

I didn't realise you were analogue. I've been talking digital (dvb).

I have no experience with analogue. Off the top of my head I'd try using cat only because I have used it with digital devices.

You can cat any file and remember devices are files in unix/linux. If you do "cat /device/mouse > mouse.txt" you will get the output of /dev/mouse provided you have permission as in below:
Code:
rick@rick:~$ cat /dev/mouse
cat: /dev/mouse: Permission denied
rick@rick:~$ su
Password:
root@rick:/home/rick# cat /dev/mouse 
(ÿ(þ(þ(þ(ÿ(þ(ÿ(ý(þ(ÿ(þ(ÿ(ÿ(ÿ(þ(ÿ(ÿ(ÿ(ÿ((ÿ(ÿ8þÿ▒ÿ▒þ8ÿÿ8þÿ8ÿÿ8ýÿ8ÿÿ8ÿÿ8ÿÿ8ÿþ8ÿÿ8ÿþ(ÿ8þý(ÿ8ÿþ8ÿþ8ÿþ(ÿ(þ8ÿþ8ÿþ(ÿ(ÿ(ÿ8▒ÿ▒ÿ▒þ▒ý▒ÿ▒þ▒þ▒þ▒ÿ^C
root@rick:/home/rick# cat /dev/mouse mouse.txt > mouse.txt
^C
root@rick:/home/rick# cat mouse.txt
▒ÿ▒ÿ8þÿ(ÿ8ÿÿ8ÿÿ(ÿ8ÿÿ(ÿ(ÿ(ÿ(ÿ8ÿÿ(ÿ(ÿ8ÿÿ(ÿ8ÿÿ(ÿ(ÿ(ÿ8ÿÿ8ÿÿ(ÿ8ÿÿ(ÿ8ÿÿ(ÿ8ÿÿ8ÿÿ(ÿ8ÿÿ8ÿÿ(ÿ8ÿÿ(ÿ8ÿÿ8ÿÿ8ÿÿ8ÿÿ8ÿÿroot@rick:/home/rick#
So if you know what your analogue TV device is you can use cat to save it to disk. I can do this be locking on to a digital channel with tzap then cat'ing the device to a file like this:
Code:
bash-3.1$ tzap -c /etc/channels.conf -r "ABC2"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/etc/channels.conf'
tuning to 226500000 Hz
video pid 0x0905, audio pid 0x0906
status 00 | signal 00ff | snr 8000 | ber 00003fff | unc 00000000 |
status 1f | signal 002c | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK
and this:
Quote:
bash-3.1$ cat /dev/dvb/adapter0/dvr0 > /videos/sunday-07-04-29.ts
I don't know if you have anything like tzap (which is for dvb-t) to use with an analogue card. Likewise, I don't know whether or not you can do something similar and/or whether you can watch it while saving it which would mean two applications accessing the same device at the same time but maybe this will give you some ideas.

Last edited by justwantin; 09-05-2009 at 07:24 PM. Reason: tyops
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinnacle PCTV Stereo-PCI Tuner Card Support anoopkjm Linux - Enterprise 0 09-26-2006 09:40 AM
PCI TV card - no options for tuner or tv available stevod333 Linux - Hardware 1 04-17-2006 09:26 AM
VisionPlus Digital TV PCI Tuner Card Colin Abbott General 5 04-02-2005 09:12 PM
philips 7130 pci tuner card Jake_da_Snake Linux - Hardware 10 02-26-2005 12:01 AM
Need help recording to hd from tv tuner card Lakota Linux - Hardware 2 10-25-2003 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration