mirror of
				https://github.com/rofafor/vdr-plugin-femon.git
				synced 2023-10-10 11:36:53 +00:00 
			
		
		
		
	Compare commits
	
		
			141 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | bf222dc7ff | ||
|  | 33176e9a77 | ||
|  | 0a4e5d912c | ||
|  | 3648b46fa2 | ||
|  | c5267f5390 | ||
|  | 30d7eea514 | ||
|  | 09d17772d2 | ||
|  | ee43f5936f | ||
|  | 10b8463283 | ||
|  | 046c94d39c | ||
|  | c3506e2279 | ||
|  | d0b6944292 | ||
|  | 932f727e91 | ||
|  | e8fa85929a | ||
|  | 70cda8a640 | ||
|  | 655b5a1865 | ||
|  | 2f6b971c92 | ||
|  | 379de93bee | ||
|  | 5b5f704ea8 | ||
|  | 2d849b4fb8 | ||
|  | 0e6457ab42 | ||
|  | 0f8cc6c9ce | ||
|  | f1d9b112a4 | ||
|  | 4431cf57d9 | ||
|  | 18840de217 | ||
|  | 315a3365ba | ||
|  | 8e1e025b0f | ||
|  | 543accdd06 | ||
|  | 66eca7f8b5 | ||
|  | 905b7c0870 | ||
|  | 597425a271 | ||
|  | 86210928b8 | ||
|  | c98fe8ca87 | ||
|  | 5598f7cc43 | ||
|  | 62f1f5f776 | ||
|  | 8ba74bf5c4 | ||
|  | 38fbb2d47d | ||
|  | 09cf40f215 | ||
|  | d809e98052 | ||
|  | 5e16064c33 | ||
|  | cf8920ddd6 | ||
|  | 1e3b10faa7 | ||
|  | b7a41c8d78 | ||
|  | 3b776594ef | ||
|  | 635f99fda6 | ||
|  | 313bbd10ef | ||
|  | 7ab150cd3c | ||
|  | 0f45bd7f51 | ||
|  | f1cb78664c | ||
|  | f1a671650f | ||
|  | ac4d414597 | ||
|  | 5003faabc4 | ||
|  | 131a61c80c | ||
|  | c408ea1cd9 | ||
|  | a840fc9931 | ||
|  | 997ff44b18 | ||
|  | 4dd3c4a184 | ||
|  | de92daf5f0 | ||
|  | 0fd4062c76 | ||
|  | d9f977e302 | ||
|  | ebfc153940 | ||
|  | f3c52fab6e | ||
|  | b682dbf0fe | ||
|  | b4673bdece | ||
|  | c3b0254b2e | ||
|  | b8c7fdddb7 | ||
|  | 23a8a72c38 | ||
|  | f37f428670 | ||
|  | 3235c67256 | ||
|  | a21ed98163 | ||
|  | 0b38358442 | ||
|  | 9c085fea51 | ||
|  | dfc66b3d69 | ||
|  | 252bd0e479 | ||
|  | 7657d21d5e | ||
|  | 7b004e9427 | ||
|  | a08f9de9d3 | ||
|  | 513791d5f1 | ||
|  | 60386835dd | ||
|  | 38f4d3d9b8 | ||
|  | 078f0552fc | ||
|  | 1fd7c90c3b | ||
|  | 44fa48c59f | ||
|  | 554dac9674 | ||
|  | 8267abcc3b | ||
|  | ea4561a874 | ||
|  | 56b9b89204 | ||
|  | 3d994be0b7 | ||
|  | b7d44e730e | ||
|  | edb8b4090a | ||
|  | 21d9c20beb | ||
|  | 080f390a75 | ||
|  | fefb7f0fde | ||
|  | ba133f15f8 | ||
|  | 4e87693de6 | ||
|  | 8ea980a60f | ||
|  | 5635c2dc52 | ||
|  | 7551788969 | ||
|  | 6b6169d5f3 | ||
|  | 22644e6ae4 | ||
|  | 3fc73af3d5 | ||
|  | c07abc7ed5 | ||
|  | e57b36a151 | ||
|  | 453ca7a2a5 | ||
|  | daf823435b | ||
|  | 53b42a2d4a | ||
|  | 167da08ab3 | ||
|  | 61ff96556e | ||
|  | a06ae6f6ff | ||
|  | 2e6a236a56 | ||
|  | 6086c135c7 | ||
|  | db9735b80b | ||
|  | 84878bd1b9 | ||
|  | afd72642e9 | ||
|  | 0a162a9a8c | ||
|  | 2e2aacd573 | ||
|  | 4e8fdaf99f | ||
|  | eb2da4721c | ||
|  | 5cf9b4af0b | ||
|  | 83556bf2d3 | ||
|  | 2340ade6c8 | ||
|  | 7db77978b5 | ||
|  | ab8f5f3de8 | ||
|  | 427b3023ba | ||
|  | 8f283f27f5 | ||
|  | c4fda38364 | ||
|  | 219fc78226 | ||
|  | 5333a9274d | ||
|  | a8c065639a | ||
|  | fa41c95b1c | ||
|  | 6eb4329fff | ||
|  | 99244a136e | ||
|  | 8bf429b381 | ||
|  | 5fc74330d3 | ||
|  | f40d9b699b | ||
|  | 1570cf80f8 | ||
|  | 0b19b7b31d | ||
|  | f092a4127c | ||
|  | 93ccc78469 | ||
|  | 2e6cd471ba | ||
|  | 09acce8a0b | 
							
								
								
									
										6
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| .dependencies | ||||
| *.o | ||||
| *.so | ||||
| *~ | ||||
| po/*.pot | ||||
| po/*.mo | ||||
							
								
								
									
										231
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										231
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -28,7 +28,8 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| - Redesigned the user interface. | ||||
| - Transponder information is now available in advanced display mode: | ||||
|   Press 'OK' key to switch between the simple and the advanced display mode. | ||||
|   Press 'OK' key to switch between the simple and the advanced display | ||||
|   mode. | ||||
| - Moved bitrate calculation to it's own thread for improved accurancy. | ||||
|  | ||||
| 2004-03-07: Version 0.0.3a | ||||
| @@ -40,12 +41,13 @@ VDR Plugin 'femon' Revision History | ||||
| 2004-03-16: Version 0.0.3b | ||||
|  | ||||
| - Fixed channel toggling with '0' key. | ||||
| - Bitrate calculation thread is now canceled immediately to speed up channel switching. | ||||
| - Bitrate calculation thread is now canceled immediately to speed up | ||||
|   channel switching. | ||||
|  | ||||
| 2004-04-04: Version 0.0.3c | ||||
|  | ||||
| - Fixed minor bitrate calculation errors. | ||||
| - Added russian translation (Thanks to Vyacheslav Dikonov). | ||||
| - Added Russian translation (Thanks to Vyacheslav Dikonov). | ||||
|  | ||||
| 2004-05-31: Version 0.0.4 | ||||
|  | ||||
| @@ -63,6 +65,7 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| -  Backported changes and fixes from version 0.1.6. | ||||
|  | ||||
|  | ||||
| =================================== | ||||
| VDR Plugin 'femon' Revision History | ||||
| =================================== | ||||
| @@ -76,7 +79,7 @@ VDR Plugin 'femon' Revision History | ||||
| - Added "Stream Information" display mode. | ||||
|   Toggle between different modes with 'OK' key: | ||||
|   .-> basic -> transponder -> stream -. | ||||
|   `-----------------------------------<EFBFBD> | ||||
|   `-----------------------------------' | ||||
| - Added missing german translations (Thanks to Peter Marquardt). | ||||
|  | ||||
| 2004-06-06: Version 0.1.2 | ||||
| @@ -87,7 +90,8 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| 2004-06-11: Version 0.1.3 | ||||
|  | ||||
| - Added "AC-3 Stream Information" display mode (Thanks to Lothar Englisch). | ||||
| - Added "AC-3 Stream Information" display mode (Thanks to Lothar | ||||
|   Englisch). | ||||
|  | ||||
| 2004-06-24: Version 0.1.4 | ||||
|  | ||||
| @@ -99,7 +103,8 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| - Fixed OSDSTATUSWIN_XC define. | ||||
| - Added preliminary NTSC support (make NTSC_SYSTEM=1 plugins). | ||||
| - Fixed "Setup/OSD/Use Small Fonts" bug (Thanks to Winni for reporting this one). | ||||
| - Fixed "Setup/OSD/Use Small Fonts" bug (Thanks to Winni for reporting | ||||
|   this one). | ||||
| - Added patches directory: CA system names by Lauri Tischler. | ||||
|  | ||||
| 2004-09-11: Version 0.1.6 | ||||
| @@ -145,12 +150,13 @@ VDR Plugin 'femon' Revision History | ||||
| 2005-04-01: Version 0.8.7 | ||||
|  | ||||
| - Default make target is now all. | ||||
| - Fixed the access rights of symbols subdirectory (Thanks to Harri Kukkonen). | ||||
| - Fixed the access rights of symbols subdirectory (Thanks to Harri | ||||
|   Kukkonen). | ||||
| - Added a new theme: Moronimo (Thanks to Morone). | ||||
|  | ||||
| 2005-04-02: Version 0.8.8 | ||||
|  | ||||
| - Cleaned up finnish translations (Thanks to Ville Skytt<EFBFBD>). | ||||
| - Cleaned up Finnish translations (Thanks to Ville Skyttä). | ||||
|  | ||||
| 2005-04-04: Version 0.8.9 | ||||
|  | ||||
| @@ -159,7 +165,8 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| 2005-05-20: Version 0.9.0 | ||||
|  | ||||
| - Renamed compiling switches ('DEBUG' to 'FEMON_DEBUG' and 'NTSC_SYSTEM' to 'FEMON_NTSC'). | ||||
| - Renamed compiling switches ('DEBUG' to 'FEMON_DEBUG' and 'NTSC_SYSTEM' | ||||
|   to 'FEMON_NTSC'). | ||||
| - Enabled preliminary support for the device switching. | ||||
|  | ||||
| 2005-07-23: Version 0.9.1 | ||||
| @@ -187,19 +194,20 @@ VDR Plugin 'femon' Revision History | ||||
| 2005-11-13: Version 0.9.5 | ||||
|  | ||||
| - Updated for vdr-1.3.36. | ||||
| - Added french translation (Thanks to Nicolas Huillard). | ||||
| - Added French translation (Thanks to Nicolas Huillard). | ||||
| - Enabled bitrate commands via SVDRP. | ||||
| - Added new SVDRP commands. | ||||
| - Modified femon service without incrementing version number. | ||||
| - Added "Duotone" theme for 2bpp on screen displays. | ||||
| - Fixed crash bug in femonreceiver. | ||||
| - Fixed setup page bug (Thanks to Thomas G<EFBFBD>nther for reporting this one). | ||||
| - Fixed setup page bug (Thanks to Thomas Günther for reporting this one). | ||||
|  | ||||
| 2006-01-25: Version 0.9.6 | ||||
|  | ||||
| - Updated for vdr-1.3.40. | ||||
| - Fixed a translation bug (Thanks to Antti Hartikainen). | ||||
| - Fixed AC3 header parsing bug (Thanks to Axel Katzur for reporting this one). | ||||
| - Fixed AC3 header parsing bug (Thanks to Axel Katzur for reporting this | ||||
|   one). | ||||
| - Fixed EgalsTry theme (Thanks to Uwe Hanke). | ||||
|  | ||||
| 2006-02-06: Version 0.9.7 | ||||
| @@ -220,14 +228,14 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| 2006-04-23: Version 0.9.10 | ||||
|  | ||||
| - Added STRIP option for Makefile (Thanks to Ville Skytt<EFBFBD>). | ||||
| - Added STRIP option for Makefile (Thanks to Ville Skyttä). | ||||
| - Modified APIVERSION code in Makefile. | ||||
|  | ||||
| 2006-04-30: Version 1.0.0 | ||||
|  | ||||
| - Updated for vdr-1.4.0. | ||||
| - Modified APIVERSION code in Makefile. | ||||
| - Updated german translation (Thanks to Andreas Brachold). | ||||
| - Updated German translation (Thanks to Andreas Brachold). | ||||
|  | ||||
| 2006-06-06: Version 1.0.1 | ||||
|  | ||||
| @@ -237,7 +245,7 @@ VDR Plugin 'femon' Revision History | ||||
| 2006-09-17: Version 1.1.0 | ||||
|  | ||||
| - Added support for svdrpservice plugin (Thanks to Frank Schmirler). | ||||
| - Added INFO SVDRP command (partially based on patch by Herbert P<EFBFBD>tzl). | ||||
| - Added INFO SVDRP command (partially based on patch by Herbert Pötzl). | ||||
| - Removed system log option - use SVDRP instead. | ||||
| - Added --remove-destination to the 'cp' command in Makefile. | ||||
|  | ||||
| @@ -247,7 +255,8 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| 2007-05-01: Version 1.1.2 | ||||
|  | ||||
| - Fixed opening while replaying (Thanks to Antti Sepp<EFBFBD>l<EFBFBD> for reporting this one). | ||||
| - Fixed opening while replaying (Thanks to Antti Seppälä for reporting | ||||
|   this one). | ||||
|  | ||||
| 2007-05-15: Version 1.1.3 | ||||
|  | ||||
| @@ -259,7 +268,7 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| 2008-01-20: Version 1.1.5 | ||||
|  | ||||
| - Updated Italian translation (Thanks to Gringo). | ||||
| - Updated Italian translation (Thanks to Diego Pierotto). | ||||
| - Added '-Wno-parentheses' to the compiler options. | ||||
|  | ||||
| 2007-08-14: Version 1.2.0 | ||||
| @@ -277,6 +286,192 @@ VDR Plugin 'femon' Revision History | ||||
|  | ||||
| 2008-01-20: Version 1.2.3 | ||||
|  | ||||
| - Updated Italian translation (Thanks to Gringo). | ||||
| - Updated Italian translation (Thanks to Diego Pierotto). | ||||
| - Added '-Wno-parentheses' to the compiler options. | ||||
| - Mapped 'kInfo' as help key in setup menu. | ||||
|  | ||||
| 2008-02-18: Version 1.2.4 | ||||
|  | ||||
| - Replaced asprintf with cString. | ||||
| - Updated French translation (Thanks to Michaël Nival). | ||||
| - Fixed service call with null data. | ||||
| - Added setup option to use a single 8 bpp OSD area. | ||||
|  | ||||
| 2008-03-27: Version 1.6.0 | ||||
|  | ||||
| - Updated for vdr-1.6.0. | ||||
| - Updated Italian translation (Thanks to Diego Pierotto). | ||||
| - Added ST:TNG theme (Thanks to Fabian Förg). | ||||
|  | ||||
| 2008-06-20: Version 1.6.1 | ||||
|  | ||||
| - Updated Italian translation (Thanks to Diego Pierotto). | ||||
| - Fixed a crash if no channel available (Thanks to Winfried Köhler). | ||||
|  | ||||
| 2008-10-12: Version 1.6.2 | ||||
|  | ||||
| - Converted HISTORY and fi_FI.po to UTF-8. | ||||
| - Optimized receiver and OSD thread termination. | ||||
|  | ||||
| 2008-11-09: Version 1.6.3 | ||||
|  | ||||
| - Added initial support for H.264 and HE-AAC. | ||||
| - Fixed detection of false positives in audio/video streams. | ||||
| - Refactored source code. | ||||
|  | ||||
| 2008-11-30: Version 1.6.4 | ||||
|  | ||||
| - Added new helper functions. | ||||
| - Updated Italian translation (Thanks to Diego Pierotto). | ||||
| - Fixed a memory leak. | ||||
| - Added a check for the minimum OSD height. | ||||
| - Replaced "Use single area (8bpp)" option with VDR's | ||||
|   "Setup/OSD/Anti-alias". | ||||
| - Removed the FEMON_NTSC option. | ||||
| - Fixed a deadlock in cFemonReceiver (Thanks to Antti Seppälä for | ||||
|   reporting this one). | ||||
|  | ||||
| 2008-12-16: Version 1.6.5 | ||||
|  | ||||
| - Backported from 1.7.0. | ||||
|  | ||||
| 2009-01-06: Version 1.6.6 | ||||
|  | ||||
| - Backported from 1.7.1. | ||||
|  | ||||
| 2009-06-18: Version 1.6.7 | ||||
|  | ||||
| - Backported from 1.7.2. | ||||
|  | ||||
|  | ||||
| =================================== | ||||
| VDR Plugin 'femon' Revision History | ||||
| =================================== | ||||
|  | ||||
| 2008-12-16: Version 1.7.0 | ||||
|  | ||||
| - Updated for vdr-1.7.2. | ||||
| - Added whitespace cleanups. | ||||
| - Changed info window to use the channel source instead of the frontend | ||||
|   type. | ||||
| - Removed the "Show CA system" setup option. | ||||
|  | ||||
| 2009-01-06: Version 1.7.1 | ||||
|  | ||||
| - Fixed closing of frontend file handles (Thanks to Brendon Higgins for | ||||
|   reporting this one). | ||||
|  | ||||
| 2009-06-18: Version 1.7.2 | ||||
|  | ||||
| - Cleaned up compilation warnings. | ||||
| - Fixed font handling to be thread-safe. | ||||
|  | ||||
| 2009-08-29: Version 1.7.3 | ||||
|  | ||||
| - Removed OSD offset and height options. | ||||
| - Added PES assembler. | ||||
| - Added bitstream parsers for all codecs. | ||||
|  | ||||
| 2009-09-04: Version 1.7.4 | ||||
|  | ||||
| - Fixed H.264 bitstream parser. | ||||
| - Added a mutex to receiver class. | ||||
| - Added 1080/720/576/480 format symbols into status window. | ||||
|  | ||||
| 2009-10-01: Version 1.7.5 | ||||
|  | ||||
| - Changed H.264 parser to show display aspect ratio. | ||||
| - Removed error logging from unimplemented ioctl functions. | ||||
| - Removed bitstream parsing from Receive() method. | ||||
| - Added Chinese translation (Thanks to NanFeng). | ||||
|  | ||||
| 2010-02-01: Version 1.7.6 | ||||
|  | ||||
| - Updated for vdr-1.7.12. | ||||
| - Updated Estonian translation (Thanks to Arthur Konovalov). | ||||
| - Added Lithuanian translation (Thanks to Valdemaras Pipiras). | ||||
|  | ||||
| 2010-03-05: Version 1.7.7 | ||||
|  | ||||
| - Updated for vdr-1.7.13. | ||||
| - Added a setup option to downscale the OSD size. | ||||
| - Updated Estonian translation (Thanks to Arthur Konovalov). | ||||
|  | ||||
| 2010-06-23: Version 1.7.8 | ||||
|  | ||||
| - Fixed device switching. | ||||
| - Added preliminary support for LATM. | ||||
| - Updated Italian translation (Thanks to Diego Pierotto). | ||||
| - Fixed a crash in femon service (Thanks to Wolfgang Astleitner). | ||||
|  | ||||
| 2010-12-27: Version 1.7.9 | ||||
|  | ||||
| - Updated for vdr-1.7.16. | ||||
| - Added Makefile depencency for objects. | ||||
| - Fixed detection of replaying. | ||||
| - Added support for LDFLAGS. | ||||
|  | ||||
| 2011-05-15: Version 1.7.10 | ||||
|  | ||||
| - Updated for vdr-1.7.18. | ||||
| - Added scaling for symbols. | ||||
|  | ||||
| 2011-12-04: Version 1.7.11 | ||||
|  | ||||
| - Updated for vdr-1.7.22: New API functions for signal strength | ||||
|   and quality used to provide information for the OSD. | ||||
| - Added cppcheck target into Makefile. | ||||
| - Refactored bitstream code. | ||||
|  | ||||
| 2012-01-15: Version 1.7.12 | ||||
|  | ||||
| - Updated for vdr-1.7.23. | ||||
| - Updated SVDRP interface. | ||||
| - Added Hungarian translation (Thanks to Fuley Istvan). | ||||
|  | ||||
| 2012-02-05: Version 1.7.13 | ||||
|  | ||||
| - Added initial support for PVRINPUT devices (Thanks to Winfried Köhler). | ||||
| - Added initial support for IPTV devices. | ||||
|  | ||||
| 2012-03-10: Version 1.7.14 | ||||
|  | ||||
| - Updated for vdr-1.7.26. | ||||
|  | ||||
| 2012-03-12: Version 1.7.15 | ||||
|  | ||||
| - Cleaned up compilation warnings. | ||||
| - Fixed channel switching. | ||||
|  | ||||
| 2012-03-25: Version 1.7.16 | ||||
|  | ||||
| - Updated for vdr-1.7.27. | ||||
| - Cleaned up compilation warnings again. | ||||
|  | ||||
| 2012-04-02: Version 1.7.17 | ||||
|  | ||||
| - Added the dynamite compatibility patch (Thanks to Lars Hanisch). | ||||
| - Silenced error log messages when accessing pseudo devices. | ||||
| - Added a new theme: PearlHD (Thanks to Taipan @ VDRPortal). | ||||
| - Added the transponder info window support for IPTV devices. | ||||
|  | ||||
| 2013-02-10: Version 1.7.18 | ||||
|  | ||||
| - Updated for vdr-1.7.37. | ||||
| - Modified how the receiver is detached. | ||||
| - Added Ukrainian translation (Thanks to Yarema aka Knedlyk). | ||||
|  | ||||
| 2013-03-10: Version 1.7.19 | ||||
|  | ||||
| - Updated for vdr-1.7.40. | ||||
| - Updated French translation (Thanks to Bernard Jaulin). | ||||
|  | ||||
|  | ||||
| =================================== | ||||
| VDR Plugin 'femon' Revision History | ||||
| =================================== | ||||
|  | ||||
| 2013-04-01: Version 2.0.0 | ||||
|  | ||||
| - Updated for vdr-2.0.0. | ||||
| - Added Slovak translation (Thanks to Milan Hrala). | ||||
|   | ||||
							
								
								
									
										105
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										105
									
								
								Makefile
									
									
									
									
									
								
							| @@ -1,127 +1,137 @@ | ||||
| # | ||||
| # Makefile for a Video Disk Recorder plugin | ||||
| # Makefile for Frontend Status Monitor plugin | ||||
| # | ||||
| # $Id$ | ||||
|  | ||||
| # Debugging on/off  | ||||
| # Debugging on/off | ||||
|  | ||||
| #FEMON_DEBUG = 1 | ||||
|  | ||||
| # NTSC on/off  | ||||
| #FEMON_NTSC = 1 | ||||
|  | ||||
| # Strip debug symbols?  Set eg. to /bin/true if not | ||||
|  | ||||
| STRIP = strip | ||||
|  | ||||
| # The official name of this plugin. | ||||
| # This name will be used in the '-P...' option of VDR to load the plugin. | ||||
| # By default the main source file also carries this name. | ||||
| # IMPORTANT: the presence of this macro is important for the Make.config | ||||
| # file. So it must be defined, even if it is not used here! | ||||
| # | ||||
|  | ||||
| PLUGIN = femon | ||||
|  | ||||
| ### The version number of this plugin (taken from the main source file): | ||||
|  | ||||
| VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') | ||||
|  | ||||
| ### The C++ compiler and options: | ||||
|  | ||||
| CXX      ?= g++ | ||||
| CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses | ||||
| GITTAG  = $(shell git describe --always 2>/dev/null) | ||||
|  | ||||
| ### The directory environment: | ||||
|  | ||||
| VDRDIR = ../../.. | ||||
| LIBDIR = ../../lib | ||||
| TMPDIR = /tmp | ||||
| # Use package data if installed...otherwise assume we're under the VDR source directory: | ||||
| PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc)) | ||||
| LIBDIR = $(call PKGCFG,libdir) | ||||
| LOCDIR = $(call PKGCFG,locdir) | ||||
| PLGCFG = $(call PKGCFG,plgcfg) | ||||
| # | ||||
| TMPDIR ?= /tmp | ||||
|  | ||||
| ### The compiler options: | ||||
|  | ||||
| export CFLAGS   = $(call PKGCFG,cflags) | ||||
| export CXXFLAGS = $(call PKGCFG,cxxflags) | ||||
|  | ||||
| ### The version number of VDR's plugin API: | ||||
|  | ||||
| APIVERSION = $(call PKGCFG,apiversion) | ||||
|  | ||||
| ### Allow user defined options to overwrite defaults: | ||||
|  | ||||
| -include $(VDRDIR)/Make.config | ||||
|  | ||||
| ### The version number of VDR's plugin API (taken from VDR's "config.h"): | ||||
|  | ||||
| APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) | ||||
| -include $(PLGCFG) | ||||
|  | ||||
| ### The name of the distribution archive: | ||||
|  | ||||
| ARCHIVE = $(PLUGIN)-$(VERSION) | ||||
| PACKAGE = vdr-$(ARCHIVE) | ||||
|  | ||||
| ### The name of the shared object file: | ||||
|  | ||||
| SOFILE = libvdr-$(PLUGIN).so | ||||
|  | ||||
| ### Includes and Defines (add further entries here): | ||||
|  | ||||
| INCLUDES += -I$(VDRDIR)/include | ||||
| INCLUDES += | ||||
|  | ||||
| DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' | ||||
|  | ||||
| ifdef FEMON_NTSC | ||||
| DEFINES += -DNTSC | ||||
| endif | ||||
| DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' | ||||
|  | ||||
| ifdef FEMON_DEBUG | ||||
| DEFINES += -DDEBUG | ||||
| endif | ||||
|  | ||||
| ifneq ($(strip $(GITTAG)),) | ||||
| DEFINES += -DGITVERSION='"-GIT-$(GITTAG)"' | ||||
| endif | ||||
|  | ||||
| .PHONY: all all-redirect | ||||
| all-redirect: all | ||||
|  | ||||
| ### The object files (add further files here): | ||||
|  | ||||
| OBJS = femon.o femonosd.o femonreceiver.o femoncfg.o femontools.o | ||||
| OBJS = $(PLUGIN).o femonosd.o femonreceiver.o femoncfg.o femontools.o femonmpeg.o femonac3.o femonaac.o femonlatm.o femonh264.o femonsymbol.o | ||||
|  | ||||
| ### The main target: | ||||
|  | ||||
| all: libvdr-$(PLUGIN).so i18n | ||||
| all: $(SOFILE) i18n | ||||
|  | ||||
| ### Implicit rules: | ||||
|  | ||||
| %.o: %.c | ||||
| 	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< | ||||
| 	$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $< | ||||
|  | ||||
| ### Dependencies: | ||||
|  | ||||
| MAKEDEP = $(CXX) -MM -MG | ||||
| DEPFILE = .dependencies | ||||
| $(DEPFILE): Makefile | ||||
| 	@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ | ||||
| 	@$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ | ||||
|  | ||||
| -include $(DEPFILE) | ||||
|  | ||||
| ### Internationalization (I18N): | ||||
|  | ||||
| PODIR     = po | ||||
| LOCALEDIR = $(VDRDIR)/locale | ||||
| I18Npo    = $(wildcard $(PODIR)/*.po) | ||||
| I18Nmsgs  = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) | ||||
| I18Nmo    = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file)))) | ||||
| I18Nmsgs  = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) | ||||
| I18Npot   = $(PODIR)/$(PLUGIN).pot | ||||
|  | ||||
| %.mo: %.po | ||||
| 	msgfmt -c -o $@ $< | ||||
|  | ||||
| $(I18Npot): $(wildcard *.c) | ||||
| 	xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='Rolf Ahrenberg' -o $@ $^ | ||||
| 	xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='<see README>' -o $@ `ls $^` | ||||
|  | ||||
| %.po: $(I18Npot) | ||||
| 	msgmerge -U --no-wrap --no-location --backup=none -q $@ $< | ||||
| 	msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $< | ||||
| 	@touch $@ | ||||
|  | ||||
| $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo | ||||
| 	@mkdir -p $(dir $@) | ||||
| 	cp $< $@ | ||||
| $(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo | ||||
| 	install -D -m644 $< $@ | ||||
|  | ||||
| .PHONY: i18n | ||||
| i18n: $(I18Nmsgs) $(I18Npot) | ||||
| i18n: $(I18Nmo) $(I18Npot) | ||||
|  | ||||
| install-i18n: $(I18Nmsgs) | ||||
|  | ||||
| ### Targets: | ||||
|  | ||||
| libvdr-$(PLUGIN).so: $(OBJS) | ||||
| 	$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ | ||||
| $(SOFILE): $(OBJS) | ||||
| 	$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ | ||||
| ifndef FEMON_DEBUG | ||||
| 	@$(STRIP) $@ | ||||
| endif | ||||
| 	@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) | ||||
|  | ||||
| dist: clean | ||||
| install-lib: $(SOFILE) | ||||
| 	install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION) | ||||
|  | ||||
| install: install-lib install-i18n | ||||
|  | ||||
| dist: $(I18Npo) clean | ||||
| 	@-rm -rf $(TMPDIR)/$(ARCHIVE) | ||||
| 	@mkdir $(TMPDIR)/$(ARCHIVE) | ||||
| 	@cp -a * $(TMPDIR)/$(ARCHIVE) | ||||
| @@ -130,4 +140,9 @@ dist: clean | ||||
| 	@echo Distribution package created as $(PACKAGE).tgz | ||||
|  | ||||
| clean: | ||||
| 	@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot | ||||
| 	@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot | ||||
| 	@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ | ||||
|  | ||||
| .PHONY: cppcheck | ||||
| cppcheck: | ||||
| 	@cppcheck --language=c++ --enable=all -v -f $(OBJS:%.o=%.c) | ||||
|   | ||||
							
								
								
									
										29
									
								
								README
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								README
									
									
									
									
									
								
							| @@ -15,7 +15,7 @@ See the file COPYING for license information. | ||||
|  | ||||
| Requirements: | ||||
|  | ||||
| VDR & DVB. BMW & Ph.D.. BEER. YARRR! | ||||
| VDR and a DVB card. | ||||
|  | ||||
| Description: | ||||
|  | ||||
| @@ -26,23 +26,21 @@ transponder and stream information are also available in advanced display modes. | ||||
|  | ||||
| The plugin is based on a neat console frontend status monitor application | ||||
| called 'femon' by Johannes Stezenbach (see DVB-apps/szap/femon.c for further | ||||
| information). The bitrate calculation trick originates from the 'dvbstream' | ||||
| application by Dave Chapman and the stream information routines are taken from | ||||
| the 'libdvb' library by Metzler Brothers. | ||||
| information). | ||||
|  | ||||
| Terminology: | ||||
|  | ||||
| -------------------------------------------------------------- | ||||
| |## Channel Name ################### [SVDRP][AR][VF][A/DD][D]| | ||||
| |[=====Signal Strength in % ==============|=================]| | ||||
| |[=====Signal-to-Noise Ratio in % ========|=================]| | ||||
| |[=====Signal Strength ===================|=================]| | ||||
| |[=====Signal Quality ================|=====================]| | ||||
| | STR: #0000 (0%)       BER: #00000000       Video: 0 Mbit/s | | ||||
| | SNR: #0000 (0%)       UNC: #00000000       Audio: 0 kbit/s | | ||||
| | [LOCK]     [SIGNAL]     [CARRIER]     [VITERBI]     [SYNC] | | ||||
| -------------------------------------------------------------- | ||||
|  | ||||
| STR     - Signal strength | ||||
| SNR     - Signal-to-noise ratio | ||||
| STR     - Signal strength from driver | ||||
| SNR     - Signal-to-noise ratio from driver | ||||
| BER     - Bit error rate | ||||
| UNC     - Uncorrected blocks | ||||
| Video   - Calculated video bitrate in Mbit/s | ||||
| @@ -73,13 +71,8 @@ Left/Right    - Switch to next/previous device that provides the current channel | ||||
|  | ||||
| Installation: | ||||
|  | ||||
| cd /put/your/path/here/VDR/PLUGINS/src | ||||
| tar -xzf /put/your/path/here/vdr-femon-X.Y.Z.tgz | ||||
| ln -s femon-X.Y.Z femon | ||||
| cd /put/your/path/here/VDR | ||||
| make | ||||
| make plugins | ||||
| ./vdr -P femon | ||||
| make -C femon-X.Y.Z install | ||||
|  | ||||
| Client-server architecture: | ||||
|  | ||||
| @@ -99,9 +92,6 @@ the local device number. | ||||
|  | ||||
| Notes: | ||||
|  | ||||
| - The plugin supports only those DVB cards with _one_ frontend, because I | ||||
|   haven't yet figured howto do it without patching the VDR core. | ||||
|  | ||||
| - Disable the stream analyze to speed up heavy zapping sessions. | ||||
|  | ||||
| - The signal strength and signal-to-noise ratio values are comparable only | ||||
| @@ -109,9 +99,8 @@ Notes: | ||||
|   specifications those values cannot be calculated into any real units. | ||||
|  | ||||
| - If the OSD isn't visible, you've configured the OSD height too big or too | ||||
|   small. Please, try to adjust the variable on the setup page before writing | ||||
|   any bug reports. NTSC users should use a shrinked default OSD height by | ||||
|   compiling the plugin with: make FEMON_NTSC=1 | ||||
|   small. Please, try to adjust the variable on the OSD setup page before | ||||
|   writing any bug reports. | ||||
|  | ||||
| - If the SVDRP service is used: femon won't notice if the server is tuned | ||||
|   to a different channel and tuning the channel on the server might annoy | ||||
|   | ||||
							
								
								
									
										150
									
								
								femon.c
									
									
									
									
									
								
							
							
						
						
									
										150
									
								
								femon.c
									
									
									
									
									
								
							| @@ -3,23 +3,26 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #include <vdr/menu.h> | ||||
| #include <vdr/remote.h> | ||||
| #include <vdr/menu.h> | ||||
| #include <vdr/player.h> | ||||
| #include "femoncfg.h" | ||||
| #include "femonreceiver.h" | ||||
| #include "femonosd.h" | ||||
| #include "femonservice.h" | ||||
| #include "femontools.h" | ||||
|  | ||||
| #if defined(APIVERSNUM) && APIVERSNUM < 10508 | ||||
| #error "VDR-1.5.8 API version or greater is required!" | ||||
| #if defined(APIVERSNUM) && APIVERSNUM < 20000 | ||||
| #error "VDR-2.0.0 API version or greater is required!" | ||||
| #endif | ||||
|  | ||||
| static const char VERSION[]       = "1.2.3"; | ||||
| #ifndef GITVERSION | ||||
| #define GITVERSION "" | ||||
| #endif | ||||
|  | ||||
| static const char VERSION[]       = "2.0.0" GITVERSION; | ||||
| static const char DESCRIPTION[]   = trNOOP("DVB Signal Information Monitor (OSD)"); | ||||
| static const char MAINMENUENTRY[] = trNOOP("Signal Information"); | ||||
|  | ||||
| @@ -51,13 +54,13 @@ cPluginFemon::cPluginFemon() | ||||
|   // Initialize any member variables here. | ||||
|   // DON'T DO ANYTHING ELSE THAT MAY HAVE SIDE EFFECTS, REQUIRE GLOBAL | ||||
|   // VDR OBJECTS TO EXIST OR PRODUCE ANY OUTPUT! | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
| } | ||||
|  | ||||
| cPluginFemon::~cPluginFemon() | ||||
| { | ||||
|   // Clean up after yourself! | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
| } | ||||
|  | ||||
| const char *cPluginFemon::CommandLineHelp(void) | ||||
| @@ -97,9 +100,9 @@ void cPluginFemon::Housekeeping(void) | ||||
| cOsdObject *cPluginFemon::MainMenuAction(void) | ||||
| { | ||||
|   // Perform the action when selected from the main VDR menu. | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   if (cReplayControl::NowReplaying()) | ||||
|      Skins.Message(mtInfo, tr("Femon not available while replaying")); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   if (cControl::Control() || (Channels.Count() <= 0)) | ||||
|      Skins.Message(mtInfo, tr("Femon not available")); | ||||
|   else | ||||
|      return cFemonOsd::Instance(true); | ||||
|   return NULL; | ||||
| @@ -111,11 +114,9 @@ bool cPluginFemon::SetupParse(const char *Name, const char *Value) | ||||
|   if      (!strcasecmp(Name, "HideMenu"))       femonConfig.hidemenu       = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "DisplayMode"))    femonConfig.displaymode    = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "Position"))       femonConfig.position       = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "OSDHeight"))      femonConfig.osdheight      = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "OSDOffset"))      femonConfig.osdoffset      = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "Skin"))           femonConfig.skin           = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "Theme"))          femonConfig.theme          = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "ShowCASystem"))   femonConfig.showcasystem   = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "Downscale"))      femonConfig.downscale      = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "RedLimit"))       femonConfig.redlimit       = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "GreenLimit"))     femonConfig.greenlimit     = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "UpdateInterval")) femonConfig.updateinterval = atoi(Value); | ||||
| @@ -133,18 +134,22 @@ bool cPluginFemon::SetupParse(const char *Name, const char *Value) | ||||
|  | ||||
| bool cPluginFemon::Service(const char *Id, void *Data) | ||||
| { | ||||
|   if ((strcmp(Id,"FemonService-v1.0") == 0) && Data) { | ||||
|      FemonService_v1_0 *data = (FemonService_v1_0*)Data; | ||||
|      int ndx = cDevice::ActualDevice()->CardIndex(); | ||||
|      data->fe_name = getFrontendName(ndx); | ||||
|      data->fe_status = getFrontendStatus(ndx); | ||||
|      data->fe_snr = getSNR(ndx); | ||||
|      data->fe_signal = getSignal(ndx); | ||||
|      data->fe_ber = getBER(ndx); | ||||
|      data->fe_unc = getUNC(ndx); | ||||
|      data->video_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetVideoBitrate() : 0.0; | ||||
|      data->audio_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetAudioBitrate() : 0.0; | ||||
|      data->dolby_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetDolbyBitrate() : 0.0; | ||||
|   if (strcmp(Id,"FemonService-v1.0") == 0) { | ||||
|      if (Data) { | ||||
|         FemonService_v1_0 *data = reinterpret_cast<FemonService_v1_0*>(Data); | ||||
|         if (!cDevice::ActualDevice()) | ||||
|            return false; | ||||
|         cDvbDevice *dev = getDvbDevice(cDevice::ActualDevice()); | ||||
|         data->fe_name = getFrontendName(dev); | ||||
|         data->fe_status = getFrontendStatus(dev); | ||||
|         data->fe_snr = getSNR(dev); | ||||
|         data->fe_signal = getSignal(dev); | ||||
|         data->fe_ber = getBER(dev); | ||||
|         data->fe_unc = getUNC(dev); | ||||
|         data->video_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetVideoBitrate() : 0.0; | ||||
|         data->audio_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetAudioBitrate() : 0.0; | ||||
|         data->dolby_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetDolbyBitrate() : 0.0; | ||||
|         } | ||||
|      return true; | ||||
|      } | ||||
|  | ||||
| @@ -152,7 +157,7 @@ bool cPluginFemon::Service(const char *Id, void *Data) | ||||
| } | ||||
|  | ||||
| const char **cPluginFemon::SVDRPHelpPages(void) | ||||
| {  | ||||
| { | ||||
|   static const char *HelpPages[] = { | ||||
|     "OPEN\n" | ||||
|     "    Open femon plugin.", | ||||
| @@ -162,26 +167,30 @@ const char **cPluginFemon::SVDRPHelpPages(void) | ||||
|     "    Switch to next possible device.", | ||||
|     "PREV\n" | ||||
|     "    Switch to previous possible device.", | ||||
|     "INFO\n" | ||||
|     "    Print the current frontend information.", | ||||
|     "NAME\n" | ||||
|     "    Print the current frontend name.", | ||||
|     "STAT\n" | ||||
|     "    Print the current frontend status.", | ||||
|     "SGNL\n" | ||||
|     "    Print the current signal strength.", | ||||
|     "SNRA\n" | ||||
|     "    Print the current signal-to-noise ratio.", | ||||
|     "BERA\n" | ||||
|     "    Print the current bit error rate.", | ||||
|     "UNCB\n" | ||||
|     "    Print the current uncorrected blocks rate.", | ||||
|     "INFO <card index>\n" | ||||
|     "    Print the frontend information.", | ||||
|     "NAME <card index>\n" | ||||
|     "    Print the frontend name.", | ||||
|     "STAT <card index>\n" | ||||
|     "    Print the frontend status.", | ||||
|     "STRG <card index>\n" | ||||
|     "    Print the signal strength.", | ||||
|     "QUAL <card index>\n" | ||||
|     "    Print the signal quality.", | ||||
|     "SGNL <card index>\n" | ||||
|     "    Print the signal strength from driver.", | ||||
|     "SNRA <card index>\n" | ||||
|     "    Print the signal-to-noise ratio from driver.", | ||||
|     "BERA <card index>\n" | ||||
|     "    Print the bit error rate.", | ||||
|     "UNCB <card index>\n" | ||||
|     "    Print the uncorrected blocks rate.", | ||||
|     "VIBR\n" | ||||
|     "    Print the actual device and current video bitrate [Mbit/s].", | ||||
|     "    Print the current video bitrate [Mbit/s].", | ||||
|     "AUBR\n" | ||||
|     "    Print the actual device and current audio bitrate [kbit/s].", | ||||
|     "    Print the current audio bitrate [kbit/s].", | ||||
|     "DDBR\n" | ||||
|     "    Print the actual device and current dolby bitrate [kbit/s].", | ||||
|     "    Print the current dolby bitrate [kbit/s].", | ||||
|     NULL | ||||
|     }; | ||||
|   return HelpPages; | ||||
| @@ -189,13 +198,19 @@ const char **cPluginFemon::SVDRPHelpPages(void) | ||||
|  | ||||
| cString cPluginFemon::SVDRPCommand(const char *Command, const char *Option, int &ReplyCode) | ||||
| { | ||||
|   cDvbDevice *dev = getDvbDevice(cDevice::ActualDevice()); | ||||
|   if (*Option && isnumber(Option)) { | ||||
|      cDvbDevice *dev2 = dynamic_cast<cDvbDevice*>(cDevice::GetDevice(int(strtol(Option, NULL, 10)))); | ||||
|      if (dev2) | ||||
|         dev = dev2; | ||||
|      } | ||||
|   if (strcasecmp(Command, "OPEN") == 0) { | ||||
|      if (cReplayControl::NowReplaying()) { | ||||
|         ReplyCode = 550; // Requested action not taken | ||||
|         return cString("Cannot open femon plugin while replaying"); | ||||
|         } | ||||
|      if (!cFemonOsd::Instance()) | ||||
|         cRemote::CallPlugin("femon"); | ||||
|         cRemote::CallPlugin(Name()); | ||||
|      return cString("Opening femon plugin"); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "QUIT") == 0) { | ||||
| @@ -216,27 +231,33 @@ cString cPluginFemon::SVDRPCommand(const char *Command, const char *Option, int | ||||
|         return cString("Cannot switch device"); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "INFO") == 0) { | ||||
|      return getFrontendInfo(cDevice::ActualDevice()->CardIndex()); | ||||
|      return getFrontendInfo(dev); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "NAME") == 0) { | ||||
|      return getFrontendName(cDevice::ActualDevice()->CardIndex()); | ||||
|      return getFrontendName(dev); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "STAT") == 0) { | ||||
|      return getFrontendStatus(cDevice::ActualDevice()->CardIndex()); | ||||
|      return getFrontendStatus(dev); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "STRG") == 0) { | ||||
|      return cString::sprintf("%d on device #%d", dev->SignalStrength(), dev->CardIndex()); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "QUAL") == 0) { | ||||
|      return cString::sprintf("%d on device #%d", dev->SignalQuality(), dev->CardIndex()); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "SGNL") == 0) { | ||||
|      int value = getSignal(cDevice::ActualDevice()->CardIndex()); | ||||
|      return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, cDevice::ActualDevice()->CardIndex()); | ||||
|      int value = getSignal(dev); | ||||
|      return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, dev->CardIndex()); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "SNRA") == 0) { | ||||
|      int value = getSNR(cDevice::ActualDevice()->CardIndex()); | ||||
|      return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, cDevice::ActualDevice()->CardIndex()); | ||||
|      int value = getSNR(dev); | ||||
|      return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, dev->CardIndex()); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "BERA") == 0) { | ||||
|      return cString::sprintf("%08X on device #%d", getBER(cDevice::ActualDevice()->CardIndex()), cDevice::ActualDevice()->CardIndex()); | ||||
|      return cString::sprintf("%08X on device #%d", getBER(dev), dev->CardIndex()); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "UNCB") == 0) { | ||||
|      return cString::sprintf("%08X on device #%d", getUNC(cDevice::ActualDevice()->CardIndex()), cDevice::ActualDevice()->CardIndex()); | ||||
|      return cString::sprintf("%08X on device #%d", getUNC(dev), dev->CardIndex()); | ||||
|      } | ||||
|   else if (strcasecmp(Command, "VIBR") == 0) { | ||||
|      if (cFemonOsd::Instance()) | ||||
| @@ -276,7 +297,7 @@ public: | ||||
|  | ||||
| cMenuFemonSetup::cMenuFemonSetup(void) | ||||
| { | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   dispmodes[eFemonModeBasic]       = tr("basic"); | ||||
|   dispmodes[eFemonModeTransponder] = tr("transponder"); | ||||
|   dispmodes[eFemonModeStream]      = tr("stream"); | ||||
| @@ -287,14 +308,17 @@ cMenuFemonSetup::cMenuFemonSetup(void) | ||||
|  | ||||
|   themes[eFemonThemeClassic]       = tr("Classic"); | ||||
|   themes[eFemonThemeElchi]         = tr("Elchi"); | ||||
|   themes[eFemonThemeSTTNG]         = tr("ST:TNG"); | ||||
|   themes[eFemonThemeDeepBlue]      = tr("DeepBlue"); | ||||
|   themes[eFemonThemeMoronimo]      = tr("Moronimo"); | ||||
|   themes[eFemonThemeEnigma]        = tr("Enigma"); | ||||
|   themes[eFemonThemeEgalsTry]      = tr("EgalsTry"); | ||||
|   themes[eFemonThemeDuotone]       = tr("Duotone"); | ||||
|   themes[eFemonThemeSilverGreen]   = tr("SilverGreen"); | ||||
|   themes[eFemonThemePearlHD]       = tr("PearlHD"); | ||||
|  | ||||
|   data = femonConfig; | ||||
|   SetMenuCategory(mcSetupPlugins); | ||||
|   Setup(); | ||||
| } | ||||
|  | ||||
| @@ -306,7 +330,7 @@ void cMenuFemonSetup::Setup(void) | ||||
|   help.Clear(); | ||||
|  | ||||
|   Add(new cMenuEditBoolItem(tr("Hide main menu entry"), &data.hidemenu)); | ||||
|   help.Append(tr("Define whether the main manu entry is hidden.")); | ||||
|   help.Append(tr("Define whether the main menu entry is hidden.")); | ||||
|  | ||||
|   Add(new cMenuEditStraItem(tr("Default display mode"), &data.displaymode, eFemonModeMaxNumber, dispmodes)); | ||||
|   help.Append(tr("Define the default display mode at startup.")); | ||||
| @@ -320,14 +344,8 @@ void cMenuFemonSetup::Setup(void) | ||||
|   Add(new cMenuEditBoolItem(tr("Position"), &data.position, trVDR("bottom"), trVDR("top"))); | ||||
|   help.Append(tr("Define the position of OSD.")); | ||||
|  | ||||
|   Add(new cMenuEditIntItem(trVDR("Setup.OSD$Height"), &data.osdheight, 400, 500)); | ||||
|   help.Append(tr("Define the height of OSD.")); | ||||
|  | ||||
|   Add(new cMenuEditIntItem(tr("Horizontal offset"), &data.osdoffset, -50, 50)); | ||||
|   help.Append(tr("Define the horizontal offset of OSD.")); | ||||
|  | ||||
|   Add(new cMenuEditBoolItem(tr("Show CA system"), &data.showcasystem)); | ||||
|   help.Append(tr("Define whether the CA system is shown as text.")); | ||||
|   Add(new cMenuEditIntItem(tr("Downscale OSD size [%]"), &data.downscale, 0, 20)); | ||||
|   help.Append(tr("Define the downscale ratio for OSD size.")); | ||||
|  | ||||
|   Add(new cMenuEditIntItem(tr("Red limit [%]"), &data.redlimit, 1, 50)); | ||||
|   help.Append(tr("Define a limit for red bar, which is used to indicate a bad signal.")); | ||||
| @@ -363,16 +381,14 @@ void cMenuFemonSetup::Setup(void) | ||||
|  | ||||
| void cMenuFemonSetup::Store(void) | ||||
| { | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   femonConfig = data; | ||||
|   SetupStore("HideMenu",       femonConfig.hidemenu); | ||||
|   SetupStore("DisplayMode",    femonConfig.displaymode); | ||||
|   SetupStore("Skin",           femonConfig.skin); | ||||
|   SetupStore("Theme",          femonConfig.theme); | ||||
|   SetupStore("Position",       femonConfig.position); | ||||
|   SetupStore("OSDHeight",      femonConfig.osdheight); | ||||
|   SetupStore("OSDOffset",      femonConfig.osdoffset); | ||||
|   SetupStore("ShowCASystem",   femonConfig.showcasystem); | ||||
|   SetupStore("Downscale",      femonConfig.downscale); | ||||
|   SetupStore("RedLimit",       femonConfig.redlimit); | ||||
|   SetupStore("GreenLimit",     femonConfig.greenlimit); | ||||
|   SetupStore("UpdateInterval", femonConfig.updateinterval); | ||||
|   | ||||
							
								
								
									
										105
									
								
								femonaac.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								femonaac.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,105 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "femontools.h" | ||||
| #include "femonaac.h" | ||||
|  | ||||
| #define IS_HEAAC_AUDIO(buf) (((buf)[0] == 0xFF) && (((buf)[1] & 0xF6) == 0xF0)) | ||||
|  | ||||
| int cFemonAAC::s_Samplerates[16] = | ||||
| { | ||||
|   96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, -1, -1, -1, -1 | ||||
| }; | ||||
|  | ||||
| cFemonAAC::cFemonAAC(cFemonAudioIf *audiohandler) | ||||
| : m_AudioHandler(audiohandler) | ||||
| { | ||||
| } | ||||
|  | ||||
| cFemonAAC::~cFemonAAC() | ||||
| { | ||||
| } | ||||
|  | ||||
| bool cFemonAAC::processAudio(const uint8_t *buf, int len) | ||||
| { | ||||
|   cFemonBitStream bs(buf, len * 8); | ||||
|  | ||||
|   if (!m_AudioHandler) | ||||
|      return false; | ||||
|  | ||||
|   /* ADTS Fixed Header: | ||||
|    * syncword                 12b  always: '111111111111' | ||||
|    * id                        1b  0: MPEG-4, 1: MPEG-2 | ||||
|    * layer                     2b  always: '00' | ||||
|    * protection_absent         1b | ||||
|    * profile                   2b  0: Main profile AAC MAIN 1: Low Complexity profile (LC) AAC LC 2: Scalable Sample Rate profile (SSR) AAC SSR 3: (reserved) AAC LTP | ||||
|    * sampling_frequency_index  4b | ||||
|    * private_bit               1b | ||||
|    * channel_configuration     3b | ||||
|    * original/copy             1b | ||||
|    * home                      1b | ||||
|    * emphasis                  2b only if ID == 0 (ie MPEG-4) | ||||
|    */ | ||||
|  | ||||
|   // skip PES header | ||||
|   if (!PesLongEnough(len)) | ||||
|       return false; | ||||
|   bs.SkipBits(8 * PesPayloadOffset(buf)); | ||||
|  | ||||
|   // HE-AAC audio detection | ||||
|   if (bs.GetBits(12) != 0xFFF)                  // syncword | ||||
|      return false; | ||||
|  | ||||
|   bs.SkipBit();                                 // id | ||||
|  | ||||
|   // layer must be 0 | ||||
|   if (bs.GetBits(2))                            // layer | ||||
|       return false; | ||||
|  | ||||
|   bs.SkipBit();                                 // protection_absent | ||||
|   bs.SkipBits(2);                               // profile | ||||
|   int sampling_frequency_index = bs.GetBits(4); // sampling_frequency_index | ||||
|   bs.SkipBit();                                 // private pid | ||||
|   int channel_configuration = bs.GetBits(3);    // channel_configuration | ||||
|  | ||||
|   m_AudioHandler->SetAudioCodec(AUDIO_CODEC_HEAAC); | ||||
|   m_AudioHandler->SetAudioBitrate(AUDIO_BITRATE_RESERVED); | ||||
|  | ||||
|   switch (channel_configuration) { | ||||
|     case 0: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_STEREO); | ||||
|          break; | ||||
|  | ||||
|     case 1: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_JOINT_STEREO); | ||||
|          break; | ||||
|  | ||||
|     case 2: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_DUAL); | ||||
|          break; | ||||
|  | ||||
|     case 3: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_SINGLE); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_INVALID); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   switch (sampling_frequency_index) { | ||||
|     case 0xC ... 0xF: | ||||
|          m_AudioHandler->SetAudioSamplingFrequency(AUDIO_SAMPLING_FREQUENCY_RESERVED); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioSamplingFrequency(s_Samplerates[sampling_frequency_index]); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   return true; | ||||
| } | ||||
							
								
								
									
										26
									
								
								femonaac.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								femonaac.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONAAC_H | ||||
| #define __FEMONAAC_H | ||||
|  | ||||
| #include "femonaudio.h" | ||||
|  | ||||
| class cFemonAAC { | ||||
| private: | ||||
|   cFemonAudioIf *m_AudioHandler; | ||||
|  | ||||
|   static int s_Samplerates[16]; | ||||
|  | ||||
| public: | ||||
|   cFemonAAC(cFemonAudioIf *audiohandler); | ||||
|   virtual ~cFemonAAC(); | ||||
|  | ||||
|   bool processAudio(const uint8_t *buf, int len); | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONAAC_H | ||||
							
								
								
									
										93
									
								
								femonac3.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								femonac3.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,93 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * AC3 Audio Header: http://www.atsc.org/standards/a_52a.pdf | ||||
|  */ | ||||
|  | ||||
| #include "femontools.h" | ||||
| #include "femonac3.h" | ||||
|  | ||||
| int cFemonAC3::s_Bitrates[32] = | ||||
| { | ||||
|   32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 | ||||
| }; | ||||
|  | ||||
| int cFemonAC3::s_Frequencies[4] = | ||||
| { | ||||
|   480, 441, 320, 0 | ||||
| }; | ||||
|  | ||||
| int cFemonAC3::s_Frames[3][32] = | ||||
| { | ||||
|   {64, 80,  96,  112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 640, 768,  896,  1024, 1152, 1280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | ||||
|   {69, 87,  104, 121, 139, 174, 208, 243, 278, 348, 417, 487, 557, 696, 835,  975,  1114, 1253, 1393, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | ||||
|   {96, 120, 144, 168, 192, 240, 288, 336, 384, 480, 576, 672, 768, 960, 1152, 1344, 1536, 1728, 1920, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} | ||||
| }; | ||||
|  | ||||
| cFemonAC3::cFemonAC3(cFemonAC3If *audiohandler) | ||||
| : m_AudioHandler(audiohandler) | ||||
| { | ||||
| } | ||||
|  | ||||
| cFemonAC3::~cFemonAC3() | ||||
| { | ||||
| } | ||||
|  | ||||
| bool cFemonAC3::processAudio(const uint8_t *buf, int len) | ||||
| { | ||||
|   int fscod, frmsizcod, bsmod, acmod; | ||||
|   int centermixlevel = AUDIO_CENTER_MIX_LEVEL_INVALID; | ||||
|   int surroundmixlevel = AUDIO_SURROUND_MIX_LEVEL_INVALID; | ||||
|   int dolbysurroundmode = AUDIO_DOLBY_SURROUND_MODE_INVALID; | ||||
|   cFemonBitStream bs(buf, len * 8); | ||||
|  | ||||
|   if (!m_AudioHandler) | ||||
|      return false; | ||||
|  | ||||
|   // skip PES header | ||||
|   if (!PesLongEnough(len)) | ||||
|       return false; | ||||
|   bs.SkipBits(8 * PesPayloadOffset(buf)); | ||||
|  | ||||
|   // http://rmworkshop.com/dvd_info/related_info/ac3hdr.htm | ||||
|  | ||||
|   // AC3 audio detection | ||||
|   if (bs.GetBits(16) != 0x0B77)     // syncword | ||||
|      return false; | ||||
|  | ||||
|   bs.SkipBits(16);                  // CRC1 | ||||
|  | ||||
|   fscod = bs.GetBits(2);            // sampling rate values | ||||
|   frmsizcod = bs.GetBits(6);        // frame size code | ||||
|  | ||||
|   bs.SkipBits(5);                   // bitstream id | ||||
|   bsmod = bs.GetBits(3);            // bitstream mode | ||||
|   acmod = bs.GetBits(3);            // audio coding mode | ||||
|  | ||||
|   // 3 front channels | ||||
|   if ((acmod & 0x01) && (acmod != 0x01)) | ||||
|      centermixlevel = bs.GetBits(2); | ||||
|  | ||||
|   // if a surround channel exists | ||||
|   if (acmod & 0x04) | ||||
|      surroundmixlevel = bs.GetBits(2); | ||||
|  | ||||
|   // if in 2/0 mode | ||||
|   if (acmod == 0x02) | ||||
|       dolbysurroundmode = bs.GetBits(2); | ||||
|  | ||||
|   m_AudioHandler->SetAC3Bitrate(1000 * s_Bitrates[frmsizcod >> 1]); | ||||
|   m_AudioHandler->SetAC3SamplingFrequency(100 * s_Frequencies[fscod]); | ||||
|   m_AudioHandler->SetAC3Bitstream(bsmod); | ||||
|   m_AudioHandler->SetAC3AudioCoding(acmod); | ||||
|   m_AudioHandler->SetAC3CenterMix(centermixlevel); | ||||
|   m_AudioHandler->SetAC3SurroundMix(surroundmixlevel); | ||||
|   m_AudioHandler->SetAC3DolbySurround(dolbysurroundmode); | ||||
|  | ||||
|   m_AudioHandler->SetAC3LFE(bs.GetBit());       // low frequency effects on | ||||
|   m_AudioHandler->SetAC3Dialog(bs.GetBits(5));  // dialog normalization | ||||
|  | ||||
|   return true; | ||||
| } | ||||
							
								
								
									
										28
									
								
								femonac3.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								femonac3.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONAC3_H | ||||
| #define __FEMONAC3_H | ||||
|  | ||||
| #include "femonaudio.h" | ||||
|  | ||||
| class cFemonAC3 { | ||||
| private: | ||||
|   cFemonAC3If *m_AudioHandler; | ||||
|  | ||||
|   static int s_Bitrates[32]; | ||||
|   static int s_Frequencies[4]; | ||||
|   static int s_Frames[3][32]; | ||||
|  | ||||
| public: | ||||
|   cFemonAC3(cFemonAC3If *audiohandler); | ||||
|   virtual ~cFemonAC3(); | ||||
|  | ||||
|   bool processAudio(const uint8_t *buf, int len); | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONAC3_H | ||||
							
								
								
									
										150
									
								
								femonaudio.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										150
									
								
								femonaudio.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,150 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the AUDIO Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONAUDIO_H | ||||
| #define __FEMONAUDIO_H | ||||
|  | ||||
| enum eAudioCodec { | ||||
|   AUDIO_CODEC_INVALID = -1, | ||||
|   AUDIO_CODEC_UNKNOWN, | ||||
|   AUDIO_CODEC_MPEG1_I, | ||||
|   AUDIO_CODEC_MPEG1_II, | ||||
|   AUDIO_CODEC_MPEG1_III, | ||||
|   AUDIO_CODEC_MPEG2_I, | ||||
|   AUDIO_CODEC_MPEG2_II, | ||||
|   AUDIO_CODEC_MPEG2_III, | ||||
|   AUDIO_CODEC_HEAAC, | ||||
|   AUDIO_CODEC_LATM | ||||
|   }; | ||||
|  | ||||
| enum eAudioChannelMode { | ||||
|   AUDIO_CHANNEL_MODE_INVALID = -1, | ||||
|   AUDIO_CHANNEL_MODE_STEREO, | ||||
|   AUDIO_CHANNEL_MODE_JOINT_STEREO, | ||||
|   AUDIO_CHANNEL_MODE_DUAL, | ||||
|   AUDIO_CHANNEL_MODE_SINGLE | ||||
|   }; | ||||
|  | ||||
| enum eAudioBitrate { | ||||
|   AUDIO_BITRATE_RESERVED = -3, | ||||
|   AUDIO_BITRATE_FREE = -2, | ||||
|   AUDIO_BITRATE_INVALID = -1 | ||||
|   }; | ||||
|  | ||||
| enum eAudioSamplingFrequency { | ||||
|   AUDIO_SAMPLING_FREQUENCY_RESERVED = -2, | ||||
|   AUDIO_SAMPLING_FREQUENCY_INVALID = -1 | ||||
|   }; | ||||
|  | ||||
| enum eAudioCenterMixLevel { | ||||
|   AUDIO_CENTER_MIX_LEVEL_INVALID = -1, | ||||
|   AUDIO_CENTER_MIX_LEVEL_MINUS_3dB, | ||||
|   AUDIO_CENTER_MIX_LEVEL_MINUS_4_5dB, | ||||
|   AUDIO_CENTER_MIX_LEVEL_MINUS_6dB, | ||||
|   AUDIO_CENTER_MIX_LEVEL_RESERVED | ||||
|   }; | ||||
|  | ||||
| enum eAudioSurroundMixLevel { | ||||
|   AUDIO_SURROUND_MIX_LEVEL_INVALID = -1, | ||||
|   AUDIO_SURROUND_MIX_LEVEL_MINUS_3dB, | ||||
|   AUDIO_SURROUND_MIX_LEVEL_MINUS_6dB, | ||||
|   AUDIO_SURROUND_MIX_LEVEL_0_dB, | ||||
|   AUDIO_SURROUND_MIX_LEVEL_RESERVED | ||||
|   }; | ||||
|  | ||||
| enum eAudioDolbySurroundMode { | ||||
|   AUDIO_DOLBY_SURROUND_MODE_INVALID = -1, | ||||
|   AUDIO_DOLBY_SURROUND_MODE_NOT_INDICATED, | ||||
|   AUDIO_DOLBY_SURROUND_MODE_NOT_DOLBYSURROUND, | ||||
|   AUDIO_DOLBY_SURROUND_MODE_DOLBYSURROUND, | ||||
|   AUDIO_DOLBY_SURROUND_MODE_RESERVED | ||||
|   }; | ||||
|  | ||||
| enum eAudioBitstreamMode { | ||||
|   AUDIO_BITSTREAM_MODE_INVALID = -1, | ||||
|   AUDIO_BITSTREAM_MODE_CM, | ||||
|   AUDIO_BITSTREAM_MODE_ME, | ||||
|   AUDIO_BITSTREAM_MODE_VI, | ||||
|   AUDIO_BITSTREAM_MODE_HI, | ||||
|   AUDIO_BITSTREAM_MODE_D, | ||||
|   AUDIO_BITSTREAM_MODE_C, | ||||
|   AUDIO_BITSTREAM_MODE_E, | ||||
|   AUDIO_BITSTREAM_MODE_VO_KAR | ||||
|   }; | ||||
|  | ||||
| enum eAudioCodingMode { | ||||
|   AUDIO_CODING_MODE_INVALID = -1, | ||||
|   AUDIO_CODING_MODE_1_1, | ||||
|   AUDIO_CODING_MODE_1_0, | ||||
|   AUDIO_CODING_MODE_2_0, | ||||
|   AUDIO_CODING_MODE_3_0, | ||||
|   AUDIO_CODING_MODE_2_1, | ||||
|   AUDIO_CODING_MODE_3_1, | ||||
|   AUDIO_CODING_MODE_2_2, | ||||
|   AUDIO_CODING_MODE_3_2, | ||||
|   }; | ||||
|  | ||||
| typedef struct audio_info { | ||||
|   eAudioCodec codec;             // enum | ||||
|   double      bitrate;           // bit/s or eAudioBitrate | ||||
|   int         samplingFrequency; // Hz or eAudioSamplingFrequency | ||||
|   int         channelMode;       // eAudioChannelMode | ||||
| } audio_info_t; | ||||
|  | ||||
| typedef struct ac3_info { | ||||
|   int         bitrate;           // bit/s or eAudioBitrate | ||||
|   int         samplingFrequency; // Hz or eAudioSamplingFrequency | ||||
|   int         bitstreamMode;     // 0..7 or eAudioBitstreamMode | ||||
|   int         audioCodingMode;   // 0..7 or eAudioCodingMode | ||||
|   int         dolbySurroundMode; // eAudioDolbySurroundMode | ||||
|   int         centerMixLevel;    // eAudioCenterMixLevel | ||||
|   int         surroundMixLevel;  // eAudioSurroundMixLevel | ||||
|   int         dialogLevel;       // -dB | ||||
|   bool        lfe;               // boolean | ||||
| } ac3_info_t; | ||||
|  | ||||
| class cFemonAudioIf { | ||||
| public: | ||||
|   cFemonAudioIf() {} | ||||
|   virtual ~cFemonAudioIf() {} | ||||
|  | ||||
|   // enum | ||||
|   virtual void SetAudioCodec(eAudioCodec codec) = 0; | ||||
|   // kbit/s or eAudioBitrate | ||||
|   virtual void SetAudioBitrate(double bitrate) = 0; | ||||
|   // Hz or eAudioSamplingFrequency | ||||
|   virtual void SetAudioSamplingFrequency(int sampling) = 0; | ||||
|   // eAudioChannelMode | ||||
|   virtual void SetAudioChannel(eAudioChannelMode mode) = 0; | ||||
|   }; | ||||
|  | ||||
| class cFemonAC3If { | ||||
| public: | ||||
|   cFemonAC3If() {} | ||||
|   virtual ~cFemonAC3If() {} | ||||
|  | ||||
|   // bit/s or eAudioBitrate | ||||
|   virtual void SetAC3Bitrate(int bitrate) = 0; | ||||
|   // Hz or eAudioSamplingFrequency | ||||
|   virtual void SetAC3SamplingFrequency(int sampling) = 0; | ||||
|   // 0..7 or eAudioBitstreamMode | ||||
|   virtual void SetAC3Bitstream(int mode) = 0; | ||||
|   // 0..7 or eAudioCodingMode | ||||
|   virtual void SetAC3AudioCoding(int mode) = 0; | ||||
|   // eAudioDolbySurroundMode | ||||
|   virtual void SetAC3DolbySurround(int mode) = 0; | ||||
|   // eAudioCenterMixLevel | ||||
|   virtual void SetAC3CenterMix(int level) = 0; | ||||
|   // eAudioSurroundMixLevel | ||||
|   virtual void SetAC3SurroundMix(int level) = 0; | ||||
|   // -dB | ||||
|   virtual void SetAC3Dialog(int level) = 0; | ||||
|   // boolean | ||||
|   virtual void SetAC3LFE(bool onoff) = 0; | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONAUDIO_H | ||||
							
								
								
									
										35
									
								
								femoncfg.c
									
									
									
									
									
								
							
							
						
						
									
										35
									
								
								femoncfg.c
									
									
									
									
									
								
							| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #include <string.h> | ||||
| @@ -18,20 +17,14 @@ cFemonConfig::cFemonConfig(void) | ||||
|   skin           = 0; | ||||
|   theme          = 0; | ||||
|   position       = 1; | ||||
|   downscale      = 0; | ||||
|   redlimit       = 33; | ||||
|   greenlimit     = 66; | ||||
|   updateinterval = 5; | ||||
|   analyzestream  = 1; | ||||
|   calcinterval   = 20; | ||||
|   showcasystem   = 0; | ||||
| #ifdef NTSC | ||||
|   osdheight      = 420; | ||||
| #else | ||||
|   osdheight      = 480; | ||||
| #endif | ||||
|   osdoffset      = 0; | ||||
|   usesvdrp       = 0; | ||||
|   svdrpport      = 2001; | ||||
|   svdrpport      = 6419; | ||||
|   strncpy(svdrpip, "0.0.0.0", sizeof(svdrpip)); | ||||
| } | ||||
|  | ||||
| @@ -61,6 +54,18 @@ const cFemonTheme femonTheme[eFemonThemeMaxNumber] = | ||||
|     0xFFFFEE00, // clrYellow | ||||
|     0xFF33CC33, // clrGreen | ||||
|   }, | ||||
|   { | ||||
|     // eFemonThemeSTTNG | ||||
|     4,          // bpp | ||||
|     0x7F000000, // clrBackground | ||||
|     0xFFFCC024, // clrTitleBackground | ||||
|     0xFF000000, // clrTitleText | ||||
|     0xFF00FCFC, // clrActiveText | ||||
|     0xFFFCC024, // clrInactiveText | ||||
|     0xFFFC1414, // clrRed | ||||
|     0xFFFCC024, // clrYellow | ||||
|     0xFF24FC24, // clrGreen | ||||
|   }, | ||||
|   { | ||||
|     // eFemonThemeDeepBlue | ||||
|     4,          // bpp | ||||
| @@ -133,4 +138,16 @@ const cFemonTheme femonTheme[eFemonThemeMaxNumber] = | ||||
|     0xFFCE7B00, // clrYellow | ||||
|     0xFF336600, // clrGreen | ||||
|   }, | ||||
|   { | ||||
|     // eFemonThemePearlHD | ||||
|     4,          // bpp | ||||
|     0x90000000, // clrBackground | ||||
|     0xCC000000, // clrTitleBackground | ||||
|     0xFFBEBEBE, // clrTitleText | ||||
|     0xFF4E78B1, // clrActiveText | ||||
|     0xFFBEBEBE, // clrInactiveText | ||||
|     0xAAFF0000, // clrRed | ||||
|     0xAAF8F800, // clrYellow | ||||
|     0x6000ff00, // clrGreen | ||||
|   }, | ||||
| }; | ||||
|   | ||||
							
								
								
									
										23
									
								
								femoncfg.h
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								femoncfg.h
									
									
									
									
									
								
							| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONCFG_H | ||||
| @@ -29,14 +28,12 @@ public: | ||||
|   int skin; | ||||
|   int theme; | ||||
|   int position; | ||||
|   int downscale; | ||||
|   int redlimit; | ||||
|   int greenlimit; | ||||
|   int updateinterval; | ||||
|   int analyzestream; | ||||
|   int calcinterval; | ||||
|   int showcasystem; | ||||
|   int osdheight; | ||||
|   int osdoffset; | ||||
|   int usesvdrp; | ||||
|   int svdrpport; | ||||
|   char svdrpip[MaxSvdrpIp + 1]; // must end with additional null | ||||
| @@ -55,26 +52,28 @@ enum eFemonThemes | ||||
| { | ||||
|   eFemonThemeClassic, | ||||
|   eFemonThemeElchi, | ||||
|   eFemonThemeSTTNG, | ||||
|   eFemonThemeDeepBlue, | ||||
|   eFemonThemeMoronimo, | ||||
|   eFemonThemeEnigma, | ||||
|   eFemonThemeEgalsTry, | ||||
|   eFemonThemeDuotone, | ||||
|   eFemonThemeSilverGreen, | ||||
|   eFemonThemePearlHD, | ||||
|   eFemonThemeMaxNumber | ||||
| }; | ||||
|  | ||||
| struct cFemonTheme | ||||
| { | ||||
|   int bpp; | ||||
|   int clrBackground; | ||||
|   int clrTitleBackground; | ||||
|   int clrTitleText; | ||||
|   int clrActiveText; | ||||
|   int clrInactiveText; | ||||
|   int clrRed; | ||||
|   int clrYellow; | ||||
|   int clrGreen; | ||||
|   unsigned int clrBackground; | ||||
|   unsigned int clrTitleBackground; | ||||
|   unsigned int clrTitleText; | ||||
|   unsigned int clrActiveText; | ||||
|   unsigned int clrInactiveText; | ||||
|   unsigned int clrRed; | ||||
|   unsigned int clrYellow; | ||||
|   unsigned int clrGreen; | ||||
| }; | ||||
|  | ||||
| extern const cFemonTheme femonTheme[eFemonThemeMaxNumber]; | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								femonclient/vdr-femonclient-0.0.5.tgz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								femonclient/vdr-femonclient-0.0.5.tgz
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										759
									
								
								femonh264.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										759
									
								
								femonh264.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,759 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "femontools.h" | ||||
| #include "femonh264.h" | ||||
|  | ||||
| const cFemonH264::t_DAR cFemonH264::s_DAR[] = | ||||
| { | ||||
|   {  VIDEO_ASPECT_RATIO_1_1,      100  }, | ||||
|   {  VIDEO_ASPECT_RATIO_4_3,      133  }, | ||||
|   {  VIDEO_ASPECT_RATIO_16_9,     177  }, | ||||
|   {  VIDEO_ASPECT_RATIO_2_21_1,   221  }, | ||||
|   {  VIDEO_ASPECT_RATIO_12_11,    109  }, | ||||
|   {  VIDEO_ASPECT_RATIO_10_11,    90   }, | ||||
|   {  VIDEO_ASPECT_RATIO_16_11,    145  }, | ||||
|   {  VIDEO_ASPECT_RATIO_40_33,    121  }, | ||||
|   {  VIDEO_ASPECT_RATIO_24_11,    218  }, | ||||
|   {  VIDEO_ASPECT_RATIO_20_11,    181  }, | ||||
|   {  VIDEO_ASPECT_RATIO_32_11,    290  }, | ||||
|   {  VIDEO_ASPECT_RATIO_80_33,    242  }, | ||||
|   {  VIDEO_ASPECT_RATIO_18_11,    163  }, | ||||
|   {  VIDEO_ASPECT_RATIO_15_11,    136  }, | ||||
|   {  VIDEO_ASPECT_RATIO_64_33,    193  }, | ||||
|   {  VIDEO_ASPECT_RATIO_160_99,   161  }, | ||||
|   {  VIDEO_ASPECT_RATIO_3_2,      150  }, | ||||
|   {  VIDEO_ASPECT_RATIO_2_1,      200  } | ||||
| }; | ||||
|  | ||||
| const cFemonH264::t_SAR cFemonH264::s_SAR[] = | ||||
| { | ||||
|   { 0,   0  }, // VIDEO_ASPECT_RATIO_INVALID | ||||
|   { 1,   1  }, // VIDEO_ASPECT_RATIO_1_1 | ||||
|   { 12,  11 }, // VIDEO_ASPECT_RATIO_12_11 | ||||
|   { 10,  11 }, // VIDEO_ASPECT_RATIO_10_11 | ||||
|   { 16,  11 }, // VIDEO_ASPECT_RATIO_16_11 | ||||
|   { 40,  33 }, // VIDEO_ASPECT_RATIO_40_33 | ||||
|   { 24,  11 }, // VIDEO_ASPECT_RATIO_24_11 | ||||
|   { 20,  11 }, // VIDEO_ASPECT_RATIO_20_11 | ||||
|   { 32,  11 }, // VIDEO_ASPECT_RATIO_32_11 | ||||
|   { 80,  33 }, // VIDEO_ASPECT_RATIO_80_33 | ||||
|   { 18,  11 }, // VIDEO_ASPECT_RATIO_18_11 | ||||
|   { 15,  11 }, // VIDEO_ASPECT_RATIO_15_11 | ||||
|   { 64,  33 }, // VIDEO_ASPECT_RATIO_64_33 | ||||
|   { 160, 99 }, // VIDEO_ASPECT_RATIO_160_99 | ||||
|   { 4,   3  }, // VIDEO_ASPECT_RATIO_4_3 | ||||
|   { 3,   2  }, // VIDEO_ASPECT_RATIO_3_2 | ||||
|   { 2,   1  }  // VIDEO_ASPECT_RATIO_2_1 | ||||
| }; | ||||
|  | ||||
| const eVideoFormat cFemonH264::s_VideoFormats[] = | ||||
| { | ||||
|   VIDEO_FORMAT_COMPONENT, | ||||
|   VIDEO_FORMAT_PAL, | ||||
|   VIDEO_FORMAT_NTSC, | ||||
|   VIDEO_FORMAT_SECAM, | ||||
|   VIDEO_FORMAT_MAC, | ||||
|   VIDEO_FORMAT_UNKNOWN, | ||||
|   VIDEO_FORMAT_RESERVED | ||||
| }; | ||||
|  | ||||
| const uint8_t cFemonH264::s_SeiNumClockTsTable[9] = | ||||
| { | ||||
|   1, 1, 1, 2, 2, 3, 3, 2, 3 | ||||
| }; | ||||
|  | ||||
| cFemonH264::cFemonH264(cFemonVideoIf *videohandler) | ||||
| : m_VideoHandler(videohandler), | ||||
|   m_Width(0), | ||||
|   m_Height(0), | ||||
|   m_AspectRatio(VIDEO_ASPECT_RATIO_INVALID), | ||||
|   m_Format(VIDEO_FORMAT_INVALID), | ||||
|   m_FrameRate(0), | ||||
|   m_BitRate(0), | ||||
|   m_Scan(VIDEO_SCAN_INVALID), | ||||
|   m_CpbDpbDelaysPresentFlag(false), | ||||
|   m_PicStructPresentFlag(false), | ||||
|   m_FrameMbsOnlyFlag(false), | ||||
|   m_MbAdaptiveFrameFieldFlag(false), | ||||
|   m_TimeOffsetLength(0) | ||||
| { | ||||
|   reset(); | ||||
| } | ||||
|  | ||||
| cFemonH264::~cFemonH264() | ||||
| { | ||||
| } | ||||
|  | ||||
| bool cFemonH264::processVideo(const uint8_t *buf, int len) | ||||
| { | ||||
|   uint8_t nal_data[len]; | ||||
|   bool aud_found = false, sps_found = false, sei_found = true; // SEI temporarily disabled! | ||||
|   const uint8_t *start = buf; | ||||
|   const uint8_t *end = start + len; | ||||
|  | ||||
|   if (!m_VideoHandler) | ||||
|      return false; | ||||
|  | ||||
|   // skip PES header | ||||
|   if (!PesLongEnough(len)) | ||||
|       return false; | ||||
|   buf += PesPayloadOffset(buf); | ||||
|   start = buf; | ||||
|  | ||||
|   reset(); | ||||
|  | ||||
|   for (;;) { | ||||
|       int consumed = 0; | ||||
|  | ||||
|       buf = nextStartCode(buf, end); | ||||
|       if (buf >= end) | ||||
|          break; | ||||
|  | ||||
|       switch (buf[3] & 0x1F) { | ||||
|         case NAL_AUD: | ||||
|              if (!aud_found) { | ||||
|                  switch (buf[4] >> 5) { | ||||
|                    case 0: case 3: case 5: // I_FRAME | ||||
|                        //debug("H.264: Found NAL AUD at offset %d/%d\n", int(buf - start), len); | ||||
|                        aud_found = true; | ||||
|                        break; | ||||
|                    case 1: case 4: case 6: // P_FRAME; | ||||
|                    case 2: case 7:         // B_FRAME; | ||||
|                    default:                // NO_PICTURE; | ||||
|                         break; | ||||
|                    } | ||||
|              } | ||||
|              break; | ||||
|  | ||||
|         case NAL_SPS: | ||||
|              if (!sps_found) { | ||||
|                //debug("H.264: Found NAL SPS at offset %d/%d\n", int(buf - start), len); | ||||
|                int nal_len = nalUnescape(nal_data, buf + 4, int(end - buf - 4)); | ||||
|                consumed = parseSPS(nal_data, nal_len); | ||||
|                if (consumed > 0) | ||||
|                   sps_found = true; | ||||
|              } | ||||
|              break; | ||||
|  | ||||
|         case NAL_SEI: | ||||
|              if (!sei_found) { | ||||
|                //debug("H.264: Found NAL SEI at offset %d/%d\n", int(buf - start), len); | ||||
|                int nal_len = nalUnescape(nal_data, buf + 4, int(end - buf - 4)); | ||||
|                consumed = parseSEI(nal_data, nal_len); | ||||
|                if (consumed > 0) | ||||
|                   sei_found = true; | ||||
|              } | ||||
|              break; | ||||
|  | ||||
|         default: | ||||
|              break; | ||||
|         } | ||||
|  | ||||
|       if (aud_found && sps_found && sei_found) | ||||
|          break; | ||||
|  | ||||
|       buf += consumed + 4; | ||||
|       } | ||||
|  | ||||
|   if (aud_found) { | ||||
|      m_VideoHandler->SetVideoCodec(VIDEO_CODEC_H264); | ||||
|      if (sps_found) { | ||||
|         //debug("H.264: size %dx%d, aspect %d format %d bitrate %.0f\n", m_Width, m_Height, m_AspectRatio, m_Format, m_BitRate); | ||||
|         m_VideoHandler->SetVideoFormat(m_Format); | ||||
|         m_VideoHandler->SetVideoSize(m_Width, m_Height); | ||||
|         m_VideoHandler->SetVideoAspectRatio(m_AspectRatio); | ||||
|         m_VideoHandler->SetVideoBitrate(m_BitRate); | ||||
|         } | ||||
|      if (sps_found || sei_found) { | ||||
|         //debug("H.264: scan %d framerate %.2f\n", m_Scan, (m_Scan == VIDEO_SCAN_PROGRESSIVE) ? (m_FrameRate / 2) : m_FrameRate); | ||||
|         m_VideoHandler->SetVideoScan(m_Scan); | ||||
|         m_VideoHandler->SetVideoFramerate((m_Scan == VIDEO_SCAN_PROGRESSIVE) ? (m_FrameRate / 2) : m_FrameRate); | ||||
|         } | ||||
|   } | ||||
|  | ||||
|   return aud_found; | ||||
| } | ||||
|  | ||||
| void cFemonH264::reset() | ||||
| { | ||||
|   m_CpbDpbDelaysPresentFlag = false; | ||||
|   m_PicStructPresentFlag = false; | ||||
|   m_FrameMbsOnlyFlag = false; | ||||
|   m_MbAdaptiveFrameFieldFlag = false; | ||||
|   m_TimeOffsetLength = 0; | ||||
| } | ||||
|  | ||||
| const uint8_t *cFemonH264::nextStartCode(const uint8_t *start, const uint8_t *end) | ||||
| { | ||||
|   for (end -= 3; start < end; ++start) { | ||||
|       if ((start[0] == 0x00) && (start[1] == 0x00) && (start[2] == 0x01)) | ||||
|          return start; | ||||
|       } | ||||
|   return (end + 3); | ||||
| } | ||||
|  | ||||
| int cFemonH264::nalUnescape(uint8_t *dst, const uint8_t *src, int len) | ||||
| { | ||||
|   int s = 0, d = 0; | ||||
|  | ||||
|   while (s < len) { | ||||
|     if (!src[s] && !src[s + 1]) { | ||||
|        // hit 00 00 xx | ||||
|        dst[d] = dst[d + 1] = 0; | ||||
|        s += 2; | ||||
|        d += 2; | ||||
|        if (src[s] == 3) { | ||||
|           s++; // 00 00 03 xx --> 00 00 xx | ||||
|           if (s >= len) | ||||
|              return d; | ||||
|           } | ||||
|        } | ||||
|     dst[d++] = src[s++]; | ||||
|     } | ||||
|  | ||||
|   return d; | ||||
| } | ||||
|  | ||||
| int cFemonH264::parseSPS(const uint8_t *buf, int len) | ||||
| { | ||||
|   int profile_idc, level_idc, constraint_set3_flag, pic_order_cnt_type, i, j; | ||||
|   cFemonBitStream bs(buf, len); | ||||
|  | ||||
|   uint32_t width = m_Width; | ||||
|   uint32_t height = m_Height; | ||||
|   eVideoAspectRatio aspect_ratio = m_AspectRatio; | ||||
|   eVideoFormat format = m_Format; | ||||
|   double frame_rate = m_FrameRate; | ||||
|   double bit_rate = m_BitRate; | ||||
|   bool cpb_dpb_delays_present_flag = m_CpbDpbDelaysPresentFlag; | ||||
|   bool pic_struct_present_flag = m_PicStructPresentFlag; | ||||
|   bool frame_mbs_only_flag = m_FrameMbsOnlyFlag; | ||||
|   bool mb_adaptive_frame_field_flag = m_MbAdaptiveFrameFieldFlag; | ||||
|   uint32_t time_offset_length = m_TimeOffsetLength; | ||||
|  | ||||
|   profile_idc = bs.GetBits(8);              // profile_idc | ||||
|   bs.SkipBit();                             // constraint_set0_flag | ||||
|   bs.SkipBit();                             // constraint_set1_flag | ||||
|   bs.SkipBit();                             // constraint_set2_flag | ||||
|   constraint_set3_flag = bs.GetBit();       // constraint_set3_flag | ||||
|   bs.SkipBits(4);                           // reserved_zero_4bits | ||||
|   level_idc = bs.GetBits(8);                // level_idc | ||||
|   bs.SkipUeGolomb();                        // seq_parameter_set_id | ||||
|   //debug("H.264 SPS: profile_idc %d level_idc %d\n", profile_idc, level_idc); | ||||
|   switch (profile_idc) { | ||||
|     case 66:                                // baseline profile | ||||
|     case 77:                                // main profile | ||||
|     case 88:                                // extended profile | ||||
|          switch (level_idc) { | ||||
|            case 10:                         // level 1.0 | ||||
|                 bit_rate = 64000; | ||||
|                 break; | ||||
|            case 11:                         // level 1b / 1.1 | ||||
|                 bit_rate = constraint_set3_flag ? 128000 : 192000; | ||||
|                 break; | ||||
|            case 12:                         // level 1.2 | ||||
|                 bit_rate = 384000; | ||||
|                 break; | ||||
|            case 13:                         // level 1.3 | ||||
|                 bit_rate = 768000; | ||||
|                 break; | ||||
|            case 20:                         // level 2.0 | ||||
|                 bit_rate = 2000000; | ||||
|                 break; | ||||
|            case 21:                         // level 2.1 | ||||
|                 bit_rate = 4000000; | ||||
|                 break; | ||||
|            case 22:                         // level 2.2 | ||||
|                 bit_rate = 4000000; | ||||
|                 break; | ||||
|            case 30:                         // level 3.0 | ||||
|                 bit_rate = 10000000; | ||||
|                 break; | ||||
|            case 31:                         // level 3.1 | ||||
|                 bit_rate = 14000000; | ||||
|                 break; | ||||
|            case 32:                         // level 3.2 | ||||
|                 bit_rate = 20000000; | ||||
|                 break; | ||||
|            case 40:                         // level 4.0 | ||||
|                 bit_rate = 20000000; | ||||
|                 break; | ||||
|            case 41:                         // level 4.1 | ||||
|                 bit_rate = 50000000; | ||||
|                 break; | ||||
|            case 42:                         // level 4.2 | ||||
|                 bit_rate = 50000000; | ||||
|                 break; | ||||
|            case 50:                         // level 5.0 | ||||
|                 bit_rate = 135000000; | ||||
|                 break; | ||||
|            case 51:                         // level 5.1 | ||||
|                 bit_rate = 240000000; | ||||
|                 break; | ||||
|            default: | ||||
|                 break; | ||||
|          } | ||||
|          break; | ||||
|     case 100:                               // high profile | ||||
|          switch (level_idc) { | ||||
|            case 10:                         // level 1.0 | ||||
|                 bit_rate = 80000; | ||||
|                 break; | ||||
|            case 11:                         // level 1b / 1.1 | ||||
|                 bit_rate = constraint_set3_flag ? 160000 : 240000; | ||||
|                 break; | ||||
|            case 12:                         // level 1.2 | ||||
|                 bit_rate = 480000; | ||||
|                 break; | ||||
|            case 13:                         // level 1.3 | ||||
|                 bit_rate = 960000; | ||||
|                 break; | ||||
|            case 20:                         // level 2.0 | ||||
|                 bit_rate = 2500000; | ||||
|                 break; | ||||
|            case 21:                         // level 2.1 | ||||
|                 bit_rate = 5000000; | ||||
|                 break; | ||||
|            case 22:                         // level 2.2 | ||||
|                 bit_rate = 5000000; | ||||
|                 break; | ||||
|            case 30:                         // level 3.0 | ||||
|                 bit_rate = 12500000; | ||||
|                 break; | ||||
|            case 31:                         // level 3.1 | ||||
|                 bit_rate = 17500000; | ||||
|                 break; | ||||
|            case 32:                         // level 3.2 | ||||
|                 bit_rate = 25000000; | ||||
|                 break; | ||||
|            case 40:                         // level 4.0 | ||||
|                 bit_rate = 25000000; | ||||
|                 break; | ||||
|            case 41:                         // level 4.1 | ||||
|                 bit_rate = 62500000; | ||||
|                 break; | ||||
|            case 42:                         // level 4.2 | ||||
|                 bit_rate = 62500000; | ||||
|                 break; | ||||
|            case 50:                         // level 5.0 | ||||
|                 bit_rate = 168750000; | ||||
|                 break; | ||||
|            case 51:                         // level 5.1 | ||||
|                 bit_rate = 300000000; | ||||
|                 break; | ||||
|            default: | ||||
|                 break; | ||||
|          } | ||||
|          break; | ||||
|     case 110:                               // high 10 profile | ||||
|          switch (level_idc) { | ||||
|            case 10:                         // level 1.0 | ||||
|                 bit_rate = 192000; | ||||
|                 break; | ||||
|            case 11:                         // level 1b / 1.1 | ||||
|                 bit_rate = constraint_set3_flag ? 384000 : 576000; | ||||
|                 break; | ||||
|            case 12:                         // level 1.2 | ||||
|                 bit_rate = 115200; | ||||
|                 break; | ||||
|            case 13:                         // level 1.3 | ||||
|                 bit_rate = 2304000; | ||||
|                 break; | ||||
|            case 20:                         // level 2.0 | ||||
|                 bit_rate = 6000000; | ||||
|                 break; | ||||
|            case 21:                         // level 2.1 | ||||
|                 bit_rate = 12000000; | ||||
|                 break; | ||||
|            case 22:                         // level 2.2 | ||||
|                 bit_rate = 12000000; | ||||
|                 break; | ||||
|            case 30:                         // level 3.0 | ||||
|                 bit_rate = 30000000; | ||||
|                 break; | ||||
|            case 31:                         // level 3.1 | ||||
|                 bit_rate = 42000000; | ||||
|                 break; | ||||
|            case 32:                         // level 3.2 | ||||
|                 bit_rate = 60000000; | ||||
|                 break; | ||||
|            case 40:                         // level 4.0 | ||||
|                 bit_rate = 60000000; | ||||
|                 break; | ||||
|            case 41:                         // level 4.1 | ||||
|                 bit_rate = 150000000; | ||||
|                 break; | ||||
|            case 42:                         // level 4.2 | ||||
|                 bit_rate = 150000000; | ||||
|                 break; | ||||
|            case 50:                         // level 5.0 | ||||
|                 bit_rate = 405000000; | ||||
|                 break; | ||||
|            case 51:                         // level 5.1 | ||||
|                 bit_rate = 720000000; | ||||
|                 break; | ||||
|            default: | ||||
|                 break; | ||||
|          } | ||||
|          break; | ||||
|     case 122:                               // high 4:2:2 profile | ||||
|     case 144:                               // high 4:4:4 profile | ||||
|          switch (level_idc) { | ||||
|            case 10:                         // level 1.0 | ||||
|                 bit_rate = 256000; | ||||
|                 break; | ||||
|            case 11:                         // level 1b / 1.1 | ||||
|                 bit_rate = constraint_set3_flag ? 512000 : 768000; | ||||
|                 break; | ||||
|            case 12:                         // level 1.2 | ||||
|                 bit_rate = 1536000; | ||||
|                 break; | ||||
|            case 13:                         // level 1.3 | ||||
|                 bit_rate = 3072000; | ||||
|                 break; | ||||
|            case 20:                         // level 2.0 | ||||
|                 bit_rate = 8000000; | ||||
|                 break; | ||||
|            case 21:                         // level 2.1 | ||||
|                 bit_rate = 16000000; | ||||
|                 break; | ||||
|            case 22:                         // level 2.2 | ||||
|                 bit_rate = 16000000; | ||||
|                 break; | ||||
|            case 30:                         // level 3.0 | ||||
|                 bit_rate = 40000000; | ||||
|                 break; | ||||
|            case 31:                         // level 3.1 | ||||
|                 bit_rate = 56000000; | ||||
|                 break; | ||||
|            case 32:                         // level 3.2 | ||||
|                 bit_rate = 80000000; | ||||
|                 break; | ||||
|            case 40:                         // level 4.0 | ||||
|                 bit_rate = 80000000; | ||||
|                 break; | ||||
|            case 41:                         // level 4.1 | ||||
|                 bit_rate = 200000000; | ||||
|                 break; | ||||
|            case 42:                         // level 4.2 | ||||
|                 bit_rate = 200000000; | ||||
|                 break; | ||||
|            case 50:                         // level 5.0 | ||||
|                 bit_rate = 540000000; | ||||
|                 break; | ||||
|            case 51:                         // level 5.1 | ||||
|                 bit_rate = 960000000; | ||||
|                 break; | ||||
|            default: | ||||
|                 break; | ||||
|          } | ||||
|          break; | ||||
|     default: | ||||
|          break; | ||||
|   } | ||||
|   if ((profile_idc == 100) || (profile_idc == 110) || (profile_idc == 122) || (profile_idc == 144)) { | ||||
|      if (bs.GetUeGolomb() == 3)             // chroma_format_idc | ||||
|         bs.SkipBit();                       // residual_colour_transform_flag | ||||
|      bs.SkipUeGolomb();                     // bit_depth_luma_minus8 | ||||
|      bs.SkipUeGolomb();                     // bit_depth_chroma_minus8 | ||||
|      bs.SkipBit();                          // qpprime_y_zero_transform_bypass_flag | ||||
|      if (bs.GetBit()) {                     // seq_scaling_matrix_present_flag | ||||
|         for (i = 0; i < 8; ++i) { | ||||
|             if (bs.GetBit()) {              // seq_scaling_list_present_flag[i] | ||||
|                int last = 8, next = 8, size = (i < 6) ? 16 : 64; | ||||
|                for (j = 0; j < size; ++j) { | ||||
|                    if (next) | ||||
|                       next = (last + bs.GetSeGolomb()) & 0xff; | ||||
|                    last = next ?: last; | ||||
|                    } | ||||
|                } | ||||
|             } | ||||
|         } | ||||
|      } | ||||
|   bs.SkipUeGolomb();                        // log2_max_frame_num_minus4 | ||||
|   pic_order_cnt_type = bs.GetUeGolomb();    // pic_order_cnt_type | ||||
|   if (pic_order_cnt_type == 0) | ||||
|      bs.SkipUeGolomb();                     // log2_max_pic_order_cnt_lsb_minus4 | ||||
|   else if (pic_order_cnt_type == 1) { | ||||
|      bs.SkipBit();                          // delta_pic_order_always_zero | ||||
|      bs.SkipSeGolomb();                     // offset_for_non_ref_pic | ||||
|      bs.SkipSeGolomb();                     // offset_for_top_to_bottom_field | ||||
|      j = bs.GetUeGolomb();                  // num_ref_frames_in_pic_order_cnt_cycle | ||||
|      for (i = 0; i < j; ++i) | ||||
|          bs.SkipSeGolomb();                 // offset_for_ref_frame[i] | ||||
|      } | ||||
|   bs.SkipUeGolomb();                        // num_ref_frames | ||||
|   bs.SkipBit();                             // gaps_in_frame_num_value_allowed_flag | ||||
|   width  = bs.GetUeGolomb() + 1;            // pic_width_in_mbs_minus1 | ||||
|   height = bs.GetUeGolomb() + 1;            // pic_height_in_mbs_minus1 | ||||
|   frame_mbs_only_flag = bs.GetBit();        // frame_mbs_only_flag | ||||
|   //debug("H.264 SPS: pic_width:  %u mbs\n", width); | ||||
|   //debug("H.264 SPS: pic_height: %u mbs\n", height); | ||||
|   //debug("H.264 SPS: frame only flag: %d\n", frame_mbs_only_flag); | ||||
|   width  *= 16; | ||||
|   height *= 16 * (frame_mbs_only_flag ? 1 : 2); | ||||
|   if (!frame_mbs_only_flag) | ||||
|      mb_adaptive_frame_field_flag = bs.GetBit(); // mb_adaptive_frame_field_flag | ||||
|   bs.SkipBit();                             // direct_8x8_inference_flag | ||||
|   if (bs.GetBit()) {                        // frame_cropping_flag | ||||
|      uint32_t crop_left, crop_right, crop_top, crop_bottom; | ||||
|      crop_left   = bs.GetUeGolomb();        // frame_crop_left_offset | ||||
|      crop_right  = bs.GetUeGolomb();        // frame_crop_rigth_offset | ||||
|      crop_top    = bs.GetUeGolomb();        // frame_crop_top_offset | ||||
|      crop_bottom = bs.GetUeGolomb();        // frame_crop_bottom_offset | ||||
|      //debug("H.264 SPS: cropping %d %d %d %d\n", crop_left, crop_top, crop_right, crop_bottom); | ||||
|      width -= 2 * (crop_left + crop_right); | ||||
|      if (frame_mbs_only_flag) | ||||
|         height -= 2 * (crop_top + crop_bottom); | ||||
|      else | ||||
|         height -= 4 * (crop_top + crop_bottom); | ||||
|      } | ||||
|   // VUI parameters | ||||
|   if (bs.GetBit()) {                        // vui_parameters_present_flag | ||||
|      if (bs.GetBit()) {                     // aspect_ratio_info_present | ||||
|         uint32_t aspect_ratio_idc, sar_width = 0, sar_height = 0; | ||||
|         aspect_ratio_idc = bs.GetBits(8);   // aspect_ratio_idc | ||||
|         //debug("H.264 SPS: aspect_ratio_idc %d\n", aspect_ratio_idc); | ||||
|         if (aspect_ratio_idc == 255) {      // extended sar | ||||
|            sar_width  = bs.GetBits(16);     // sar_width | ||||
|            sar_height = bs.GetBits(16);     // sar_height | ||||
|            } | ||||
|         else if (aspect_ratio_idc < ELEMENTS(s_SAR)) { | ||||
|            sar_width  = s_SAR[aspect_ratio_idc].w; | ||||
|            sar_height = s_SAR[aspect_ratio_idc].h; | ||||
|            } | ||||
|         if (sar_width && sar_height) { | ||||
|            int index = -1, ratio = int(100.0L * sar_width * width / sar_height / height); | ||||
|            for (unsigned int i = 0; i < ELEMENTS(s_DAR); ++i) { | ||||
|                if (s_DAR[i].ratio == ratio) { | ||||
|                   index = i; | ||||
|                   break; | ||||
|                   } | ||||
|                } | ||||
|            if (index < 0) { | ||||
|               if (aspect_ratio_idc == 255) | ||||
|                  aspect_ratio = VIDEO_ASPECT_RATIO_EXTENDED; | ||||
|               else | ||||
|                  aspect_ratio = VIDEO_ASPECT_RATIO_INVALID; | ||||
|               } | ||||
|            else | ||||
|               aspect_ratio = s_DAR[index].dar; | ||||
|            //debug("H.264 SPS: DAR %dx%d (%d)\n", sar_width, sar_height, aspect_ratio); | ||||
|            } | ||||
|         } | ||||
|      if (bs.GetBit())                       // overscan_info_present_flag | ||||
|         bs.SkipBit();                       // overscan_approriate_flag | ||||
|      if (bs.GetBit()) {                     // video_signal_type_present_flag | ||||
|         uint32_t video_format; | ||||
|         video_format = bs.GetBits(3);       // video_format | ||||
|         if (video_format < sizeof(s_VideoFormats) / sizeof(s_VideoFormats[0])) { | ||||
|            format = s_VideoFormats[video_format]; | ||||
|            //debug("H.264 SPS: video format %d\n", format); | ||||
|            } | ||||
|         bs.SkipBit();                       // video_full_range_flag | ||||
|         if (bs.GetBit()) {                  // colour_description_present_flag | ||||
|            bs.SkipBits(8);                  // colour_primaries | ||||
|            bs.SkipBits(8);                  // transfer_characteristics | ||||
|            bs.SkipBits(8);                  // matrix_coefficients | ||||
|            } | ||||
|         } | ||||
|      if (bs.GetBit()) {                     // chroma_loc_info_present_flag | ||||
|         bs.SkipUeGolomb();                  // chroma_sample_loc_type_top_field | ||||
|         bs.SkipUeGolomb();                  // chroma_sample_loc_type_bottom_field | ||||
|         } | ||||
|      if (bs.GetBit()) {                     // timing_info_present_flag | ||||
|         uint32_t num_units_in_tick, time_scale; | ||||
|         num_units_in_tick = bs.GetBits(32); // num_units_in_tick | ||||
|         time_scale        = bs.GetBits(32); // time_scale | ||||
|         if (num_units_in_tick > 0) | ||||
|            frame_rate = time_scale / num_units_in_tick; | ||||
|         bs.SkipBit();                       // fixed_frame_rate_flag | ||||
|         } | ||||
|      int nal_hrd_parameters_present_flag = bs.GetBit(); // nal_hrd_parameters_present_flag | ||||
|      if (nal_hrd_parameters_present_flag) { | ||||
|         int cpb_cnt_minus1; | ||||
|         cpb_cnt_minus1 = bs.GetUeGolomb();  // cpb_cnt_minus1 | ||||
|         bs.SkipBits(4);                     // bit_rate_scale | ||||
|         bs.SkipBits(4);                     // cpb_size_scale | ||||
|         for (int i = 0; i < cpb_cnt_minus1; ++i) { | ||||
|             bs.SkipUeGolomb();              // bit_rate_value_minus1[i] | ||||
|             bs.SkipUeGolomb();              // cpb_size_value_minus1[i] | ||||
|             bs.SkipBit();                   // cbr_flag[i] | ||||
|             } | ||||
|         bs.SkipBits(5);                     // initial_cpb_removal_delay_length_minus1 | ||||
|         bs.SkipBits(5);                     // cpb_removal_delay_length_minus1 | ||||
|         bs.SkipBits(5);                     // dpb_output_delay_length_minus1 | ||||
|         time_offset_length = bs.GetBits(5); // time_offset_length | ||||
|         } | ||||
|      int vlc_hrd_parameters_present_flag = bs.GetBit(); // vlc_hrd_parameters_present_flag | ||||
|      if (vlc_hrd_parameters_present_flag) { | ||||
|          int cpb_cnt_minus1; | ||||
|          cpb_cnt_minus1 = bs.GetUeGolomb(); // cpb_cnt_minus1 | ||||
|          bs.SkipBits(4);                    // bit_rate_scale | ||||
|          bs.SkipBits(4);                    // cpb_size_scale | ||||
|          for (int i = 0; i < cpb_cnt_minus1; ++i) { | ||||
|              bs.SkipUeGolomb();             // bit_rate_value_minus1[i] | ||||
|              bs.SkipUeGolomb();             // cpb_size_value_minus1[i] | ||||
|              bs.SkipBit();                  // cbr_flag[i] | ||||
|              } | ||||
|          bs.SkipBits(5);                    // initial_cpb_removal_delay_length_minus1 | ||||
|          bs.SkipBits(5);                    // cpb_removal_delay_length_minus1 | ||||
|          bs.SkipBits(5);                    // dpb_output_delay_length_minus1 | ||||
|          time_offset_length = bs.GetBits(5);// time_offset_length | ||||
|         } | ||||
|      cpb_dpb_delays_present_flag = (nal_hrd_parameters_present_flag | vlc_hrd_parameters_present_flag); | ||||
|      if (cpb_dpb_delays_present_flag) | ||||
|         bs.SkipBit();                       // low_delay_hrd_flag | ||||
|      pic_struct_present_flag = bs.GetBit(); // pic_struct_present_flag | ||||
|      if (bs.GetBit()) {                     // bitstream_restriction_flag | ||||
|         bs.SkipBit();                       // motion_vectors_over_pic_boundaries_flag | ||||
|         bs.SkipUeGolomb();                  // max_bytes_per_pic_denom | ||||
|         bs.SkipUeGolomb();                  // max_bits_per_mb_denom | ||||
|         bs.SkipUeGolomb();                  // log2_max_mv_length_horizontal | ||||
|         bs.SkipUeGolomb();                  // log2_max_mv_length_vertical | ||||
|         bs.SkipUeGolomb();                  // num_reorder_frames | ||||
|         bs.SkipUeGolomb();                  // max_dec_frame_buffering | ||||
|         } | ||||
|      } | ||||
|  | ||||
|   m_Width = width; | ||||
|   m_Height = height; | ||||
|   m_AspectRatio = aspect_ratio; | ||||
|   m_Format = format; | ||||
|   m_Scan = frame_mbs_only_flag ? VIDEO_SCAN_PROGRESSIVE : VIDEO_SCAN_INTERLACED; | ||||
|   m_FrameRate = frame_rate; | ||||
|   m_BitRate = bit_rate; | ||||
|   m_CpbDpbDelaysPresentFlag = cpb_dpb_delays_present_flag; | ||||
|   m_PicStructPresentFlag = pic_struct_present_flag; | ||||
|   m_FrameMbsOnlyFlag = frame_mbs_only_flag; | ||||
|   m_MbAdaptiveFrameFieldFlag = mb_adaptive_frame_field_flag; | ||||
|   m_TimeOffsetLength = time_offset_length; | ||||
|  | ||||
|   return (bs.Index() / 8); | ||||
| } | ||||
|  | ||||
| int cFemonH264::parseSEI(const uint8_t *buf, int len) | ||||
| { | ||||
|   int num_referenced_subseqs, i; | ||||
|   cFemonBitStream bs(buf, len); | ||||
|  | ||||
|   eVideoScan scan = m_Scan; | ||||
|  | ||||
|   while ((bs.Index() * 8 + 16) < len) {               // sei_message | ||||
|     int lastByte, payloadSize = 0, payloadType = 0; | ||||
|  | ||||
|     do { | ||||
|        lastByte = bs.GetBits(8) & 0xFF; | ||||
|        payloadType += lastByte; | ||||
|     } while (lastByte == 0xFF);                          // last_payload_type_byte | ||||
|  | ||||
|     do { | ||||
|        lastByte = bs.GetBits(8) & 0xFF; | ||||
|        payloadSize += lastByte; | ||||
|     } while (lastByte == 0xFF);                          // last_payload_size_byte | ||||
|  | ||||
|     switch (payloadType) {                               // sei_payload | ||||
|       case 1:                                            // pic_timing | ||||
|            if (m_CpbDpbDelaysPresentFlag) {              // cpb_dpb_delays_present_flag | ||||
|               bs.SkipUeGolomb();                         // cpb_removal_delay | ||||
|               bs.SkipUeGolomb();                         // dpb_output_delay | ||||
|               } | ||||
|            if (m_PicStructPresentFlag) {                 // pic_struct_present_flag | ||||
|               uint32_t pic_struct, ct_type = 0, i = 0; | ||||
|               pic_struct = bs.GetBits(4);                // pic_struct | ||||
|               if (pic_struct >= (sizeof(s_SeiNumClockTsTable)) / sizeof(s_SeiNumClockTsTable[0])) | ||||
|                  return 0; | ||||
|               if (m_FrameMbsOnlyFlag && !m_MbAdaptiveFrameFieldFlag) | ||||
|                  scan = VIDEO_SCAN_PROGRESSIVE; | ||||
|               else { | ||||
|                  switch (pic_struct) { | ||||
|                    case 0:                               // frame | ||||
|                    case 7:                               // frame doubling | ||||
|                    case 8:                               // frame tripling | ||||
|                         scan = VIDEO_SCAN_PROGRESSIVE; | ||||
|                         break; | ||||
|                    case 1:                               // top | ||||
|                    case 2:                               // bottom | ||||
|                    case 3:                               // top bottom | ||||
|                    case 4:                               // bottom top | ||||
|                    case 5:                               // top bottom top | ||||
|                    case 6:                               // bottom top bottom | ||||
|                         scan = VIDEO_SCAN_INTERLACED; | ||||
|                         break; | ||||
|                    default: | ||||
|                         scan = VIDEO_SCAN_RESERVED; | ||||
|                         break; | ||||
|                    } | ||||
|                 } | ||||
|               //debug("H.264 SEI: pic struct %d scan type %d\n", pic_struct, scan); | ||||
|               for (i = 0; i < s_SeiNumClockTsTable[pic_struct]; ++i) { | ||||
|                   if (bs.GetBit()) {                     // clock_timestamp_flag[i] | ||||
|                      int full_timestamp_flag; | ||||
|                      ct_type |= (1 << bs.GetBits(2));    // ct_type | ||||
|                      //debug("H.264 SEI: ct type %04X\n", ct_type); | ||||
|                      bs.SkipBit();                       // nuit_field_based_flag | ||||
|                      bs.SkipBits(5);                     // counting_type | ||||
|                      full_timestamp_flag = bs.GetBit();  // full_timestamp_flag | ||||
|                      bs.SkipBit();                       // discontinuity_flag | ||||
|                      bs.SkipBit();                       // cnt_dropped_flag | ||||
|                      bs.SkipBits(8);                     // n_frames | ||||
|                      if (full_timestamp_flag) { | ||||
|                         bs.SkipBits(6);                  // seconds_value | ||||
|                         bs.SkipBits(6);                  // minutes_value | ||||
|                         bs.SkipBits(5);                  // hours_value | ||||
|                         } | ||||
|                      else { | ||||
|                         if (bs.GetBit()) {               // seconds_flag | ||||
|                            bs.SkipBits(6);               // seconds_value | ||||
|                            if (bs.GetBit()) {            // minutes_flag | ||||
|                               bs.SkipBits(6);            // minutes_value | ||||
|                               if (bs.GetBit())           // hours_flag | ||||
|                                   bs.SkipBits(5);        // hours_value | ||||
|                               } | ||||
|                            } | ||||
|                         } | ||||
|                      if (m_TimeOffsetLength > 0) | ||||
|                         bs.SkipBits(m_TimeOffsetLength); // time_offset | ||||
|                      } | ||||
|                   } | ||||
|               if (i > 0) | ||||
|                  scan = (ct_type & (1 << 1)) ? VIDEO_SCAN_INTERLACED : VIDEO_SCAN_PROGRESSIVE; | ||||
|               } | ||||
|            break; | ||||
|  | ||||
|       case 12:                                           // sub_seq_characteristics | ||||
|            bs.SkipUeGolomb();                            // sub_seq_layer_num | ||||
|            bs.SkipUeGolomb();                            // sub_seq_id | ||||
|            if (bs.GetBit())                              // duration_flag | ||||
|               bs.SkipBits(32);                           // sub_seq_duration | ||||
|            if (bs.GetBit()) {                            // average_rate_flag | ||||
|               bs.SkipBit();                              // accurate_statistics_flag | ||||
|               bs.SkipBits(16);                           // average_bit_rate (1000 bit/s) | ||||
|               bs.SkipBits(16);                           // average_frame_rate (frames per 256s) | ||||
|               } | ||||
|            num_referenced_subseqs = bs.GetUeGolomb();    // num_referenced_subseqs | ||||
|            for (i = 0; i < num_referenced_subseqs; ++i) { | ||||
|                bs.SkipUeGolomb();                        // ref_sub_seq_layer_num | ||||
|                bs.SkipUeGolomb();                        // ref_sub_seq_id | ||||
|                bs.GetBit();                              // ref_sub_seq_direction | ||||
|                } | ||||
|            break; | ||||
|  | ||||
|       default: | ||||
|            bs.SkipBits(payloadSize * 8); | ||||
|            break; | ||||
|       } | ||||
|  | ||||
|     // force byte align | ||||
|     bs.ByteAlign(); | ||||
|     } | ||||
|  | ||||
|   m_Scan = scan; | ||||
|  | ||||
|   return (bs.Index() / 8); | ||||
| } | ||||
							
								
								
									
										64
									
								
								femonh264.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								femonh264.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,64 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONH264_H | ||||
| #define __FEMONH264_H | ||||
|  | ||||
| #include "femonvideo.h" | ||||
|  | ||||
| class cFemonH264 { | ||||
| private: | ||||
|   enum { | ||||
|     NAL_SEI     = 0x06, // Supplemental Enhancement Information | ||||
|     NAL_SPS     = 0x07, // Sequence Parameter Set | ||||
|     NAL_AUD     = 0x09, // Access Unit Delimiter | ||||
|     NAL_END_SEQ = 0x0A  // End of Sequence | ||||
|   }; | ||||
|  | ||||
|   typedef struct DAR { | ||||
|     eVideoAspectRatio dar; | ||||
|     int               ratio; | ||||
|   } t_DAR; | ||||
|  | ||||
|   typedef struct SAR { | ||||
|     int               w; | ||||
|     int               h; | ||||
|   } t_SAR; | ||||
|  | ||||
|   cFemonVideoIf    *m_VideoHandler; | ||||
|   uint32_t          m_Width; | ||||
|   uint32_t          m_Height; | ||||
|   eVideoAspectRatio m_AspectRatio; | ||||
|   eVideoFormat      m_Format; | ||||
|   double            m_FrameRate; | ||||
|   double            m_BitRate; | ||||
|   eVideoScan        m_Scan; | ||||
|   bool              m_CpbDpbDelaysPresentFlag; | ||||
|   bool              m_PicStructPresentFlag; | ||||
|   bool              m_FrameMbsOnlyFlag; | ||||
|   bool              m_MbAdaptiveFrameFieldFlag; | ||||
|   uint32_t          m_TimeOffsetLength; | ||||
|  | ||||
|   void           reset(); | ||||
|   const uint8_t *nextStartCode(const uint8_t *start, const uint8_t *end); | ||||
|   int            nalUnescape(uint8_t *dst, const uint8_t *src, int len); | ||||
|   int            parseSPS(const uint8_t *buf, int len); | ||||
|   int            parseSEI(const uint8_t *buf, int len); | ||||
|  | ||||
|   static const t_SAR             s_SAR[]; | ||||
|   static const t_DAR             s_DAR[]; | ||||
|   static const eVideoFormat      s_VideoFormats[]; | ||||
|   static const uint8_t           s_SeiNumClockTsTable[9]; | ||||
|  | ||||
| public: | ||||
|   cFemonH264(cFemonVideoIf *videohandler); | ||||
|   virtual ~cFemonH264(); | ||||
|  | ||||
|   bool processVideo(const uint8_t *buf, int len); | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONH264_H | ||||
							
								
								
									
										112
									
								
								femonlatm.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										112
									
								
								femonlatm.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,112 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "femontools.h" | ||||
| #include "femonlatm.h" | ||||
|  | ||||
| int cFemonLATM::s_Bitrates[3][16] = | ||||
| { | ||||
|   {0,  32,  48,  56,  64,  80,  96, 112, 128, 144, 160, 176, 192, 224, 256, -1}, // MPEG-2 Layer I | ||||
|   {0,   8,  16,  24,  32,  40,  48,  56,  64,  80,  96, 112, 128, 144, 160, -1}, // MPEG-2 Layer II/III | ||||
|   {0,   8,  16,  24,  32,  40,  48,  56,  64,  80,  96, 112, 128, 144, 160, -1}  // MPEG-2 Layer II/III | ||||
| }; | ||||
|  | ||||
| int cFemonLATM::s_Samplerates[4] = | ||||
| { | ||||
|   22050, 24000, 16000, -1 | ||||
| }; | ||||
|  | ||||
| cFemonLATM::cFemonLATM(cFemonAudioIf *audiohandler) | ||||
| : m_AudioHandler(audiohandler) | ||||
| { | ||||
| } | ||||
|  | ||||
| cFemonLATM::~cFemonLATM() | ||||
| { | ||||
| } | ||||
|  | ||||
| bool cFemonLATM::processAudio(const uint8_t *buf, int len) | ||||
| { | ||||
|   cFemonBitStream bs(buf, len * 8); | ||||
|  | ||||
|   if (!m_AudioHandler) | ||||
|      return false; | ||||
|  | ||||
|   // skip PES header | ||||
|   if (!PesLongEnough(len)) | ||||
|       return false; | ||||
|   bs.SkipBits(8 * PesPayloadOffset(buf)); | ||||
|  | ||||
|   // MPEG audio detection | ||||
|   if (bs.GetBits(12) != 0x56E)              // syncword | ||||
|      return false; | ||||
|  | ||||
|   m_AudioHandler->SetAudioCodec(AUDIO_CODEC_LATM); | ||||
|  | ||||
|   if (bs.GetBit() == 0)                     // id: MPEG-1=1, extension to lower sampling frequencies=0 | ||||
|      return true;                           // @todo: lower sampling frequencies support | ||||
|   int layer = 3 - bs.GetBits(2);            // layer: I=11, II=10, III=01 | ||||
|   bs.SkipBit();                             // protection bit | ||||
|   int bit_rate_index = bs.GetBits(4);       // bitrate index | ||||
|   int sampling_frequency = bs.GetBits(2);   // sampling frequency | ||||
|   bs.SkipBit();                             // padding bit | ||||
|   bs.SkipBit();                             // private pid | ||||
|   int mode = bs.GetBits(2);                 // mode | ||||
|  | ||||
|   switch (mode) { | ||||
|     case 0: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_STEREO); | ||||
|          break; | ||||
|  | ||||
|     case 1: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_JOINT_STEREO); | ||||
|          break; | ||||
|  | ||||
|     case 2: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_DUAL); | ||||
|          break; | ||||
|  | ||||
|     case 3: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_SINGLE); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_INVALID); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   if (layer == 3) { | ||||
|       m_AudioHandler->SetAudioBitrate(AUDIO_BITRATE_FREE); | ||||
|   } | ||||
|   else { | ||||
|      switch (bit_rate_index) { | ||||
|        case 0: | ||||
|             m_AudioHandler->SetAudioBitrate(AUDIO_BITRATE_FREE); | ||||
|             break; | ||||
|  | ||||
|        case 0xF: | ||||
|             m_AudioHandler->SetAudioBitrate(AUDIO_BITRATE_RESERVED); | ||||
|             break; | ||||
|  | ||||
|        default: | ||||
|             m_AudioHandler->SetAudioBitrate(1000 * s_Bitrates[layer][bit_rate_index]); | ||||
|             break; | ||||
|      } | ||||
|   } | ||||
|  | ||||
|   switch (sampling_frequency) { | ||||
|     case 3: | ||||
|          m_AudioHandler->SetAudioSamplingFrequency(AUDIO_SAMPLING_FREQUENCY_RESERVED); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioSamplingFrequency(s_Samplerates[sampling_frequency]); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   return true; | ||||
| } | ||||
							
								
								
									
										27
									
								
								femonlatm.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								femonlatm.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONLATM_H | ||||
| #define __FEMONLATM_H | ||||
|  | ||||
| #include "femonaudio.h" | ||||
|  | ||||
| class cFemonLATM { | ||||
| private: | ||||
|   cFemonAudioIf *m_AudioHandler; | ||||
|  | ||||
|   static int s_Bitrates[3][16]; | ||||
|   static int s_Samplerates[4]; | ||||
|  | ||||
| public: | ||||
|   cFemonLATM(cFemonAudioIf *audiohandler); | ||||
|   virtual ~cFemonLATM(); | ||||
|  | ||||
|   bool processAudio(const uint8_t *buf, int len); | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONLATM_H | ||||
							
								
								
									
										286
									
								
								femonmpeg.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										286
									
								
								femonmpeg.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,286 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "femontools.h" | ||||
| #include "femonmpeg.h" | ||||
|  | ||||
| #define IS_EXTENSION_START(buf) (((buf)[0] == 0x00) && ((buf)[1] == 0x00) && ((buf)[2] == 0x01) && ((buf)[3] == 0xB5)) | ||||
|  | ||||
| int cFemonMPEG::s_Bitrates[2][3][16] = | ||||
| { | ||||
|   { | ||||
|     {0,  32,  48,  56,  64,  80,  96, 112, 128, 144, 160, 176, 192, 224, 256, -1}, // MPEG-2 Layer I | ||||
|     {0,   8,  16,  24,  32,  40,  48,  56,  64,  80,  96, 112, 128, 144, 160, -1}, // MPEG-2 Layer II/III | ||||
|     {0,   8,  16,  24,  32,  40,  48,  56,  64,  80,  96, 112, 128, 144, 160, -1}  // MPEG-2 Layer II/III | ||||
|   }, | ||||
|   { | ||||
|     {0,  32,  64,  96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1}, // MPEG-1 Layer I | ||||
|     {0,  32,  48,  56,  64,  80,  96, 112, 128, 160, 192, 224, 256, 320, 384, -1}, // MPEG-1 Layer II | ||||
|     {0,  32,  40,  48,  56,  64,  80,  96, 112, 128, 160, 192, 224, 256, 320, -1}  // MPEG-1 Layer III | ||||
|   } | ||||
| }; | ||||
|  | ||||
| int cFemonMPEG::s_Samplerates[2][4] = | ||||
| { | ||||
|   {22050, 24000, 16000, -1}, // MPEG-2 | ||||
|   {44100, 48000, 32000, -1}  // MPEG-1 | ||||
| }; | ||||
|  | ||||
| eAudioCodec cFemonMPEG::s_Formats[2][4] = | ||||
| { | ||||
|   {AUDIO_CODEC_MPEG2_I, AUDIO_CODEC_MPEG2_II, AUDIO_CODEC_MPEG2_III, AUDIO_CODEC_UNKNOWN}, // MPEG-2 | ||||
|   {AUDIO_CODEC_MPEG1_I, AUDIO_CODEC_MPEG1_II, AUDIO_CODEC_MPEG1_III, AUDIO_CODEC_UNKNOWN}  // MPEG-1 | ||||
| }; | ||||
|  | ||||
| cFemonMPEG::cFemonMPEG(cFemonVideoIf *videohandler, cFemonAudioIf *audiohandler) | ||||
| : m_VideoHandler(videohandler), | ||||
|   m_AudioHandler(audiohandler) | ||||
| { | ||||
| } | ||||
|  | ||||
| cFemonMPEG::~cFemonMPEG() | ||||
| { | ||||
| } | ||||
|  | ||||
| bool cFemonMPEG::processAudio(const uint8_t *buf, int len) | ||||
| { | ||||
|   cFemonBitStream bs(buf, len * 8); | ||||
|  | ||||
|   if (!m_AudioHandler) | ||||
|      return false; | ||||
|  | ||||
|   // skip PES header | ||||
|   if (!PesLongEnough(len)) | ||||
|       return false; | ||||
|   bs.SkipBits(8 * PesPayloadOffset(buf)); | ||||
|  | ||||
|   // MPEG audio detection | ||||
|   if (bs.GetBits(12) != 0xFFF)              // syncword | ||||
|      return false; | ||||
|  | ||||
|   int id = bs.GetBit();                     // id: MPEG-2=0, MPEG-1=1 | ||||
|   int layer = 3 - bs.GetBits(2);            // layer: I=11, II=10, III=01 | ||||
|   bs.SkipBit();                             // protection bit | ||||
|   int bit_rate_index = bs.GetBits(4);       // bitrate index | ||||
|   int sampling_frequency = bs.GetBits(2);   // sampling frequency | ||||
|   bs.SkipBit();                             // padding bit | ||||
|   bs.SkipBit();                             // private pid | ||||
|   int mode = bs.GetBits(2);                 // mode | ||||
|  | ||||
|   m_AudioHandler->SetAudioCodec(s_Formats[id][layer]); | ||||
|  | ||||
|   switch (mode) { | ||||
|     case 0: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_STEREO); | ||||
|          break; | ||||
|  | ||||
|     case 1: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_JOINT_STEREO); | ||||
|          break; | ||||
|  | ||||
|     case 2: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_DUAL); | ||||
|          break; | ||||
|  | ||||
|     case 3: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_SINGLE); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioChannel(AUDIO_CHANNEL_MODE_INVALID); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   switch (bit_rate_index) { | ||||
|     case 0: | ||||
|          m_AudioHandler->SetAudioBitrate(AUDIO_BITRATE_FREE); | ||||
|          break; | ||||
|  | ||||
|     case 0xF: | ||||
|          m_AudioHandler->SetAudioBitrate(AUDIO_BITRATE_RESERVED); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioBitrate(1000 * s_Bitrates[id][layer][bit_rate_index]); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   switch (sampling_frequency) { | ||||
|     case 3: | ||||
|          m_AudioHandler->SetAudioSamplingFrequency(AUDIO_SAMPLING_FREQUENCY_RESERVED); | ||||
|          break; | ||||
|  | ||||
|     default: | ||||
|          m_AudioHandler->SetAudioSamplingFrequency(s_Samplerates[id][sampling_frequency]); | ||||
|          break; | ||||
|   } | ||||
|  | ||||
|   return true; | ||||
| } | ||||
|  | ||||
| bool cFemonMPEG::processVideo(const uint8_t *buf, int len) | ||||
| { | ||||
|   cFemonBitStream bs(buf, len * 8); | ||||
|  | ||||
|   if (!m_VideoHandler) | ||||
|      return false; | ||||
|  | ||||
|   // skip PES header | ||||
|   if (!PesLongEnough(len)) | ||||
|       return false; | ||||
|   bs.SkipBits(8 * PesPayloadOffset(buf)); | ||||
|  | ||||
|   // MPEG-2 video detection, search for start code | ||||
|   if (bs.GetBits(32) != 0x000001B3)         // sequence header | ||||
|      return false; | ||||
|  | ||||
|   int scan = VIDEO_SCAN_UNKNOWN; | ||||
|   int format = VIDEO_FORMAT_UNKNOWN; | ||||
|   int aspect = VIDEO_ASPECT_RATIO_RESERVED; | ||||
|  | ||||
|   int horizontal_size = bs.GetBits(12);     // horizontal size value | ||||
|   int vertical_size = bs.GetBits(12);       // vertical size value | ||||
|  | ||||
|   switch (bs.GetBits(4)) {                  // aspect ratio information | ||||
|     case 1: | ||||
|          aspect = VIDEO_ASPECT_RATIO_1_1; | ||||
|          break; | ||||
|  | ||||
|     case 2: | ||||
|          aspect = VIDEO_ASPECT_RATIO_4_3; | ||||
|          break; | ||||
|  | ||||
|     case 3: | ||||
|          aspect = VIDEO_ASPECT_RATIO_16_9; | ||||
|          break; | ||||
|  | ||||
|     case 4: | ||||
|          aspect = VIDEO_ASPECT_RATIO_2_21_1; | ||||
|          break; | ||||
|  | ||||
|     case 5 ... 15: | ||||
|     default: | ||||
|          aspect = VIDEO_ASPECT_RATIO_RESERVED; | ||||
|          break; | ||||
|     } | ||||
|  | ||||
|   double frame_rate = 0; | ||||
|   switch (bs.GetBits(4)) {                  // frame rate code | ||||
|     case 1: | ||||
|          frame_rate = 24000 / 1001.0; | ||||
|          format = VIDEO_FORMAT_UNKNOWN; | ||||
|          break; | ||||
|  | ||||
|     case 2: | ||||
|          frame_rate = 24.0; | ||||
|          format = VIDEO_FORMAT_UNKNOWN; | ||||
|          break; | ||||
|  | ||||
|     case 3: | ||||
|          frame_rate = 25.0; | ||||
|          format = VIDEO_FORMAT_PAL; | ||||
|          break; | ||||
|  | ||||
|     case 4: | ||||
|          frame_rate = 30000 / 1001.0; | ||||
|          format = VIDEO_FORMAT_NTSC; | ||||
|          break; | ||||
|  | ||||
|     case 5: | ||||
|          frame_rate = 30.0; | ||||
|          format = VIDEO_FORMAT_NTSC; | ||||
|          break; | ||||
|  | ||||
|     case 6: | ||||
|          frame_rate = 50.0; | ||||
|          format = VIDEO_FORMAT_PAL; | ||||
|          break; | ||||
|  | ||||
|     case 7: | ||||
|          frame_rate = 60.0; | ||||
|          format = VIDEO_FORMAT_NTSC; | ||||
|          break; | ||||
|  | ||||
|     case 8: | ||||
|          frame_rate = 60000 / 1001.0; | ||||
|          format = VIDEO_FORMAT_NTSC; | ||||
|          break; | ||||
|  | ||||
|     case 9 ... 15: | ||||
|     default: | ||||
|          frame_rate = 0; | ||||
|          format = VIDEO_FORMAT_UNKNOWN; | ||||
|          break; | ||||
|     } | ||||
|  | ||||
|   int bit_rate = bs.GetBits(18);            // bit rate value | ||||
|  | ||||
|   bs.SkipBit();             // marker bit | ||||
|   bs.SkipBits(10);          // vbv buffer size value | ||||
|   bs.SkipBit();             // constrained parameters value | ||||
|   if (bs.GetBit())          // load intra quantizer matrix | ||||
|      bs.SkipBits(8 * 64);   // intra quantizer matrix | ||||
|   if (bs.GetBit())          // load non-intra quantizer matrix | ||||
|      bs.SkipBits(8 * 64);   // non-intra quantizer matrix | ||||
|  | ||||
|   if (bs.GetBits(32) != 0x000001B5) {               // extension start | ||||
|      bs.SkipBits(4);                                // extension start code identifier | ||||
|      bs.SkipBits(8);                                // profile and level indicator | ||||
|      scan = bs.GetBit() ? VIDEO_SCAN_PROGRESSIVE : | ||||
|                           VIDEO_SCAN_INTERLACED;    // progressive sequence | ||||
|      bs.SkipBits(2);                                // chroma format | ||||
|      horizontal_size |= (bs.GetBits(2) << 12);      // horizontal size extension | ||||
|      vertical_size |= (bs.GetBits(2) << 12);        // vertical size extension | ||||
|      bit_rate |= (bs.GetBits(12) << 18);            // bit rate extension | ||||
|      bs.SkipBit();                                  // marker bit | ||||
|      bs.SkipBits(8);                                // vpv buffer size extension | ||||
|      bs.SkipBit();                                  // low delay | ||||
|      bs.SkipBits(2);                                // frame rate extension n | ||||
|      bs.SkipBits(5);                                // frame rate extension d | ||||
|  | ||||
|      if ((bs.GetBits(32) != 0x000001B5) &&          // extension start code | ||||
|          (bs.GetBits(4) == 0x0010)) {               // sequence display extension id | ||||
|         switch (bs.GetBits(3)) {                    // video format | ||||
|           case 0x000: | ||||
|                format = VIDEO_FORMAT_COMPONENT; | ||||
|                break; | ||||
|           case 0x001: | ||||
|                format = VIDEO_FORMAT_PAL; | ||||
|                break; | ||||
|           case 0x010: | ||||
|                format = VIDEO_FORMAT_NTSC; | ||||
|                break; | ||||
|           case 0x011: | ||||
|                format = VIDEO_FORMAT_SECAM; | ||||
|                break; | ||||
|           case 0x100: | ||||
|                format = VIDEO_FORMAT_MAC; | ||||
|                break; | ||||
|           case 0x101: | ||||
|                format = VIDEO_FORMAT_UNKNOWN; | ||||
|                break; | ||||
|           case 0x110: | ||||
|           case 0x111: | ||||
|                format = VIDEO_FORMAT_RESERVED; | ||||
|                break; | ||||
|           default: | ||||
|                format = VIDEO_FORMAT_INVALID; | ||||
|                break; | ||||
|           } | ||||
|         } | ||||
|      } | ||||
|  | ||||
|   m_VideoHandler->SetVideoCodec(VIDEO_CODEC_MPEG2); | ||||
|   m_VideoHandler->SetVideoSize(horizontal_size, vertical_size); | ||||
|   m_VideoHandler->SetVideoBitrate(400.0 * (double)(bit_rate)); | ||||
|   m_VideoHandler->SetVideoFramerate(frame_rate); | ||||
|   m_VideoHandler->SetVideoScan(eVideoScan(scan)); | ||||
|   m_VideoHandler->SetVideoAspectRatio(eVideoAspectRatio(aspect)); | ||||
|   m_VideoHandler->SetVideoFormat(eVideoFormat(format)); | ||||
|  | ||||
|   return true; | ||||
| } | ||||
							
								
								
									
										31
									
								
								femonmpeg.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								femonmpeg.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONMPEG_H | ||||
| #define __FEMONMPEG_H | ||||
|  | ||||
| #include "femonvideo.h" | ||||
| #include "femonaudio.h" | ||||
|  | ||||
| class cFemonMPEG { | ||||
| private: | ||||
|   cFemonVideoIf *m_VideoHandler; | ||||
|   cFemonAudioIf *m_AudioHandler; | ||||
|  | ||||
|   static int s_Bitrates[2][3][16]; | ||||
|   static int s_Samplerates[2][4]; | ||||
|   static eAudioCodec s_Formats[2][4]; | ||||
|  | ||||
| public: | ||||
|   cFemonMPEG(cFemonVideoIf *videohandler, cFemonAudioIf *audiohandler); | ||||
|   virtual ~cFemonMPEG(); | ||||
|  | ||||
|   bool processVideo(const uint8_t *buf, int len); | ||||
|   bool processAudio(const uint8_t *buf, int len); | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONMPEG_H | ||||
							
								
								
									
										1295
									
								
								femonosd.c
									
									
									
									
									
								
							
							
						
						
									
										1295
									
								
								femonosd.c
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										82
									
								
								femonosd.h
									
									
									
									
									
								
							
							
						
						
									
										82
									
								
								femonosd.h
									
									
									
									
									
								
							| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONOSD_H | ||||
| @@ -21,37 +20,56 @@ | ||||
| #include <vdr/tools.h> | ||||
| #include "svdrpservice.h" | ||||
|  | ||||
| #define MAX_BM_NUMBER 5 | ||||
| #define MAX_BM_NUMBER 8 | ||||
|  | ||||
| class cFemonOsd : public cOsdObject, public cThread, public cStatus { | ||||
| private: | ||||
|   enum { MAX_BMNUMBERS = 6 }; | ||||
|   enum eDeviceSourceType { | ||||
|     DEVICESOURCE_DVBAPI = 0, | ||||
|     DEVICESOURCE_IPTV, | ||||
|     DEVICESOURCE_PVRINPUT, | ||||
|     DEVICESOURCE_COUNT | ||||
|     }; | ||||
|  | ||||
|   static cFemonOsd *pInstance; | ||||
|   cOsd *m_Osd; | ||||
|   cFemonReceiver *m_Receiver; | ||||
|   int m_Frontend; | ||||
|   int m_SvdrpFrontend; | ||||
|   double m_SvdrpVideoBitrate; | ||||
|   double m_SvdrpAudioBitrate; | ||||
|  | ||||
|   cOsd             *m_Osd; | ||||
|   cFemonReceiver   *m_Receiver; | ||||
|   int               m_Frontend; | ||||
|   int               m_SvdrpFrontend; | ||||
|   double            m_SvdrpVideoBitrate; | ||||
|   double            m_SvdrpAudioBitrate; | ||||
|   SvdrpConnection_v1_0 m_SvdrpConnection; | ||||
|   cPlugin *m_SvdrpPlugin; | ||||
|   struct dvb_frontend_info m_FrontendInfo; | ||||
|   int m_Number; | ||||
|   int m_OldNumber; | ||||
|   uint16_t m_SNR; | ||||
|   uint16_t m_Signal; | ||||
|   uint32_t m_BER; | ||||
|   uint32_t m_UNC; | ||||
|   fe_status_t m_FrontendStatus; | ||||
|   int m_DisplayMode; | ||||
|   const cFont *m_Font; | ||||
|   cTimeMs m_InputTime; | ||||
|   cMutex* m_Mutex; | ||||
|   static cBitmap bmStereo, bmMonoLeft, bmMonoRight, bmDD, bmDD20, bmDD51; | ||||
|   static cBitmap bmNumbers[MAX_BMNUMBERS]; | ||||
|   static cBitmap bmDevice, bmPAL, bmNTSC, bmSVDRP; | ||||
|   static cBitmap bmAspectRatio_1_1, bmAspectRatio_16_9, bmAspectRatio_2_21_1, bmAspectRatio_4_3; | ||||
|   static cBitmap bmLock, bmSignal, bmCarrier, bmViterbi, bmSync; | ||||
|   cPlugin          *m_SvdrpPlugin; | ||||
|   int               m_Number; | ||||
|   int               m_OldNumber; | ||||
|   int               m_Quality; | ||||
|   bool              m_QualityValid; | ||||
|   int               m_Strength; | ||||
|   bool              m_StrengthValid; | ||||
|   uint16_t          m_SNR; | ||||
|   bool              m_SNRValid; | ||||
|   uint16_t          m_Signal; | ||||
|   bool              m_SignalValid; | ||||
|   uint32_t          m_BER; | ||||
|   bool              m_BERValid; | ||||
|   uint32_t          m_UNC; | ||||
|   bool              m_UNCValid; | ||||
|   cString           m_FrontendName; | ||||
|   fe_status_t       m_FrontendStatus; | ||||
|   bool              m_FrontendStatusValid; | ||||
|   dvb_frontend_info m_FrontendInfo; | ||||
|   eDeviceSourceType m_DeviceSource; | ||||
|   int               m_DisplayMode; | ||||
|   int               m_OsdWidth; | ||||
|   int               m_OsdHeight; | ||||
|   int               m_OsdLeft; | ||||
|   int               m_OsdTop; | ||||
|   cFont            *m_Font; | ||||
|   cTimeMs           m_InputTime; | ||||
|   cCondWait         m_Sleep; | ||||
|   cMutex            m_Mutex; | ||||
|  | ||||
|   void DrawStatusWindow(void); | ||||
|   void DrawInfoWindow(void); | ||||
|   bool SvdrpConnect(void); | ||||
| @@ -62,7 +80,7 @@ protected: | ||||
|   cFemonOsd(const cFemonOsd&); | ||||
|   cFemonOsd& operator= (const cFemonOsd&); | ||||
|   virtual void Action(void); | ||||
|   virtual void ChannelSwitch(const cDevice * device, int channelNumber); | ||||
|   virtual void ChannelSwitch(const cDevice *device, int channelNumber, bool liveView); | ||||
|   virtual void SetAudioTrack(int Index, const char * const *Tracks); | ||||
|  | ||||
| public: | ||||
| @@ -72,10 +90,10 @@ public: | ||||
|   virtual void Show(void); | ||||
|   virtual eOSState ProcessKey(eKeys Key); | ||||
|  | ||||
|   bool DeviceSwitch(int direction); | ||||
|   double GetVideoBitrate(void); | ||||
|   double GetAudioBitrate(void); | ||||
|   double GetDolbyBitrate(void); | ||||
|   bool    DeviceSwitch(int direction); | ||||
|   double  GetVideoBitrate(void); | ||||
|   double  GetAudioBitrate(void); | ||||
|   double  GetDolbyBitrate(void); | ||||
| }; | ||||
|  | ||||
| #endif //__FEMONOSD_H | ||||
|   | ||||
							
								
								
									
										537
									
								
								femonreceiver.c
									
									
									
									
									
								
							
							
						
						
									
										537
									
								
								femonreceiver.c
									
									
									
									
									
								
							| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #include <unistd.h> | ||||
| @@ -11,357 +10,241 @@ | ||||
| #include "femoncfg.h" | ||||
| #include "femonreceiver.h" | ||||
|  | ||||
| #define TS_SIZE       188 | ||||
| #define PAY_START     0x40 | ||||
| #define ADAPT_FIELD   0x20 | ||||
| #define PAYLOAD       0x10 | ||||
| #define PTS_DTS_FLAGS 0xC0 | ||||
|  | ||||
| cFemonReceiver::cFemonReceiver(tChannelID ChannelID, int Ca, int Vpid, int Apid[], int Dpid[]) | ||||
| :cReceiver(ChannelID, -1, Vpid, Apid, Dpid, NULL), cThread("femon receiver") | ||||
| cFemonReceiver::cFemonReceiver(const cChannel *Channel, int ATrack, int DTrack) | ||||
| : cReceiver(Channel), | ||||
|   cThread("femon receiver"), | ||||
|   m_Mutex(), | ||||
|   m_Sleep(), | ||||
|   m_Active(false), | ||||
|   m_DetectH264(this), | ||||
|   m_DetectMPEG(this, this), | ||||
|   m_DetectAAC(this), | ||||
|   m_DetectLATM(this), | ||||
|   m_DetectAC3(this), | ||||
|   m_VideoBuffer(KILOBYTE(512), TS_SIZE, false, "Femon video"), | ||||
|   m_VideoType(Channel ? Channel->Vtype(): 0), | ||||
|   m_VideoPid(Channel ? Channel->Vpid() : 0), | ||||
|   m_VideoPacketCount(0), | ||||
|   m_VideoBitrate(0.0), | ||||
|   m_VideoValid(false), | ||||
|   m_AudioBuffer(KILOBYTE(256), TS_SIZE, false, "Femon audio"), | ||||
|   m_AudioPid(Channel ? Channel->Apid(ATrack) : 0), | ||||
|   m_AudioPacketCount(0), | ||||
|   m_AudioBitrate(0.0), | ||||
|   m_AudioValid(false), | ||||
|   m_AC3Buffer(KILOBYTE(256), TS_SIZE, false, "Femon AC3"), | ||||
|   m_AC3Pid(Channel ? Channel->Dpid(DTrack) : 0), | ||||
|   m_AC3PacketCount(0), | ||||
|   m_AC3Bitrate(0), | ||||
|   m_AC3Valid(false) | ||||
| { | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   m_VideoPid = Vpid; | ||||
|   m_AudioPid = Apid[0]; | ||||
|   m_AC3Pid = Dpid[0]; | ||||
|   m_VideoValid = false; | ||||
|   m_VideoPacketCount = 0; | ||||
|   m_VideoHorizontalSize = 0; | ||||
|   m_VideoVerticalSize = 0; | ||||
|   m_VideoAspectRatio = AR_RESERVED; | ||||
|   m_VideoFormat = VF_UNKNOWN; | ||||
|   m_VideoFrameRate = 0.0; | ||||
|   m_VideoStreamBitrate = 0.0; | ||||
|   m_VideoBitrate = 0.0; | ||||
|   m_AudioValid = false; | ||||
|   m_AudioPacketCount = 0; | ||||
|   m_AudioStreamBitrate = -2.0; | ||||
|   m_AudioBitrate = 0.0; | ||||
|   m_AudioSamplingFreq = -1; | ||||
|   m_AudioMPEGLayer = 0; | ||||
|   m_AudioBitrate = 0.0; | ||||
|   m_AC3Valid = false; | ||||
|   m_AC3PacketCount = 0;  | ||||
|   m_AC3StreamBitrate = 0; | ||||
|   m_AC3SamplingFreq = 0; | ||||
|   m_AC3Bitrate = 0; | ||||
|   m_AC3FrameSize = 0; | ||||
|   m_AC3BitStreamMode = FR_NOTVALID; | ||||
|   m_AC3AudioCodingMode = FR_NOTVALID; | ||||
|   m_AC3CenterMixLevel = FR_NOTVALID; | ||||
|   m_AC3SurroundMixLevel = FR_NOTVALID; | ||||
|   m_AC3DolbySurroundMode = FR_NOTVALID; | ||||
|   m_AC3LfeOn = false; | ||||
|   m_AC3DialogLevel = FR_NOTVALID; | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|  | ||||
|   SetPids(NULL); | ||||
|   AddPid(m_VideoPid); | ||||
|   AddPid(m_AudioPid); | ||||
|   AddPid(m_AC3Pid); | ||||
|  | ||||
|   m_VideoBuffer.SetTimeouts(0, 100); | ||||
|   m_AudioBuffer.SetTimeouts(0, 100); | ||||
|   m_AC3Buffer.SetTimeouts(0, 100); | ||||
|  | ||||
|   m_VideoInfo.codec = VIDEO_CODEC_INVALID; | ||||
|   m_VideoInfo.format = VIDEO_FORMAT_INVALID; | ||||
|   m_VideoInfo.scan = VIDEO_SCAN_INVALID; | ||||
|   m_VideoInfo.aspectRatio = VIDEO_ASPECT_RATIO_INVALID; | ||||
|   m_VideoInfo.width = 0; | ||||
|   m_VideoInfo.height = 0; | ||||
|   m_VideoInfo.frameRate = 0; | ||||
|   m_VideoInfo.bitrate = AUDIO_BITRATE_INVALID; | ||||
|   m_AudioInfo.codec = AUDIO_CODEC_UNKNOWN; | ||||
|   m_AudioInfo.bitrate = AUDIO_BITRATE_INVALID; | ||||
|   m_AudioInfo.samplingFrequency = AUDIO_SAMPLING_FREQUENCY_INVALID; | ||||
|   m_AudioInfo.channelMode = AUDIO_CHANNEL_MODE_INVALID; | ||||
|   m_AC3Info.bitrate = AUDIO_BITRATE_INVALID; | ||||
|   m_AC3Info.samplingFrequency = AUDIO_SAMPLING_FREQUENCY_INVALID; | ||||
|   m_AC3Info.bitstreamMode = AUDIO_BITSTREAM_MODE_INVALID; | ||||
|   m_AC3Info.audioCodingMode = AUDIO_CODING_MODE_INVALID; | ||||
|   m_AC3Info.dolbySurroundMode = AUDIO_DOLBY_SURROUND_MODE_INVALID; | ||||
|   m_AC3Info.centerMixLevel = AUDIO_CENTER_MIX_LEVEL_INVALID; | ||||
|   m_AC3Info.surroundMixLevel = AUDIO_SURROUND_MIX_LEVEL_INVALID; | ||||
|   m_AC3Info.dialogLevel = 0; | ||||
|   m_AC3Info.lfe = false; | ||||
| } | ||||
|   | ||||
|  | ||||
| cFemonReceiver::~cFemonReceiver(void) | ||||
| { | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   if (Running()) | ||||
|      Cancel(3); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   Deactivate(); | ||||
| } | ||||
|  | ||||
| void cFemonReceiver::Deactivate(void) | ||||
| { | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   Detach(); | ||||
| } | ||||
|  | ||||
| /* The following function originates from libdvbmpeg: */ | ||||
| void cFemonReceiver::GetVideoInfo(uint8_t *mbuf, int count) | ||||
| { | ||||
|   uint8_t *headr; | ||||
|   int found = 0; | ||||
|   int c = 0; | ||||
|   //m_VideoValid = false; | ||||
|   while ((found < 4) && ((c + 4) < count)) { | ||||
|     uint8_t *b; | ||||
|     b = mbuf + c; | ||||
|     if ((b[0] == 0x00) && (b[1] == 0x00) && (b[2] == 0x01) && (b[3] == 0xb3)) | ||||
|        found = 4; | ||||
|     else | ||||
|        c++; | ||||
|     } | ||||
|   if ((!found) || ((c + 16) >= count)) return; | ||||
|   m_VideoValid = true; | ||||
|   headr = mbuf + c + 4; | ||||
|   m_VideoHorizontalSize = ((headr[1] & 0xF0) >> 4) | (headr[0] << 4); | ||||
|   m_VideoVerticalSize = ((headr[1] & 0x0F) << 8) | (headr[2]); | ||||
|   int sw = (int)((headr[3] & 0xF0) >> 4); | ||||
|   switch ( sw ){ | ||||
|     case 1: | ||||
|       m_VideoAspectRatio = AR_1_1; | ||||
|       break; | ||||
|     case 2: | ||||
|       m_VideoAspectRatio = AR_4_3; | ||||
|       break; | ||||
|     case 3: | ||||
|       m_VideoAspectRatio = AR_16_9; | ||||
|       break; | ||||
|     case 4: | ||||
|       m_VideoAspectRatio = AR_2_21_1; | ||||
|       break; | ||||
|     case 5 ... 15: | ||||
|     default: | ||||
|       m_VideoAspectRatio = AR_RESERVED; | ||||
|       break; | ||||
|     } | ||||
|   sw = (int)(headr[3] & 0x0F); | ||||
|   switch ( sw ) { | ||||
|     case 1: | ||||
|       m_VideoFrameRate = 24000 / 1001.0; | ||||
|       m_VideoFormat = VF_UNKNOWN; | ||||
|       break; | ||||
|     case 2: | ||||
|       m_VideoFrameRate = 24.0; | ||||
|       m_VideoFormat = VF_UNKNOWN; | ||||
|       break; | ||||
|     case 3: | ||||
|       m_VideoFrameRate = 25.0; | ||||
|       m_VideoFormat = VF_PAL; | ||||
|       break; | ||||
|     case 4: | ||||
|       m_VideoFrameRate = 30000 / 1001.0; | ||||
|       m_VideoFormat = VF_NTSC; | ||||
|       break; | ||||
|     case 5: | ||||
|       m_VideoFrameRate = 30.0; | ||||
|       m_VideoFormat = VF_NTSC; | ||||
|       break; | ||||
|     case 6: | ||||
|       m_VideoFrameRate = 50.0; | ||||
|       m_VideoFormat = VF_PAL; | ||||
|       break; | ||||
|     case 7: | ||||
|       m_VideoFrameRate = 60.0; | ||||
|       m_VideoFormat = VF_NTSC; | ||||
|       break; | ||||
|     case 8: | ||||
|       m_VideoFrameRate = 60000 / 1001.0; | ||||
|       m_VideoFormat = VF_NTSC; | ||||
|       break; | ||||
|     case 9 ... 15: | ||||
|     default: | ||||
|       m_VideoFrameRate = 0; | ||||
|       m_VideoFormat = VF_UNKNOWN; | ||||
|       break; | ||||
|     } | ||||
|   m_VideoStreamBitrate = 400.0 * (((headr[4] << 10) & 0x0003FC00UL) | ((headr[5] << 2) & 0x000003FCUL) | (((headr[6] & 0xC0) >> 6) & 0x00000003UL)); | ||||
| } | ||||
|  | ||||
| static unsigned int bitrates[3][16] = | ||||
| { | ||||
|   {0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, 0}, | ||||
|   {0, 32, 48, 56, 64,  80,  96,  112, 128, 160, 192, 224, 256, 320, 384, 0}, | ||||
|   {0, 32, 40, 48, 56,  64,  80,  96,  112, 128, 160, 192, 224, 256, 320, 0} | ||||
| }; | ||||
|  | ||||
| static unsigned int samplerates[4] = | ||||
| {441, 480, 320, 0}; | ||||
|  | ||||
| /* The following function originates from libdvbmpeg: */ | ||||
| void cFemonReceiver::GetAudioInfo(uint8_t *mbuf, int count) | ||||
| { | ||||
|   uint8_t *headr; | ||||
|   int found = 0; | ||||
|   int c = 0; | ||||
|   int tmp = 0; | ||||
|   //m_AudioValid = false; | ||||
|   while (!found && (c < count)) { | ||||
|     uint8_t *b = mbuf + c; | ||||
|     if ((b[0] == 0xff) && ((b[1] & 0xf8) == 0xf8)) | ||||
|        found = 1; | ||||
|     else | ||||
|        c++; | ||||
|     }	 | ||||
|   if ((!found) || ((c + 3) >= count)) return; | ||||
|   m_AudioValid = true; | ||||
|   headr = mbuf + c; | ||||
|   m_AudioMPEGLayer = 4 - ((headr[1] & 0x06) >> 1); | ||||
|   tmp = bitrates[(3 - ((headr[1] & 0x06) >> 1))][(headr[2] >> 4)] * 1000; | ||||
|   if (tmp == 0) | ||||
|      m_AudioStreamBitrate = (double)FR_FREE; | ||||
|   else if (tmp == 0xf) | ||||
|      m_AudioStreamBitrate = (double)FR_RESERVED; | ||||
|   else | ||||
|      m_AudioStreamBitrate = tmp; | ||||
|   tmp = samplerates[((headr[2] & 0x0c) >> 2)] * 100; | ||||
|   if (tmp == 3) | ||||
|      m_AudioSamplingFreq = FR_RESERVED; | ||||
|   else | ||||
|      m_AudioSamplingFreq = tmp; | ||||
| } | ||||
|  | ||||
| static unsigned int ac3_bitrates[32] = | ||||
| {32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, 640, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; | ||||
|  | ||||
| static unsigned int ac3_freq[4] = | ||||
| {480, 441, 320, 0}; | ||||
|  | ||||
| static unsigned int ac3_frames[3][32] = | ||||
| { | ||||
|   {64, 80,  96,  112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 640, 768,  896,  1024, 1152, 1280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | ||||
|   {69, 87,  104, 121, 139, 174, 208, 243, 278, 348, 417, 487, 557, 696, 835,  975,  1114, 1253, 1393, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | ||||
|   {96, 120, 144, 168, 192, 240, 288, 336, 384, 480, 576, 672, 768, 960, 1152, 1344, 1536, 1728, 1920, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} | ||||
| }; | ||||
|  | ||||
| /* | ||||
| ** AC3 Audio Header: http://www.atsc.org/standards/a_52a.pdf | ||||
| ** The following function originates from libdvbmpeg: | ||||
| */ | ||||
| void cFemonReceiver::GetAC3Info(uint8_t *mbuf, int count) | ||||
| { | ||||
|   uint8_t *headr; | ||||
|   int found = 0; | ||||
|   int c = 0; | ||||
|   uint8_t frame; | ||||
|   //m_AC3Valid = false; | ||||
|   while (!found && (c < count)) { | ||||
|     uint8_t *b = mbuf + c; | ||||
|     if ((b[0] == 0x0b) && (b[1] == 0x77)) | ||||
|        found = 1; | ||||
|     else | ||||
|        c++; | ||||
|     } | ||||
|   if ((!found) || ((c + 5) >= count)) return; | ||||
|   m_AC3Valid = true; | ||||
|   headr = mbuf + c + 2; | ||||
|   frame = (headr[2] & 0x3f); | ||||
|   m_AC3StreamBitrate = ac3_bitrates[frame >> 1] * 1000; | ||||
|   int fr = (headr[2] & 0xc0 ) >> 6; | ||||
|   m_AC3SamplingFreq = ac3_freq[fr] * 100; | ||||
|   m_AC3FrameSize = ac3_frames[fr][frame >> 1]; | ||||
|   if ((frame & 1) && (fr == 1)) m_AC3FrameSize++; | ||||
|      m_AC3FrameSize <<= 1; | ||||
|   m_AC3BitStreamMode = (headr[3] & 7); | ||||
|   m_AC3AudioCodingMode = (headr[4] & 0xE0) >> 5; | ||||
|   if ((m_AC3AudioCodingMode & 0x01) && (m_AC3AudioCodingMode != 0x01)) { | ||||
|      // 3 front channels | ||||
|      m_AC3CenterMixLevel = (headr[4] & 0x18) >> 3; | ||||
|      if (m_AC3AudioCodingMode & 0x04) { | ||||
|         // a surround channel exists | ||||
|         m_AC3SurroundMixLevel = (headr[4] & 0x06) >> 1; | ||||
|         if (m_AC3AudioCodingMode == 0x02) { | ||||
|            // if in 2/0 mode | ||||
|            m_AC3DolbySurroundMode = ((headr[4] & 0x01) << 1) | ((headr[5] & 0x80) >> 7); | ||||
|            m_AC3LfeOn = (headr[5] & 0x40) >> 6; | ||||
|            m_AC3DialogLevel = (headr[5] & 0x3e) >> 1; | ||||
|            } | ||||
|         else { | ||||
|            m_AC3DolbySurroundMode = FR_NOTVALID; | ||||
|            m_AC3LfeOn = (headr[4] & 0x01); | ||||
|            m_AC3DialogLevel = (headr[5] & 0xF8) >> 3; | ||||
|            } | ||||
|         } | ||||
|      else { | ||||
|         m_AC3SurroundMixLevel = FR_NOTVALID; | ||||
|         if (m_AC3AudioCodingMode == 0x02) { | ||||
|            // if in 2/0 mode | ||||
|             m_AC3DolbySurroundMode = (headr[4] & 0x06) >> 1; | ||||
|             m_AC3LfeOn = (headr[4] & 0x01); | ||||
|             m_AC3DialogLevel = (headr[5] & 0xF8) >> 3; | ||||
|            } | ||||
|         else { | ||||
|            m_AC3DolbySurroundMode = FR_NOTVALID; | ||||
|            m_AC3LfeOn = (headr[4] & 0x04) >> 2; | ||||
|            m_AC3DialogLevel = (headr[4] & 0x03) << 3 | ((headr[5] & 0xE0) >> 5); | ||||
|            } | ||||
|         } | ||||
|      } | ||||
|   else { | ||||
|      m_AC3CenterMixLevel = FR_NOTVALID; | ||||
|      if (m_AC3AudioCodingMode & 0x04) { | ||||
|         // a surround channel exists | ||||
|         m_AC3SurroundMixLevel = (headr[4] & 0x18) >> 3; | ||||
|         if (m_AC3AudioCodingMode == 0x02) { | ||||
|            // if in 2/0 mode | ||||
|            m_AC3DolbySurroundMode = (headr[4] & 0x06) >> 1; | ||||
|            m_AC3LfeOn = (headr[4] & 0x01); | ||||
|            m_AC3DialogLevel = (headr[5] & 0xF8) >> 3; | ||||
|            } | ||||
|         else { | ||||
|            m_AC3DolbySurroundMode = FR_NOTVALID; | ||||
|            m_AC3LfeOn = (headr[4] & 0x04) >> 2; | ||||
|            m_AC3DialogLevel = (headr[4] & 0x03) << 3 | ((headr[5] & 0xE0) >> 5); | ||||
|            } | ||||
|         } | ||||
|      else { | ||||
|         m_AC3SurroundMixLevel = FR_NOTVALID; | ||||
|         if (m_AC3AudioCodingMode == 0x02) { | ||||
|            // if in 2/0 mode | ||||
|            m_AC3DolbySurroundMode = (headr[4] & 0x18) >> 3; | ||||
|            m_AC3LfeOn = (headr[4] & 0x04) >> 2; | ||||
|            m_AC3DialogLevel = (headr[4] & 0x03) << 3 | ((headr[5] & 0xE0) >> 5); | ||||
|            } | ||||
|         else { | ||||
|            m_AC3DolbySurroundMode = FR_NOTVALID; | ||||
|            m_AC3LfeOn = (headr[4] & 0x10) >> 4; | ||||
|            m_AC3DialogLevel = ((headr[4] & 0x0F) << 1) | ((headr[5] & 0x80) >> 7); | ||||
|            } | ||||
|         } | ||||
|   if (m_Active) { | ||||
|      m_Active = false; | ||||
|      m_Sleep.Signal(); | ||||
|      if (Running()) | ||||
|         Cancel(3); | ||||
|      } | ||||
| } | ||||
|  | ||||
| void cFemonReceiver::Activate(bool On) | ||||
| { | ||||
|   Dprintf("%s(%d)\n", __PRETTY_FUNCTION__, On); | ||||
|   debug("%s(%d)\n", __PRETTY_FUNCTION__, On); | ||||
|   if (On) | ||||
|      Start(); | ||||
|   else | ||||
|      Cancel(); | ||||
|      Deactivate(); | ||||
| } | ||||
|  | ||||
| void cFemonReceiver::Receive(uchar *Data, int Length) | ||||
| { | ||||
|   // TS packet length: TS_SIZE | ||||
|   if (Length == TS_SIZE) { | ||||
|      int pid = ((Data[1] & 0x1f) << 8) | (Data[2]); | ||||
|   if (Running() && (*Data == TS_SYNC_BYTE) && (Length == TS_SIZE)) { | ||||
|      int len, pid = TsPid(Data); | ||||
|      if (pid == m_VideoPid) { | ||||
|         m_VideoPacketCount++; | ||||
|         } | ||||
|      else if (pid == m_AudioPid) { | ||||
|         m_AudioPacketCount++; | ||||
|         } | ||||
|      else if (pid == m_AC3Pid) { | ||||
|         m_AC3PacketCount++; | ||||
|         } | ||||
|      /* the following originates from libdvbmpeg: */ | ||||
|      if (!(Data[3] & PAYLOAD)) { | ||||
|         return; | ||||
|         } | ||||
|      uint8_t off = 0; | ||||
|      if (Data[3] & ADAPT_FIELD) { | ||||
|         off = Data[4] + 1; | ||||
|         } | ||||
|      if (Data[1] & PAY_START) { | ||||
|         uint8_t *sb = Data + 4 + off; | ||||
|         if (sb[7] & PTS_DTS_FLAGS) { | ||||
|            uint8_t *pay = sb + sb[8] + 9;  | ||||
|            int l = TS_SIZE - 13 - off - sb[8]; | ||||
|            if (pid == m_VideoPid) { | ||||
|               GetVideoInfo(pay, l); | ||||
|               } | ||||
|            else if (pid == m_AudioPid) { | ||||
|               GetAudioInfo(pay, l); | ||||
|               } | ||||
|            else if (pid == m_AC3Pid) { | ||||
|               GetAC3Info(pay, l); | ||||
|               } | ||||
|         ++m_VideoPacketCount; | ||||
|         len = m_VideoBuffer.Put(Data, Length); | ||||
|         if (len != Length) { | ||||
|            m_VideoBuffer.ReportOverflow(Length - len); | ||||
|            m_VideoBuffer.Clear(); | ||||
|            } | ||||
|         } | ||||
|      else if (pid == m_AudioPid) { | ||||
|         ++m_AudioPacketCount; | ||||
|         len = m_AudioBuffer.Put(Data, Length); | ||||
|         if (len != Length) { | ||||
|            m_AudioBuffer.ReportOverflow(Length - len); | ||||
|            m_AudioBuffer.Clear(); | ||||
|            } | ||||
|         } | ||||
|      else if (pid == m_AC3Pid) { | ||||
|         ++m_AC3PacketCount; | ||||
|         len = m_AC3Buffer.Put(Data, Length); | ||||
|         if (len != Length) { | ||||
|            m_AC3Buffer.ReportOverflow(Length - len); | ||||
|            m_AC3Buffer.Clear(); | ||||
|            } | ||||
|         } | ||||
|      /* end */ | ||||
|      } | ||||
| } | ||||
|  | ||||
| void cFemonReceiver::Action(void) | ||||
| { | ||||
|   Dprintf("%s()\n", __PRETTY_FUNCTION__); | ||||
|   cTimeMs t; | ||||
|   while (Running()) { | ||||
|         t.Set(0); | ||||
|         // TS packet 188 bytes - 4 byte header; MPEG standard defines 1Mbit = 1000000bit | ||||
|         m_VideoBitrate = (10.0 * 8.0 * 184.0 * m_VideoPacketCount) / femonConfig.calcinterval; | ||||
|         m_VideoPacketCount = 0; | ||||
|         m_AudioBitrate = (10.0 * 8.0 * 184.0 * m_AudioPacketCount) / femonConfig.calcinterval; | ||||
|         m_AudioPacketCount = 0; | ||||
|         m_AC3Bitrate   = (10.0 * 8.0 * 184.0 * m_AC3PacketCount)   / femonConfig.calcinterval; | ||||
|         m_AC3PacketCount = 0; | ||||
|         cCondWait::SleepMs(100 * femonConfig.calcinterval - t.Elapsed()); | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   cTimeMs calcPeriod(0); | ||||
|   m_Active = true; | ||||
|  | ||||
|   while (Running() && m_Active) { | ||||
|     uint8_t *Data; | ||||
|     double timeout; | ||||
|     int len, Length; | ||||
|     bool processed = false; | ||||
|  | ||||
|     // process available video data | ||||
|     while ((Data = m_VideoBuffer.Get(Length))) { | ||||
|       if (!m_Active || (Length < TS_SIZE)) | ||||
|          break; | ||||
|       Length = TS_SIZE; | ||||
|       if (*Data != TS_SYNC_BYTE) { | ||||
|          for (int i = 1; i < Length; ++i) { | ||||
|              if (Data[i] == TS_SYNC_BYTE) { | ||||
|                 Length = i; | ||||
|                 break; | ||||
|                 } | ||||
|              } | ||||
|          m_VideoBuffer.Del(Length); | ||||
|          continue; | ||||
|          } | ||||
|       processed = true; | ||||
|       if (TsPayloadStart(Data)) { | ||||
|          while (const uint8_t *p = m_VideoAssembler.GetPes(len)) { | ||||
|            if (m_VideoType == 0x1B) { // MPEG4 | ||||
|               if (m_DetectH264.processVideo(p, len)) { | ||||
|                  m_VideoValid = true; | ||||
|                  break; | ||||
|                  } | ||||
|               } | ||||
|            else { | ||||
|               if (m_DetectMPEG.processVideo(p, len)) { | ||||
|                  m_VideoValid = true; | ||||
|                  break; | ||||
|                  } | ||||
|               } | ||||
|            } | ||||
|          m_VideoAssembler.Reset(); | ||||
|          } | ||||
|       m_VideoAssembler.PutTs(Data, Length); | ||||
|       m_VideoBuffer.Del(Length); | ||||
|       } | ||||
|  | ||||
|     // process available audio data | ||||
|     while ((Data = m_AudioBuffer.Get(Length))) { | ||||
|       if (!m_Active || (Length < TS_SIZE)) | ||||
|          break; | ||||
|       Length = TS_SIZE; | ||||
|       if (*Data != TS_SYNC_BYTE) { | ||||
|          for (int i = 1; i < Length; ++i) { | ||||
|              if (Data[i] == TS_SYNC_BYTE) { | ||||
|                 Length = i; | ||||
|                 break; | ||||
|                 } | ||||
|              } | ||||
|          m_AudioBuffer.Del(Length); | ||||
|          continue; | ||||
|          } | ||||
|       processed = true; | ||||
|       if (const uint8_t *p = m_AudioAssembler.GetPes(len)) { | ||||
|          if (m_DetectAAC.processAudio(p, len) || m_DetectLATM.processAudio(p, len) || m_DetectMPEG.processAudio(p, len)) | ||||
|             m_AudioValid = true; | ||||
|          m_AudioAssembler.Reset(); | ||||
|          } | ||||
|       m_AudioAssembler.PutTs(Data, Length); | ||||
|       m_AudioBuffer.Del(Length); | ||||
|       } | ||||
|  | ||||
|     // process available dolby data | ||||
|     while ((Data = m_AC3Buffer.Get(Length))) { | ||||
|       if (!m_Active || (Length < TS_SIZE)) | ||||
|          break; | ||||
|       Length = TS_SIZE; | ||||
|       if (*Data != TS_SYNC_BYTE) { | ||||
|          for (int i = 1; i < Length; ++i) { | ||||
|              if (Data[i] == TS_SYNC_BYTE) { | ||||
|                 Length = i; | ||||
|                 break; | ||||
|                 } | ||||
|              } | ||||
|          m_AC3Buffer.Del(Length); | ||||
|          continue; | ||||
|          } | ||||
|       processed = true; | ||||
|       if (const uint8_t *p = m_AC3Assembler.GetPes(len)) { | ||||
|          if (m_DetectAC3.processAudio(p, len)) | ||||
|             m_AC3Valid = true; | ||||
|          m_AC3Assembler.Reset(); | ||||
|          } | ||||
|       m_AC3Assembler.PutTs(Data, Length); | ||||
|       m_AC3Buffer.Del(Length); | ||||
|       } | ||||
|  | ||||
|     // calculate bitrates | ||||
|     timeout = double(calcPeriod.Elapsed()); | ||||
|     if (m_Active && (timeout >= (100.0 * femonConfig.calcinterval))) { | ||||
|        // TS packet 188 bytes - 4 byte header; MPEG standard defines 1Mbit = 1000000bit | ||||
|        // PES headers should be compensated! | ||||
|        m_VideoBitrate     = (1000.0 * 8.0 * 184.0 * m_VideoPacketCount) / timeout; | ||||
|        m_VideoPacketCount = 0; | ||||
|        m_AudioBitrate     = (1000.0 * 8.0 * 184.0 * m_AudioPacketCount) / timeout; | ||||
|        m_AudioPacketCount = 0; | ||||
|        m_AC3Bitrate       = (1000.0 * 8.0 * 184.0 * m_AC3PacketCount)   / timeout; | ||||
|        m_AC3PacketCount   = 0; | ||||
|        calcPeriod.Set(0); | ||||
|        } | ||||
|  | ||||
|     if (!processed) | ||||
|        m_Sleep.Wait(10); // to avoid busy loop and reduce cpu load | ||||
|     } | ||||
| } | ||||
|   | ||||
							
								
								
									
										252
									
								
								femonreceiver.h
									
									
									
									
									
								
							
							
						
						
									
										252
									
								
								femonreceiver.h
									
									
									
									
									
								
							| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONRECEIVER_H | ||||
| @@ -12,83 +11,51 @@ | ||||
| #include <vdr/thread.h> | ||||
| #include <vdr/receiver.h> | ||||
|  | ||||
| enum eVideoFormat { | ||||
|   VF_UNKNOWN = 0, | ||||
|   VF_PAL     = 1, | ||||
|   VF_NTSC    = 2, | ||||
|   }; | ||||
| #include "femonh264.h" | ||||
| #include "femonmpeg.h" | ||||
| #include "femonaac.h" | ||||
| #include "femonlatm.h" | ||||
| #include "femonac3.h" | ||||
| #include "femonaudio.h" | ||||
| #include "femonvideo.h" | ||||
| #include "femontools.h" | ||||
|  | ||||
| enum eAspectRatio { | ||||
|   AR_RESERVED = 0, | ||||
|   AR_1_1      = 100, | ||||
|   AR_4_3      = 133, | ||||
|   AR_16_9     = 177, | ||||
|   AR_2_21_1   = 233, | ||||
|   }; | ||||
|  | ||||
| enum eCenterMixLevel { | ||||
|   CML_MINUS_3dB   = 0, | ||||
|   CML_MINUS_4_5dB = 1, | ||||
|   CML_MINUS_6dB   = 2, | ||||
|   CML_RESERVED    = 3, | ||||
|   }; | ||||
|  | ||||
| enum eSurroundMixLevel { | ||||
|   SML_MINUS_3dB = 0, | ||||
|   SML_MINUS_6dB = 1, | ||||
|   SML_0_dB      = 2, | ||||
|   SML_RESERVED  = 3, | ||||
|   }; | ||||
|  | ||||
| enum eDolbySurroundMode { | ||||
|   DSM_NOT_INDICATED     = 0, | ||||
|   DSM_NOT_DOLBYSURROUND = 1, | ||||
|   DSM_DOLBYSURROUND     = 2, | ||||
|   DSM_RESERVED          = 3, | ||||
|   }; | ||||
|  | ||||
| enum eReveiverCodes { | ||||
|   FR_RESERVED = -1, | ||||
|   FR_FREE     = -2, | ||||
|   FR_NOTVALID = -3 | ||||
|   }; | ||||
|  | ||||
| class cFemonReceiver : public cReceiver, public cThread { | ||||
| class cFemonReceiver : public cReceiver, public cThread, public cFemonVideoIf, public cFemonAudioIf, public cFemonAC3If { | ||||
| private: | ||||
|   int    m_VideoPid; | ||||
|   int    m_AudioPid; | ||||
|   int    m_AC3Pid; | ||||
|   bool   m_VideoValid; | ||||
|   int    m_VideoPacketCount; | ||||
|   int    m_VideoHorizontalSize; | ||||
|   int    m_VideoVerticalSize; | ||||
|   int    m_VideoAspectRatio; | ||||
|   int    m_VideoFormat; | ||||
|   double m_VideoFrameRate; | ||||
|   double m_VideoStreamBitrate; | ||||
|   double m_VideoBitrate; | ||||
|   bool   m_AudioValid; | ||||
|   int    m_AudioPacketCount; | ||||
|   double m_AudioStreamBitrate; | ||||
|   double m_AudioBitrate; | ||||
|   int    m_AudioSamplingFreq; | ||||
|   int    m_AudioMPEGLayer; | ||||
|   bool   m_AC3Valid; | ||||
|   int    m_AC3PacketCount; | ||||
|   double m_AC3Bitrate; | ||||
|   int    m_AC3FrameSize; | ||||
|   int    m_AC3SamplingFreq; | ||||
|   int    m_AC3StreamBitrate; | ||||
|   int    m_AC3BitStreamMode; | ||||
|   int    m_AC3AudioCodingMode; | ||||
|   int    m_AC3CenterMixLevel; | ||||
|   int    m_AC3SurroundMixLevel; | ||||
|   int    m_AC3DolbySurroundMode; | ||||
|   bool   m_AC3LfeOn; | ||||
|   int    m_AC3DialogLevel;   | ||||
|   void   GetVideoInfo(uint8_t *mbuf, int count); | ||||
|   void   GetAudioInfo(uint8_t *mbuf, int count); | ||||
|   void   GetAC3Info(uint8_t *mbuf, int count); | ||||
|   cMutex            m_Mutex; | ||||
|   cCondWait         m_Sleep; | ||||
|   bool              m_Active; | ||||
|  | ||||
|   cFemonH264        m_DetectH264; | ||||
|   cFemonMPEG        m_DetectMPEG; | ||||
|   cFemonAAC         m_DetectAAC; | ||||
|   cFemonLATM        m_DetectLATM; | ||||
|   cFemonAC3         m_DetectAC3; | ||||
|  | ||||
|   cRingBufferLinear m_VideoBuffer; | ||||
|   cTsToPes          m_VideoAssembler; | ||||
|   int               m_VideoType; | ||||
|   int               m_VideoPid; | ||||
|   int               m_VideoPacketCount; | ||||
|   double            m_VideoBitrate; | ||||
|   bool              m_VideoValid; | ||||
|   video_info_t      m_VideoInfo; | ||||
|  | ||||
|   cRingBufferLinear m_AudioBuffer; | ||||
|   cTsToPes          m_AudioAssembler; | ||||
|   int               m_AudioPid; | ||||
|   int               m_AudioPacketCount; | ||||
|   double            m_AudioBitrate; | ||||
|   bool              m_AudioValid; | ||||
|   audio_info_t      m_AudioInfo; | ||||
|  | ||||
|   cRingBufferLinear m_AC3Buffer; | ||||
|   cTsToPes          m_AC3Assembler; | ||||
|   int               m_AC3Pid; | ||||
|   int               m_AC3PacketCount; | ||||
|   double            m_AC3Bitrate; | ||||
|   bool              m_AC3Valid; | ||||
|   ac3_info_t        m_AC3Info; | ||||
|  | ||||
| protected: | ||||
|   virtual void Activate(bool On); | ||||
| @@ -96,38 +63,115 @@ protected: | ||||
|   virtual void Action(void); | ||||
|  | ||||
| public: | ||||
|   cFemonReceiver(tChannelID ChannelID, int Ca, int Vpid, int Apid[], int Dpid[]); | ||||
|   virtual void SetVideoCodec(eVideoCodec codec)                   { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.codec = codec; } | ||||
|   virtual void SetVideoFormat(eVideoFormat format)                { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.format = format; } | ||||
|   virtual void SetVideoScan(eVideoScan scan)                      { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.scan = scan; } | ||||
|   virtual void SetVideoAspectRatio(eVideoAspectRatio aspectratio) { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.aspectRatio = aspectratio; } | ||||
|   virtual void SetVideoSize(int width, int height)                { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.width  = width; | ||||
|                                                                     m_VideoInfo.height = height; } | ||||
|   virtual void SetVideoFramerate(double framerate)                { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.frameRate = framerate; } | ||||
|   virtual void SetVideoBitrate(double bitrate)                    { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                                     m_VideoInfo.bitrate = bitrate; } | ||||
|  | ||||
|   virtual void SetAudioCodec(eAudioCodec codec)        { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                          m_AudioInfo.codec = codec; } | ||||
|   virtual void SetAudioBitrate(double bitrate)         { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                          m_AudioInfo.bitrate = bitrate; } | ||||
|   virtual void SetAudioSamplingFrequency(int sampling) { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                          m_AudioInfo.samplingFrequency = sampling; } | ||||
|   virtual void SetAudioChannel(eAudioChannelMode mode) { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                          m_AudioInfo.channelMode = mode; } | ||||
|  | ||||
|   virtual void SetAC3Bitrate(int bitrate)            { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.bitrate = bitrate; } | ||||
|   virtual void SetAC3SamplingFrequency(int sampling) { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.samplingFrequency = sampling; } | ||||
|   virtual void SetAC3Bitstream(int mode)             { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.bitstreamMode = mode; } | ||||
|   virtual void SetAC3AudioCoding(int mode)           { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.audioCodingMode = mode; } | ||||
|   virtual void SetAC3DolbySurround(int mode)         { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.dolbySurroundMode = mode; } | ||||
|   virtual void SetAC3CenterMix(int level)            { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.centerMixLevel = level; } | ||||
|   virtual void SetAC3SurroundMix(int level)          { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.surroundMixLevel = level; } | ||||
|   virtual void SetAC3Dialog(int level)               { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.dialogLevel = level; } | ||||
|   virtual void SetAC3LFE(bool onoff)                 { cMutexLock MutexLock(&m_Mutex); | ||||
|                                                        m_AC3Info.lfe = onoff; } | ||||
|  | ||||
| public: | ||||
|   cFemonReceiver(const cChannel* Channel, int ATrack, int DTrack); | ||||
|   virtual ~cFemonReceiver(); | ||||
|   void Deactivate(void); | ||||
|  | ||||
|   bool VideoValid(void)           { return m_VideoValid; };          // boolean | ||||
|   int VideoHorizontalSize(void)   { return m_VideoHorizontalSize; }; // pixels | ||||
|   int VideoVerticalSize(void)     { return m_VideoVerticalSize; };   // pixels | ||||
|   int VideoAspectRatio(void)      { return m_VideoAspectRatio; };    // eAspectRatio | ||||
|   int VideoFormat(void)           { return m_VideoFormat; };         // eVideoFormat | ||||
|   double VideoFrameRate(void)     { return m_VideoFrameRate; };      // Hz | ||||
|   double VideoStreamBitrate(void) { return m_VideoStreamBitrate; };  // bit/s | ||||
|   double VideoBitrate(void)       { return m_VideoBitrate; };        // bit/s | ||||
|   bool   VideoValid(void)           { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoValid; };                  // boolean | ||||
|   double VideoBitrate(void)         { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoBitrate; };                // bit/s | ||||
|   int    VideoCodec(void)           { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.codec; };             // eVideoCodec | ||||
|   int    VideoFormat(void)          { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.format; };            // eVideoFormat | ||||
|   int    VideoScan(void)            { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.scan; };              // eVideoScan | ||||
|   int    VideoAspectRatio(void)     { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.aspectRatio; };       // eVideoAspectRatio | ||||
|   int    VideoHorizontalSize(void)  { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.width; };             // pixels | ||||
|   int    VideoVerticalSize(void)    { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.height; };            // pixels | ||||
|   double VideoFrameRate(void)       { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.frameRate; };         // Hz | ||||
|   double VideoStreamBitrate(void)   { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_VideoInfo.bitrate; };           // bit/s | ||||
|  | ||||
|   bool AudioValid(void)           { return m_AudioValid; };          // boolean | ||||
|   int AudioMPEGLayer(void)        { return m_AudioMPEGLayer; };      // layer number | ||||
|   int AudioSamplingFreq(void)     { return m_AudioSamplingFreq; };   // Hz | ||||
|   double AudioStreamBitrate(void) { return m_AudioStreamBitrate; };  // bit/s | ||||
|   double AudioBitrate(void)       { return m_AudioBitrate; };        // bit/s | ||||
|   bool   AudioValid(void)           { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AudioValid; };                  // boolean | ||||
|   double AudioBitrate(void)         { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AudioBitrate; };                // bit/s | ||||
|   int    AudioCodec(void)           { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AudioInfo.codec; };             // eAudioCodec | ||||
|   int    AudioChannelMode(void)     { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AudioInfo.channelMode; };       // eAudioChannelMode | ||||
|   double AudioStreamBitrate(void)   { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AudioInfo.bitrate; };           // bit/s or eAudioBitrate | ||||
|   int    AudioSamplingFreq(void)    { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AudioInfo.samplingFrequency; }; // Hz or eAudioSamplingFrequency | ||||
|  | ||||
|   bool AC3Valid(void)             { return m_AC3Valid; };                // boolean | ||||
|   int AC3SamplingFreq(void)       { return m_AC3SamplingFreq; };         // Hz | ||||
|   double AC3StreamBitrate(void)   { return m_AC3StreamBitrate; };        // bit/s | ||||
|   double AC3Bitrate(void)         { return m_AC3Bitrate; };              // bit/s | ||||
|   int AC3FrameSize(void)          { return m_AC3FrameSize; };            // Bytes | ||||
|   int AC3BitStreamMode(void)      { return m_AC3BitStreamMode; };        // 0..7 | ||||
|   int AC3AudioCodingMode(void)    { return m_AC3AudioCodingMode; };      // 0..7 | ||||
|   bool AC3_2_0(void)		  { return m_AC3AudioCodingMode == 2; }; // DD 2.0 | ||||
|   bool AC3_5_1(void)	          { return m_AC3AudioCodingMode == 7; }; // DD 5.1 | ||||
|   int AC3CenterMixLevel(void)     { return m_AC3CenterMixLevel; };       // eCenterMixLevel | ||||
|   int AC3SurroundMixLevel(void)   { return m_AC3SurroundMixLevel; };     // eSurroundMixLevel | ||||
|   int AC3DolbySurroundMode(void)  { return m_AC3DolbySurroundMode; };    // eDolbySurroundMode | ||||
|   bool AC3LfeOn(void)             { return m_AC3LfeOn; };                // boolean | ||||
|   int AC3DialogLevel(void)        { return m_AC3DialogLevel; };          // -dB | ||||
|   bool   AC3Valid(void)             { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Valid; };                    // boolean | ||||
|   double AC3Bitrate(void)           { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Bitrate; };                  // bit/s | ||||
|   double AC3StreamBitrate(void)     { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.bitrate; };             // bit/s or eAudioBitrate | ||||
|   int    AC3SamplingFreq(void)      { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.samplingFrequency; };   // Hz or eAudioSamplingFrequency | ||||
|   int    AC3BitStreamMode(void)     { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.bitstreamMode; };       // 0..7 or eAudioBitstreamMode | ||||
|   int    AC3AudioCodingMode(void)   { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.audioCodingMode; };     // 0..7 or eAudioCodingMode | ||||
|   bool   AC3_2_0(void)              { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return (m_AC3Info.audioCodingMode == AUDIO_CODING_MODE_2_0); }; // boolean | ||||
|   bool   AC3_5_1(void)	            { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return (m_AC3Info.audioCodingMode == AUDIO_CODING_MODE_3_2); }; // boolean | ||||
|   int    AC3DolbySurroundMode(void) { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.dolbySurroundMode; };   // eAudioDolbySurroundMode | ||||
|   int    AC3CenterMixLevel(void)    { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.centerMixLevel; };      // eAudioCenterMixLevel | ||||
|   int    AC3SurroundMixLevel(void)  { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.surroundMixLevel; };    // eAudioSurroundMixLevel | ||||
|   int    AC3DialogLevel(void)       { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.dialogLevel; };         // -dB | ||||
|   bool   AC3Lfe(void)               { cMutexLock MutexLock(&m_Mutex); | ||||
|                                       return m_AC3Info.lfe; };                 // boolean | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONRECEIVER_H | ||||
|   | ||||
| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONSERVICE_H | ||||
|   | ||||
							
								
								
									
										208
									
								
								femonsymbol.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										208
									
								
								femonsymbol.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,208 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include <vdr/device.h> | ||||
| #include "femontools.h" | ||||
| #include "femonsymbol.h" | ||||
|  | ||||
| #include "symbols/stereo.xpm" | ||||
| #include "symbols/monoleft.xpm" | ||||
| #include "symbols/monoright.xpm" | ||||
| #include "symbols/dolbydigital.xpm" | ||||
| #include "symbols/dolbydigital20.xpm" | ||||
| #include "symbols/dolbydigital51.xpm" | ||||
| #include "symbols/mpeg2.xpm" | ||||
| #include "symbols/h264.xpm" | ||||
| #include "symbols/ntsc.xpm" | ||||
| #include "symbols/pal.xpm" | ||||
| #include "symbols/encrypted.xpm" | ||||
| #include "symbols/svdrp.xpm" | ||||
| #include "symbols/lock.xpm" | ||||
| #include "symbols/signal.xpm" | ||||
| #include "symbols/carrier.xpm" | ||||
| #include "symbols/viterbi.xpm" | ||||
| #include "symbols/sync.xpm" | ||||
| #include "symbols/ar11.xpm" | ||||
| #include "symbols/ar169.xpm" | ||||
| #include "symbols/ar2211.xpm" | ||||
| #include "symbols/ar43.xpm" | ||||
| #include "symbols/device.xpm" | ||||
| #include "symbols/zero.xpm" | ||||
| #include "symbols/one.xpm" | ||||
| #include "symbols/two.xpm" | ||||
| #include "symbols/three.xpm" | ||||
| #include "symbols/four.xpm" | ||||
| #include "symbols/five.xpm" | ||||
| #include "symbols/six.xpm" | ||||
| #include "symbols/seven.xpm" | ||||
| #include "symbols/eight.xpm" | ||||
| #include "symbols/format1080.xpm" | ||||
| #include "symbols/format1080i.xpm" | ||||
| #include "symbols/format1080p.xpm" | ||||
| #include "symbols/format720.xpm" | ||||
| #include "symbols/format720i.xpm" | ||||
| #include "symbols/format720p.xpm" | ||||
| #include "symbols/format576.xpm" | ||||
| #include "symbols/format576i.xpm" | ||||
| #include "symbols/format576p.xpm" | ||||
| #include "symbols/format480.xpm" | ||||
| #include "symbols/format480i.xpm" | ||||
| #include "symbols/format480p.xpm" | ||||
|  | ||||
| static cBitmap bmStereo(stereo_xpm); | ||||
| static cBitmap bmMonoLeft(monoleft_xpm); | ||||
| static cBitmap bmMonoRight(monoright_xpm); | ||||
| static cBitmap bmDolbyDigital(dolbydigital_xpm); | ||||
| static cBitmap bmDolbyDigital20(dolbydigital20_xpm); | ||||
| static cBitmap bmDolbyDigital51(dolbydigital51_xpm); | ||||
| static cBitmap bmMpeg2(mpeg2_xpm); | ||||
| static cBitmap bmH264(h264_xpm); | ||||
| static cBitmap bmPal(pal_xpm); | ||||
| static cBitmap bmNtsc(ntsc_xpm); | ||||
| static cBitmap bmEncrypted(encrypted_xpm); | ||||
| static cBitmap bmSvdrp(svdrp_xpm); | ||||
| static cBitmap bmLock(lock_xpm); | ||||
| static cBitmap bmSignal(signal_xpm); | ||||
| static cBitmap bmCarrier(carrier_xpm); | ||||
| static cBitmap bmViterbi(viterbi_xpm); | ||||
| static cBitmap bmSync(sync_xpm); | ||||
| static cBitmap bmAspectRatio11(ar11_xpm); | ||||
| static cBitmap bmAspectRatio169(ar169_xpm); | ||||
| static cBitmap bmAspectRatio2211(ar2211_xpm); | ||||
| static cBitmap bmAspectRatio43(ar43_xpm); | ||||
| static cBitmap bmDevice(device_xpm); | ||||
| static cBitmap bmZero(zero_xpm); | ||||
| static cBitmap bmOne(one_xpm); | ||||
| static cBitmap bmTwo(two_xpm); | ||||
| static cBitmap bmThree(three_xpm); | ||||
| static cBitmap bmFour(four_xpm); | ||||
| static cBitmap bmFive(five_xpm); | ||||
| static cBitmap bmSix(six_xpm); | ||||
| static cBitmap bmSeven(seven_xpm); | ||||
| static cBitmap bmEight(eight_xpm); | ||||
| static cBitmap bmFormat1080(format1080_xpm); | ||||
| static cBitmap bmFormat1080i(format1080i_xpm); | ||||
| static cBitmap bmFormat1080p(format1080p_xpm); | ||||
| static cBitmap bmFormat720(format720_xpm); | ||||
| static cBitmap bmFormat720i(format720i_xpm); | ||||
| static cBitmap bmFormat720p(format720p_xpm); | ||||
| static cBitmap bmFormat576(format576_xpm); | ||||
| static cBitmap bmFormat576i(format576i_xpm); | ||||
| static cBitmap bmFormat576p(format576p_xpm); | ||||
| static cBitmap bmFormat480(format480_xpm); | ||||
| static cBitmap bmFormat480i(format480i_xpm); | ||||
| static cBitmap bmFormat480p(format480p_xpm); | ||||
|  | ||||
| cFemonSymbolCache femonSymbols; | ||||
|  | ||||
| cFemonSymbolCache::cFemonSymbolCache() | ||||
| : xFactorM(1.0), | ||||
|   yFactorM(1.0), | ||||
|   antiAliasM(false) | ||||
| { | ||||
|   Populate(); | ||||
| } | ||||
|  | ||||
| cFemonSymbolCache::~cFemonSymbolCache() | ||||
| { | ||||
|   Flush(); | ||||
| } | ||||
|  | ||||
| void cFemonSymbolCache::Refresh() | ||||
| { | ||||
|   int width, height; | ||||
|   double aspect, xfactor, yfactor; | ||||
|   cDevice::PrimaryDevice()->GetOsdSize(width, height, aspect); | ||||
|   debug("%s(): %dx%d\n", __PRETTY_FUNCTION__, width, height); | ||||
|   xfactor = (double)width / DEFAULT_WIDTH; | ||||
|   yfactor = (double)height / DEFAULT_HEIGHT; | ||||
|   if (!DoubleEqual(xfactor, xFactorM) || !DoubleEqual(yfactor, yFactorM)) { | ||||
|      xFactorM = xfactor; | ||||
|      yFactorM = yfactor; | ||||
|      Populate(); | ||||
|      } | ||||
| } | ||||
|  | ||||
| bool cFemonSymbolCache::Populate(void) | ||||
| { | ||||
|   debug("%s(): %.02fx%.02f\n", __PRETTY_FUNCTION__, xFactorM, yFactorM); | ||||
|   if (!DoubleEqual(0.0, xFactorM) || !DoubleEqual(0.0, yFactorM)) { | ||||
|      Flush(); | ||||
|  | ||||
|      // pushing order must follow the enumeration - keep original proportions except for frontend status ones | ||||
|      cacheM.Append(bmStereo.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_STEREO | ||||
|      cacheM.Append(bmMonoLeft.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_MONO_LEFT | ||||
|      cacheM.Append(bmMonoRight.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_MONO_RIGHT | ||||
|      cacheM.Append(bmDolbyDigital.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_DD | ||||
|      cacheM.Append(bmDolbyDigital20.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_DD20 | ||||
|      cacheM.Append(bmDolbyDigital51.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_DD51 | ||||
|      cacheM.Append(bmMpeg2.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_MPEG2 | ||||
|      cacheM.Append(bmH264.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_H264 | ||||
|      cacheM.Append(bmPal.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_PAL | ||||
|      cacheM.Append(bmNtsc.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_NTSC | ||||
|      cacheM.Append(bmEncrypted.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_ENCRYPTED | ||||
|      cacheM.Append(bmSvdrp.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_SVDRP | ||||
|      cacheM.Append(bmLock.Scaled(xFactorM, yFactorM, antiAliasM)); // SYMBOL_LOCK | ||||
|      cacheM.Append(bmSignal.Scaled(xFactorM, yFactorM, antiAliasM)); // SYMBOL_SIGNAL | ||||
|      cacheM.Append(bmCarrier.Scaled(xFactorM, yFactorM, antiAliasM)); // SYMBOL_CARRIER | ||||
|      cacheM.Append(bmViterbi.Scaled(xFactorM, yFactorM, antiAliasM)); // SYMBOL_VITERBI | ||||
|      cacheM.Append(bmSync.Scaled(xFactorM, yFactorM, antiAliasM)); // SYMBOL_SYNC | ||||
|      cacheM.Append(bmAspectRatio11.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_AR_1_1 | ||||
|      cacheM.Append(bmAspectRatio169.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_AR_16_9 | ||||
|      cacheM.Append(bmAspectRatio2211.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_AR_2_21_1 | ||||
|      cacheM.Append(bmAspectRatio43.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_AR_4_3 | ||||
|      cacheM.Append(bmDevice.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_DEVICE | ||||
|      cacheM.Append(bmZero.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_ZERO | ||||
|      cacheM.Append(bmOne.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_ONE | ||||
|      cacheM.Append(bmTwo.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_TWO | ||||
|      cacheM.Append(bmThree.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_THREE | ||||
|      cacheM.Append(bmFour.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FOUR | ||||
|      cacheM.Append(bmFive.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FIVE | ||||
|      cacheM.Append(bmSix.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_SIX | ||||
|      cacheM.Append(bmSeven.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_SEVEN | ||||
|      cacheM.Append(bmEight.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_EIGHT | ||||
|      cacheM.Append(bmFormat1080.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_1080 | ||||
|      cacheM.Append(bmFormat1080i.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_1080i | ||||
|      cacheM.Append(bmFormat1080p.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_1080p | ||||
|      cacheM.Append(bmFormat720.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_720 | ||||
|      cacheM.Append(bmFormat720i.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_720i | ||||
|      cacheM.Append(bmFormat720p.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_720p | ||||
|      cacheM.Append(bmFormat576.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_576 | ||||
|      cacheM.Append(bmFormat576i.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_576i | ||||
|      cacheM.Append(bmFormat576p.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_576p | ||||
|      cacheM.Append(bmFormat480.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_480 | ||||
|      cacheM.Append(bmFormat480i.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_480i | ||||
|      cacheM.Append(bmFormat480p.Scaled(yFactorM, yFactorM, antiAliasM)); // SYMBOL_FORMAT_480p | ||||
|  | ||||
|      return true; | ||||
|      } | ||||
|  | ||||
|   return false; | ||||
| } | ||||
|  | ||||
| bool cFemonSymbolCache::Flush(void) | ||||
| { | ||||
|   debug("%s()\n", __PRETTY_FUNCTION__); | ||||
|   for (int i = 0; i < cacheM.Size(); ++i) { | ||||
|       cBitmap *bmp = cacheM[i]; | ||||
|       DELETENULL(bmp); | ||||
|       } | ||||
|   cacheM.Clear(); | ||||
|   return true; | ||||
| } | ||||
|  | ||||
| cBitmap& cFemonSymbolCache::Get(eSymbols symbolP) | ||||
| { | ||||
|   cBitmap *bitmapM = NULL; | ||||
|  | ||||
|   if (symbolP < cacheM.Size()) | ||||
|      bitmapM = cacheM[symbolP]; | ||||
|   else | ||||
|     error("%s(): Invalid symbol %d\n", __PRETTY_FUNCTION__, symbolP); | ||||
|  | ||||
|   return *bitmapM; | ||||
| } | ||||
							
								
								
									
										86
									
								
								femonsymbol.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								femonsymbol.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,86 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONSYMBOL_H | ||||
| #define __FEMONSYMBOL_H | ||||
|  | ||||
| #include <vdr/tools.h> | ||||
| #include <vdr/osd.h> | ||||
|  | ||||
| enum eSymbols { | ||||
|   SYMBOL_STEREO, | ||||
|   SYMBOL_MONO_LEFT, | ||||
|   SYMBOL_MONO_RIGHT, | ||||
|   SYMBOL_DD, | ||||
|   SYMBOL_DD20, | ||||
|   SYMBOL_DD51, | ||||
|   SYMBOL_MPEG2, | ||||
|   SYMBOL_H264, | ||||
|   SYMBOL_PAL, | ||||
|   SYMBOL_NTSC, | ||||
|   SYMBOL_ENCRYPTED, | ||||
|   SYMBOL_SVDRP, | ||||
|   SYMBOL_LOCK, | ||||
|   SYMBOL_SIGNAL, | ||||
|   SYMBOL_CARRIER, | ||||
|   SYMBOL_VITERBI, | ||||
|   SYMBOL_SYNC, | ||||
|   SYMBOL_AR_1_1, | ||||
|   SYMBOL_AR_16_9, | ||||
|   SYMBOL_AR_2_21_1, | ||||
|   SYMBOL_AR_4_3, | ||||
|   SYMBOL_DEVICE, | ||||
|   SYMBOL_ZERO, | ||||
|   SYMBOL_ONE, | ||||
|   SYMBOL_TWO, | ||||
|   SYMBOL_THREE, | ||||
|   SYMBOL_FOUR, | ||||
|   SYMBOL_FIVE, | ||||
|   SYMBOL_SIX, | ||||
|   SYMBOL_SEVEN, | ||||
|   SYMBOL_EIGHT, | ||||
|   SYMBOL_FORMAT_1080, | ||||
|   SYMBOL_FORMAT_1080i, | ||||
|   SYMBOL_FORMAT_1080p, | ||||
|   SYMBOL_FORMAT_720, | ||||
|   SYMBOL_FORMAT_720i, | ||||
|   SYMBOL_FORMAT_720p, | ||||
|   SYMBOL_FORMAT_576, | ||||
|   SYMBOL_FORMAT_576i, | ||||
|   SYMBOL_FORMAT_576p, | ||||
|   SYMBOL_FORMAT_480, | ||||
|   SYMBOL_FORMAT_480i, | ||||
|   SYMBOL_FORMAT_480p, | ||||
|   SYMBOL_MAX_COUNT | ||||
|   }; | ||||
|  | ||||
| class cFemonSymbolCache { | ||||
| private: | ||||
|   enum { | ||||
|     DEFAULT_SPACING  = 5, | ||||
|     DEFAULT_ROUNDING = 10, | ||||
|     DEFAULT_HEIGHT   = 576, | ||||
|     DEFAULT_WIDTH    = 720 | ||||
|     }; | ||||
|   double xFactorM; | ||||
|   double yFactorM; | ||||
|   bool antiAliasM; | ||||
|   cVector<cBitmap*> cacheM; | ||||
|   bool Populate(void); | ||||
|   bool Flush(void); | ||||
| public: | ||||
|   cFemonSymbolCache(); | ||||
|   ~cFemonSymbolCache(); | ||||
|   void Refresh(); | ||||
|   cBitmap& Get(eSymbols symbolP); | ||||
|   int GetSpacing()  { return int(yFactorM * DEFAULT_SPACING);  } | ||||
|   int GetRounding() { return int(yFactorM * DEFAULT_ROUNDING); } | ||||
| }; | ||||
|  | ||||
| extern cFemonSymbolCache femonSymbols; | ||||
|  | ||||
| #endif // __FEMONSYMBOL_H | ||||
							
								
								
									
										548
									
								
								femontools.c
									
									
									
									
									
								
							
							
						
						
									
										548
									
								
								femontools.c
									
									
									
									
									
								
							| @@ -3,9 +3,13 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #ifndef __STDC_FORMAT_MACROS | ||||
| #define __STDC_FORMAT_MACROS | ||||
| #endif | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <stdlib.h> | ||||
| #include <unistd.h> | ||||
| #include <sys/ioctl.h> | ||||
| @@ -14,133 +18,201 @@ | ||||
| #include "femonosd.h" | ||||
| #include "femontools.h" | ||||
|  | ||||
| cString getFrontendInfo(int cardIndex) | ||||
| static cString getCA(int value) | ||||
| { | ||||
|   // http://www.dvb.org/index.php?id=174 | ||||
|   // http://en.wikipedia.org/wiki/Conditional_access_system | ||||
|   switch (value) { | ||||
|     case 0x0000:            return cString::sprintf("%s (%X)", trVDR("Free To Air"), value);  // Reserved | ||||
|     case 0x0001 ... 0x009F: | ||||
|     case 0x00A2 ... 0x00FF: return cString::sprintf("%s (%X)", tr("Fixed"),  value); // Standardized systems | ||||
|     case 0x00A0 ... 0x00A1: return cString::sprintf("%s (%X)", tr("Analog"), value); // Analog signals | ||||
|     case 0x0100 ... 0x01FF: return cString::sprintf("SECA Mediaguard (%X)",  value); // Canal Plus | ||||
|     case 0x0464:            return cString::sprintf("EuroDec (%X)",          value); // EuroDec | ||||
|     case 0x0500 ... 0x05FF: return cString::sprintf("Viaccess (%X)",         value); // France Telecom | ||||
|     case 0x0600 ... 0x06FF: return cString::sprintf("Irdeto (%X)",           value); // Irdeto | ||||
|     case 0x0900 ... 0x09FF: return cString::sprintf("NDS Videoguard (%X)",   value); // News Datacom | ||||
|     case 0x0B00 ... 0x0BFF: return cString::sprintf("Conax (%X)",            value); // Norwegian Telekom | ||||
|     case 0x0D00 ... 0x0DFF: return cString::sprintf("CryptoWorks (%X)",      value); // Philips | ||||
|     case 0x0E00 ... 0x0EFF: return cString::sprintf("PowerVu (%X)",          value); // Scientific Atlanta | ||||
|     case 0x1000:            return cString::sprintf("RAS (%X)",              value); // Tandberg Television | ||||
|     case 0x1200 ... 0x12FF: return cString::sprintf("NagraVision (%X)",      value); // BellVu Express | ||||
|     case 0x1700 ... 0x17FF: return cString::sprintf("BetaCrypt (%X)",        value); // BetaTechnik | ||||
|     case 0x1800 ... 0x18FF: return cString::sprintf("NagraVision (%X)",      value); // Kudelski SA | ||||
|     case 0x22F0:            return cString::sprintf("Codicrypt (%X)",        value); // Scopus Network Technologies | ||||
|     case 0x2600:            return cString::sprintf("BISS (%X)",             value); // European Broadcasting Union | ||||
|     case 0x4347:            return cString::sprintf("CryptOn (%X)",          value); // CryptOn | ||||
|     case 0x4800:            return cString::sprintf("Accessgate (%X)",       value); // Telemann | ||||
|     case 0x4900:            return cString::sprintf("China Crypt (%X)",      value); // CryptoWorks | ||||
|     case 0x4A10:            return cString::sprintf("EasyCas (%X)",          value); // EasyCas | ||||
|     case 0x4A20:            return cString::sprintf("AlphaCrypt (%X)",       value); // AlphaCrypt | ||||
|     case 0x4A70:            return cString::sprintf("DreamCrypt (%X)",       value); // Dream Multimedia | ||||
|     case 0x4A60:            return cString::sprintf("SkyCrypt (%X)",         value); // @Sky | ||||
|     case 0x4A61:            return cString::sprintf("Neotioncrypt (%X)",     value); // Neotion | ||||
|     case 0x4A62:            return cString::sprintf("SkyCrypt (%X)",         value); // @Sky | ||||
|     case 0x4A63:            return cString::sprintf("Neotion SHL (%X)",      value); // Neotion | ||||
|     case 0x4A64 ... 0x4A6F: return cString::sprintf("SkyCrypt (%X)",         value); // @Sky | ||||
|     case 0x4A80:            return cString::sprintf("ThalesCrypt (%X)",      value); // TPS | ||||
|     case 0x4AA1:            return cString::sprintf("KeyFly (%X)",           value); // SIDSA | ||||
|     case 0x4ABF:            return cString::sprintf("DG-Crypt (%X)",         value); // Beijing Compunicate Technology Inc. | ||||
|     case 0x4AD0 ... 0x4AD1: return cString::sprintf("X-Crypt (%X)",          value); // XCrypt Inc. | ||||
|     case 0x4AD4:            return cString::sprintf("OmniCrypt (%X)",        value); // Widevine Technologies, Inc. | ||||
|     case 0x4AE0:            return cString::sprintf("RossCrypt (%X)",        value); // Digi Raum Electronics Co. Ltd. | ||||
|     case 0x5500:            return cString::sprintf("Z-Crypt (%X)",          value); // Digi Raum Electronics Co. Ltd. | ||||
|     case 0x5501:            return cString::sprintf("Griffin (%X)",          value); // Griffin | ||||
|     default:                break; | ||||
|     } | ||||
|   return cString::sprintf("%X", value); | ||||
| } | ||||
|  | ||||
| static const char *getUserString(int Value, const tDvbParameterMap *Map) | ||||
| { | ||||
|   const tDvbParameterMap *map = Map; | ||||
|   while (map && map->userValue != -1) { | ||||
|         if (map->driverValue == Value) | ||||
|            return map->userString ? trVDR(map->userString) : "---"; | ||||
|         map++; | ||||
|         } | ||||
|   return "---"; | ||||
| } | ||||
|  | ||||
| cDvbDevice *getDvbDevice(cDevice* device) | ||||
| { | ||||
|   cDvbDevice *dev = dynamic_cast<cDvbDevice*>(device); | ||||
| #ifdef __DYNAMIC_DEVICE_PROBE | ||||
|   if (!dev && device && device->HasSubDevice()) | ||||
|      dev = dynamic_cast<cDvbDevice*>(device->SubDevice()); | ||||
| #endif | ||||
|   return dev; | ||||
| } | ||||
|  | ||||
| cString getFrontendInfo(cDvbDevice *device) | ||||
| { | ||||
|   cString info; | ||||
|   struct dvb_frontend_info value; | ||||
|   fe_status_t status; | ||||
|   cString info = ""; | ||||
|   uint16_t signal = 0; | ||||
|   uint16_t snr = 0; | ||||
|   uint32_t ber = 0; | ||||
|   uint32_t unc = 0; | ||||
|   char *dev = NULL; | ||||
|   cChannel *channel = Channels.GetByNumber(cDevice::CurrentChannel()); | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev);  | ||||
|   if (fe < 0) | ||||
|      return NULL; | ||||
|   CHECK(ioctl(fe, FE_GET_INFO, &value)); | ||||
|   CHECK(ioctl(fe, FE_READ_STATUS, &status)); | ||||
|   CHECK(ioctl(fe, FE_READ_SIGNAL_STRENGTH, &signal)); | ||||
|   CHECK(ioctl(fe, FE_READ_SNR, &snr)); | ||||
|   CHECK(ioctl(fe, FE_READ_BER, &ber)); | ||||
|   CHECK(ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &unc)); | ||||
|   close(fe); | ||||
|   if (!device) | ||||
|      return info; | ||||
|  | ||||
|   info = cString::sprintf("CARD:%d\nTYPE:%d\nNAME:%s\nSTAT:%02X\nSGNL:%04X\nSNRA:%04X\nBERA:%08X\nUNCB:%08X", cardIndex, value.type, value.name, status, signal, snr, ber, unc); | ||||
|   int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK); | ||||
|   if (fe < 0) | ||||
|      return info; | ||||
|  | ||||
|   info = cString::sprintf("CARD:%d\nSTRG:%d\nQUAL:%d", device->CardIndex(), device->SignalStrength(), device->SignalQuality()); | ||||
|  | ||||
|   if (ioctl(fe, FE_GET_INFO, &value) >= 0) | ||||
|      info = cString::sprintf("%s\nTYPE:%d\nNAME:%s", *info, value.type, *device->DeviceName()); | ||||
|   if (ioctl(fe, FE_READ_STATUS, &status) >= 0) | ||||
|      info = cString::sprintf("%s\nSTAT:%02X", *info, status); | ||||
|   if (ioctl(fe, FE_READ_SIGNAL_STRENGTH, &signal) >= 0) | ||||
|      info = cString::sprintf("%s\nSGNL:%04X", *info, signal); | ||||
|   if (ioctl(fe, FE_READ_SNR, &snr) >= 0) | ||||
|      info = cString::sprintf("%s\nSNRA:%04X", *info, snr); | ||||
|   if (ioctl(fe, FE_READ_BER, &ber) >= 0) | ||||
|      info = cString::sprintf("%s\nBERA:%08X", *info, ber); | ||||
|   if (ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &unc) >= 0) | ||||
|      info = cString::sprintf("%s\nUNCB:%08X", *info, unc); | ||||
|   close(fe); | ||||
|  | ||||
|   if (cFemonOsd::Instance()) | ||||
|      info = cString::sprintf("%s\nVIBR:%.0f\nAUBR:%.0f\nDDBR:%.0f", *info, cFemonOsd::Instance()->GetVideoBitrate(), cFemonOsd::Instance()->GetAudioBitrate(), cFemonOsd::Instance()->GetDolbyBitrate()); | ||||
|  | ||||
|   if (channel) | ||||
|      info  = cString::sprintf("%s\nCHAN:%s", *info, *channel->ToText()); | ||||
|      info = cString::sprintf("%s\nCHAN:%s", *info, *channel->ToText()); | ||||
|  | ||||
|   return info; | ||||
| } | ||||
|  | ||||
| cString getFrontendName(int cardIndex) | ||||
| cString getFrontendName(cDvbDevice *device) | ||||
| { | ||||
|   struct dvb_frontend_info value; | ||||
|   char *dev = NULL; | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev); | ||||
|   if (fe < 0) | ||||
|   if (!device) | ||||
|      return NULL; | ||||
|   CHECK(ioctl(fe, FE_GET_INFO, &value)); | ||||
|   close(fe); | ||||
|  | ||||
|   return (cString::sprintf("%s on device #%d", value.name, cardIndex)); | ||||
|   return (cString::sprintf("%s on device #%d", *device->DeviceName(), device->CardIndex())); | ||||
| } | ||||
|  | ||||
| cString getFrontendStatus(int cardIndex) | ||||
| cString getFrontendStatus(cDvbDevice *device) | ||||
| { | ||||
|   fe_status_t value; | ||||
|   char *dev = NULL; | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev); | ||||
|   if (!device) | ||||
|      return NULL; | ||||
|  | ||||
|   int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK); | ||||
|   if (fe < 0) | ||||
|      return NULL; | ||||
|   CHECK(ioctl(fe, FE_READ_STATUS, &value)); | ||||
|   memset(&value, 0, sizeof(value)); | ||||
|   ioctl(fe, FE_READ_STATUS, &value); | ||||
|   close(fe); | ||||
|  | ||||
|   return (cString::sprintf("Status %s:%s:%s:%s:%s on device #%d", (value & FE_HAS_LOCK) ? "LOCKED" : "-", (value & FE_HAS_SIGNAL) ? "SIGNAL" : "-", (value & FE_HAS_CARRIER) ? "CARRIER" : "-", (value & FE_HAS_VITERBI) ? "VITERBI" : "-", (value & FE_HAS_SYNC) ? "SYNC" : "-", cardIndex)); | ||||
|   return (cString::sprintf("Status %s:%s:%s:%s:%s on device #%d", (value & FE_HAS_LOCK) ? "LOCKED" : "-", (value & FE_HAS_SIGNAL) ? "SIGNAL" : "-", (value & FE_HAS_CARRIER) ? "CARRIER" : "-", (value & FE_HAS_VITERBI) ? "VITERBI" : "-", (value & FE_HAS_SYNC) ? "SYNC" : "-", device->CardIndex())); | ||||
| } | ||||
|  | ||||
| uint16_t getSignal(int cardIndex) | ||||
| uint16_t getSignal(cDvbDevice *device) | ||||
| { | ||||
|   uint16_t value = 0; | ||||
|   char *dev = NULL; | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev); | ||||
|   if (!device) | ||||
|      return (value); | ||||
|  | ||||
|   int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK); | ||||
|   if (fe < 0) | ||||
|      return (value); | ||||
|   CHECK(ioctl(fe, FE_READ_SIGNAL_STRENGTH, &value)); | ||||
|   ioctl(fe, FE_READ_SIGNAL_STRENGTH, &value); | ||||
|   close(fe); | ||||
|  | ||||
|   return (value); | ||||
| } | ||||
|  | ||||
| uint16_t getSNR(int cardIndex) | ||||
| uint16_t getSNR(cDvbDevice *device) | ||||
| { | ||||
|   uint16_t value = 0; | ||||
|   char *dev = NULL; | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev); | ||||
|   if (!device) | ||||
|      return (value); | ||||
|  | ||||
|   int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK); | ||||
|   if (fe < 0) | ||||
|      return (value); | ||||
|   CHECK(ioctl(fe, FE_READ_SNR, &value)); | ||||
|   ioctl(fe, FE_READ_SNR, &value); | ||||
|   close(fe); | ||||
|  | ||||
|   return (value); | ||||
| } | ||||
|  | ||||
| uint32_t getBER(int cardIndex) | ||||
| uint32_t getBER(cDvbDevice *device) | ||||
| { | ||||
|   uint32_t value = 0; | ||||
|   char *dev = NULL; | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev); | ||||
|   if (!device) | ||||
|      return (value); | ||||
|  | ||||
|   int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK); | ||||
|   if (fe < 0) | ||||
|      return (value); | ||||
|   CHECK(ioctl(fe, FE_READ_BER, &value)); | ||||
|   ioctl(fe, FE_READ_BER, &value); | ||||
|   close(fe); | ||||
|  | ||||
|   return (value); | ||||
| } | ||||
|  | ||||
| uint32_t getUNC(int cardIndex) | ||||
| uint32_t getUNC(cDvbDevice *device) | ||||
| { | ||||
|   uint32_t value = 0; | ||||
|   char *dev = NULL; | ||||
|  | ||||
|   asprintf(&dev, FRONTEND_DEVICE, cardIndex, 0); | ||||
|   int fe = open(dev, O_RDONLY | O_NONBLOCK); | ||||
|   free(dev); | ||||
|   if (!device) | ||||
|      return (value); | ||||
|  | ||||
|   int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK); | ||||
|   if (fe < 0) | ||||
|      return (value); | ||||
|   CHECK(ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &value)); | ||||
|   ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &value); | ||||
|   close(fe); | ||||
|  | ||||
|   return (value); | ||||
| @@ -173,141 +245,174 @@ cString getSpids(const cChannel *channel) | ||||
|   return spids; | ||||
| } | ||||
|  | ||||
| cString getCAids(const cChannel *channel, bool identify) | ||||
| cString getCAids(const cChannel *channel) | ||||
| { | ||||
|   cString caids; | ||||
|   int value = 0; | ||||
|  | ||||
|   if (identify) { | ||||
|      caids = cString::sprintf("%s", *getCA(channel->Ca(value))); | ||||
|      while (channel->Ca(++value) && (value < MAXCAIDS)) | ||||
|        caids = cString::sprintf("%s, %s", *caids, *getCA(channel->Ca(value))); | ||||
|      } | ||||
|   else { | ||||
|      caids = cString::sprintf("%04x", channel->Ca(value)); | ||||
|      while (channel->Ca(++value) && (value < MAXCAIDS)) | ||||
|        caids = cString::sprintf("%s, %04x", *caids, channel->Ca(value)); | ||||
|      } | ||||
|   cString caids = cString::sprintf("%s", *getCA(channel->Ca(value))); | ||||
|   while (channel->Ca(++value) && (value < MAXCAIDS)) | ||||
|     caids = cString::sprintf("%s, %s", *caids, *getCA(channel->Ca(value))); | ||||
|   return caids; | ||||
| } | ||||
|  | ||||
| cString getCA(int value) | ||||
| cString getVideoStream(int value) | ||||
| { | ||||
|   if (value != 0) | ||||
|      return cString::sprintf("#%d", value); | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getAudioStream(int value, const cChannel *channel) | ||||
| { | ||||
|   int pid = 0; | ||||
|   if (IS_AUDIO_TRACK(value)) | ||||
|      pid = int(value - ttAudioFirst); | ||||
|   if (channel && channel->Apid(pid)) { | ||||
|      if (channel->Alang(pid)) | ||||
|         return cString::sprintf("#%d (%s)", channel->Apid(pid), channel->Alang(pid)); | ||||
|      else | ||||
|         return cString::sprintf("#%d", channel->Apid(pid)); | ||||
|      } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getAC3Stream(int value, const cChannel *channel) | ||||
| { | ||||
|   int pid = 0; | ||||
|   if (IS_DOLBY_TRACK(value)) | ||||
|      pid = int(value - ttDolbyFirst); | ||||
|   if (channel && channel->Dpid(pid)) { | ||||
|      if (channel->Dlang(pid)) | ||||
|         return cString::sprintf("#%d (%s)", channel->Dpid(pid), channel->Dlang(pid)); | ||||
|      else | ||||
|         return cString::sprintf("#%d", channel->Dpid(pid)); | ||||
|      } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getVideoCodec(int value) | ||||
| { | ||||
|   /* http://www.dvb.org/index.php?id=174 */ | ||||
|   switch (value) { | ||||
|     case 0x0000:            return cString::sprintf("%s", trVDR("Free To Air")); /* Reserved */ | ||||
|     case 0x0001 ... 0x009F: | ||||
|     case 0x00A2 ... 0x00FF: return cString::sprintf("%s", tr("Fixed")); /* Standardized systems */ | ||||
|     case 0x00A0 ... 0x00A1: return cString::sprintf("%s", tr("Analog")); /* Analog signals */ | ||||
|     case 0x0100 ... 0x01FF: return cString::sprintf("%s", tr("SECA/Mediaguard")); /* Canal Plus */ | ||||
|     case 0x0500 ... 0x05FF: return cString::sprintf("%s", tr("Viaccess")); /* France Telecom */ | ||||
|     case 0x0600 ... 0x06FF: return cString::sprintf("%s", tr("Irdeto")); /* Irdeto */ | ||||
|     case 0x0900 ... 0x09FF: return cString::sprintf("%s", tr("NDS/Videoguard")); /* News Datacom */ | ||||
|     case 0x0B00 ... 0x0BFF: return cString::sprintf("%s", tr("Conax")); /* Norwegian Telekom */ | ||||
|     case 0x0D00 ... 0x0DFF: return cString::sprintf("%s", tr("CryptoWorks")); /* Philips */ | ||||
|     case 0x0E00 ... 0x0EFF: return cString::sprintf("%s", tr("PowerVu")); /* Scientific Atlanta */ | ||||
|     case 0x1200 ... 0x12FF: return cString::sprintf("%s", tr("NagraVision")); /* BellVu Express */ | ||||
|     case 0x1700 ... 0x17FF: return cString::sprintf("%s", tr("BetaCrypt")); /* BetaTechnik */ | ||||
|     case 0x1800 ... 0x18FF: return cString::sprintf("%s", tr("NagraVision")); /* Kudelski SA */ | ||||
|     case 0x4A60 ... 0x4A6F: return cString::sprintf("%s", tr("SkyCrypt")); /* @Sky */ | ||||
|     case VIDEO_CODEC_MPEG2: return cString::sprintf("%s", tr("MPEG-2")); | ||||
|     case VIDEO_CODEC_H264:  return cString::sprintf("%s", tr("H.264")); | ||||
|     default:                break; | ||||
|     } | ||||
|   return cString::sprintf("%X", value); | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getAudioCodec(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case AUDIO_CODEC_MPEG1_I:   return cString::sprintf("%s", tr("MPEG-1 Layer I")); | ||||
|     case AUDIO_CODEC_MPEG1_II:  return cString::sprintf("%s", tr("MPEG-1 Layer II")); | ||||
|     case AUDIO_CODEC_MPEG1_III: return cString::sprintf("%s", tr("MPEG-1 Layer III")); | ||||
|     case AUDIO_CODEC_MPEG2_I:   return cString::sprintf("%s", tr("MPEG-2 Layer I")); | ||||
|     case AUDIO_CODEC_MPEG2_II:  return cString::sprintf("%s", tr("MPEG-2 Layer II")); | ||||
|     case AUDIO_CODEC_MPEG2_III: return cString::sprintf("%s", tr("MPEG-2 Layer III")); | ||||
|     case AUDIO_CODEC_HEAAC:     return cString::sprintf("%s", tr("HE-AAC")); | ||||
|     case AUDIO_CODEC_LATM:      return cString::sprintf("%s", tr("LATM")); | ||||
|     default:                    break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getAudioChannelMode(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case AUDIO_CHANNEL_MODE_STEREO:       return cString::sprintf("%s", tr("stereo")); | ||||
|     case AUDIO_CHANNEL_MODE_JOINT_STEREO: return cString::sprintf("%s", tr("joint Stereo")); | ||||
|     case AUDIO_CHANNEL_MODE_DUAL:         return cString::sprintf("%s", tr("dual")); | ||||
|     case AUDIO_CHANNEL_MODE_SINGLE:       return cString::sprintf("%s", tr("mono")); | ||||
|     default:                              break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getCoderate(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case FEC_NONE: return cString::sprintf("%s", tr("none")); | ||||
|     case FEC_1_2:  return cString::sprintf("1/2"); | ||||
|     case FEC_2_3:  return cString::sprintf("2/3"); | ||||
|     case FEC_3_4:  return cString::sprintf("3/4"); | ||||
|     case FEC_4_5:  return cString::sprintf("4/5"); | ||||
|     case FEC_5_6:  return cString::sprintf("5/6"); | ||||
|     case FEC_6_7:  return cString::sprintf("6/7"); | ||||
|     case FEC_7_8:  return cString::sprintf("7/8"); | ||||
|     case FEC_8_9:  return cString::sprintf("8/9"); | ||||
|     case FEC_AUTO: return cString::sprintf("%s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
|   return cString::sprintf("%s", getUserString(value, CoderateValues)); | ||||
| } | ||||
|  | ||||
| cString getTransmission(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case TRANSMISSION_MODE_2K:   return cString::sprintf("2K"); | ||||
|     case TRANSMISSION_MODE_8K:   return cString::sprintf("8K"); | ||||
|     case TRANSMISSION_MODE_AUTO: return cString::sprintf("%s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
|   return cString::sprintf("%s", getUserString(value, TransmissionValues)); | ||||
| } | ||||
|   | ||||
|  | ||||
| cString getBandwidth(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case BANDWIDTH_8_MHZ: return cString::sprintf("8 %s", tr("MHz")); | ||||
|     case BANDWIDTH_7_MHZ: return cString::sprintf("7 %s", tr("MHz")); | ||||
|     case BANDWIDTH_6_MHZ: return cString::sprintf("6 %s", tr("MHz")); | ||||
|     case BANDWIDTH_AUTO:  return cString::sprintf("%s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
|   return cString::sprintf("%s", getUserString(value, BandwidthValues)); | ||||
| } | ||||
|  | ||||
| cString getInversion(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case INVERSION_OFF:  return cString::sprintf("%s", tr("off")); | ||||
|     case INVERSION_ON:   return cString::sprintf("%s", tr("on")); | ||||
|     case INVERSION_AUTO: return cString::sprintf("%s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
|   return cString::sprintf("%s", getUserString(value, InversionValues)); | ||||
| } | ||||
|  | ||||
| cString getHierarchy(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case HIERARCHY_NONE: return cString::sprintf("%s", tr("none")); | ||||
|     case HIERARCHY_1:    return cString::sprintf("1"); | ||||
|     case HIERARCHY_2:    return cString::sprintf("2"); | ||||
|     case HIERARCHY_4:    return cString::sprintf("4"); | ||||
|     case HIERARCHY_AUTO: cString::sprintf("%s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
|   return cString::sprintf("%s", getUserString(value, HierarchyValues)); | ||||
| } | ||||
|  | ||||
| cString getGuard(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case GUARD_INTERVAL_1_32: return cString::sprintf("1/32"); | ||||
|     case GUARD_INTERVAL_1_16: return cString::sprintf("1/16"); | ||||
|     case GUARD_INTERVAL_1_8:  return cString::sprintf("1/8"); | ||||
|     case GUARD_INTERVAL_1_4:  return cString::sprintf("1/4"); | ||||
|     case GUARD_INTERVAL_AUTO: cString::sprintf("%s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
|   return cString::sprintf("%s", getUserString(value, GuardValues)); | ||||
| } | ||||
|  | ||||
| cString getModulation(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case QPSK:     return cString::sprintf("QPSK"); | ||||
|     case QAM_16:   return cString::sprintf("QAM 16"); | ||||
|     case QAM_32:   return cString::sprintf("QAM 32"); | ||||
|     case QAM_64:   return cString::sprintf("QAM 64"); | ||||
|     case QAM_128:  return cString::sprintf("QAM 128"); | ||||
|     case QAM_256:  return cString::sprintf("QAM 256"); | ||||
|     case QAM_AUTO: return cString::sprintf("QAM %s", tr("auto")); | ||||
|     } | ||||
|   return cString::sprintf("%s", getUserString(value, ModulationValues)); | ||||
| } | ||||
|  | ||||
| cString getTerrestrialSystem(int value) | ||||
| { | ||||
|   return cString::sprintf("%s", getUserString(value, SystemValuesTerr)); | ||||
| } | ||||
|  | ||||
| cString getSatelliteSystem(int value) | ||||
| { | ||||
|   return cString::sprintf("%s", getUserString(value, SystemValuesSat)); | ||||
| } | ||||
|  | ||||
| cString getRollOff(int value) | ||||
| { | ||||
|   return cString::sprintf("%s", getUserString(value, RollOffValues)); | ||||
| } | ||||
|  | ||||
| cString getResolution(int width, int height, int scan) | ||||
| { | ||||
|   if ((width > 0) && (height > 0)) { | ||||
|      switch (scan) { | ||||
|        case VIDEO_SCAN_INTERLACED:  return cString::sprintf("%dx%d %s", width, height, tr("interlaced")); | ||||
|        case VIDEO_SCAN_PROGRESSIVE: return cString::sprintf("%dx%d %s", width, height, tr("progressive")); | ||||
|        default:                     return cString::sprintf("%dx%d",    width, height); | ||||
|        } | ||||
|      } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getAspectRatio(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case AR_RESERVED: return cString::sprintf("%s", tr("reserved")); | ||||
|     case AR_1_1:      return cString::sprintf("1:1"); | ||||
|     case AR_4_3:      return cString::sprintf("4:3"); | ||||
|     case AR_16_9:     return cString::sprintf("16:9"); | ||||
|     case AR_2_21_1:   return cString::sprintf("2.21:1"); | ||||
|     case VIDEO_ASPECT_RATIO_RESERVED: return cString::sprintf("%s", tr("reserved")); | ||||
|     case VIDEO_ASPECT_RATIO_EXTENDED: return cString::sprintf("%s", tr("extended")); | ||||
|     case VIDEO_ASPECT_RATIO_1_1:      return cString::sprintf("1:1"); | ||||
|     case VIDEO_ASPECT_RATIO_4_3:      return cString::sprintf("4:3"); | ||||
|     case VIDEO_ASPECT_RATIO_16_9:     return cString::sprintf("16:9"); | ||||
|     case VIDEO_ASPECT_RATIO_2_21_1:   return cString::sprintf("2.21:1"); | ||||
|     case VIDEO_ASPECT_RATIO_12_11:    return cString::sprintf("12:11"); | ||||
|     case VIDEO_ASPECT_RATIO_10_11:    return cString::sprintf("10:11"); | ||||
|     case VIDEO_ASPECT_RATIO_16_11:    return cString::sprintf("16:11"); | ||||
|     case VIDEO_ASPECT_RATIO_40_33:    return cString::sprintf("40:33"); | ||||
|     case VIDEO_ASPECT_RATIO_24_11:    return cString::sprintf("24:11"); | ||||
|     case VIDEO_ASPECT_RATIO_20_11:    return cString::sprintf("20:11"); | ||||
|     case VIDEO_ASPECT_RATIO_32_11:    return cString::sprintf("32:11"); | ||||
|     case VIDEO_ASPECT_RATIO_80_33:    return cString::sprintf("80:33"); | ||||
|     case VIDEO_ASPECT_RATIO_18_11:    return cString::sprintf("18:11"); | ||||
|     case VIDEO_ASPECT_RATIO_15_11:    return cString::sprintf("15:11"); | ||||
|     case VIDEO_ASPECT_RATIO_64_33:    return cString::sprintf("64:33"); | ||||
|     case VIDEO_ASPECT_RATIO_160_99:   return cString::sprintf("160:99"); | ||||
|     case VIDEO_ASPECT_RATIO_3_2:      return cString::sprintf("3:2"); | ||||
|     case VIDEO_ASPECT_RATIO_2_1:      return cString::sprintf("2:1"); | ||||
|     default:                          break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
| @@ -315,24 +420,37 @@ cString getAspectRatio(int value) | ||||
| cString getVideoFormat(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case VF_UNKNOWN: return cString::sprintf("%s", tr("unknown")); | ||||
|     case VF_PAL:     return cString::sprintf("%s", tr("PAL")); | ||||
|     case VF_NTSC:    return cString::sprintf("%s", tr("NTSC")); | ||||
|     case VIDEO_FORMAT_UNKNOWN:   return cString::sprintf("%s", tr("unknown")); | ||||
|     case VIDEO_FORMAT_RESERVED:  return cString::sprintf("%s", tr("reserved")); | ||||
|     case VIDEO_FORMAT_COMPONENT: return cString::sprintf("%s", tr("component")); | ||||
|     case VIDEO_FORMAT_PAL:       return cString::sprintf("%s", tr("PAL")); | ||||
|     case VIDEO_FORMAT_NTSC:      return cString::sprintf("%s", tr("NTSC")); | ||||
|     case VIDEO_FORMAT_SECAM:     return cString::sprintf("%s", tr("SECAM")); | ||||
|     case VIDEO_FORMAT_MAC:       return cString::sprintf("%s", tr("MAC")); | ||||
|     default:                     break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getFrameRate(double value) | ||||
| { | ||||
|   if (value > 0) | ||||
|      return cString::sprintf("%.2f %s", value, tr("Hz")); | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getAC3BitStreamMode(int value, int coding) | ||||
| { | ||||
|   switch (value) { | ||||
|     case 0: return cString::sprintf("%s", tr("Complete Main (CM)")); | ||||
|     case 1: return cString::sprintf("%s", tr("Music and Effects (ME)")); | ||||
|     case 2: return cString::sprintf("%s", tr("Visually Impaired (VI)")); | ||||
|     case 3: return cString::sprintf("%s", tr("Hearing Impaired (HI)")); | ||||
|     case 4: return cString::sprintf("%s", tr("Dialogue (D)")); | ||||
|     case 5: return cString::sprintf("%s", tr("Commentary (C)")); | ||||
|     case 6: return cString::sprintf("%s", tr("Emergency (E)")); | ||||
|     case 7: return cString::sprintf("%s", (coding == 1) ? tr("Voice Over (VO)") : tr("Karaoke")); | ||||
|     case AUDIO_BITSTREAM_MODE_CM:     return cString::sprintf("%s", tr("Complete Main (CM)")); | ||||
|     case AUDIO_BITSTREAM_MODE_ME:     return cString::sprintf("%s", tr("Music and Effects (ME)")); | ||||
|     case AUDIO_BITSTREAM_MODE_VI:     return cString::sprintf("%s", tr("Visually Impaired (VI)")); | ||||
|     case AUDIO_BITSTREAM_MODE_HI:     return cString::sprintf("%s", tr("Hearing Impaired (HI)")); | ||||
|     case AUDIO_BITSTREAM_MODE_D:      return cString::sprintf("%s", tr("Dialogue (D)")); | ||||
|     case AUDIO_BITSTREAM_MODE_C:      return cString::sprintf("%s", tr("Commentary (C)")); | ||||
|     case AUDIO_BITSTREAM_MODE_E:      return cString::sprintf("%s", tr("Emergency (E)")); | ||||
|     case AUDIO_BITSTREAM_MODE_VO_KAR: return cString::sprintf("%s", (coding == 1) ? tr("Voice Over (VO)") : tr("Karaoke")); | ||||
|     default:                          break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
| @@ -341,14 +459,15 @@ cString getAC3AudioCodingMode(int value, int stream) | ||||
| { | ||||
|   if (stream != 7) { | ||||
|      switch (value) { | ||||
|        case 0: return cString::sprintf("1+1 - %s, %s", tr("Ch1"), tr("Ch2")); | ||||
|        case 1: return cString::sprintf("1/0 - %s", tr("C")); | ||||
|        case 2: return cString::sprintf("2/0 - %s, %s", tr("L"), tr("R")); | ||||
|        case 3: return cString::sprintf("3/0 - %s, %s, %s", tr("L"), tr("C"), tr("R")); | ||||
|        case 4: return cString::sprintf("2/1 - %s, %s, %s", tr("L"), tr("R"), tr("S")); | ||||
|        case 5: return cString::sprintf("3/1 - %s, %s, %s, %s", tr("L"), tr("C"), tr("R"), tr("S")); | ||||
|        case 6: return cString::sprintf("2/2 - %s, %s, %s, %s", tr("L"), tr("R"), tr("SL"), tr("SR")); | ||||
|        case 7: return cString::sprintf("3/2 - %s, %s, %s, %s, %s", tr("L"), tr("C"), tr("R"), tr("SL"), tr("SR")); | ||||
|        case AUDIO_CODING_MODE_1_1: return cString::sprintf("1+1 - %s, %s", tr("Ch1"), tr("Ch2")); | ||||
|        case AUDIO_CODING_MODE_1_0: return cString::sprintf("1/0 - %s", tr("C")); | ||||
|        case AUDIO_CODING_MODE_2_0: return cString::sprintf("2/0 - %s, %s", tr("L"), tr("R")); | ||||
|        case AUDIO_CODING_MODE_3_0: return cString::sprintf("3/0 - %s, %s, %s", tr("L"), tr("C"), tr("R")); | ||||
|        case AUDIO_CODING_MODE_2_1: return cString::sprintf("2/1 - %s, %s, %s", tr("L"), tr("R"), tr("S")); | ||||
|        case AUDIO_CODING_MODE_3_1: return cString::sprintf("3/1 - %s, %s, %s, %s", tr("L"), tr("C"), tr("R"), tr("S")); | ||||
|        case AUDIO_CODING_MODE_2_2: return cString::sprintf("2/2 - %s, %s, %s, %s", tr("L"), tr("R"), tr("SL"), tr("SR")); | ||||
|        case AUDIO_CODING_MODE_3_2: return cString::sprintf("3/2 - %s, %s, %s, %s, %s", tr("L"), tr("C"), tr("R"), tr("SL"), tr("SR")); | ||||
|        default:                    break; | ||||
|        } | ||||
|      } | ||||
|   return cString::sprintf("---"); | ||||
| @@ -357,10 +476,11 @@ cString getAC3AudioCodingMode(int value, int stream) | ||||
| cString getAC3CenterMixLevel(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case CML_MINUS_3dB:   return cString::sprintf("-3.0 %s", tr("dB")); | ||||
|     case CML_MINUS_4_5dB: return cString::sprintf("-4.5 %s", tr("dB")); | ||||
|     case CML_MINUS_6dB:   return cString::sprintf("-6.0 %s", tr("dB")); | ||||
|     case CML_RESERVED:    return cString::sprintf("%s", tr("reserved")); | ||||
|     case AUDIO_CENTER_MIX_LEVEL_MINUS_3dB:   return cString::sprintf("-3.0 %s", tr("dB")); | ||||
|     case AUDIO_CENTER_MIX_LEVEL_MINUS_4_5dB: return cString::sprintf("-4.5 %s", tr("dB")); | ||||
|     case AUDIO_CENTER_MIX_LEVEL_MINUS_6dB:   return cString::sprintf("-6.0 %s", tr("dB")); | ||||
|     case AUDIO_CENTER_MIX_LEVEL_RESERVED:    return cString::sprintf("%s", tr("reserved")); | ||||
|     default:                                 break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
| @@ -368,10 +488,11 @@ cString getAC3CenterMixLevel(int value) | ||||
| cString getAC3SurroundMixLevel(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case SML_MINUS_3dB: return cString::sprintf("-3 %s", tr("dB")); | ||||
|     case SML_MINUS_6dB: return cString::sprintf("-6 %s", tr("dB")); | ||||
|     case SML_0_dB:      return cString::sprintf("0 %s", tr("dB")); | ||||
|     case SML_RESERVED:  return cString::sprintf("%s", tr("reserved")); | ||||
|     case AUDIO_SURROUND_MIX_LEVEL_MINUS_3dB: return cString::sprintf("-3 %s", tr("dB")); | ||||
|     case AUDIO_SURROUND_MIX_LEVEL_MINUS_6dB: return cString::sprintf("-6 %s", tr("dB")); | ||||
|     case AUDIO_SURROUND_MIX_LEVEL_0_dB:      return cString::sprintf("0 %s", tr("dB")); | ||||
|     case AUDIO_SURROUND_MIX_LEVEL_RESERVED:  return cString::sprintf("%s", tr("reserved")); | ||||
|     default:                                 break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
| @@ -379,10 +500,11 @@ cString getAC3SurroundMixLevel(int value) | ||||
| cString getAC3DolbySurroundMode(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case DSM_NOT_INDICATED:     return cString::sprintf("%s", tr("not indicated")); | ||||
|     case DSM_NOT_DOLBYSURROUND: return cString::sprintf("%s", trVDR("no")); | ||||
|     case DSM_DOLBYSURROUND:     return cString::sprintf("%s", trVDR("yes")); | ||||
|     case DSM_RESERVED:          return cString::sprintf("%s", tr("reserved")); | ||||
|     case AUDIO_DOLBY_SURROUND_MODE_NOT_INDICATED:     return cString::sprintf("%s", tr("not indicated")); | ||||
|     case AUDIO_DOLBY_SURROUND_MODE_NOT_DOLBYSURROUND: return cString::sprintf("%s", trVDR("no")); | ||||
|     case AUDIO_DOLBY_SURROUND_MODE_DOLBYSURROUND:     return cString::sprintf("%s", trVDR("yes")); | ||||
|     case AUDIO_DOLBY_SURROUND_MODE_RESERVED:          return cString::sprintf("%s", tr("reserved")); | ||||
|     default:                                          break; | ||||
|     } | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
| @@ -403,32 +525,68 @@ cString getFrequencyMHz(int value) | ||||
| cString getAudioSamplingFreq(int value) | ||||
| { | ||||
|   switch (value) { | ||||
|     case FR_NOTVALID: return cString::sprintf("---"); | ||||
|     case FR_RESERVED: return cString::sprintf("%s", tr("reserved")); | ||||
|     case AUDIO_SAMPLING_FREQUENCY_INVALID:  return cString::sprintf("---"); | ||||
|     case AUDIO_SAMPLING_FREQUENCY_RESERVED: return cString::sprintf("%s", tr("reserved")); | ||||
|     default:                                break; | ||||
|     } | ||||
|   return cString::sprintf("%.1f %s", ((double)value / 1000.0), tr("kHz")); | ||||
|   return cString::sprintf("%d %s", value, tr("Hz")); | ||||
| } | ||||
|  | ||||
| cString getAudioBitrate(double value, double stream) | ||||
| { | ||||
|   switch ((int)stream) { | ||||
|     case FR_NOTVALID: return cString::sprintf("---"); | ||||
|     case FR_RESERVED: return cString::sprintf("%s (%s)", tr("reserved"), *getBitrateKbits(value)); | ||||
|     case FR_FREE:     return cString::sprintf("%s (%s)", tr("free"), *getBitrateKbits(value)); | ||||
|     case AUDIO_BITRATE_INVALID:  return cString::sprintf("---"); | ||||
|     case AUDIO_BITRATE_RESERVED: return cString::sprintf("%s (%s)", tr("reserved"), *getBitrateKbits(value)); | ||||
|     case AUDIO_BITRATE_FREE:     return cString::sprintf("%s (%s)", tr("free"), *getBitrateKbits(value)); | ||||
|     default:                     break; | ||||
|     } | ||||
|   return cString::sprintf("%s (%s)", *getBitrateKbits(stream), *getBitrateKbits(value)); | ||||
| } | ||||
|  | ||||
| cString getVideoBitrate(double value, double stream) | ||||
| { | ||||
|   return cString::sprintf("%s (%s)", *getBitrateMbits(stream), *getBitrateMbits(value)); | ||||
| } | ||||
|  | ||||
| cString getBitrateMbits(double value) | ||||
| { | ||||
|   if (value >= 0) | ||||
|   if (value > 0) | ||||
|      return cString::sprintf("%.2f %s", value / 1000000.0, tr("Mbit/s")); | ||||
|   return cString::sprintf("--- %s", tr("Mbit/s")); | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| cString getBitrateKbits(double value) | ||||
| { | ||||
|   if (value >= 0)  | ||||
|   if (value > 0) | ||||
|      return cString::sprintf("%.0f %s", value / 1000.0, tr("kbit/s")); | ||||
|   return cString::sprintf("--- %s", tr("kbit/s")); | ||||
|   return cString::sprintf("---"); | ||||
| } | ||||
|  | ||||
| // --- cFemonBitStream ------------------------------------------------------- | ||||
|  | ||||
| uint32_t cFemonBitStream::GetUeGolomb() | ||||
| { | ||||
|   int n = 0; | ||||
|  | ||||
|   while (!GetBit() && (n < 32)) | ||||
|     n++; | ||||
|  | ||||
|   return (n ? ((1 << n) - 1) + GetBits(n) : 0); | ||||
| } | ||||
|  | ||||
| int32_t cFemonBitStream::GetSeGolomb() | ||||
| { | ||||
|   uint32_t r = GetUeGolomb() + 1; | ||||
|  | ||||
|   return ((r & 1) ? -(r >> 1) : (r >> 1)); | ||||
| } | ||||
|  | ||||
| void cFemonBitStream::SkipGolomb() | ||||
| { | ||||
|   int n = 0; | ||||
|  | ||||
|   while (!GetBit() && (n < 32)) | ||||
|     n++; | ||||
|  | ||||
|   SkipBits(n); | ||||
| } | ||||
|   | ||||
							
								
								
									
										52
									
								
								femontools.h
									
									
									
									
									
								
							
							
						
						
									
										52
									
								
								femontools.h
									
									
									
									
									
								
							| @@ -3,7 +3,6 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id$ | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONTOOLS_H | ||||
| @@ -11,31 +10,43 @@ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <vdr/channels.h> | ||||
| #include <vdr/dvbdevice.h> | ||||
| #include <vdr/remux.h> | ||||
| #include <vdr/tools.h> | ||||
|  | ||||
| #ifdef DEBUG | ||||
| #define Dprintf(x...) printf(x); | ||||
| #define debug(x...) dsyslog("FEMON: " x); | ||||
| #define error(x...) esyslog("ERROR: " x); | ||||
| #else | ||||
| #define Dprintf(x...) ; | ||||
| #define debug(x...) ; | ||||
| #define error(x...) esyslog("ERROR: " x); | ||||
| #endif | ||||
|  | ||||
| #define ELEMENTS(x) (sizeof(x) / sizeof(x[0])) | ||||
|  | ||||
| #define FRONTEND_DEVICE "/dev/dvb/adapter%d/frontend%d" | ||||
|  | ||||
| cString getFrontendInfo(int cardIndex = 0); | ||||
| cString getFrontendName(int cardIndex = 0); | ||||
| cString getFrontendStatus(int cardIndex = 0); | ||||
| cDvbDevice *getDvbDevice(cDevice* device); | ||||
|  | ||||
| uint16_t getSNR(int cardIndex = 0); | ||||
| uint16_t getSignal(int cardIndex = 0); | ||||
| cString getFrontendInfo(cDvbDevice *device); | ||||
| cString getFrontendName(cDvbDevice *device); | ||||
| cString getFrontendStatus(cDvbDevice *device); | ||||
|  | ||||
| uint32_t getBER(int cardIndex = 0); | ||||
| uint32_t getUNC(int cardIndex = 0); | ||||
| uint16_t getSNR(cDvbDevice *device); | ||||
| uint16_t getSignal(cDvbDevice *device); | ||||
|  | ||||
| uint32_t getBER(cDvbDevice *device); | ||||
| uint32_t getUNC(cDvbDevice *device); | ||||
|  | ||||
| cString getApids(const cChannel *channel); | ||||
| cString getDpids(const cChannel *channel); | ||||
| cString getSpids(const cChannel *channel); | ||||
| cString getCAids(const cChannel *channel, bool identify = false); | ||||
| cString getCA(int value); | ||||
| cString getCAids(const cChannel *channel); | ||||
| cString getVideoStream(int value); | ||||
| cString getVideoCodec(int value); | ||||
| cString getAudioStream(int value, const cChannel *channel); | ||||
| cString getAudioCodec(int value); | ||||
| cString getAudioChannelMode(int value); | ||||
| cString getCoderate(int value); | ||||
| cString getTransmission(int value); | ||||
| cString getBandwidth(int value); | ||||
| @@ -43,8 +54,14 @@ cString getInversion(int value); | ||||
| cString getHierarchy(int value); | ||||
| cString getGuard(int value); | ||||
| cString getModulation(int value); | ||||
| cString getTerrestrialSystem(int value); | ||||
| cString getSatelliteSystem(int value); | ||||
| cString getRollOff(int value); | ||||
| cString getResolution(int width, int height, int scan); | ||||
| cString getAspectRatio(int value); | ||||
| cString getVideoFormat(int value); | ||||
| cString getFrameRate(double value); | ||||
| cString getAC3Stream(int value, const cChannel *channel); | ||||
| cString getAC3BitStreamMode(int value, int coding); | ||||
| cString getAC3AudioCodingMode(int value, int stream); | ||||
| cString getAC3CenterMixLevel(int value); | ||||
| @@ -54,7 +71,18 @@ cString getAC3DialogLevel(int value); | ||||
| cString getFrequencyMHz(int value); | ||||
| cString getAudioSamplingFreq(int value); | ||||
| cString getAudioBitrate(double value, double stream); | ||||
| cString getVideoBitrate(double value, double stream); | ||||
| cString getBitrateMbits(double value); | ||||
| cString getBitrateKbits(double value); | ||||
|  | ||||
| class cFemonBitStream : public cBitStream { | ||||
| public: | ||||
|   cFemonBitStream(const uint8_t *Data, const int Length) : cBitStream(Data, Length) {} | ||||
|   uint32_t       GetUeGolomb(); | ||||
|   int32_t        GetSeGolomb(); | ||||
|   void           SkipGolomb(); | ||||
|   void           SkipUeGolomb() { SkipGolomb(); } | ||||
|   void           SkipSeGolomb() { SkipGolomb(); } | ||||
|   }; | ||||
|  | ||||
| #endif // __FEMONTOOLS_H | ||||
|   | ||||
							
								
								
									
										93
									
								
								femonvideo.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								femonvideo.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,93 @@ | ||||
| /* | ||||
|  * Frontend Status Monitor plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __FEMONVIDEO_H | ||||
| #define __FEMONVIDEO_H | ||||
|  | ||||
| enum eVideoCodec { | ||||
|   VIDEO_CODEC_INVALID = -1, | ||||
|   VIDEO_CODEC_UNKNOWN, | ||||
|   VIDEO_CODEC_MPEG2, | ||||
|   VIDEO_CODEC_H264 | ||||
|   }; | ||||
|  | ||||
| enum eVideoFormat { | ||||
|   VIDEO_FORMAT_INVALID = -1, | ||||
|   VIDEO_FORMAT_UNKNOWN, | ||||
|   VIDEO_FORMAT_RESERVED, | ||||
|   VIDEO_FORMAT_COMPONENT, | ||||
|   VIDEO_FORMAT_PAL, | ||||
|   VIDEO_FORMAT_NTSC, | ||||
|   VIDEO_FORMAT_SECAM, | ||||
|   VIDEO_FORMAT_MAC | ||||
|   }; | ||||
|  | ||||
| enum eVideoScan { | ||||
|   VIDEO_SCAN_INVALID = -1, | ||||
|   VIDEO_SCAN_UNKNOWN, | ||||
|   VIDEO_SCAN_RESERVED, | ||||
|   VIDEO_SCAN_INTERLACED, | ||||
|   VIDEO_SCAN_PROGRESSIVE | ||||
|   }; | ||||
|  | ||||
| enum eVideoAspectRatio { | ||||
|   VIDEO_ASPECT_RATIO_INVALID = -1, | ||||
|   VIDEO_ASPECT_RATIO_RESERVED, | ||||
|   VIDEO_ASPECT_RATIO_EXTENDED, | ||||
|   VIDEO_ASPECT_RATIO_1_1, | ||||
|   VIDEO_ASPECT_RATIO_4_3, | ||||
|   VIDEO_ASPECT_RATIO_16_9, | ||||
|   VIDEO_ASPECT_RATIO_2_21_1, | ||||
|   VIDEO_ASPECT_RATIO_12_11, | ||||
|   VIDEO_ASPECT_RATIO_10_11, | ||||
|   VIDEO_ASPECT_RATIO_16_11, | ||||
|   VIDEO_ASPECT_RATIO_40_33, | ||||
|   VIDEO_ASPECT_RATIO_24_11, | ||||
|   VIDEO_ASPECT_RATIO_20_11, | ||||
|   VIDEO_ASPECT_RATIO_32_11, | ||||
|   VIDEO_ASPECT_RATIO_80_33, | ||||
|   VIDEO_ASPECT_RATIO_18_11, | ||||
|   VIDEO_ASPECT_RATIO_15_11, | ||||
|   VIDEO_ASPECT_RATIO_64_33, | ||||
|   VIDEO_ASPECT_RATIO_160_99, | ||||
|   VIDEO_ASPECT_RATIO_3_2, | ||||
|   VIDEO_ASPECT_RATIO_2_1 | ||||
|   }; | ||||
|  | ||||
| typedef struct video_info { | ||||
|   eVideoCodec       codec;       // enum | ||||
|   eVideoFormat      format;      // enum | ||||
|   eVideoScan        scan;        // enum | ||||
|   eVideoAspectRatio aspectRatio; // enum | ||||
|   int               width;       // pixels | ||||
|   int               height;      // pixels | ||||
|   double            frameRate;   // Hz | ||||
|   double            bitrate;     // bit/s | ||||
| } video_info_t; | ||||
|  | ||||
| class cFemonVideoIf { | ||||
| public: | ||||
|   cFemonVideoIf() {} | ||||
|   virtual ~cFemonVideoIf() {} | ||||
|  | ||||
|   // eVideoCodec | ||||
|   virtual void SetVideoCodec(eVideoCodec codec) = 0; | ||||
|   // eVideoFormat | ||||
|   virtual void SetVideoFormat(eVideoFormat format) = 0; | ||||
|   // eVideoScan | ||||
|   virtual void SetVideoScan(eVideoScan scan) = 0; | ||||
|   // eVideoAspectRatio | ||||
|   virtual void SetVideoAspectRatio(eVideoAspectRatio aspectratio) = 0; | ||||
|   // pixels | ||||
|   virtual void SetVideoSize(int width, int height) = 0; | ||||
|   // Hz | ||||
|   virtual void SetVideoFramerate(double framerate) = 0; | ||||
|   // Mbit/s | ||||
|   virtual void SetVideoBitrate(double bitrate) = 0; | ||||
|   }; | ||||
|  | ||||
| #endif //__FEMONVIDEO_H | ||||
							
								
								
									
										22
									
								
								iptvservice.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								iptvservice.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| /* | ||||
|  * iptvservice.h: IPTV plugin for the Video Disk Recorder | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #ifndef __IPTVSERVICE_H | ||||
| #define __IPTVSERVICE_H | ||||
|  | ||||
| #include <vdr/tools.h> | ||||
|  | ||||
| #define stIptv ('I' << 24) | ||||
|  | ||||
| struct IptvService_v1_0 { | ||||
|   unsigned int cardIndex; | ||||
|   cString protocol; | ||||
|   cString bitrate; | ||||
|   }; | ||||
|  | ||||
| #endif //__IPTVSERVICE_H | ||||
|  | ||||
							
								
								
									
										155
									
								
								po/de_DE.po
									
									
									
									
									
								
							
							
						
						
									
										155
									
								
								po/de_DE.po
									
									
									
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Peter Marquardt | ||||
| # Andreas Brachold | ||||
| @@ -7,12 +7,13 @@ | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 01:23+0200\n" | ||||
| "PO-Revision-Date: 2007-08-12 23:22+0300\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Christian Wieninger\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Language-Team: German <vdr@linuxtv.org>\n" | ||||
| "Language: de\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-15\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| @@ -23,8 +24,8 @@ msgstr "DVB Signal Informationsanzeige (OSD)" | ||||
| msgid "Signal Information" | ||||
| msgstr "Signalinformationen" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgstr "Femon w<EFBFBD>hrend Wiedergabe nicht verf<72>gbar" | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon nicht verf<72>gbar" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "Standard" | ||||
| @@ -44,6 +45,9 @@ msgstr "Klassischer" | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -62,10 +66,13 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Hauptmen<65>eintrag verstecken" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Default display mode" | ||||
| @@ -86,19 +93,10 @@ msgstr "Position" | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "Horizontaler Offset" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "CA System anzeigen" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| @@ -179,26 +177,23 @@ msgstr "Tid" | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "Satellitenkarte" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "Kabelkarte" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "Terrestrische Karte" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitrate" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Streaminformation" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Video Stream" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitrate" | ||||
| msgid "Codec" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Seitenverh<72>ltnis" | ||||
| @@ -206,9 +201,6 @@ msgstr "Seitenverh | ||||
| msgid "Frame Rate" | ||||
| msgstr "Bildrate" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Bildformat" | ||||
|  | ||||
| @@ -218,8 +210,8 @@ msgstr "Aufl | ||||
| msgid "Audio Stream" | ||||
| msgstr "Audio Stream" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgstr "MPEG Layer" | ||||
| msgid "Channel Mode" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Abtastrate" | ||||
| @@ -227,12 +219,6 @@ msgstr "Abtastrate" | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3 Stream" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "kHz" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "Frame Gr<47><72>e" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Bitstream Modus" | ||||
|  | ||||
| @@ -251,12 +237,6 @@ msgstr "Dolby Surround Modus" | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Tieft<66>ner Effekte" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "Ein" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "Aus" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Dialog Normalisierung" | ||||
|  | ||||
| @@ -266,57 +246,81 @@ msgstr "Fest" | ||||
| msgid "Analog" | ||||
| msgstr "Analog" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgstr "SECA/Mediaguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgstr "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgstr "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgstr "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgstr "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgstr "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgstr "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgstr "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgstr "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgstr "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "Nichts" | ||||
| msgid "stereo" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "Auto" | ||||
| msgid "joint Stereo" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
| msgid "dual" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "belegt" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "unbekannt" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Complete Main (CM)" | ||||
|  | ||||
| @@ -374,6 +378,9 @@ msgstr "dB" | ||||
| msgid "not indicated" | ||||
| msgstr "nicht angegeben" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "frei" | ||||
|  | ||||
|   | ||||
							
								
								
									
										153
									
								
								po/es_ES.po
									
									
									
									
									
								
							
							
						
						
									
										153
									
								
								po/es_ES.po
									
									
									
									
									
								
							| @@ -1,16 +1,17 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Luis Palacios | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 01:23+0200\n" | ||||
| "PO-Revision-Date: 2007-08-12 23:22+0300\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Luis Palacios\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Language-Team: Spanish <vdr@linuxtv.org>\n" | ||||
| "Language: es\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-15\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| @@ -21,7 +22,7 @@ msgstr "Monitorizaci | ||||
| msgid "Signal Information" | ||||
| msgstr "Monitorizaci<63>n de la se<73>al DVB" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgid "Femon not available" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "basic" | ||||
| @@ -42,6 +43,9 @@ msgstr "Cl | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -60,10 +64,13 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Ocultar en el men<65> principal" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Default display mode" | ||||
| @@ -84,19 +91,10 @@ msgstr "Posici | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "Desplazamiento horizontal" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "Mostrar sistema CA" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| @@ -177,26 +175,23 @@ msgstr "Tid" | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "Tarjeta Sat<61>lite" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "Tarjeta Cable" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "Tarjeta TDT" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Tasa de bits" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Informaci<63>n del flujo" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Flujo de video" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Tasa de bits" | ||||
| msgid "Codec" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Proporciones de la imagen" | ||||
| @@ -204,9 +199,6 @@ msgstr "Proporciones de la imagen" | ||||
| msgid "Frame Rate" | ||||
| msgstr "Tasa de frames" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Formato de video" | ||||
|  | ||||
| @@ -216,8 +208,8 @@ msgstr "Resoluci | ||||
| msgid "Audio Stream" | ||||
| msgstr "Flujo de audio" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgstr "Nivel MPEG" | ||||
| msgid "Channel Mode" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Frecuencia de muestreo" | ||||
| @@ -225,12 +217,6 @@ msgstr "Frecuencia de muestreo" | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "Flujo AC-3" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "kHz" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "Tama<6D>o de frame" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Modo bitstream" | ||||
|  | ||||
| @@ -249,12 +235,6 @@ msgstr "Nivel sonoro Dolby Surround" | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Efectos de baja frecuencia" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "on" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "off" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Normalizaci<63>n del di<64>logo" | ||||
|  | ||||
| @@ -264,57 +244,81 @@ msgstr "Fijo" | ||||
| msgid "Analog" | ||||
| msgstr "Anal<61>gico" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgstr "SECA/Mediguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgstr "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgstr "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgstr "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgstr "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgstr "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgstr "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgstr "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgstr "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgstr "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "ninguno" | ||||
| msgid "stereo" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "auto" | ||||
| msgid "joint Stereo" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
| msgid "dual" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "o" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "reservado" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "desconocido" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Principal (CM)" | ||||
|  | ||||
| @@ -372,6 +376,9 @@ msgstr "dB" | ||||
| msgid "not indicated" | ||||
| msgstr "no indicado" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "libre" | ||||
|  | ||||
|   | ||||
							
								
								
									
										213
									
								
								po/et_EE.po
									
									
									
									
									
								
							
							
						
						
									
										213
									
								
								po/et_EE.po
									
									
									
									
									
								
							| @@ -1,16 +1,17 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Arthur Konovalov | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 01:23+0200\n" | ||||
| "PO-Revision-Date: 2007-08-12 23:22+0300\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Arthur Konovalov\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Language-Team: Estonian <vdr@linuxtv.org>\n" | ||||
| "Language: et\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-13\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| @@ -21,8 +22,8 @@ msgstr "DVB Signaalmonitor (OSD)" | ||||
| msgid "Signal Information" | ||||
| msgstr "Signaaliinfo" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgstr "" | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon ei ole k<>ttesaadav" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "standard" | ||||
| @@ -37,11 +38,14 @@ msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "Klassikaline" | ||||
| msgstr "Classic" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -60,95 +64,89 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Peida valik peamen<65><6E>s" | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgstr "" | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Peita valik peamen<65><6E>s" | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Valiku peamen<65><6E>s peitmise m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Vaikimisi displei moodus" | ||||
| msgstr "Vaikemoodus" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "" | ||||
| msgstr "K<EFBFBD>ivitamisel vaikemooduse m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "" | ||||
| msgstr "Kasutatava ekraanikesta m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "" | ||||
| msgstr "Kasutatava teema m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Positsioon" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "" | ||||
| msgstr "Ekraaniinfo positsiooni m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgstr "" | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Ekraanimen<EFBFBD><EFBFBD> v<>hendamine [%]" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "Horisontaalne nihe" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "N<>ita CA s<>steemi" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgstr "" | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Ekraanimen<EFBFBD><EFBFBD> suuruse v<>hendamise m<><6D>ritlemine" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Punase limiit [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "" | ||||
| msgstr "Seaded punasele limiidile. Iseloomustab kehva signaali." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Rohelise limiit [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "" | ||||
| msgstr "Seaded rohelisele limiidile. Iseloomustab head signaali." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "Uuendusintervall [0,1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "" | ||||
| msgstr "Ekraaniinfo uuendamise intervalli m<><6D>ritlemine. V<>iksem intervall- suurem CPU koormus." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Voo anal<61><6C>s" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "" | ||||
| msgstr "DVB voo bitikiiruse rehkendamise m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Kalkulatsiooni intervall [0,1s]" | ||||
| msgstr "Arvutamise intervall [0,1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "" | ||||
| msgstr "Arvutamise intervalli m<><6D>ritlemine. Suurem intervall annab stabiilsemaid tulemusi." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "" | ||||
| msgstr "SVDRP teenus" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "" | ||||
| msgstr "SVDRP teenuse klient/server seadete m<><6D>ritlemine." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "" | ||||
| msgstr "SVDRP port" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "" | ||||
| msgstr "SVDRP teenuse pordi m<><6D>ritlemine." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "" | ||||
| msgstr "SVDRP IP" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "" | ||||
| msgstr "SVDRP teenuse IP aadressi m<><6D>ritlemine." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "" | ||||
| msgstr "Abi" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "Video" | ||||
| @@ -177,26 +175,23 @@ msgstr "Tid" | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "Satelliidikaart" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "Kaablikaart" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "Terrestiaalkaart" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitikiirus" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Voo info" | ||||
| msgstr "Vooinfo" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Videovoog" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitikiirus" | ||||
| msgid "Codec" | ||||
| msgstr "Koodek" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "K<>lgsuhe" | ||||
| @@ -204,9 +199,6 @@ msgstr "K | ||||
| msgid "Frame Rate" | ||||
| msgstr "Kaadrisagedus" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Videoformaat" | ||||
|  | ||||
| @@ -216,8 +208,8 @@ msgstr "Resolutsioon" | ||||
| msgid "Audio Stream" | ||||
| msgstr "Audiovoog" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgstr "MPEG tase" | ||||
| msgid "Channel Mode" | ||||
| msgstr "Kanalimoodus" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "S<>mplimissagedus" | ||||
| @@ -225,12 +217,6 @@ msgstr "S | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3 voog" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "kHz" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "Kaadri suurus" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Bitivoo t<><74>p" | ||||
|  | ||||
| @@ -249,12 +235,6 @@ msgstr "Dolby Surround'i t | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "LFE kanal" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "Sees" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "V<>ljas" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Dialoogi normalisatsioon" | ||||
|  | ||||
| @@ -262,59 +242,83 @@ msgid "Fixed" | ||||
| msgstr "Fikseeritud" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "" | ||||
| msgstr "Analoog" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgstr "SECA/Mediaguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgstr "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgstr "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layet I" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgstr "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgstr "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgstr "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgstr "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgstr "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgstr "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgstr "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "ei" | ||||
| msgid "stereo" | ||||
| msgstr "stereo" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "auto" | ||||
| msgid "joint Stereo" | ||||
| msgstr "joint stereo" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
| msgid "dual" | ||||
| msgstr "duaalne" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mono" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "<22>lerealaotus" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "progressiivne" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "reserveeritud" | ||||
| msgstr "reserv." | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "laiendatud" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "tundmatu" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "komponentne" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "T<>iskomplekt (CM)" | ||||
|  | ||||
| @@ -343,10 +347,10 @@ msgid "Karaoke" | ||||
| msgstr "Karaoke" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "Kan. 1" | ||||
| msgstr "Kan.1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "Kan. 2" | ||||
| msgstr "Kan.2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "C" | ||||
| @@ -372,6 +376,9 @@ msgstr "dB" | ||||
| msgid "not indicated" | ||||
| msgstr "m<>rkimata" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "vaba" | ||||
|  | ||||
|   | ||||
							
								
								
									
										235
									
								
								po/fi_FI.po
									
									
									
									
									
								
							
							
						
						
									
										235
									
								
								po/fi_FI.po
									
									
									
									
									
								
							| @@ -1,18 +1,19 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Rolf Ahrenberg | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 00:50+0200\n" | ||||
| "PO-Revision-Date: 2007-08-12 23:22+0300\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Rolf Ahrenberg\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Language-Team: Finnish <vdr@linuxtv.org>\n" | ||||
| "Language: fi\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-15\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| @@ -21,8 +22,8 @@ msgstr "Signaalimittari (OSD)" | ||||
| msgid "Signal Information" | ||||
| msgstr "Signaalimittari" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgstr "Signaalimittari ei ole k<EFBFBD>ytett<EFBFBD>viss<EFBFBD> toiston aikana" | ||||
| msgid "Femon not available" | ||||
| msgstr "Signaalimittari ei ole käytettävissä" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "perus" | ||||
| @@ -31,7 +32,7 @@ msgid "transponder" | ||||
| msgstr "transponderi" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "l<EFBFBD>hete" | ||||
| msgstr "lähete" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
| @@ -42,6 +43,9 @@ msgstr "Klassinen" | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -60,92 +64,86 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Piilota valinta p<><70>valikosta" | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele, n<>ytet<65><74>nk<6E> laajennoksen valinta p<EFBFBD><EFBFBD>valikossa." | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Piilota valinta päävalikosta" | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Määrittele, näytetäänkö laajennoksen valinta päävalikossa." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Oletusn<EFBFBD>ytt<EFBFBD>tila" | ||||
| msgstr "Oletusnäyttötila" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele k<EFBFBD>ytett<EFBFBD>v<EFBFBD> n<EFBFBD>ytt<EFBFBD>tila k<EFBFBD>ynnistett<EFBFBD>ess<EFBFBD>." | ||||
| msgstr "Määrittele käytettävä näyttötila käynnistettäessä." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele k<EFBFBD>ytett<EFBFBD>v<EFBFBD> ulkoasu n<EFBFBD>yt<EFBFBD>lle." | ||||
| msgstr "Määrittele käytettävä ulkoasu näytölle." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele k<EFBFBD>ytett<EFBFBD>v<EFBFBD> v<EFBFBD>riteema n<EFBFBD>yt<EFBFBD>lle." | ||||
| msgstr "Määrittele käytettävä väriteema näytölle." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Sijainti" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele n<EFBFBD>yt<EFBFBD>n sijainti." | ||||
| msgstr "Määrittele näytön sijainti." | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele n<EFBFBD>yt<EFBFBD>n korkeus." | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Pienennä näytön kokoa [%]" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "Vaakakeskitys" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "M<><4D>rittele n<>yt<79>n vaakakeskitys." | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "N<>yt<79> salausj<73>rjestelm<6C>" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgstr "M<><4D>rittele, n<>ytet<65><74>n salausj<73>rjestelm<6C> tekstin<69>." | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Määrittele näytön pienennyssuhde." | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Punaisen taso [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele taso punaiselle palkille, jota k<EFBFBD>ytet<EFBFBD><EFBFBD>n huonon signaalin ilmaisimena." | ||||
| msgstr "Määrittele taso punaiselle palkille, jota käytetään huonon signaalin ilmaisimena." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Vihre<EFBFBD>n taso [%]" | ||||
| msgstr "Vihreän taso [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele taso vihre<EFBFBD>lle palkille, jota k<EFBFBD>ytet<EFBFBD><EFBFBD>n hyv<EFBFBD>n signaalin ilmaisimena." | ||||
| msgstr "Määrittele taso vihreälle palkille, jota käytetään hyvän signaalin ilmaisimena." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "N<EFBFBD>yt<EFBFBD>n p<EFBFBD>ivitysv<EFBFBD>li [0.1s]" | ||||
| msgstr "Näytön päivitysväli [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele n<EFBFBD>yt<EFBFBD>nvirkistystaajuus. Mit<EFBFBD> pienempi arvo, sit<EFBFBD> suurempi CPU-kuorma." | ||||
| msgstr "Määrittele näytönvirkistystaajuus. Mitä pienempi arvo, sitä suurempi CPU-kuorma." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "L<EFBFBD>hetteen analysointi" | ||||
| msgstr "Lähetteen analysointi" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele, analysoidaanko DVB-l<EFBFBD>hetett<EFBFBD> ja lasketaanko bittinopeuksia." | ||||
| msgstr "Määrittele, analysoidaanko DVB-lähetettä ja lasketaanko bittinopeuksia." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Laskennan p<EFBFBD>ivitysv<EFBFBD>li [0.1s]" | ||||
| msgstr "Laskennan päivitysväli [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele laskentaikkunan koko. Mit<EFBFBD> suurempi laskentaikkuna, sit<EFBFBD> todenmukaisemmat lopputulokset." | ||||
| msgstr "Määrittele laskentaikkunan koko. Mitä suurempi laskentaikkuna, sitä todenmukaisemmat lopputulokset." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "K<EFBFBD>yt<EFBFBD> SVDRP-palvelua" | ||||
| msgstr "Käytä SVDRP-palvelua" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele k<EFBFBD>ytet<EFBFBD><EFBFBD>nk<EFBFBD> SVDRP-palvelua asiakas/palvelin-kokoonpanoissa." | ||||
| msgstr "Määrittele käytetäänkö SVDRP-palvelua asiakas/palvelin-kokoonpanoissa." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "SVDRP-palvelun portti" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele SVDRP-palvelun k<EFBFBD>ytt<EFBFBD>m<EFBFBD> portti." | ||||
| msgstr "Määrittele SVDRP-palvelun käyttämä portti." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "SVDRP-palvelun IP-osoite" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "M<EFBFBD><EFBFBD>rittele SVDRP-palvelun k<EFBFBD>ytt<EFBFBD>m<EFBFBD> IP-osoite." | ||||
| msgstr "Määrittele SVDRP-palvelun käyttämä IP-osoite." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Opaste" | ||||
| @@ -154,13 +152,13 @@ msgid "Video" | ||||
| msgstr "Kuva" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "<EFBFBD><EFBFBD>ni" | ||||
| msgstr "Ääni" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "Transponderin tiedot" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "<EFBFBD><EFBFBD>ni-PID" | ||||
| msgstr "Ääni-PID" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dolby-PID" | ||||
| @@ -172,40 +170,34 @@ msgid "Nid" | ||||
| msgstr "Verkko-ID" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "L<EFBFBD>hete-ID" | ||||
| msgstr "TS-ID" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Radio-ID" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "Satelliittikortti" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "Kaapelikortti" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "Terrestriaalikortti" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Suojaustaso" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "Protokolla" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bittinopeus" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "L<EFBFBD>hetteen tiedot" | ||||
| msgstr "Lähetteen tiedot" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Kuvaraita" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bittinopeus" | ||||
| msgid "Codec" | ||||
| msgstr "Koodekki" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Kuvasuhde" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "Ruudunp<EFBFBD>ivitystaajuus" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
| msgstr "Ruudunpäivitystaajuus" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Kuvaformaatti" | ||||
| @@ -214,28 +206,22 @@ msgid "Resolution" | ||||
| msgstr "Resoluutio" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "<EFBFBD><EFBFBD>niraita" | ||||
| msgstr "Ääniraita" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgstr "MPEG-taso" | ||||
| msgid "Channel Mode" | ||||
| msgstr "Kanavatila" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "N<EFBFBD>ytteenottotaajuus" | ||||
| msgstr "Näytteenottotaajuus" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3-<EFBFBD><EFBFBD>niraita" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "kHz" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "Kehyksen koko" | ||||
| msgstr "AC-3-ääniraita" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "L<EFBFBD>hetteen tyyppi" | ||||
| msgstr "Lähetteen tyyppi" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "<EFBFBD><EFBFBD>nikoodaus" | ||||
| msgstr "Äänikoodaus" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "Keskikanavan taso" | ||||
| @@ -249,80 +235,98 @@ msgstr "Dolby Surround -tehoste" | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "LFE-kanava" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "p<><70>ll<6C>" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "poissa" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Dialogin normalisointi" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "kiinte<EFBFBD>" | ||||
| msgstr "kiinteä" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "analoginen" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgstr "SECA/Mediaguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgstr "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgstr "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 kerros I" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgstr "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 kerros II" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgstr "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 kerros III" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgstr "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 kerros I" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgstr "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 kerros II" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgstr "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 kerros III" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgstr "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgstr "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "ei" | ||||
| msgid "stereo" | ||||
| msgstr "stereo" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "auto" | ||||
| msgid "joint Stereo" | ||||
| msgstr "joint-stereo" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
| msgid "dual" | ||||
| msgstr "kaksikanavainen" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mono" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "lomiteltu" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "lomittelematon" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "varattu" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "laajennettu" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "tuntematon" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "komponentti" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "P<EFBFBD><EFBFBD>asiallinen (CM)" | ||||
| msgstr "Pääasiallinen (CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "Musiikki ja tehosteet (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "N<EFBFBD>k<EFBFBD>rajoitteinen (VI)" | ||||
| msgstr "Näkörajoitteinen (VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "Kuulorajoitteinen (HI)" | ||||
| @@ -334,10 +338,10 @@ msgid "Commentary (C)" | ||||
| msgstr "Kommentointi (C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "H<EFBFBD>t<EFBFBD>tiedote (E)" | ||||
| msgstr "Hätätiedote (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "P<EFBFBD><EFBFBD>lle puhuttu (VO)" | ||||
| msgstr "Päälle puhuttu (VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "Karaoke" | ||||
| @@ -372,6 +376,9 @@ msgstr "dB" | ||||
| msgid "not indicated" | ||||
| msgstr "ei ilmaistu" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "vapaa" | ||||
|  | ||||
|   | ||||
							
								
								
									
										231
									
								
								po/fr_FR.po
									
									
									
									
									
								
							
							
						
						
									
										231
									
								
								po/fr_FR.po
									
									
									
									
									
								
							| @@ -1,28 +1,31 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Nicolas Huillard | ||||
| # Michaël Nival <mnival@club-internet.fr>, 2010 | ||||
| # Bernard Jaulin <bernard.jaulin@gmail.com>, 2013 | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 01:23+0200\n" | ||||
| "PO-Revision-Date: 2007-08-12 23:22+0300\n" | ||||
| "Last-Translator: Nicolas Huillard\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Bernard Jaulin <bernard.jaulin@gmail.com>\n" | ||||
| "Language-Team: French <vdr@linuxtv.org>\n" | ||||
| "Language: fr\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-1\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "Affiche les informations du signal DVB" | ||||
| msgstr "Moniteur sur le signal DVB" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "Signal DVB" | ||||
| msgstr "Infos sur le signal DVB" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgstr "" | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon n'est pas disponible" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "basique" | ||||
| @@ -42,6 +45,9 @@ msgstr "Classique" | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -60,104 +66,98 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Masquer dans le menu principal" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgstr "" | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Définit si l'entrée doit être masquée dans le menu principal." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Affichage par d<EFBFBD>faut" | ||||
| msgstr "Affichage par défaut" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "" | ||||
| msgstr "Définit l'affichage par défaut au démarrage." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "" | ||||
| msgstr "Définit le skin OSD à utiliser." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "" | ||||
| msgstr "Définit le thème OSD à utiliser." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Position" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "" | ||||
| msgstr "Définit la position de l'OSD." | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgstr "" | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Réduit la taille de l'OSD (%)" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "D<EFBFBD>placement horizontal" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "Syst<73>me CA" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgstr "" | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Définit le ration de réduction de l'OSD." | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Limite du rouge (%)" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "" | ||||
| msgstr "Définit la limite de la barre rouge, qui est utilisé pour indiquer un mauvais signal." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Limite du vert (%)" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "" | ||||
| msgstr "Définit la limite de la barre rouge, qui est utilisé pour indiquer un bon signal." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "Intervalle de mise <EFBFBD> jour (0,1s)" | ||||
| msgstr "Intervalle de mise à jour (0,1s)" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "" | ||||
| msgstr "Définit l'intervalle de mise à jour de l'OSD. Un petit intervalle génère une charge CPU plus importante." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Analyser le flux" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "" | ||||
| msgstr "Définit si le flux DVB est analysé et le taux d'échantillonnage fixe calculé." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Intervalle de calcul (0,1s)" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "" | ||||
| msgstr "Définit l'intervalle de cacul. Un plus grand intervalle génère une valeur plus stable." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "" | ||||
| msgstr "Utiliser le service SVDRP" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "" | ||||
| msgstr "Définit si le service SVDRP est utilisé dans la configuration client/serveur." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "" | ||||
| msgstr "Port du service SVDRP" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "" | ||||
| msgstr "Définit le port d'écoute du service SVDRP." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "" | ||||
| msgstr "IP du service SVDRP" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "" | ||||
| msgstr "Définit l'adresse IP du service SVDRP." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Aide" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "Vid<EFBFBD>o" | ||||
| msgstr "Vidéo" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "Audio" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "Information transpondeur" | ||||
| msgstr "Information du transpondeur" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
| @@ -177,60 +177,48 @@ msgstr "Tid" | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "Carte Satellite" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "Carte C<>ble" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "Carte TNT" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Information flux" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Flux vid<69>o" | ||||
| msgid "Protocol" | ||||
| msgstr "Protocole" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitrate" | ||||
| msgstr "Taux d'échantillonnage fixe" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Information sur le flux" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Flux vidéo" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "Codec" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Proportions d'image" | ||||
| msgstr "Format de l'image" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "Rafra<EFBFBD>chissement" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
| msgstr "Rafraîchissement" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Standard vid<EFBFBD>o" | ||||
| msgstr "Standard vidéo" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "R<EFBFBD>solution" | ||||
| msgstr "Résolution" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "Flux audio" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgstr "MPEG Layer" | ||||
| msgid "Channel Mode" | ||||
| msgstr "Mode chaîne" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Fr<EFBFBD>quence d'<EFBFBD>chantillonage" | ||||
| msgstr "Fréquence d'échantillonage" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "Flux AC-3" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "kHz" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "Taille de paquet" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Mode bitstream" | ||||
|  | ||||
| @@ -249,12 +237,6 @@ msgstr "Mode Dolby Surround" | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Effets de basses" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "Oui" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "Non" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Normalisation des dialogues" | ||||
|  | ||||
| @@ -264,57 +246,81 @@ msgstr "Fixe" | ||||
| msgid "Analog" | ||||
| msgstr "Analogique" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgstr "SECA/Mediaguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgstr "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgstr "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgstr "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgstr "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgstr "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgstr "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgstr "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgstr "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgstr "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "Aucun" | ||||
| msgid "stereo" | ||||
| msgstr "stéréo" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "Auto" | ||||
| msgid "joint Stereo" | ||||
| msgstr "joint Stereo" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
| msgid "dual" | ||||
| msgstr "double" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mono" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "entrelacé" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "progressif" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "r<EFBFBD>serv<EFBFBD>" | ||||
| msgstr "réservé" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "étendu" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "inconnu" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "composant" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Principal (CM)" | ||||
|  | ||||
| @@ -370,7 +376,10 @@ msgid "dB" | ||||
| msgstr "dB" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "non indiqu<EFBFBD>" | ||||
| msgstr "non indiqué" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "libre" | ||||
|   | ||||
							
								
								
									
										392
									
								
								po/hu_HU.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										392
									
								
								po/hu_HU.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,392 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # F<>ley Istv<74>n <ifuley at tigercomp dot ro>, 2011 | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2010-10-10 10:10+0200\n" | ||||
| "Last-Translator: F<>ley Istv<74>n <ifuley at tigercomp dot ro>\n" | ||||
| "Language-Team: Hungarian <ifuley at tigercomp dot ro>\n" | ||||
| "Language: hu\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=iso-8859-2\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| "X-Poedit-Language: Hungarian\n" | ||||
| "X-Poedit-Country: HUNGARY\n" | ||||
| "X-Poedit-SourceCharset: iso-8859-2\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "DVB jelszint monitor (OSD)" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "Jel inform<72>ci<63>" | ||||
|  | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon nem el<65>rhet<65>" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "alap" | ||||
|  | ||||
| msgid "transponder" | ||||
| msgstr "transponder" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "adatfolyam (stream)" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "Klasszikus" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "S<>t<EFBFBD>tk<74>k" | ||||
|  | ||||
| msgid "Moronimo" | ||||
| msgstr "Moronimo" | ||||
|  | ||||
| msgid "Enigma" | ||||
| msgstr "Enigma" | ||||
|  | ||||
| msgid "EgalsTry" | ||||
| msgstr "EgalsTry" | ||||
|  | ||||
| msgid "Duotone" | ||||
| msgstr "K<>tsz<73>n<EFBFBD> (duotone)" | ||||
|  | ||||
| msgid "SilverGreen" | ||||
| msgstr "Ez<45>st-z<>ld" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Men<65>bejegyz<79>s elrejt<6A>se" | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Meghat<61>rozza, hogy megjelenjen-e a f<>men<65>ben." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Alap<61>rtelmezett megjelen<65>t<EFBFBD>si m<>d" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "Bekapcsol<6F>skor melyik megjelen<65>t<EFBFBD>si m<>ddal induljon." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "Az OSD b<>r kiv<69>laszt<7A>sa." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "Az OSD t<>ma kiv<69>laszt<7A>sa." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Elhelyez<65>s" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "A k<>perny<6E>elhelyez<65>s kiv<69>laszt<7A>sa" | ||||
|  | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Az OSD lem<65>retez<65>se [%]" | ||||
|  | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Az OSD m<>ret<65>nek lem<65>retez<65>se sz<73>zal<61>kban." | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Piros sz<73>nt hat<61>ra [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "A piros s<>v hat<61>r<EFBFBD>nak be<62>ll<6C>t<EFBFBD>sa, ezt haszn<7A>ljuk a nem el<65>gs<67>ges jelszint kijelz<6C>s<EFBFBD>hez." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Z<>ld sz<73>nt hat<61>ra [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "A z<>ld s<>v hat<61>r<EFBFBD>nak be<62>ll<6C>t<EFBFBD>sa, ezt haszn<7A>ljuk az el<65>gs<67>ges jelszint kijelz<6C>s<EFBFBD>hez." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "OSD friss<73>t<EFBFBD>s<EFBFBD>nek gyakoris<69>ga [0.1mp]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "Meghat<61>rozza, hogy milyen gyakran legyen friss<73>tve az OSD. Kisebb intervallum nagyobb CPU terhel<65>st eredm<64>nyez." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Adatfolyam (stream) elemz<6D>se." | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "Meghat<61>rozza, hogy a DVB adatfolyam elemz<6D>sre ker<65>lj<6C>n-e, <20>s sz<73>mol<6F>djon-e bitr<74>ta." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Sz<53>m<EFBFBD>t<EFBFBD>s gyakoris<69>ga [0.1mp]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "Meghat<61>rozza, hogy milyen gyakran t<>rt<72>njen sz<73>m<EFBFBD>t<EFBFBD>s. Nagyobb intervallum pontosabb <20>rt<72>keket eredm<64>nyez." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "SVDRP szolg<6C>ltat<61>s haszn<7A>lata." | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "Ki-bekapcsolja az SVDRP szolg<6C>ltat<61>st, amely kliens-szerver k<>rnyezetben haszn<7A>latos." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "Az SVDRP szolg<6C>ltat<61>s portja" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "Meghat<61>rozza, hogy melyik porton fut az SVDRP." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "Az SVDRP szolg<6C>ltat<61>s IP-je" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "Meghat<61>rozza, hogy milyen IP c<>men fut az SVDRP szolg<6C>ltat<61>s." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Seg<65>ts<74>g" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "Video" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "Audio" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "Transponder inf<6E>" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
|  | ||||
| msgid "Nid" | ||||
| msgstr "Nid" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "Tid" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitr<74>ta" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Adatfolyam inf<6E>" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Vide<64> adatfolyam" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "Kodek" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "M<>retar<61>ny" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "K<>pfriss<73>t<EFBFBD>s" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Vide<64> form<72>tum" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "Felbont<6E>s" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "Hang adatfolyam" | ||||
|  | ||||
| msgid "Channel Mode" | ||||
| msgstr "Hangs<67>v m<>d" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Mintav<61>telez<65>si frekvencia" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3 adatfolyam" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Bit Stream m<>d" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "Hang k<>dol<6F>si m<>d" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "K<>z<EFBFBD>pcsatorna kever<65>si jelszintje" | ||||
|  | ||||
| msgid "Surround Mix Level" | ||||
| msgstr "T<>rhat<61>s csatorna kever<65>si szintje" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "Dolby Surround m<>d" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "LFE - alacsony frekvenci<63>s effektek" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "P<>rbesz<73>d jelszint normaliz<69>l<EFBFBD>sa" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "<22>lland<6E>" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "analog" | ||||
|  | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "stereo" | ||||
| msgstr "sztere<72>" | ||||
|  | ||||
| msgid "joint Stereo" | ||||
| msgstr "joint sztere<72>" | ||||
|  | ||||
| msgid "dual" | ||||
| msgstr "du<64>l" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mon<6F>" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "v<>ltotts<74>vos" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "progressz<73>v" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "fenntartott" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "kiterjesztett" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "ismeretlen" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "komponens" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Mestercsatorna (CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "Zene <20>s effektek (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "L<>t<EFBFBD>sk<73>rosultak (VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "Hall<6C>sk<73>rosultak (HI)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "P<>rbesz<73>d (D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "Narr<72>ci<63> (C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "S<>rg<72>ss<73>gi (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "R<>besz<73>l<EFBFBD>s (VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "Karaoke" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "Ch1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "Ch2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "K" | ||||
|  | ||||
| msgid "L" | ||||
| msgstr "B" | ||||
|  | ||||
| msgid "R" | ||||
| msgstr "J" | ||||
|  | ||||
| msgid "S" | ||||
| msgstr "S" | ||||
|  | ||||
| msgid "SL" | ||||
| msgstr "BS" | ||||
|  | ||||
| msgid "SR" | ||||
| msgstr "JS" | ||||
|  | ||||
| msgid "dB" | ||||
| msgstr "dB" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "nincs felt<6C>ntetve" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "szabad" | ||||
|  | ||||
| msgid "Mbit/s" | ||||
| msgstr "Mbit/s" | ||||
|  | ||||
| msgid "kbit/s" | ||||
| msgstr "kbit/s" | ||||
							
								
								
									
										234
									
								
								po/it_IT.po
									
									
									
									
									
								
							
							
						
						
									
										234
									
								
								po/it_IT.po
									
									
									
									
									
								
							| @@ -1,29 +1,33 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the VDR package. | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Sean Carlos | ||||
| # Gringo <vdr-italian@tiscali.it> | ||||
| # Diego Pierotto <vdr-italian@tiscali.it> | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 01:23+0200\n" | ||||
| "PO-Revision-Date: 2007-12-26 19:38+0100\n" | ||||
| "Last-Translator: Gringo <vdr-italian@tiscali.it>\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n" | ||||
| "Language-Team: Italian <vdr@linuxtv.org>\n" | ||||
| "Language: it\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-15\n" | ||||
| "Content-Type: text/plain; charset=utf-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| "X-Poedit-Language: Italian\n" | ||||
| "X-Poedit-Country: ITALY\n" | ||||
| "X-Poedit-SourceCharset: utf-8\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "Visualizza informazioni segnale DVB" | ||||
| msgstr "Mostra info segnale DVB (OSD)" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "Informazioni segnale" | ||||
| msgstr "Info segnale" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgstr "Femon non disponibile durante la riproduzione" | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon non disponibile" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "base" | ||||
| @@ -43,6 +47,9 @@ msgstr "Classico" | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -61,92 +68,86 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Nascondi voce menu principale" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgstr "" | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Definisci se la voce del menu principale è nascosta." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Modalit<EFBFBD> visualizz. standard" | ||||
| msgstr "Modalità visualizz. predefinita" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "" | ||||
| msgstr "Definisci la modalità di visualizz. predefinita all'avvio." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "" | ||||
| msgstr "Definisci lo stile interfaccia OSD utilizzato." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "" | ||||
| msgstr "Definisci il tema OSD utilizzato." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Posizione" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "" | ||||
| msgstr "Definisci la posizione dell'OSD." | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgstr "" | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Riduci dimensione OSD [%]" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "Limite orizzontale" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "Mostra sistema CA" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgstr "" | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Definisci il rapporto di riduzione della dimensione OSD." | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Limite rosso [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "" | ||||
| msgstr "Definisci un limite per la barra rossa, usata per indicare un cattivo segnale." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Limite verde [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "" | ||||
| msgstr "Definisci un limite per la barra verde, usata per indicare un buon segnale." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "Intervallo aggiornamento OSD [0.1s]" | ||||
| msgstr "Intervallo agg. OSD [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "" | ||||
| msgstr "Definisci un intervallo per gli agg. OSD. Più piccolo è l'intervallo maggiore sarà l'uso di CPU." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Analizza flusso" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "" | ||||
| msgstr "Definisci se il flusso DVB è analizzato e i bitrate calcolati." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Intervallo calcolo [0.1s]" | ||||
| msgstr "Intervallo di calcolo [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "" | ||||
| msgstr "Definisci un intervallo di calcolo. L'intervallo più grande genera valori più stabili." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "Utilizza servizio SVDRP" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "" | ||||
| msgstr "Definisci se il servizio SVDRP viene usato nelle opzioni client/server." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "Porta servizio SVDRP" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "" | ||||
| msgstr "Definisci il numero di porta del servizio SVDRP." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "IP servizio SVDRP" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "" | ||||
| msgstr "Definisci l'indirizzo IP del servizio SVDRP." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Aiuto" | ||||
| @@ -161,10 +162,10 @@ msgid "Transponder Information" | ||||
| msgstr "Informazioni transponder" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
| msgstr "PID Audio" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
| msgstr "PID AC3" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
| @@ -178,36 +179,30 @@ msgstr "Tid" | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "Scheda satellitare" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "Scheda via cavo" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "Scheda terrestre" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Informazione flusso" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Flusso video" | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Bitrate" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Informazioni flusso" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Flusso video" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "Codifica" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Dimensione immagine" | ||||
| msgstr "Formato immagine" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "Frame rate" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Formato video" | ||||
|  | ||||
| @@ -217,8 +212,8 @@ msgstr "Risoluzione" | ||||
| msgid "Audio Stream" | ||||
| msgstr "Flusso audio" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgstr "Formato MPEG" | ||||
| msgid "Channel Mode" | ||||
| msgstr "Modalità canale" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Frequenza campionamento" | ||||
| @@ -226,17 +221,11 @@ msgstr "Frequenza campionamento" | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "Flusso AC-3" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "kHz" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "Dimensione frame" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Modalit<EFBFBD> bitstream" | ||||
| msgstr "Modalità bitstream" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "Modalit<EFBFBD> codifica audio" | ||||
| msgstr "Modalità codifica audio" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "Livello sonoro centrale" | ||||
| @@ -245,17 +234,11 @@ msgid "Surround Mix Level" | ||||
| msgstr "Livello sonoro surround" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "Modalit<EFBFBD> Dolby Surround" | ||||
| msgstr "Modalità Dolby Surround" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Effetti bassa frequenza" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "Attivo" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "Disattivo" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Normalizzazione dialoghi" | ||||
|  | ||||
| @@ -265,71 +248,95 @@ msgstr "Fisso" | ||||
| msgid "Analog" | ||||
| msgstr "Analogico" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgstr "SECA/Mediaguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgstr "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgstr "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgstr "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgstr "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgstr "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgstr "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgstr "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgstr "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgstr "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "Nessuno" | ||||
| msgid "stereo" | ||||
| msgstr "stereo" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "Auto" | ||||
| msgid "joint Stereo" | ||||
| msgstr "joint Stereo" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
| msgid "dual" | ||||
| msgstr "dual" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mono" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "interlacciato" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "progressivo" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "riservato" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "esteso" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "sconosciuto" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "componente" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Principale (CM)" | ||||
| msgstr "Principale (P)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "Musica ed effetti (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "Immagine alterata (VI)" | ||||
| msgstr "Non vedenti (NV)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "Suono deteriorato (HI)" | ||||
| msgstr "Non udenti (NU)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "Dialogo (D)" | ||||
| msgstr "Dialogui (D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "Commenti (C)" | ||||
| @@ -338,7 +345,7 @@ msgid "Emergency (E)" | ||||
| msgstr "Emergenza (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "Voce off (VO)" | ||||
| msgstr "Voce su (VS)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "Karaoke" | ||||
| @@ -373,6 +380,9 @@ msgstr "dB" | ||||
| msgid "not indicated" | ||||
| msgstr "non indicato" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "libero" | ||||
|  | ||||
|   | ||||
							
								
								
									
										389
									
								
								po/lt_LT.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										389
									
								
								po/lt_LT.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,389 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Valdemaras Pipiras | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Valdemaras Pipiras <varas@ambernet.lt>\n" | ||||
| "Language-Team: Lithuanian <vdr@linuxtv.org>\n" | ||||
| "Language: lt\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "DVB signalo informacijos stebėjimas (OSD)" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "Signalo informacija" | ||||
|  | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon įskiepas nepasiekiamas" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "Standartinis" | ||||
|  | ||||
| msgid "transponder" | ||||
| msgstr "Siųstuvas" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "Srautas" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "Klasikinis" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| msgid "Moronimo" | ||||
| msgstr "Moronimo" | ||||
|  | ||||
| msgid "Enigma" | ||||
| msgstr "Enigma" | ||||
|  | ||||
| msgid "EgalsTry" | ||||
| msgstr "EgalsTry" | ||||
|  | ||||
| msgid "Duotone" | ||||
| msgstr "Duotone" | ||||
|  | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Paslėpti pagrindinio meniu įrašus" | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Nustatyti pagrindinio meniu įrašų paslėpimą." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Numatytasis rodymo būdas" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "Nustatyti numatytąjį rodymo būdą paleidžiant." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "Nustatyti naudojamą ekrano apvalkalą." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "Nustatyti naudojamą ekrano temą." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Pozicija" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "Nustatyti ekrano užsklandos poziciją." | ||||
|  | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Raudonoji ribą [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "Nustatyti raudonos juostos ribą, kuri naudojama blogo signalo indikacijai." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Žalioji riba [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "Nustatyti žalios juostos ribą, kuri naudojama gero signalo indikacijai." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "Ekrano užsklandos atnaujinimo intervalas [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "Nustatyti ekrano užsklandos atnaujinimo intervalą. Mažesnis intervalas labiau apkrauna centrinį procesorių (CPU)." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Analizuoti srautą" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "Nurodyti ar DVB srautas turi būti analizuojamas bei jo kokybė išskaičiuojama." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Apskaitos intervalos [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "Nustatyti apskaitos intervalą. Kuo didesnis intervalas, tuo tikslesni duomenys." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "Naudoti SVDRP paslaugą" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "Nurodyti ar SVDRP paslauga naudojama kliento/serverio nustatymuose." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "SVDRP įrenginio portas" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "Nustatyti SVDRP įrenginio prievadą." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "SVDRP įrenginio IP" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "Nustatyti SVDRP įrenginio IP adresą." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Pagalba" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "Video" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "Audio" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "Siųstuvo informacija" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
|  | ||||
| msgid "Nid" | ||||
| msgstr "Nid" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "Tid" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Kodavimo dažnis" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Kokybė" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Srauto informacija" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Video srautas" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "Kodekas" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Proporcijos" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "Kadrų dažnis" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Video formatas" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "Rezoliucija" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "Audio srautas" | ||||
|  | ||||
| msgid "Channel Mode" | ||||
| msgstr "kanalo būsena" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Parodomasis dažnis" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3 srautas" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Bitstream būsena" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "Audio kodavimas" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "Centerinis Mix lygis" | ||||
|  | ||||
| msgid "Surround Mix Level" | ||||
| msgstr "Surround Mix lygis" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "Dolby Surround būklė" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Žemo dažnio efektai" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Dialogo normalizacija" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "Fest" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "Analog" | ||||
|  | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "stereo" | ||||
| msgstr "stereo" | ||||
|  | ||||
| msgid "joint Stereo" | ||||
| msgstr "jungtinis stereo" | ||||
|  | ||||
| msgid "dual" | ||||
| msgstr "dvigubas" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mono" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "persipynęs (interlaced)" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "progresyvinis" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "belegt" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "išplėstas" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "nežinomas" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "komponentas" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Pilnai pagrindinis (CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "Muzika ir efektai (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr " (VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr " (HI)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "Dialogas (D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "Komentavimas (C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "Avarinis (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "Voice over (VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "Karaoke" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "Kan1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "Kan2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "C" | ||||
|  | ||||
| msgid "L" | ||||
| msgstr "L" | ||||
|  | ||||
| msgid "R" | ||||
| msgstr "R" | ||||
|  | ||||
| msgid "S" | ||||
| msgstr "S" | ||||
|  | ||||
| msgid "SL" | ||||
| msgstr "SL" | ||||
|  | ||||
| msgid "SR" | ||||
| msgstr "SR" | ||||
|  | ||||
| msgid "dB" | ||||
| msgstr "dB" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "nerasta" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "frei" | ||||
|  | ||||
| msgid "Mbit/s" | ||||
| msgstr "Mbit/s" | ||||
|  | ||||
| msgid "kbit/s" | ||||
| msgstr "kbit/s" | ||||
							
								
								
									
										129
									
								
								po/ru_RU.po
									
									
									
									
									
								
							
							
						
						
									
										129
									
								
								po/ru_RU.po
									
									
									
									
									
								
							| @@ -1,16 +1,17 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007 Rolf Ahrenberg | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Vyacheslav Dikonov | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: femon 1.2.3\n" | ||||
| "Report-Msgid-Bugs-To: Rolf Ahrenberg\n" | ||||
| "POT-Creation-Date: 2008-01-20 01:23+0200\n" | ||||
| "PO-Revision-Date: 2007-08-12 23:22+0300\n" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Vyacheslav Dikonov\n" | ||||
| "Language-Team: <vdr@linuxtv.org>\n" | ||||
| "Language-Team: Russian <vdr@linuxtv.org>\n" | ||||
| "Language: ru\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=ISO-8859-5\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| @@ -21,7 +22,7 @@ msgstr " | ||||
| msgid "Signal Information" | ||||
| msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" | ||||
|  | ||||
| msgid "Femon not available while replaying" | ||||
| msgid "Femon not available" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "basic" | ||||
| @@ -42,6 +43,9 @@ msgstr "" | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| @@ -60,10 +64,13 @@ msgstr "Duotone" | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>" | ||||
|  | ||||
| msgid "Define whether the main manu entry is hidden." | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Default display mode" | ||||
| @@ -84,19 +91,10 @@ msgstr " | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the height of OSD." | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Horizontal offset" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the horizontal offset of OSD." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Show CA system" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define whether the CA system is shown as text." | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| @@ -177,25 +175,22 @@ msgstr "Tid" | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Satellite Card" | ||||
| msgstr "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" | ||||
|  | ||||
| msgid "Cable Card" | ||||
| msgstr "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" | ||||
|  | ||||
| msgid "Terrestrial Card" | ||||
| msgstr "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Coderate" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgid "Codec" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| @@ -204,9 +199,6 @@ msgstr "" | ||||
| msgid "Frame Rate" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "<22><>" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "" | ||||
|  | ||||
| @@ -216,7 +208,7 @@ msgstr "" | ||||
| msgid "Audio Stream" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MPEG Layer" | ||||
| msgid "Channel Mode" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| @@ -225,12 +217,6 @@ msgstr "" | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "kHz" | ||||
| msgstr "ڳ<>" | ||||
|  | ||||
| msgid "Frame Size" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "" | ||||
|  | ||||
| @@ -249,12 +235,6 @@ msgstr "" | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "on" | ||||
| msgstr "<22><><EFBFBD>" | ||||
|  | ||||
| msgid "off" | ||||
| msgstr "<22><><EFBFBD><EFBFBD>" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "" | ||||
|  | ||||
| @@ -264,57 +244,81 @@ msgstr "" | ||||
| msgid "Analog" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "SECA/Mediaguard" | ||||
| msgid "MPEG-2" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Viaccess" | ||||
| msgid "H.264" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Irdeto" | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "NDS/Videoguard" | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Conax" | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "CryptoWorks" | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "PowerVu" | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "NagraVision" | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "BetaCrypt" | ||||
| msgid "HE-AAC" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "SkyCrypt" | ||||
| msgid "LATM" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "none" | ||||
| msgstr "<EFBFBD><EFBFBD><EFBFBD>" | ||||
| msgid "stereo" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "auto" | ||||
| msgstr "<EFBFBD><EFBFBD><EFBFBD><EFBFBD>" | ||||
| msgid "joint Stereo" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "<EFBFBD><EFBFBD><EFBFBD>" | ||||
| msgid "dual" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "<22><>" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "" | ||||
|  | ||||
| @@ -372,6 +376,9 @@ msgstr "dB" | ||||
| msgid "not indicated" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "<22><><EFBFBD>" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "" | ||||
|  | ||||
|   | ||||
							
								
								
									
										390
									
								
								po/sk_SK.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										390
									
								
								po/sk_SK.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,390 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Milan Hrala | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n" | ||||
| "Language-Team: Slovak <vdr@linuxtv.org>\n" | ||||
| "Language: sk\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=iso-8859-2\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "DVB Inform<72>cie o sign<67>le (OSD)" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "Inform<72>cie o sign<67>le" | ||||
|  | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon nie je k dispoz<6F>cii" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "<22>tandardtn<74>" | ||||
|  | ||||
| msgid "transponder" | ||||
| msgstr "Transpond<6E>r" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "d<>tov<6F> tok" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "Klasick<63>" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "tmavo modr<64>" | ||||
|  | ||||
| msgid "Moronimo" | ||||
| msgstr "Moronimo" | ||||
|  | ||||
| msgid "Enigma" | ||||
| msgstr "Enigma" | ||||
|  | ||||
| msgid "EgalsTry" | ||||
| msgstr "EgalsTry" | ||||
|  | ||||
| msgid "Duotone" | ||||
| msgstr "Duotone" | ||||
|  | ||||
| msgid "SilverGreen" | ||||
| msgstr "strieborno zelen<65>" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Schova<76> polo<6C>ku v hlavnom menu" | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Ur<55>ite, <20>i v hlavnom menu bude polo<6C>ka skryt<79>." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "<22>tandardn<64> re<72>im zobrazenia" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "Zadajte predvolen<65> re<72>im zobrazenia pri spusten<65>." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "Zadajte pou<6F>it<69> OSD vzh<7A>ad." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "Definujte pou<6F>it<69> OSD t<>mu." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Poz<6F>cia" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "Definujte poz<6F>ciu OSD." | ||||
|  | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Zmen<65>i<EFBFBD> ve<76>kos<6F> OSD [%]" | ||||
|  | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Zadajte zmen<65>enie pomeru pre OSD ve<76>kosti." | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "<22>erven<65> limit [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "Zadajte limit pre <20>erven<65> pruh , ktor<6F> sa pou<6F><75>va na ozna<6E>enie zl<7A>ho sign<67>lu." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Zelen<65> limit [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "Zadajte limit pre zelen<65>ho pruhu, ktor<6F> sa pou<6F>ije na ozna<6E>enie dobr<62>ho sign<67>lu." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "OSD aktualiza<7A>n<EFBFBD> interval [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "Zadajte interval pre aktualiz<69>cie OSD. Men<65><6E> interval vytv<74>ra vy<76><79>ie za<7A>a<EFBFBD>enie CPU." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Anal<61>za d<>tov<6F>ho toku" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "Zadajte <20>i sa DVB pr<70>d analyzuje a d<>tov<6F> tok vypo<70><6F>ta." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "V<>po<70>tov<6F> interval [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "Zadajte interval pre v<>po<70>et. V<><56><EFBFBD><EFBFBD> interval vytv<74>ra stabilnej<65>ie hodnoty." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "Pou<6F>i<EFBFBD> SVDRP slu<6C>bu" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "Zadajte <20>i sa pou<6F>ije slu<6C>ba SVDRP v klient / server nastaveniach." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "Port SVDRP slu<6C>by" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "Zadajte <20><>slo portu slu<6C>by SVDRP." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "IP SVDRP slu<6C>by" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "zadajte IP adresu slu<6C>by SVDRP." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Pomoc" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "Video" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "Zvuk" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "Inform<72>cie transpond<6E>ra" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
|  | ||||
| msgid "Nid" | ||||
| msgstr "Nid" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "Tid" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "r<>chlos<6F> k<>dovania" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "Protokol" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "D<>tov<6F> tok" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Inform<72>cie o d<>tovom toku" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Video stopa" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "kodek" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Pomer str<74>n" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "Po<50>et sn<73>mkov" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Video form<72>t" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "Rozl<7A><6C>enie" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "Zvukov<6F> stopa" | ||||
|  | ||||
| msgid "Channel Mode" | ||||
| msgstr "re<72>im kan<61>la" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Vzorkovacia frekvencia" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3 d<>tov<6F> tok" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "re<72>im bitov<6F>ho toku" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "Re<52><65>m k<>dovania zvuku" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "<22>rove<76> Center mix" | ||||
|  | ||||
| msgid "Surround Mix Level" | ||||
| msgstr "<22>rove<76> Surround mix" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "Dolby Surround re<72><65>m" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Basov<6F> efekty" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "<22>tandartn<74> dial<61>g" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "Pevn<76>" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "Anal<61>g" | ||||
|  | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 vrstva I" | ||||
|  | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 vrstva II" | ||||
|  | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 vrstva III" | ||||
|  | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 vrstva I" | ||||
|  | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 vrstva II" | ||||
|  | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 vrstva III" | ||||
|  | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "stereo" | ||||
| msgstr "stereo" | ||||
|  | ||||
| msgid "joint Stereo" | ||||
| msgstr "spojen<65> stereo" | ||||
|  | ||||
| msgid "dual" | ||||
| msgstr "dvojit<69>" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "mono" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "prekladan<61>" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "progres<65>vny" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "obsaden<65>" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "roz<6F><7A>ren<65>" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "nezn<7A>my" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "s<><73>as<61>" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Hz" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Kompletne hlavn<76> (CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "Hudba a efekty (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "zrakovo postihnut<75> (VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "sluchovo postihnut<75> (HI)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "Dial<61>g (D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "Koment<6E>r (C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "Pohotovostn<74> (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "Viacvrstvov<6F> hlas (VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "Karaoke" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "kan<61>l1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "kan<61>l2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "C" | ||||
|  | ||||
| msgid "L" | ||||
| msgstr "L" | ||||
|  | ||||
| msgid "R" | ||||
| msgstr "R" | ||||
|  | ||||
| msgid "S" | ||||
| msgstr "S" | ||||
|  | ||||
| msgid "SL" | ||||
| msgstr "SL" | ||||
|  | ||||
| msgid "SR" | ||||
| msgstr "SR" | ||||
|  | ||||
| msgid "dB" | ||||
| msgstr "dB" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "nie je uveden<65>" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "MHz" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "vo<76>n<EFBFBD>" | ||||
|  | ||||
| msgid "Mbit/s" | ||||
| msgstr "Mbit/s" | ||||
|  | ||||
| msgid "kbit/s" | ||||
| msgstr "kbit/s" | ||||
|  | ||||
							
								
								
									
										399
									
								
								po/uk_UA.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										399
									
								
								po/uk_UA.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,399 @@ | ||||
| # Ukrainian translation. | ||||
| # Copyright (C) 2010 The Claws Mail Team | ||||
| # This file is distributed under the same license as the claws-mail package. | ||||
| # Yarema aka Knedlyk <yupadmin@gmail.com>, 2010. | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: Yarema aka Knedlyk <yupadmin@gmail.com>\n" | ||||
| "Language-Team: Ukrainian <translation@linux.org.ua>\n" | ||||
| "Language: uk\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
| "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" | ||||
| "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\\n\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "Монітор інформації про DVB сигнал" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "Інформація про сигнал" | ||||
|  | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon не доступний" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "основне" | ||||
|  | ||||
| msgid "transponder" | ||||
| msgstr "транспондер" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "потік" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "Класичний" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| msgid "Moronimo" | ||||
| msgstr "Moronimo" | ||||
|  | ||||
| msgid "Enigma" | ||||
| msgstr "Enigma" | ||||
|  | ||||
| msgid "EgalsTry" | ||||
| msgstr "EgalsTry" | ||||
|  | ||||
| msgid "Duotone" | ||||
| msgstr "Duotone" | ||||
|  | ||||
| msgid "SilverGreen" | ||||
| msgstr "SilverGreen" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "Сховати в головному меню" | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "Визначення, чи приховувати в головному меню" | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "Типовий режим показу" | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "Визначення типового режиму показу при запуску" | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "Визначення шкірки для повідомлень" | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "Визначення теми повідомлень" | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "Позиція" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "Визначити позицію показу повідомлень" | ||||
|  | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "Масштаб розміру повідомлень [%]" | ||||
|  | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "Визначити коефіцієнт масштабування розміру повідомлень" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "Червона границя [%]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "Визначення границі червоної поділки, яка показує поганий сигнал." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "Зелена границя [%]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "Визначення границі зеленої поділки, яка показує добрий сигнал." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "Інтервал оновлення повідомлень [0.1с]" | ||||
|  | ||||
| msgid "" | ||||
| "Define an interval for OSD updates. The smaller interval generates higher " | ||||
| "CPU load." | ||||
| msgstr "" | ||||
| "Визначення інтервалу оновлення повідомлень. Малий інтервал спричинює більше " | ||||
| "завантаження процесора." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "Аналіз потоку" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "Визначення, чи проводити аналіз DVB потоку і обчислення бітрейту" | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "Інтервал обчислення [0.1с]" | ||||
|  | ||||
| msgid "" | ||||
| "Define an interval for calculation. The bigger interval generates more " | ||||
| "stable values." | ||||
| msgstr "" | ||||
| "Визначення інтервалу обчислення. Більший інтервал дає стабільніші значення." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "Використати SVDRP сервіс" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "" | ||||
| "Визначення чи буде використовуватися SVDRP сервіс в налаштуваннях клієнта/" | ||||
| "сервера" | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "Порт SVDRP сервісу" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "Визначення номеру порту SVDRP сервісу" | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "IP сервісу SVDRP" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "Визначення IP адреси сервісу SVDRP." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "Допомога" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "Відео" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "Аудіо" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "Інформація про транспондер" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
|  | ||||
| msgid "Nid" | ||||
| msgstr "Nid" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "Tid" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "Шв. кодування" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "Протокол" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "Бітрейт" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "Інформація про потік" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "Відео потік" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "Кодек" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "Співвідношення сторін" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "Частота кадрів" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "Формат відео" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "Роздільна здатність" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "Аудіо потік" | ||||
|  | ||||
| msgid "Channel Mode" | ||||
| msgstr "Режим каналу" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "Частота" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3 потік" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "Режим бітового потоку:" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "Режим кодування малюнка" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "Рівень міксування в центрі" | ||||
|  | ||||
| msgid "Surround Mix Level" | ||||
| msgstr "Рівень міксування заповнення" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "Режим Dolby Surround" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "Ефекти низької частоти" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "Нормалізація гучності" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "Фіксовано" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "Аналог." | ||||
|  | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "stereo" | ||||
| msgstr "стерео" | ||||
|  | ||||
| msgid "joint Stereo" | ||||
| msgstr "об’єднане стерео" | ||||
|  | ||||
| msgid "dual" | ||||
| msgstr "дуальний" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "моно" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "черезрядкове" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "прогресивне" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "зарезервовано" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "розширено" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "невідомо" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "компонентно" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "Гц" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "Заповнення основного (CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "Музика і ефекти (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "Слабозорі (VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "Погіршений слух (HI)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "Діалог (D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "Коментарі (C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "Аварійне (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "Голос через (VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "Караоке" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "Кан.1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "Кан.2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "C" | ||||
|  | ||||
| msgid "L" | ||||
| msgstr "L" | ||||
|  | ||||
| msgid "R" | ||||
| msgstr "R" | ||||
|  | ||||
| msgid "S" | ||||
| msgstr "S" | ||||
|  | ||||
| msgid "SL" | ||||
| msgstr "SL" | ||||
|  | ||||
| msgid "SR" | ||||
| msgstr "Симв.шв." | ||||
|  | ||||
| msgid "dB" | ||||
| msgstr "дБ" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "не вказано" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "МГц" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "вільний" | ||||
|  | ||||
| msgid "Mbit/s" | ||||
| msgstr "Мбіт/c" | ||||
|  | ||||
| msgid "kbit/s" | ||||
| msgstr "кбіт/с" | ||||
							
								
								
									
										389
									
								
								po/zh_CN.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										389
									
								
								po/zh_CN.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,389 @@ | ||||
| # VDR plugin language source file. | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg | ||||
| # This file is distributed under the same license as the femon package. | ||||
| # Nan Feng VDR <nfgx@21cn.com>, 2009.2 | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: NanFeng <nfgx@21cn.com>\n" | ||||
| "Language-Team: Chinese (simplified) <vdr@linuxtv.org>\n" | ||||
| "Language: zh_CN\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "卫星信号信息显示(OSD)" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "频道信息浏览" | ||||
|  | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon插件无法使用" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "基本" | ||||
|  | ||||
| msgid "transponder" | ||||
| msgstr "转发器" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "数据流" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "经典" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| msgid "Moronimo" | ||||
| msgstr "Moronimo" | ||||
|  | ||||
| msgid "Enigma" | ||||
| msgstr "Enigma" | ||||
|  | ||||
| msgid "EgalsTry" | ||||
| msgstr "EgalsTry" | ||||
|  | ||||
| msgid "Duotone" | ||||
| msgstr "双色调" | ||||
|  | ||||
| msgid "SilverGreen" | ||||
| msgstr "银绿" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "隐藏主菜单条目." | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "确定是否进入主菜单是隐藏的." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "默认启动时显示模式." | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "定义默认启动时显示模式." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "确定使用的菜单皮肤." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "确定使用的菜单主题." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "位置" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "确定菜单的位置." | ||||
|  | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "红限制[ % ]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "定义一个限制红键,这是用来表示一个坏的信号." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "绿限制[ % ]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "定义一个限制的绿色键,这是用来表示一个良好的信号." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "菜单更新间隔时间 [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "确定一个OSD的更新时间间隔.较小的间隔产生较高的CPU负载." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "分析流" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "确定是否DVB流分析和比特率计算." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "计算时间间隔 [0.1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "定义一个时间间隔来计算.更大的时间价格产生将更稳定." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "使用SVDRP服务" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "定义是否SVDRP服务是用来在客户机/服务器的设置." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "SVDRP服务端口" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "定义SVDRP服务的端口号." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "SVDRP服务的IP地址" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "定义SVDRP服务的IP地址." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "帮助" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "视频" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "音频" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "转发器信息" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
|  | ||||
| msgid "Nid" | ||||
| msgstr "Nid" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "Tid" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "码速率" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "比特率" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "流信息" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "视频流" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "解码模式" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "纵横比" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "帧速率" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "视频制式" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "分辨率" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "音频流" | ||||
|  | ||||
| msgid "Channel Mode" | ||||
| msgstr "声道模式" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "采样频率" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3流" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "比特流模式" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "音频编码模式" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "中心混合级别" | ||||
|  | ||||
| msgid "Surround Mix Level" | ||||
| msgstr "环绕混合级别" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "杜比环绕声模式" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "低频效果" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "对话正常化" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "固定" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "模拟" | ||||
|  | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "stereo" | ||||
| msgstr "立体声" | ||||
|  | ||||
| msgid "joint Stereo" | ||||
| msgstr "联合立体声" | ||||
|  | ||||
| msgid "dual" | ||||
| msgstr "双重" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "单声道" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "隔行扫描" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "进步" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "保留" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "扩展" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "未知" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "组件" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "赫兹" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "完成主要 (CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "音乐和效果 (ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "视障 (VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "听障 (HI)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "对话 (D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "评论 (C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "紧急 (E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "旁白 (VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "卡拉OK" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "Ch1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "Ch2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "C" | ||||
|  | ||||
| msgid "L" | ||||
| msgstr "L" | ||||
|  | ||||
| msgid "R" | ||||
| msgstr "R" | ||||
|  | ||||
| msgid "S" | ||||
| msgstr "S" | ||||
|  | ||||
| msgid "SL" | ||||
| msgstr "SL" | ||||
|  | ||||
| msgid "SR" | ||||
| msgstr "SR" | ||||
|  | ||||
| msgid "dB" | ||||
| msgstr "dB" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "没有说明" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "兆赫兹" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "免费" | ||||
|  | ||||
| msgid "Mbit/s" | ||||
| msgstr "兆位/秒" | ||||
|  | ||||
| msgid "kbit/s" | ||||
| msgstr "千字节/秒" | ||||
							
								
								
									
										389
									
								
								po/zh_TW.po
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										389
									
								
								po/zh_TW.po
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,389 @@ | ||||
| # VDR plugin language source file.  | ||||
| # Copyright (C) 2007-2013 Rolf Ahrenberg  | ||||
| # This file is distributed under the same license as the femon package.  | ||||
| # Nan Feng VDR <nfgx@21cn.com>, 2009.2  | ||||
| # | ||||
| msgid "" | ||||
| msgstr "" | ||||
| "Project-Id-Version: vdr-femon 2.0.0\n" | ||||
| "Report-Msgid-Bugs-To: <see README>\n" | ||||
| "POT-Creation-Date: 2013-04-01 04:01+0200\n" | ||||
| "PO-Revision-Date: 2013-04-01 04:01+0200\n" | ||||
| "Last-Translator: NanFeng <nfgx@21cn.com>\n" | ||||
| "Language-Team: Chinese (traditional) <vdr@linuxtv.org>\n" | ||||
| "Language: zh_TW\n" | ||||
| "MIME-Version: 1.0\n" | ||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||
| "Content-Transfer-Encoding: 8bit\n" | ||||
|  | ||||
| msgid "DVB Signal Information Monitor (OSD)" | ||||
| msgstr "衛星信號信息顯示(OSD)" | ||||
|  | ||||
| msgid "Signal Information" | ||||
| msgstr "頻道信息瀏覽" | ||||
|  | ||||
| msgid "Femon not available" | ||||
| msgstr "Femon插件無法使用" | ||||
|  | ||||
| msgid "basic" | ||||
| msgstr "基本" | ||||
|  | ||||
| msgid "transponder" | ||||
| msgstr "轉發器" | ||||
|  | ||||
| msgid "stream" | ||||
| msgstr "數據流" | ||||
|  | ||||
| msgid "AC-3" | ||||
| msgstr "AC-3" | ||||
|  | ||||
| msgid "Classic" | ||||
| msgstr "經典" | ||||
|  | ||||
| msgid "Elchi" | ||||
| msgstr "Elchi" | ||||
|  | ||||
| msgid "ST:TNG" | ||||
| msgstr "ST:TNG" | ||||
|  | ||||
| msgid "DeepBlue" | ||||
| msgstr "DeepBlue" | ||||
|  | ||||
| msgid "Moronimo" | ||||
| msgstr "Moronimo" | ||||
|  | ||||
| msgid "Enigma" | ||||
| msgstr "Enigma" | ||||
|  | ||||
| msgid "EgalsTry" | ||||
| msgstr "EgalsTry" | ||||
|  | ||||
| msgid "Duotone" | ||||
| msgstr "雙色調" | ||||
|  | ||||
| msgid "SilverGreen" | ||||
| msgstr "銀綠" | ||||
|  | ||||
| msgid "PearlHD" | ||||
| msgstr "PearlHD" | ||||
|  | ||||
| msgid "Hide main menu entry" | ||||
| msgstr "隱藏主菜單條目." | ||||
|  | ||||
| msgid "Define whether the main menu entry is hidden." | ||||
| msgstr "確定是否進入主菜單是隱藏的." | ||||
|  | ||||
| msgid "Default display mode" | ||||
| msgstr "默認啟動時顯示模式." | ||||
|  | ||||
| msgid "Define the default display mode at startup." | ||||
| msgstr "定義默認啟動時顯示模式." | ||||
|  | ||||
| msgid "Define the used OSD skin." | ||||
| msgstr "確定使用的菜單皮膚." | ||||
|  | ||||
| msgid "Define the used OSD theme." | ||||
| msgstr "確定使用的菜單主題." | ||||
|  | ||||
| msgid "Position" | ||||
| msgstr "位置" | ||||
|  | ||||
| msgid "Define the position of OSD." | ||||
| msgstr "確定菜單的位置." | ||||
|  | ||||
| msgid "Downscale OSD size [%]" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Define the downscale ratio for OSD size." | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Red limit [%]" | ||||
| msgstr "紅限制[ % ]" | ||||
|  | ||||
| msgid "Define a limit for red bar, which is used to indicate a bad signal." | ||||
| msgstr "定義一個限制紅鍵,這是用來表示一個壞的信號." | ||||
|  | ||||
| msgid "Green limit [%]" | ||||
| msgstr "綠限制[ % ]" | ||||
|  | ||||
| msgid "Define a limit for green bar, which is used to indicate a good signal." | ||||
| msgstr "定義一個限制的綠色鍵,這是用來表示一個良好的信號." | ||||
|  | ||||
| msgid "OSD update interval [0.1s]" | ||||
| msgstr "菜單更新間隔時間[0.1s]" | ||||
|  | ||||
| msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load." | ||||
| msgstr "確定一個OSD的更新時間間隔.較小的間隔產生較高的CPU負載." | ||||
|  | ||||
| msgid "Analyze stream" | ||||
| msgstr "分析流" | ||||
|  | ||||
| msgid "Define whether the DVB stream is analyzed and bitrates calculated." | ||||
| msgstr "確定是否DVB流分析和比特率計算." | ||||
|  | ||||
| msgid "Calculation interval [0.1s]" | ||||
| msgstr "計算時間間隔[0.1s]" | ||||
|  | ||||
| msgid "Define an interval for calculation. The bigger interval generates more stable values." | ||||
| msgstr "定義一個時間間隔來計算.更大的時間價格產生將更穩定." | ||||
|  | ||||
| msgid "Use SVDRP service" | ||||
| msgstr "使用SVDRP服務" | ||||
|  | ||||
| msgid "Define whether the SVDRP service is used in client/server setups." | ||||
| msgstr "定義是否SVDRP服務是用來在客戶機/服務器的設置." | ||||
|  | ||||
| msgid "SVDRP service port" | ||||
| msgstr "SVDRP服務端口" | ||||
|  | ||||
| msgid "Define the port number of SVDRP service." | ||||
| msgstr "定義SVDRP服務的端口號." | ||||
|  | ||||
| msgid "SVDRP service IP" | ||||
| msgstr "SVDRP服務的IP地址" | ||||
|  | ||||
| msgid "Define the IP address of SVDRP service." | ||||
| msgstr "定義SVDRP服務的IP地址." | ||||
|  | ||||
| msgid "Help" | ||||
| msgstr "幫助" | ||||
|  | ||||
| msgid "Video" | ||||
| msgstr "視頻" | ||||
|  | ||||
| msgid "Audio" | ||||
| msgstr "音頻" | ||||
|  | ||||
| msgid "Transponder Information" | ||||
| msgstr "轉發器信息" | ||||
|  | ||||
| msgid "Apid" | ||||
| msgstr "Apid" | ||||
|  | ||||
| msgid "Dpid" | ||||
| msgstr "Dpid" | ||||
|  | ||||
| msgid "Spid" | ||||
| msgstr "Spid" | ||||
|  | ||||
| msgid "Nid" | ||||
| msgstr "Nid" | ||||
|  | ||||
| msgid "Tid" | ||||
| msgstr "Tid" | ||||
|  | ||||
| msgid "Rid" | ||||
| msgstr "Rid" | ||||
|  | ||||
| msgid "Coderate" | ||||
| msgstr "碼速率" | ||||
|  | ||||
| msgid "Protocol" | ||||
| msgstr "" | ||||
|  | ||||
| msgid "Bitrate" | ||||
| msgstr "比特率" | ||||
|  | ||||
| msgid "Stream Information" | ||||
| msgstr "流信息" | ||||
|  | ||||
| msgid "Video Stream" | ||||
| msgstr "視頻流" | ||||
|  | ||||
| msgid "Codec" | ||||
| msgstr "解碼模式" | ||||
|  | ||||
| msgid "Aspect Ratio" | ||||
| msgstr "縱橫比" | ||||
|  | ||||
| msgid "Frame Rate" | ||||
| msgstr "幀速率" | ||||
|  | ||||
| msgid "Video Format" | ||||
| msgstr "視頻制式" | ||||
|  | ||||
| msgid "Resolution" | ||||
| msgstr "分辨率" | ||||
|  | ||||
| msgid "Audio Stream" | ||||
| msgstr "音頻流" | ||||
|  | ||||
| msgid "Channel Mode" | ||||
| msgstr "聲道模式" | ||||
|  | ||||
| msgid "Sampling Frequency" | ||||
| msgstr "採樣頻率" | ||||
|  | ||||
| msgid "AC-3 Stream" | ||||
| msgstr "AC-3流" | ||||
|  | ||||
| msgid "Bit Stream Mode" | ||||
| msgstr "比特流模式" | ||||
|  | ||||
| msgid "Audio Coding Mode" | ||||
| msgstr "音頻編碼模式" | ||||
|  | ||||
| msgid "Center Mix Level" | ||||
| msgstr "中心混合級別" | ||||
|  | ||||
| msgid "Surround Mix Level" | ||||
| msgstr "環繞混合級別" | ||||
|  | ||||
| msgid "Dolby Surround Mode" | ||||
| msgstr "杜比環繞聲模式" | ||||
|  | ||||
| msgid "Low Frequency Effects" | ||||
| msgstr "低頻效果" | ||||
|  | ||||
| msgid "Dialogue Normalization" | ||||
| msgstr "對話正常化" | ||||
|  | ||||
| msgid "Fixed" | ||||
| msgstr "固定" | ||||
|  | ||||
| msgid "Analog" | ||||
| msgstr "模擬" | ||||
|  | ||||
| msgid "MPEG-2" | ||||
| msgstr "MPEG-2" | ||||
|  | ||||
| msgid "H.264" | ||||
| msgstr "H.264" | ||||
|  | ||||
| msgid "MPEG-1 Layer I" | ||||
| msgstr "MPEG-1 Layer I" | ||||
|  | ||||
| msgid "MPEG-1 Layer II" | ||||
| msgstr "MPEG-1 Layer II" | ||||
|  | ||||
| msgid "MPEG-1 Layer III" | ||||
| msgstr "MPEG-1 Layer III" | ||||
|  | ||||
| msgid "MPEG-2 Layer I" | ||||
| msgstr "MPEG-2 Layer I" | ||||
|  | ||||
| msgid "MPEG-2 Layer II" | ||||
| msgstr "MPEG-2 Layer II" | ||||
|  | ||||
| msgid "MPEG-2 Layer III" | ||||
| msgstr "MPEG-2 Layer III" | ||||
|  | ||||
| msgid "HE-AAC" | ||||
| msgstr "HE-AAC" | ||||
|  | ||||
| msgid "LATM" | ||||
| msgstr "LATM" | ||||
|  | ||||
| msgid "stereo" | ||||
| msgstr "立體聲" | ||||
|  | ||||
| msgid "joint Stereo" | ||||
| msgstr "聯合立體聲" | ||||
|  | ||||
| msgid "dual" | ||||
| msgstr "雙重" | ||||
|  | ||||
| msgid "mono" | ||||
| msgstr "單聲道" | ||||
|  | ||||
| msgid "interlaced" | ||||
| msgstr "隔行掃描" | ||||
|  | ||||
| msgid "progressive" | ||||
| msgstr "進步" | ||||
|  | ||||
| msgid "reserved" | ||||
| msgstr "保留" | ||||
|  | ||||
| msgid "extended" | ||||
| msgstr "擴展" | ||||
|  | ||||
| msgid "unknown" | ||||
| msgstr "未知" | ||||
|  | ||||
| msgid "component" | ||||
| msgstr "組件" | ||||
|  | ||||
| msgid "PAL" | ||||
| msgstr "PAL" | ||||
|  | ||||
| msgid "NTSC" | ||||
| msgstr "NTSC" | ||||
|  | ||||
| msgid "SECAM" | ||||
| msgstr "SECAM" | ||||
|  | ||||
| msgid "MAC" | ||||
| msgstr "MAC" | ||||
|  | ||||
| msgid "Hz" | ||||
| msgstr "赫茲" | ||||
|  | ||||
| msgid "Complete Main (CM)" | ||||
| msgstr "完成主要(CM)" | ||||
|  | ||||
| msgid "Music and Effects (ME)" | ||||
| msgstr "音樂和效果(ME)" | ||||
|  | ||||
| msgid "Visually Impaired (VI)" | ||||
| msgstr "視障(VI)" | ||||
|  | ||||
| msgid "Hearing Impaired (HI)" | ||||
| msgstr "聽障(HI)" | ||||
|  | ||||
| msgid "Dialogue (D)" | ||||
| msgstr "對話(D)" | ||||
|  | ||||
| msgid "Commentary (C)" | ||||
| msgstr "評論(C)" | ||||
|  | ||||
| msgid "Emergency (E)" | ||||
| msgstr "緊急(E)" | ||||
|  | ||||
| msgid "Voice Over (VO)" | ||||
| msgstr "旁白(VO)" | ||||
|  | ||||
| msgid "Karaoke" | ||||
| msgstr "卡拉OK" | ||||
|  | ||||
| msgid "Ch1" | ||||
| msgstr "Ch1" | ||||
|  | ||||
| msgid "Ch2" | ||||
| msgstr "Ch2" | ||||
|  | ||||
| msgid "C" | ||||
| msgstr "C" | ||||
|  | ||||
| msgid "L" | ||||
| msgstr "L" | ||||
|  | ||||
| msgid "R" | ||||
| msgstr "R" | ||||
|  | ||||
| msgid "S" | ||||
| msgstr "S" | ||||
|  | ||||
| msgid "SL" | ||||
| msgstr "SL" | ||||
|  | ||||
| msgid "SR" | ||||
| msgstr "SR" | ||||
|  | ||||
| msgid "dB" | ||||
| msgstr "dB" | ||||
|  | ||||
| msgid "not indicated" | ||||
| msgstr "沒有說明" | ||||
|  | ||||
| msgid "MHz" | ||||
| msgstr "兆赫茲" | ||||
|  | ||||
| msgid "free" | ||||
| msgstr "免費" | ||||
|  | ||||
| msgid "Mbit/s" | ||||
| msgstr "兆位/秒" | ||||
|  | ||||
| msgid "kbit/s" | ||||
| msgstr "千字節/秒" | ||||
							
								
								
									
										23
									
								
								symbols/eight.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/eight.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const eight_xpm[] = { | ||||
| "15 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++", | ||||
| "..............+", | ||||
| ".....++++.....+", | ||||
| "....++++++....+", | ||||
| "....++..++....+", | ||||
| "...++....++...+", | ||||
| "...++....++...+", | ||||
| "....++..++....+", | ||||
| ".....++++.....+", | ||||
| ".....++++.....+", | ||||
| "....++..++....+", | ||||
| "...++....++...+", | ||||
| "...++....++...+", | ||||
| "....++..++....+", | ||||
| "....++++++....+", | ||||
| ".....++++.....+", | ||||
| "..............+", | ||||
| "+++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/encrypted.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/encrypted.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const encrypted_xpm[] = { | ||||
| "23 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++++++++++", | ||||
| "+.....................+", | ||||
| "+.....................+", | ||||
| "+.....................+", | ||||
| "+..............+++....+", | ||||
| "+.............+++++...+", | ||||
| "+............+++.+++..+", | ||||
| "+............++...++..+", | ||||
| "+..++++++++++++...++..+", | ||||
| "+..++++++++++++...++..+", | ||||
| "+...++.++....++...++..+", | ||||
| "+...++.++....+++.+++..+", | ||||
| "+...++.++.....+++++...+", | ||||
| "+..............+++....+", | ||||
| "+.....................+", | ||||
| "+.....................+", | ||||
| "+.....................+", | ||||
| "+++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format1080.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format1080.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format1080_xpm[] = { | ||||
| "40 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++++", | ||||
| "+......................................+", | ||||
| "+......++...++++.....++++.....++++.....+", | ||||
| "+...+++++..++++++...++++++...++++++....+", | ||||
| "+...+++++..++..++...++..++...++..++....+", | ||||
| "+......++.++....++.++....++.++....++...+", | ||||
| "+......++.++....++.++....++.++....++...+", | ||||
| "+......++.++....++..++..++..++....++...+", | ||||
| "+......++.++....++...++++...++....++...+", | ||||
| "+......++.++....++...++++...++....++...+", | ||||
| "+......++.++....++..++..++..++....++...+", | ||||
| "+......++.++....++.++....++.++....++...+", | ||||
| "+......++.++....++.++....++.++....++...+", | ||||
| "+......++..++..++...++..++...++..++....+", | ||||
| "+......++..++++++...++++++...++++++....+", | ||||
| "+......++...++++.....++++.....++++.....+", | ||||
| "+......................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format1080i.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format1080i.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format1080i_xpm[] = { | ||||
| "42 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++++++", | ||||
| "+........................................+", | ||||
| "+......++...++++.....++++.....++++.......+", | ||||
| "+...+++++..++++++...++++++...++++++......+", | ||||
| "+...+++++..++..++...++..++...++..++......+", | ||||
| "+......++.++....++.++....++.++....++.....+", | ||||
| "+......++.++....++.++....++.++....++.++..+", | ||||
| "+......++.++....++..++..++..++....++.++..+", | ||||
| "+......++.++....++...++++...++....++.....+", | ||||
| "+......++.++....++...++++...++....++.++..+", | ||||
| "+......++.++....++..++..++..++....++.++..+", | ||||
| "+......++.++....++.++....++.++....++.++..+", | ||||
| "+......++.++....++.++....++.++....++.++..+", | ||||
| "+......++..++..++...++..++...++..++..++..+", | ||||
| "+......++..++++++...++++++...++++++..++..+", | ||||
| "+......++...++++.....++++.....++++...++..+", | ||||
| "+........................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format1080p.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format1080p.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format1080p_xpm[] = { | ||||
| "47 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++++++++++++++++++++++++++++++++++", | ||||
| "+.............................................+", | ||||
| "+......++...++++.....++++.....++++............+", | ||||
| "+...+++++..++++++...++++++...++++++...........+", | ||||
| "+...+++++..++..++...++..++...++..++...........+", | ||||
| "+......++.++....++.++....++.++....++..........+", | ||||
| "+......++.++....++.++....++.++....++..........+", | ||||
| "+......++.++....++..++..++..++....++.++++.....+", | ||||
| "+......++.++....++...++++...++....++.+++++....+", | ||||
| "+......++.++....++...++++...++....++.++..++...+", | ||||
| "+......++.++....++..++..++..++....++.++..++...+", | ||||
| "+......++.++....++.++....++.++....++.+++++....+", | ||||
| "+......++.++....++.++....++.++....++.++++.....+", | ||||
| "+......++..++..++...++..++...++..++..++.......+", | ||||
| "+......++..++++++...++++++...++++++..++.......+", | ||||
| "+......++...++++.....++++.....++++...++.......+", | ||||
| "+.............................................+", | ||||
| "+++++++++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format480.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format480.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format480_xpm[] = { | ||||
| "35 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++++++++++++++++++++++", | ||||
| "+.................................+", | ||||
| "+.........++....++++.....++++.....+", | ||||
| "+........+++...++++++...++++++....+", | ||||
| "+.......++++...++..++...++..++....+", | ||||
| "+......++.++..++....++.++....++...+", | ||||
| "+.....++..++..++....++.++....++...+", | ||||
| "+.....++..++...++..++..++....++...+", | ||||
| "+....++...++....++++...++....++...+", | ||||
| "+...++....++....++++...++....++...+", | ||||
| "+...+++++++++..++..++..++....++...+", | ||||
| "+...+++++++++.++....++.++....++...+", | ||||
| "+.........++..++....++.++....++...+", | ||||
| "+.........++...++..++...++..++....+", | ||||
| "+.........++...++++++...++++++....+", | ||||
| "+.........++....++++.....++++.....+", | ||||
| "+.................................+", | ||||
| "+++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format480i.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format480i.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format480i_xpm[] = { | ||||
| "38 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++", | ||||
| "+....................................+", | ||||
| "+.........++....++++.....++++........+", | ||||
| "+........+++...++++++...++++++.......+", | ||||
| "+.......++++...++..++...++..++.......+", | ||||
| "+......++.++..++....++.++....++......+", | ||||
| "+.....++..++..++....++.++....++.++...+", | ||||
| "+.....++..++...++..++..++....++.++...+", | ||||
| "+....++...++....++++...++....++......+", | ||||
| "+...++....++....++++...++....++.++...+", | ||||
| "+...+++++++++..++..++..++....++.++...+", | ||||
| "+...+++++++++.++....++.++....++.++...+", | ||||
| "+.........++..++....++.++....++.++...+", | ||||
| "+.........++...++..++...++..++..++...+", | ||||
| "+.........++...++++++...++++++..++...+", | ||||
| "+.........++....++++.....++++...++...+", | ||||
| "+....................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format480p.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format480p.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format480p_xpm[] = { | ||||
| "42 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++++++", | ||||
| "+........................................+", | ||||
| "+.........++....++++.....++++............+", | ||||
| "+........+++...++++++...++++++...........+", | ||||
| "+.......++++...++..++...++..++...........+", | ||||
| "+......++.++..++....++.++....++..........+", | ||||
| "+.....++..++..++....++.++....++..........+", | ||||
| "+.....++..++...++..++..++....++.++++.....+", | ||||
| "+....++...++....++++...++....++.+++++....+", | ||||
| "+...++....++....++++...++....++.++..++...+", | ||||
| "+...+++++++++..++..++..++....++.++..++...+", | ||||
| "+...+++++++++.++....++.++....++.+++++....+", | ||||
| "+.........++..++....++.++....++.++++.....+", | ||||
| "+.........++...++..++...++..++..++.......+", | ||||
| "+.........++...++++++...++++++..++.......+", | ||||
| "+.........++....++++.....++++...++.......+", | ||||
| "+........................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format576.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format576.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format576_xpm[] = { | ||||
| "33 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++++++++++++++++++++", | ||||
| "+...............................+", | ||||
| "+...+++++++.++++++++..++++++....+", | ||||
| "+...+++++++.++++++++.++++++++...+", | ||||
| "+...++......++....++.+++...++...+", | ||||
| "+...++............++.++.........+", | ||||
| "+...++...........+++.++.........+", | ||||
| "+...++++++.......++..++.+++.....+", | ||||
| "+...+++++++......++..+++++++....+", | ||||
| "+...++...+++....+++..+++..+++...+", | ||||
| "+.........++....++...++....++...+", | ||||
| "+.........++....++...++....++...+", | ||||
| "+...++....++...+++...++....++...+", | ||||
| "+...++...+++...++....+++..+++...+", | ||||
| "+...+++++++....++....+++++++....+", | ||||
| "+....+++++.....++.....+++++.....+", | ||||
| "+...............................+", | ||||
| "+++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format576i.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format576i.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format576i_xpm[] = { | ||||
| "36 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++", | ||||
| "+..................................+", | ||||
| "+...+++++++.++++++++..++++++.......+", | ||||
| "+...+++++++.++++++++.++++++++......+", | ||||
| "+...++......++....++.+++...++......+", | ||||
| "+...++............++.++............+", | ||||
| "+...++...........+++.++.......++...+", | ||||
| "+...++++++.......++..++.+++...++...+", | ||||
| "+...+++++++......++..+++++++.......+", | ||||
| "+...++...+++....+++..+++..+++.++...+", | ||||
| "+.........++....++...++....++.++...+", | ||||
| "+.........++....++...++....++.++...+", | ||||
| "+...++....++...+++...++....++.++...+", | ||||
| "+...++...+++...++....+++..+++.++...+", | ||||
| "+...+++++++....++....+++++++..++...+", | ||||
| "+....+++++.....++.....+++++...++...+", | ||||
| "+..................................+", | ||||
| "++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format576p.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format576p.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format576p_xpm[] = { | ||||
| "40 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++++", | ||||
| "+......................................+", | ||||
| "+...+++++++.++++++++..++++++...........+", | ||||
| "+...+++++++.++++++++.++++++++..........+", | ||||
| "+...++......++....++.+++...++..........+", | ||||
| "+...++............++.++................+", | ||||
| "+...++...........+++.++................+", | ||||
| "+...++++++.......++..++.+++...++++.....+", | ||||
| "+...+++++++......++..+++++++..+++++....+", | ||||
| "+...++...+++....+++..+++..+++.++..++...+", | ||||
| "+.........++....++...++....++.++..++...+", | ||||
| "+.........++....++...++....++.+++++....+", | ||||
| "+...++....++...+++...++....++.++++.....+", | ||||
| "+...++...+++...++....+++..+++.++.......+", | ||||
| "+...+++++++....++....+++++++..++.......+", | ||||
| "+....+++++.....++.....+++++...++.......+", | ||||
| "+......................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format720.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format720.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format720_xpm[] = { | ||||
| "34 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++", | ||||
| "+................................+", | ||||
| "+...++++++++...++++.....++++.....+", | ||||
| "+...++++++++.+++++++...++++++....+", | ||||
| "+...++....++.++....++..++..++....+", | ||||
| "+.........++.......++.++....++...+", | ||||
| "+.........++.......++.++....++...+", | ||||
| "+.........++.......++.++....++...+", | ||||
| "+........++......+++..++....++...+", | ||||
| "+.......+++.....+++...++....++...+", | ||||
| "+.......++.....+++....++....++...+", | ||||
| "+.......++....+++.....++....++...+", | ||||
| "+......+++...+++......++....++...+", | ||||
| "+......++....++........++..++....+", | ||||
| "+......++....++++++++..++++++....+", | ||||
| "+......++....++++++++...++++.....+", | ||||
| "+................................+", | ||||
| "++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format720i.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format720i.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format720i_xpm[] = { | ||||
| "37 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++++++++++++++++++++++++", | ||||
| "+...................................+", | ||||
| "+...++++++++...++++.....++++........+", | ||||
| "+...++++++++.+++++++...++++++.......+", | ||||
| "+...++....++.++....++..++..++.......+", | ||||
| "+.........++.......++.++....++......+", | ||||
| "+.........++.......++.++....++.++...+", | ||||
| "+.........++.......++.++....++.++...+", | ||||
| "+........++......+++..++....++......+", | ||||
| "+.......+++.....+++...++....++.++...+", | ||||
| "+.......++.....+++....++....++.++...+", | ||||
| "+.......++....+++.....++....++.++...+", | ||||
| "+......+++...+++......++....++.++...+", | ||||
| "+......++....++........++..++..++...+", | ||||
| "+......++....++++++++..++++++..++...+", | ||||
| "+......++....++++++++...++++...++...+", | ||||
| "+...................................+", | ||||
| "+++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/format720p.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/format720p.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const format720p_xpm[] = { | ||||
| "41 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++++++++++++++++++++++++++++", | ||||
| "+.......................................+", | ||||
| "+...++++++++...++++.....++++............+", | ||||
| "+...++++++++.+++++++...++++++...........+", | ||||
| "+...++....++.++....++..++..++...........+", | ||||
| "+.........++.......++.++....++..........+", | ||||
| "+.........++.......++.++....++..........+", | ||||
| "+.........++.......++.++....++.++++.....+", | ||||
| "+........++......+++..++....++.+++++....+", | ||||
| "+.......+++.....+++...++....++.++..++...+", | ||||
| "+.......++.....+++....++....++.++..++...+", | ||||
| "+.......++....+++.....++....++.+++++....+", | ||||
| "+......+++...+++......++....++.++++.....+", | ||||
| "+......++....++........++..++..++.......+", | ||||
| "+......++....++++++++..++++++..++.......+", | ||||
| "+......++....++++++++...++++...++.......+", | ||||
| "+.......................................+", | ||||
| "+++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/h264.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/h264.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const h264_xpm[] = { | ||||
| "40 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++++", | ||||
| "+......................................+", | ||||
| "+..++...++.....+++++...+++++.......++..+", | ||||
| "+..++...++....+++++++.+++++++.....+++..+", | ||||
| "+..++...++....++...++.++...++....++++..+", | ||||
| "+..++...++.........++.++........+++....+", | ||||
| "+..++...++.........++.++.......+++.....+", | ||||
| "+..++...++........+++.++......+++......+", | ||||
| "+..+++++++.......+++..++++++..++...++..+", | ||||
| "+..+++++++......+++...+++++++.+++++++..+", | ||||
| "+..++...++.....+++....++...++.+++++++..+", | ||||
| "+..++...++....+++.....++...++......++..+", | ||||
| "+..++...++....++......++...++......++..+", | ||||
| "+..++...++....++...++.++...++......++..+", | ||||
| "+..++...++.++.+++++++.+++++++......++..+", | ||||
| "+..++...++.++.+++++++..+++++.......++..+", | ||||
| "+......................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/mpeg2.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/mpeg2.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const mpeg2_xpm[] = { | ||||
| "44 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "++++++++++++++++++++++++++++++++++++++++++++", | ||||
| "+..........................................+", | ||||
| "+..++....++.+++++...+++++..+++++...+++++...+", | ||||
| "+..++....++.++++++..+++++.+++++++.+++++++..+", | ||||
| "+..+++..+++.++..+++.++....+++..++.++...++..+", | ||||
| "+..+++..+++.++...++.++....++...........++..+", | ||||
| "+..++++++++.++...++.++....++...........++..+", | ||||
| "+..++++++++.++..+++.++....++..........+++..+", | ||||
| "+..++.++.++.++++++..++++..++.++++....+++...+", | ||||
| "+..++.++.++.+++++...++++..++.++++...+++....+", | ||||
| "+..++....++.++......++....++...++..+++.....+", | ||||
| "+..++....++.++......++....++...++.+++......+", | ||||
| "+..++....++.++......++....++...++.++.......+", | ||||
| "+..++....++.++......++....+++..++.++...++..+", | ||||
| "+..++....++.++......+++++.+++++++.+++++++..+", | ||||
| "+..++....++.++......+++++..+++++..+++++++..+", | ||||
| "+..........................................+", | ||||
| "++++++++++++++++++++++++++++++++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/seven.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/seven.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const seven_xpm[] = { | ||||
| "15 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++", | ||||
| "..............+", | ||||
| "...++++++++...+", | ||||
| "...++++++++...+", | ||||
| "...++....++...+", | ||||
| ".........++...+", | ||||
| "........+++...+", | ||||
| "........++....+", | ||||
| "........++....+", | ||||
| ".......+++....+", | ||||
| ".......++.....+", | ||||
| ".......++.....+", | ||||
| "......+++.....+", | ||||
| "......++......+", | ||||
| "......++......+", | ||||
| "......++......+", | ||||
| "..............+", | ||||
| "+++++++++++++++"}; | ||||
							
								
								
									
										23
									
								
								symbols/six.xpm
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								symbols/six.xpm
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| /* XPM */ | ||||
| static const char *const six_xpm[] = { | ||||
| "15 18 2 1", | ||||
| ".	c #FFFFFF", | ||||
| "+	c #000000", | ||||
| "+++++++++++++++", | ||||
| "..............+", | ||||
| "....++++++....+", | ||||
| "...++++++++...+", | ||||
| "...+++...++...+", | ||||
| "...++.........+", | ||||
| "...++.........+", | ||||
| "...++.+++.....+", | ||||
| "...+++++++....+", | ||||
| "...+++..+++...+", | ||||
| "...++....++...+", | ||||
| "...++....++...+", | ||||
| "...++....++...+", | ||||
| "...+++..+++...+", | ||||
| "...+++++++....+", | ||||
| "....+++++.....+", | ||||
| "..............+", | ||||
| "+++++++++++++++"}; | ||||
		Reference in New Issue
	
	Block a user