9
\$\begingroup\$

I'm learning the basics of analog and digital TV signals and I came across this (original link, now gone) short article (see the next page as well).

Why can't analog video signals be compressed in a similar way to digital signals when using MPEG-2 (refer to the article above where they give a basic example of what I understand by MPEG-2)? why can't "repeated" pixels be ignored in analog to reduce the bandwidth usage as in digital?

To see what I mean refer to this question. There you can find the following picture:

Why can't you simply "ignore" (by not modulating it) a line of pixels (assuming it didn't change between frames) and reduce the data signal frequency and therefore the bandwidth usage?

\$\endgroup\$
7
  • 6
    \$\begingroup\$ Because analog has no means of encoding repetition. \$\endgroup\$ Commented Oct 28, 2014 at 22:54
  • \$\begingroup\$ How would you transmit the information about how many pixels to ignore, how to reconstruct the signal, etc? \$\endgroup\$
    – John D
    Commented Oct 28, 2014 at 22:54
  • \$\begingroup\$ @JohnD Ok I will expand a little from what I understand. \$\endgroup\$
    – 4nt
    Commented Oct 28, 2014 at 22:57
  • 1
    \$\begingroup\$ I'm somehow stuck at the point you say "why can't repeated pixels be ignored in analog to reduce...". Analog = continuous, not discreet. Analog doesn't have pixels. \$\endgroup\$ Commented Oct 29, 2014 at 14:20
  • 3
    \$\begingroup\$ All points about the limitations of analog processing aside, the compression you suggest for analog use is essentially RLE (run-length-encoding; about the simplest and least efficient type of compression). It is not particularly suitable for video compression, as few pixels remain exactly the same from one frame to another or compared to their neighbors. MPEG-2 and most other digital video compression schemes are based on the discrete cosine transform and motion prediction, among other schemes that operate on discrete/sampled/digital data. \$\endgroup\$
    – bcrist
    Commented Oct 29, 2014 at 22:24

4 Answers 4

11
\$\begingroup\$

You can compress analog video so it uses less bandwidth, at the cost of quality: slow scan television. Used to transmit live television from the surface of the moon, in blurry monochrome. These days we can have colour HD from the surface of Mars.

It's worth looking at how the various digital compression techniques work in detail, but they all rely on storing previous frames or bits of the current frame and computing based on the difference from the current frame. There are two reasons you can't really do this with analog:

  • there is no random access, fast, analog memory. The delay line mentioned by Brian Drummond is pretty much the only practical technology for analog memory, and it gives you the same signal at the same speed at a future time.

  • analog computation is bandwidth-limited and lossy. Gain-bandwidth product limits the extent to which you can speed it up.

Note that every frame of HD h264 decode will involve hundreds of millions of individual arithmetic operations. Encoding even more operations.

\$\endgroup\$
0
24
\$\begingroup\$

The analog TV signal was originally designed to be decoded with the smallest practical number of valves (tubes). Thus about half the signal space (30% of the signal amplitude and almost 30% of the time) is dedicated solely to synchronisation pulses easily detectable by analog valve circuitry, and the picture information is left with only the other half

Any enhancements over this original specification had to be implemented in a compatible way. Thus the colour signal is modulated on a high frequency carrier that does not disrupt the operation of the underlying black and white signal (though a really good B&W set will show it as a fine speckled pattern).

Later, other information (in the UK, PRESFAX, test signals - pulse and bar, one line of colour bars, CEEFAX/Teletext and closed captioning) were "compatibly" squeezed into nominally invisible "unused" lines during the field sync, but in practice you could see the moving dot pattern at the top of a badly aligned screen.

Compression could not be implemented in such a compatible manner ... how would you store a few lines of picture? Here's a box of tubes, have at it! When colour came along, a single line of low-bandwidth colour signal was stored in a delay line, for either delay-line PAL, or SECAM "Sequential Colour with Memory" decoders, but that wouldn't have been cheap enough before the mid 1960s. I think the delay line was a SAW (Surface Acoustic Wave) device.

In any case, signals as regular as your colour bar test pattern are too rare to be worth optimising. And if you saved some signal space on a simple picture, what would you do with it? A complex signal like a more typical picture needs the full bandwidth anyway.

\$\endgroup\$
8
  • 1
    \$\begingroup\$ Oh what fond memories your descriptions bring back :-) I still remember marveling at the precise mathematical relationships between color, H, and V sync rates, and how the H became 15734 hz to keep all the frequencies locked, and how these very relationships brought about the early scrambling methods ( Add how to crack them ) :-) \$\endgroup\$
    – Randy
    Commented Oct 29, 2014 at 1:41
  • \$\begingroup\$ and the test patterns are there to test how the signal gets decoded, not just how well the screen functions \$\endgroup\$ Commented Oct 29, 2014 at 10:20
  • \$\begingroup\$ @Randy Great memories, LOL. I may have built a couple of descramblers myself back in those days.... \$\endgroup\$
    – John D
    Commented Oct 29, 2014 at 14:00
  • \$\begingroup\$ I have a Mazda Valve databook, with application circuits for line and frame scan waveform generators. Each used only 3 active devices : a T.31 thyratron followed by 2 AC/P4 "special" triodes (rated to work off 1200V). That app note is dated 1 August 1939... \$\endgroup\$
    – user16324
    Commented Oct 29, 2014 at 14:40
  • \$\begingroup\$ Should add, this was for the 405 line transmission system, which was pushing the state of the art when it appeared. I was working at the BBC in the mid-80s when the last 405 line transmitter was turned off. A friend spent months beforehand restoring a war-surplus "GEE" radar display (modified in a classic late-40s hack) to watch the last transmission... on (I think) a 7 inch orange screen! \$\endgroup\$
    – user16324
    Commented Oct 29, 2014 at 14:46
