^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) .. _dvb_video:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #######################
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Digital TV Video Device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #######################
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) The Digital TV video device controls the MPEG2 video decoder of the Digital
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) TV hardware. It can be accessed through **/dev/dvb/adapter0/video0**. Data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) types and and ioctl definitions can be accessed by including
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) **linux/dvb/video.h** in your application.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Note that the Digital TV video device only controls decoding of the MPEG video
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) stream, not its presentation on the TV or computer screen. On PCs this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) is typically handled by an associated video4linux device, e.g.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) **/dev/video**, which allows scaling and defining output windows.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Some Digital TV cards don’t have their own MPEG decoder, which results in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) omission of the audio and video device as well as the video4linux
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) The ioctls that deal with SPUs (sub picture units) and navigation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) packets are only supported on some MPEG decoders made for DVD playback.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) These ioctls were also used by V4L2 to control MPEG decoders implemented
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) in V4L2. The use of these ioctls for that purpose has been made obsolete
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) and proper V4L2 ioctls or controls have been created to replace that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) functionality.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) .. toctree::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) :maxdepth: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) video_types
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) video_function_calls