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
w_scan(28)																w_scan(28)

NAME
w_scan - a universal ATSC and DVB blind scanner SYNOPSIS
w_scan -fa -c <COUNTRY_ID> [ options ] w_scan -fc -c <COUNTRY_ID> [ options ] w_scan -ft -c <COUNTRY_ID> [ options ] w_scan -fs -s <SATELLITE_ID> [ options ] DESCRIPTION
w_scan scans for DVB-C, DVB-S/S2, DVB-T, ISDB-T and ATSC channels. Any other program accessing the DVB hardware (like e.g. VDR) has to be closed in order to avoid conflicts while running w_scan. w_scan provides the channels in different output formats (Default: VDR channels.conf). For other output formats see OPTIONS. OPTIONS
The following options are available. -f TYPE Frontend type, "a" = ATSC, "c" = DVB-C, "s" = DVB-S/S2, "t" = DVB-T (and ISDB-T) [default] Depending on "TYPE", either of the arguments "-s" or "-c" is mandatory. -c COUNTRY_ID Mandatory argument for ATSC scans, cable scans and terrestrian scans, see option -f. Specifies the country where you try to scan for channels as uppercase two letter identifier, e.g. DE = Germany, US = United States, FR = France Use "-c?" for a list of all known identifiers. -s SATELLITE_ID Mandatory argument for satellite scans, see option -f. Specifies the satellite you wish to scan as uppercase identifier, e.g. S19E2 = 19.2o east, S13E0 = 13.0o east, S0W8 = 0.8o west. Use "-s?" for a list of all known identifiers. -A N specify ATSC scan type 1 = terrestrial [default], 2 = cable, 3 = both, cable and terrestrial. -o N VDR channels.conf format 6 = VDR-1.2 .. VDR-1.6 [default], 7 = VDR-1.7 (for DVB-S2 support) -X generate zap/czap/xine output instead of VDR channels.conf. -x generate initial tuning data output for (dvb-)scan instead of VDR channels.conf. -k generate channels.dvb for kaffeine instead of VDR channels.conf. -L generate VLC xspf playlist (experimental) -M mplayer output instead of vdr channels.conf -G generate output for Gstreamer dvbsrc plugin -h show help -H show expert help EXPERT OPTIONS
-C CHARSET specifies the output charset, i.e. "UTF-8", "ISO-8859-15" use 'iconv --list' to see full list of charsets. -I FILE import dvbscan initial_tuning_data -v verbose (repeat for more) -q quiet (repeat for less) -R N Radio channels 0 = don't search radio channels 1 = search radio channels [default] -T N TV channels 0 = don't search TV channels, 1 = search TV channels [default] -O N Other services 0 = don't search other services, 1 = search other services [default] -E N Conditional access / encrypted channels 0 = only Free TV channels, 1 = include encrypted channels [default] -a N use device /dev/dvb/adapterN/ [default: auto detect] (also allowed: -a /dev/dvb/adapterN/frontendM) NOTE: This option is deprecated and should be usually omitted. -F Long filter timeout for reading data from hardware. -t N Tuning timeout, increasing may help if device tunes slowly or has bad reception. 1 = fastest [default], 2 = medium, 3 = slowest -i N spectral inversion setting for cable TV 0 = off, 1 = on, 2 = auto [default] -Q DVB-C modulation [default: choosen by country] NOTE: for experienced users only! 0 = QAM64, 1 = QAM256, 2 = QAM128 -S RATE set DVB-C symbol rate, see table: [default: choosen by country] NOTE: for experienced users only!! 0 = 6.9000 MSymbol/s 1 = 6.8750 MSymbol/s 2 = 6.9565 MSymbol/s 3 = 6.9560 MSymbol/s 4 = 6.9520 MSymbol/s 5 = 6.9500 MSymbol/s 6 = 6.7900 MSymbol/s 7 = 6.8110 MSymbol/s 8 = 6.2500 MSymbol/s 9 = 6.1110 MSymbol/s 10 = 6.0860 MSymbol/s 11 = 5.9000 MSymbol/s 12 = 5.4830 MSymbol/s 13 = 5.2170 MSymbol/s 14 = 5.1560 MSymbol/s 15 = 5.0000 MSymbol/s 16 = 4.0000 MSymbol/s 17 = 3.4500 MSymbol/s -e extended DVB-C scan flags. NOTE: for experienced users only! Any combination of these flags: 1 = use extended symbolrate list, 2 = extended QAM scan -l TYPE choose LNB type by name (DVB-S/S2 only) [default: UNIVERSAL], "-l?" for list of known LNBs. -D Nc use DiSEqC committed switch position N (N = 0 .. 3) -D Nu use DiSEqC uncommitted switch position N (N = 0 .. 15) -p <file> use DiSEqC rotor Position file -r N use Rotor position N (N = 1 .. 255) -P ATSC scan: do not use ATSC PSIP tables for scan (PAT and PMT only) EXAMPLES
scan satellite 19.2o east: w_scan -fs -s S19E2 scan cable (DVB), Germany: w_scan -fc -c DE scan aerial (DVB), France: w_scan -ft -c FR scan cable (ATSC), United States: w_scan -fa -A2 -c US scan aerial (ATSC), United States: w_scan -fa -A1 -c US use output format VDR-1.7: w_scan [ OTHER OPTIONS ] -o 7 use output format kaffeine: w_scan [ OTHER OPTIONS ] -k use output format zap/czap/xine: w_scan [ OTHER OPTIONS ] -X use output format dvbscan/scan/scan-s2 initial tuning data. w_scan [ OTHER OPTIONS ] -x NOTE: w_scan also performs full scans, so there is generally no need for this. REPORTING BUGS
see README file from source code package. AUTHOR
Written by W.Koehler Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. SEE ALSO
vdr(1) March , 2011 w_scan(28)