11
\$\begingroup\$

An analog video signal is basically a waveform. It's 100% time based, and one frame takes a specific length of time to transfer, since that is how long the wave is.

The wave itself takes a certain amount of bandwidth, which is basically how much data is held in that wave. It's possible to reduce the amount of bandwidth required through various filtering techniques.

Analog video only really has the concept of "now" - the single pixel that is being displayed at that moment.

Conversely, a digital video signal is an interleaved data stream. One of the sub-streams is the picture stream. This is a frame-based stream, where each frame of the video is treated as an individual entity. It's this concept of the frames that allows video compression. Digital video has the concept of "this frame" rather than "this pixel", so it can compare neighbouring pixels in all 3 dimensions (not only the up/down left/right 2 dimensions of the frame, but also the third "time" dimension, comparing with past, and even future, frames).

An analog video signal can be fairly easily converted into a digital format through the use of a frame grabber. It can then be compressed just like any other digital format.

A good analogy would be audio. Compare an old audio cassette with an MP3. When you're playing a cassette the tape is moving past the read head at a set speed, and the read head converts the magnetism on the tape at that specific moment in time to a movement of the speaker.

Conversely, with an MP3, chunks of data (again, they're called frames) and decodes them into an audio waveform for playing through the speaker.

(note: this is a vastly simplified description, and as a result is completely wrong ;) )

\$\endgroup\$
1
  • 2
    \$\begingroup\$ 'Analog video only really has the concept of "now" - the single pixel that is being displayed at that moment.' That's important. +1. \$\endgroup\$
    – Transistor
    Commented Aug 28, 2017 at 14:01
3
\$\begingroup\$

Edit: There are different kinds of what one might call compression. I'll distinguish content-independent compression and content-dependent compression. Content-independent compression would be e.g. reducing the signal bandwidth, interlacing, etc. Such techniques can be applied independent of the content that's being transmitted, and generally reduce the quality of the signal in some way. Content-dependent compression would be methods such as MPEG-2 that look at the content of a signal and remove duplicate parts of an image/sound/etc. The improvement in bandwidth usage of content-independent methods is always the same, for content-dependent methods it depends on the content of the signal (assuming a fixed output quality). If there is lots of duplication (e.g. a still image being encoded in MPEG-2) there is a lot of reduction in data size, if there is no duplication (e.g. random noise being encoded) there is no reduction in size. In practice methods like MPEG-2 guarantee a given maximum data usage by lowering the quality of the signal if there is not enough duplication to make use of.

In the rest of this answer I only consider content-dependent compression methods such as MPEG.

In principle there's no reason why an analog signal can't be compressed. Compression was not originally used in analog tv because the technology did not exist yet, it requires processing hardware that did not exist, and if the hardware could be created at all with the technology of the time it would have been way too expensive.

Changing the existing signal format to e.g. add compression is problematic because all receivers need to be changed. This is basically what's happening in the analog to digital switchover in many countries. If all receivers need to be updated or replaced anyway, you might as well change the signal to digital, which with current technology is more cost- and bandwidth efficient than analog signals.

One could devise a way of adding some kind of additional signal onto the existing analog signal, but if you don't want all existing receivers to upgrade, you cannot remove the existing analog signal and you therefore cannot reduce the bandwidth usage. The main reason why countries are replacing their analog transmissions by digital transmissions instead of just transmitting digital next to analog is the limited amount of radio spectrum bandwidth available.

Another aspect is that to e.g. not transmit a scanline in an analog tv transmission if it didn't change from the previous frame, you would need to decide what "didn't change" means exactly. In a digital signal the values of pixels are quantised so it is simple to define when one row of pixels is the same as a previous row. In an analog signal you will never find the signals for the two scanlines to be exactly the same, so you will need some threshold of what you consider equal. By applying such a threshold you quantise this aspect of the signal, so you are a small step closer to being digital.

\$\endgroup\$
3
  • 3
    \$\begingroup\$ Welcome to EE.SE. This question is almost three years old and has an accepted answer. Besides, compression is very much in use in analog (color) TV. Interlacing, reduced bandwidth for the color sideband and the YUV instead of RGB are all due to analog compression techniques. \$\endgroup\$
    – winny
    Commented Aug 28, 2017 at 14:36
  • 2
    \$\begingroup\$ True. I was considering content-dependent compression, i.e. using less bandwidth if the image does not contain lots of details. Interlacing and reduced bandwidth are on all the time. (And YUV is more about backward compatibility with black and white tvs, though the bandwidth compression of the UV-part is compression.) Digital signals are also limited to some maximum bits per second, but they can allocate more bits to the parts of the screen that need it. \$\endgroup\$
    – JanKanis
    Commented Aug 28, 2017 at 14:48
  • \$\begingroup\$ Read up on RGB, bandwidth, YUV and color TV. Wikipedia has an excellent article on this and analog compression. \$\endgroup\$
    – winny
    Commented Aug 28, 2017 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.