%media-entities; open()."> open()."> 2C"> Return ValueOn success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter."> RETURN VALUEOn success 0 is returned, on error -1 and the errno variable is set appropriately. The generic error codes are described at the Generic Error Codes chapter."> 2"> "> "> "> http://www.linuxtv.org/lists.php"> http://linuxtv.org/repo/"> --------"> ----------"> ------------"> --------------"> ----------------"> --------------------"> ----------------------"> ------------------------"> ]> LINUX MEDIA INFRASTRUCTURE API 2009-2014 LinuxTV Developers Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. A copy of the license is included in the chapter entitled "GNU Free Documentation License" Introduction This document covers the Linux Kernel to Userspace API's used by video and radio streaming devices, including video cameras, analog and digital TV receiver cards, AM/FM receiver cards, streaming capture and output devices, codec devices and remote controllers. A typical media device hardware is shown at .
Typical Media Device Typical Media Device Block Diagram
The media infrastructure API was designed to control such devices. It is divided into four parts. The first part covers radio, video capture and output, cameras, analog TV devices and codecs. The second part covers the API used for digital TV and Internet reception via one of the several digital tv standards. While it is called as DVB API, in fact it covers several different video standards including DVB-T/T2, DVB-S/S2, DVB-C, ATSC, ISDB-T, ISDB-S,etc. The complete list of supported standards can be found at . The third part covers the Remote Controller API. The fourth part covers the Media Controller API. It should also be noted that a media device may also have audio components, like mixers, PCM capture, PCM playback, etc, which are controlled via ALSA API. For additional information and for the latest development code, see: http://linuxtv.org. For discussing improvements, reporting troubles, sending new drivers, etc, please mail to: Linux Media Mailing List (LMML)..
&sub-v4l2; &sub-dvbapi; &sub-remote_controllers; &sub-media-controller; &sub-gen-errors; &sub-fdl-appendix;