README 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. Hi,
  2. this are some trivial zapping applications explaining how to use the frontend
  3. and demux API. They are also pretty useful to test your hardware.
  4. For DVB-S, Astra Channel config file:
  5. $ ./szap -c channels-conf/dvb-s/Astra-19.2E n24
  6. will tune to N24. For DVB-C, Berlin Cable channel config:
  7. $ ./czap -c channels-conf/dvb-c/de-Berlin Arte
  8. For DVB-T, Berlin Config:
  9. $ ./tzap -c channels-conf/dvb-t/de-Berlin phoenix
  10. For ATSC, Raleigh Durham Config:
  11. $ ./azap -c channels-conf/atsc/us-Raleigh-Durham WRAL
  12. will tune to WRAL's Digital Channel 5-1.
  13. By default the MPEG stream is routed to a hardware decoder. If you want to
  14. record the stream to disk you will route it to the DVR device by using the
  15. '-r' option:
  16. $ ./tzap -c channels-conf/dvb-t/de-Berlin phoenix -r
  17. [keep it running in one console]
  18. $ cat /dev/dvb/adapter0/dvr0 > /tmp/recording.ts
  19. [in a second console, will dump the MPEG transport stream to /tmp/recording.ts]
  20. The status messages have the following meaning:
  21. status 0x1f --- The demodulator status bits.
  22. 0x1f means all bits set, everything ok.
  23. signal [0x0000...0xffff] --- Signal Strength. Values above 0x8000 should be ok.
  24. snr [0x0000...0xffff] --- Signal/Noise Ratio. Values above 0x8000 are ok.
  25. ber [0...0xffffffff] --- Bit Error Rate. The less the better.
  26. unc [0...0xffffffff] --- Number of Uncorrectable Blocks.
  27. Small numbers are Preferable.
  28. If everything is alright and all frontend circuits are working stable
  29. (are locked) you should see a FE_HAS_LOCK in the rightmost line.
  30. Good luck,
  31. Holger