Piping from device?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Piping from device?
# 1  
Old 03-31-2007
Piping from device?

Hi

Long time since I did any shell scripting so please be gentle with me! Smilie

Just wanted to know whether it is possible to take the streaming output from a dvb card /dev/dvb/adapter0/ and using named pipes and tee to pass the outputs to mplayer and mencoder so as to watch and record a telly program simultaneously.

If this is possible can anyone point me to a good example?

Many thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

3. Solaris

Migrating non DID device in a metaset to DID device

One of my team colleague mistakenly added non DID device to a metaset in a cluster node and inturn it is again added to concat . In that metaset all devices are DID devices except only one . is it possible to convert this non DID device in metaset to DID device without recreating the whole... (0 Replies)
Discussion started by: sekarsamy
0 Replies

4. AIX

How to find all device on p570 when need do device firmware upgrade?

I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

5. Shell Programming and Scripting

piping

I am using pipes (specifically piping out) in Perl to put an array from one file into an array in a different file. I can't figure out how to transfer the array. I kow how to open the pipe : open (FILEHANDLE, "| file") or die~ but how do I transfer the array. I think it has something to do with... (1 Reply)
Discussion started by: lnatz
1 Replies
Login or Register to Ask a Question
ALEVT-CAP(1)							 Teletext capture						      ALEVT-CAP(1)

NAME
alevt-cap - simple capture of teletext pages SYNOPSIS
alevt-cap [options] ppp[.ss] ... DESCRIPTION
alevt-cap is a simple program to capture teletext pages and write them to disk. You just give it a list of pages to fetch and it will save them. Nothing fancy like time-outs, page ranges, or channel name detection is supported. Though, it supports different file formats - at the moment ascii, ansi (ascii with color escape sequences), html, png, and ppm. OPTIONS
A summary of options is included below. -name filename Gives the filename under which the pages should be saved. It may contain a couple of %-sequences (see below). (default: ttext-%s.%e) -format format-specifier Sets the file format used to save pages (see below). (default: ascii) -format list|help Lists all known file formats and their options. -vbi device Use the given device name. Default: /dev/vbi, /dev/vbi0, /dev/video0, /dev/dvb/adapter0/demux0 tried in this order. -finetune -4..4|auto Specify the fine tuning for the decoder. For the right value play with alevt. Default: 1. -timeout seconds If the pages cannot be captured in seconds, the program terminates with exit status 1 after saving the already captured pages. The default is to wait forever. -charset latin-1|latin-2|koi8-r|iso8859-7 Selects the character set to use. Characters not present in the selected set are replaced by similar looking symbols. (default: latin-1) -progname name Specifies the program name if using the DVB interface. -pid pid Specifies the teletext PID if using the DVB interface. --help Show summary of options. --version Show version of program. Every non-option argument is taken as a page number. Subpages may be given in the form ppp.ss where ppp is the page number and ss is the subpage number. If no subpage is specified, the first transmitted subpage of that page is taken. The page is saved with the prior given format and name. Filenames The filename may contain %-sequences. The following sequences are defined: %% a single % sign. %e the default extension of the selected output format. %p the page number and an optional subpage number. %P the page number. %S the subpage number. %s the page number as given on the command line. Between the % sign and the letter you can give a field width to which the replacement string should be padded. Format specifiers The output format and associated options are given by the format specifier. It is made up of one or more comma separated words. The first word selects the output format and the others are options for that format. There are common options valid for all output formats and for- mat specific (private) ones. Some options have the form of an assignment. The order of the options is free. Only the format name itself must be the first word. An example: ansi,reveal,bg=none The ansi is the format and reveal, and bg=none are options. At the moment there are only two common options: reveal, and hide. They control whether the hidden characters present in a page should be shown in the output or not. The default is hide. The special format string list (or help) will give you a list of all supported output formats and their options. (The ansi format is an alias for ascii,color.) The -progname or -pid option specifies the program or teletext PID if using the DVB interface. If neither of these two options is used, alevt outputs informations about the currently accessible streams and uses the first of these PIDs as default. This output contains the PIDs and names that can be used as an input for the -progname or -pid option in the context of the currently chosen TV channel. DIAGNOSTICS
If the program timed out and some pages are missing the exit status is 1. On fatal errors the exit status is 2. NOTE
Before starting this program, you have to set the TV channel with another program like xawtv of set-tv. FILES
/dev/vbi* /dev/dvb/adapter*/demux* SEE ALSO
alevt(1x), alevt-date(1), BUGS
If you give a page number that is never transmitted the program will not terminate. Bug reports to <froese@gmx.de>. LINUX
1.6.2 ALEVT-CAP(1)