.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Frequencies 3pm" .TH Frequencies 3pm 2024-03-07 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Video::Frequencies \- Many, many frequency constants and lists. .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Video::Frequencies; \& \& while (my($name,$list) = each %CHANLIST) { \& print "$name\en"; \& while (my($channel,$freq) = each %$list) { \& printf " %\-4s %9d\en", $channel, $freq; \& } \& print "\en"; \& } .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" This module exports (yes, exports!) frequency constants as well as hashes with channel => frequency relations for digital and analog video and audio broadcast. Another, shorter way to put it is "worldwide channel/frequency list". All frequencies are given in kHz. .PP It's a good idea to use \f(CW\*(C`perldoc \-m Video::Frequencies\*(C'\fR to get an idea on how the various constants and lists look like. .SH "Exported Audio Carrier Frequencies" .IX Header "Exported Audio Carrier Frequencies" .Vb 9 \& NTSC_AUDIO_CARRIER \& PAL_AUDIO_CARRIER_I \& PAL_AUDIO_CARRIER_BGHN \& PAL_AUDIO_CARRIER_MN \& PAL_AUDIO_CARRIER_D \& SEACAM_AUDIO_DKK1L \& SEACAM_AUDIO_BG \& NICAM728_PAL_BGH \& NICAM728_PAL_I .Ve .PP NICAM 728 32\-kHz, 14\-bit digital stereo audio is transmitted in 1ms frames containing 8 bits frame sync, 5 bits control, 11 bits additional data, and 704 bits audio data. The bit rate is reduced by transmitting only 10 bits plus parity of each 14 bit sample, the largest sample in a frame determines which 10 bits are transmitted. The parity bits for audio samples also specify the scaling factor used for that channel during that frame. The companded audio data is interleaved to reduce the influence of dropouts and the whole frame except for sync bits is scrambled for spectrum shaping. Data is modulated using QPSK, at below following subcarrier freqs .SH "Broadcast Format by Country" .IX Header "Broadcast Format by Country" .IP "(M) NTSC" 4 .IX Item "(M) NTSC" Antigua, Aruba, Bahamas, Barbados, Belize, Bermuda, Bolivia, Burma, Canada, Chile, Colombia, Costa Rica, Cuba, Curacao, Dominican Republic, Ecuador, El Salvador, Guam Guatemala, Honduras, Jamaica, Japan, South Korea, Mexico, Montserrat, Myanmar, Nicaragua, Panama, Peru, Philippines, Puerto Rico, St Christopher and Nevis, Samoa, Suriname, Taiwan, Trinidad/Tobago, United States, Venezuela, Virgin Islands .IP "(B) PAL" 4 .IX Item "(B) PAL" Albania, Algeria, Australia, Austria, Bahrain, Bangladesh, Belgium, Bosnia-Herzegovinia, Brunei Darussalam, Cambodia, Cameroon, Croatia, Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, Finland, Germany, Ghana, Gibraltar, Greenland, Iceland, India, Indonesia, Israel, Italy, Jordan, Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysa, Maldives, Malta, Nepal, Netherlands, New Zeland, Nigeria, Norway, Oman, Pakistan, Papua New Guinea, Portugal, Qatar, Sao Tome and Principe, Saudi Arabia, Seychelles, Sierra Leone, Singapore, Slovenia, Somali, Spain, Sri Lanka, Sudan, Swaziland, Sweden, Switzeland, Syria, Thailand, Tunisia, Turkey, Uganda, United Arab Emirates, Yemen .IP "(N) PAL" 4 .IX Item "(N) PAL" Argentina (Combination N), Paraguay, Uruguay .IP "(M) PAL (525/60, 3.57MHz burst)" 4 .IX Item "(M) PAL (525/60, 3.57MHz burst)" Brazil .IP "(G) PAL" 4 .IX Item "(G) PAL" Albania, Algeria, Austria, Bahrain, Bosnia/Herzegovinia, Cambodia, Cameroon, Croatia, Cyprus, Denmark, Egypt, Ethiopia, Equatorial Guinea, Finland, Germany, Gibraltar, Greenland, Iceland, Israel, Italy, Jordan, Kenya, Kuwait, Liberia, Libya, Luxembourg, Malaysia, Monaco, Mozambique, Netherlands, New Zealand, Norway, Oman, Pakistan, Papa New Guinea, Portugal, Qatar, Romania, Sierra Leone, Singapore, Slovenia, Somalia, Spain, Sri Lanka, Sudan, Swaziland, Sweeden, Switzerland, Syria, Thailand, Tunisia, Turkey, United Arab Emirates, Yemen, Zambia, Zimbabwe .IP "(D) PAL" 4 .IX Item "(D) PAL" China, North Korea, Romania, Czech Republic .IP "(H) PAL" 4 .IX Item "(H) PAL" Belgium .IP "(I) PAL" 4 .IX Item "(I) PAL" Angola, Botswana, Gambia, Guinea-Bissau, Hong Kong, Ireland, Lesotho, Malawi, Nambia, Nigeria, South Africa, Tanzania, United Kingdom, Zanzibar .IP "(B) SECAM" 4 .IX Item "(B) SECAM" Djibouti, Greece, Iran, Iraq, Lebanon, Mali, Mauritania, Mauritus, Morocco .IP "(D) SECAM" 4 .IX Item "(D) SECAM" Afghanistan, Armenia, Azerbaijan, Belarus, Bulgaria, Estonia, Georgia, Hungary, Zazakhstan, Lithuania, Mongolia, Moldova, Poland, Russia, Slovak Republic, Ukraine, Vietnam .IP "(G) SECAM" 4 .IX Item "(G) SECAM" Greece, Iran, Iraq, Mali, Mauritus, Morocco, Saudi Arabia .IP "(K) SECAM" 4 .IX Item "(K) SECAM" Armenia, Azerbaijan, Bulgaria, Estonia, Georgia, Hungary, Kazakhstan, Lithuania, Madagascar, Moldova, Poland, Russia, Slovak Republic, Ukraine, Vietnam .IP "(K1) SECAM" 4 .IX Item "(K1) SECAM" Benin, Burkina Faso, Burundi, Chad, Cape Verde, Central African Republic, Comoros, Congo, Gabon, Madagascar, Niger, Rwanda, Senegal, Togo, Zaire .IP "(L) SECAM" 4 .IX Item "(L) SECAM" France .SH "Channel\->Frequency Relations" .IX Header "Channel->Frequency Relations" The Channel\->Frequency relations are stored in the following hashes. The keys are the Channel names, the values are the corresponding frequency in kHz. For example, "arte" is channel "SE6" in the town in Germany I live in, so, consequently, \f(CW$PAL_EUROPE\fR{SE6} equals 140250, the frequency I have to tune my receiver. .PP .Vb 11 \& US broadcast %NTSC_BCAST \& US cable %NTSC_CABLE \& US HRC %NTSC_HRC \& JP broadcast %NTSC_BCAST_JP \& JP cable %NTSC_CABLE_JP \& Australia %PAL_AUSTRALIA \& Europe %PAL_EUROPE \& Europe East %PAL_EUROPE_EAST \& Italy %PAL_ITALY \& Ireland %PAL_IRELAND \& Newzealand %PAL_NEWZEALAND \& \& CCIR frequencies %FREQ_CCIR_I_III \& %FREQ_CCIR_SL_SH \& %FREQ_CCIR_H \& OIRT frequencies %FREQ_OIRT_I_III \& %FREQ_OIRT_SL_SH \& %FREQ_UHF .Ve .SH "The List of Lists" .IX Header "The List of Lists" The hash \f(CW%CHANLIST\fR contains name => channel-list pairs, e.g. \&\f(CW$CHANLIST\fR{"ntsc\-bcast"} contains a reference to \f(CW%NTSC_BCAST\fR. .SH AUTHOR .IX Header "AUTHOR" Nathan Laredo (laredo@broked.net), adapted to perl by Marc Lehmann