Annotation of wikisrc/users/jruoho/dvb.mdwn, revision 1.2

1.1       jruoho      1: # Miscellaneous DVB Notes
                      2: 
                      3: ## How to test that a device is working?
                      4: 
1.2     ! jruoho      5: Here is one basic way to test a [[!template id=man name="dtv" section="4"]] device. The example uses DVB-T. First install the necessary packages
1.1       jruoho      6: 
                      7:        # cd /usr/pkgsrc/multimedia/dvb-apps
                      8:        # make install package clean
                      9: 
                     10:        # cd /usr/pkgsrc/multimedia/mplayer
                     11:        # make install package clean
                     12: 
                     13: Scan a basic `channels.conf`:
                     14: 
                     15:        $ scan -x 0 /usr/pkg/share/dvb/dvb-t/fi-Turku > \
                     16:                ~/.mplayer/channels.conf
                     17: 
                     18: Then you should be able to already use `mplayer`:
                     19: 
                     20:        $ mplayer dvb://"YLE TV1"
                     21: 
                     22: For more involved testing, one can use for instance `tzap` (or equivalently,
                     23: `czap` or `szap`). In one terminal set the driver for recording:
                     24: 
                     25:        $ tzap -r "YLE TV1"
                     26: 
                     27: This gives continous information such as the signal strength. Check that the
                     28: FE_HAS_LOCK flag is present. Then pipe in an another terminal:
                     29: 
                     30:        $ cat /dev/dvb/adapter0/dvr0 > file.ts
                     31: 
                     32: At some point break and try to play the output file with `mplayer`.

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb