README.ivtv 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. ivtv release notes
  2. ==================
  3. This is a v4l2 device driver for the Conexant cx23415/6 MPEG encoder/decoder.
  4. The cx23415 can do both encoding and decoding, the cx23416 can only do MPEG
  5. encoding. Currently the only card featuring full decoding support is the
  6. Hauppauge PVR-350.
  7. NOTE: this driver requires the latest encoder firmware (version 2.06.039, size
  8. 376836 bytes). Get the firmware from here:
  9. http://dl.ivtvdriver.org/ivtv/firmware/
  10. NOTE: 'normal' TV applications do not work with this driver, you need
  11. an application that can handle MPEG input such as mplayer, xine, MythTV,
  12. etc.
  13. The primary goal of the IVTV project is to provide a "clean room" Linux
  14. Open Source driver implementation for video capture cards based on the
  15. iCompression iTVC15 or Conexant CX23415/CX23416 MPEG Codec.
  16. Features:
  17. * Hardware mpeg2 capture of broadcast video (and sound) via the tuner or
  18. S-Video/Composite and audio line-in.
  19. * Hardware mpeg2 capture of FM radio where hardware support exists
  20. * Supports NTSC, PAL, SECAM with stereo sound
  21. * Supports SAP and bilingual transmissions.
  22. * Supports raw VBI (closed captions and teletext).
  23. * Supports sliced VBI (closed captions and teletext) and is able to insert
  24. this into the captured MPEG stream.
  25. * Supports raw YUV and PCM input.
  26. Additional features for the PVR-350 (CX23415 based):
  27. * Provides hardware mpeg2 playback
  28. * Provides comprehensive OSD (On Screen Display: ie. graphics overlaying the
  29. video signal)
  30. * Provides a framebuffer (allowing X applications to appear on the video
  31. device)
  32. * Supports raw YUV output.
  33. IMPORTANT: In case of problems first read this page:
  34. http://www.ivtvdriver.org/index.php/Troubleshooting
  35. See also:
  36. Homepage + Wiki
  37. http://www.ivtvdriver.org
  38. IRC
  39. irc://irc.freenode.net/ivtv-dev
  40. ----------------------------------------------------------
  41. Devices
  42. =======
  43. A maximum of 12 ivtv boards are allowed at the moment.
  44. Cards that don't have a video output capability (i.e. non PVR350 cards)
  45. lack the vbi8, vbi16, video16 and video48 devices. They also do not
  46. support the framebuffer device /dev/fbx for OSD.
  47. The radio0 device may or may not be present, depending on whether the
  48. card has a radio tuner or not.
  49. Here is a list of the base v4l devices:
  50. crw-rw---- 1 root video 81, 0 Jun 19 22:22 /dev/video0
  51. crw-rw---- 1 root video 81, 16 Jun 19 22:22 /dev/video16
  52. crw-rw---- 1 root video 81, 24 Jun 19 22:22 /dev/video24
  53. crw-rw---- 1 root video 81, 32 Jun 19 22:22 /dev/video32
  54. crw-rw---- 1 root video 81, 48 Jun 19 22:22 /dev/video48
  55. crw-rw---- 1 root video 81, 64 Jun 19 22:22 /dev/radio0
  56. crw-rw---- 1 root video 81, 224 Jun 19 22:22 /dev/vbi0
  57. crw-rw---- 1 root video 81, 228 Jun 19 22:22 /dev/vbi8
  58. crw-rw---- 1 root video 81, 232 Jun 19 22:22 /dev/vbi16
  59. Base devices
  60. ============
  61. For every extra card you have the numbers increased by one. For example,
  62. /dev/video0 is listed as the 'base' encoding capture device so we have:
  63. /dev/video0 is the encoding capture device for the first card (card 0)
  64. /dev/video1 is the encoding capture device for the second card (card 1)
  65. /dev/video2 is the encoding capture device for the third card (card 2)
  66. Note that if the first card doesn't have a feature (eg no decoder, so no
  67. video16, the second card will still use video17. The simple rule is 'add
  68. the card number to the base device number'. If you have other capture
  69. cards (e.g. WinTV PCI) that are detected first, then you have to tell
  70. the ivtv module about it so that it will start counting at 1 (or 2, or
  71. whatever). Otherwise the device numbers can get confusing. The ivtv
  72. 'ivtv_first_minor' module option can be used for that.
  73. /dev/video0
  74. The encoding capture device(s).
  75. Read-only.
  76. Reading from this device gets you the MPEG1/2 program stream.
  77. Example:
  78. cat /dev/video0 > my.mpg (you need to hit ctrl-c to exit)
  79. /dev/video16
  80. The decoder output device(s)
  81. Write-only. Only present if the MPEG decoder (i.e. CX23415) exists.
  82. An mpeg2 stream sent to this device will appear on the selected video
  83. display, audio will appear on the line-out/audio out. It is only
  84. available for cards that support video out. Example:
  85. cat my.mpg >/dev/video16
  86. /dev/video24
  87. The raw audio capture device(s).
  88. Read-only
  89. The raw audio PCM stereo stream from the currently selected
  90. tuner or audio line-in. Reading from this device results in a raw
  91. (signed 16 bit Little Endian, 48000 Hz, stereo pcm) capture.
  92. This device only captures audio. This should be replaced by an ALSA
  93. device in the future.
  94. Note that there is no corresponding raw audio output device, this is
  95. not supported in the decoder firmware.
  96. /dev/video32
  97. The raw video capture device(s)
  98. Read-only
  99. The raw YUV video output from the current video input. The YUV format
  100. is non-standard (V4L2_PIX_FMT_HM12).
  101. Note that the YUV and PCM streams are not synchronized, so they are of
  102. limited use.
  103. /dev/video48
  104. The raw video display device(s)
  105. Write-only. Only present if the MPEG decoder (i.e. CX23415) exists.
  106. Writes a YUV stream to the decoder of the card.
  107. /dev/radio0
  108. The radio tuner device(s)
  109. Cannot be read or written.
  110. Used to enable the radio tuner and tune to a frequency. You cannot
  111. read or write audio streams with this device. Once you use this
  112. device to tune the radio, use /dev/video24 to read the raw pcm stream
  113. or /dev/video0 to get an mpeg2 stream with black video.
  114. /dev/vbi0
  115. The 'vertical blank interval' (Teletext, CC, WSS etc) capture device(s)
  116. Read-only
  117. Captures the raw (or sliced) video data sent during the Vertical Blank
  118. Interval. This data is used to encode teletext, closed captions, VPS,
  119. widescreen signalling, electronic program guide information, and other
  120. services.
  121. /dev/vbi8
  122. Processed vbi feedback device(s)
  123. Read-only. Only present if the MPEG decoder (i.e. CX23415) exists.
  124. The sliced VBI data embedded in an MPEG stream is reproduced on this
  125. device. So while playing back a recording on /dev/video16, you can
  126. read the embedded VBI data from /dev/vbi8.
  127. /dev/vbi16
  128. The vbi 'display' device(s)
  129. Write-only. Only present if the MPEG decoder (i.e. CX23415) exists.
  130. Can be used to send sliced VBI data to the video-out connector.
  131. ---------------------------------
  132. Hans Verkuil <hverkuil@xs4all.nl>