5D.TV

PURPOSE
Simulate watching TV ; from a very old BW set with bad reception onwards. There is also a picture roll facility for recording a TV screen and a fast forward play option for a video tape. A range of tuning feature can optionally affect the quality of the broadcast. These effects are added together; ghosting with edge enhancement, horizontal hold, horizontal wrap, vertical roll, snow ( noise ), input resolution, the usual color and contrast controls, gun alignment, scan lines and recording roll till the desired effect is created. Added to this the sequence can be fast forwarded and the TV set turned off giving the old white dot ( if you can remember this effect! ).

INPUT CLIP
TV Program: the clip to broadcast.

Effect 1: Color or BW TV
What sort of TV do you want? Plus basic color and contrast adjustments.

Type (Default: Color TV)
BW TV=0: Converts the input to BW. Only the Contrast and Brightness will affect BW TV.
Color TV=1: Uses the input sequence with any of the following effects applied.
NOTE: If your input clip is already BW turn on BW. This will speed up the processing quite a bit. You will only be processing 1 channel instead of 3.

Contrast (Min: -100.0 Max: 100.0 Default: 0.0)
Brightness (Min: 0.0 Max: 500.0 Default: 100.0)
Standard contrast and brightness controls.

Color (Min: 0.0 Max: 200.0 Default: 100.0)
When Color TV is selected the color can be increased or decreased.

Red/Green/Blue (Default: 100.0)
When Color TV is selected each color component can be increased or decreased.

Effect 2: GHOSTS
Shadowy echoes of the main signal.

Type (Default: Ghosts Off)
Ghosts Off=0: no ghosts will be created even if the following parameters are valid. Once you have set up the ghosting you like, turn them off to speed up testing other effects. This applies to all the On/Off options for all the effects.
Ghosts On=1: the following ghost parameters will be applied.

Number (Min: 0.0 Max: 10.0 Default: 1.0)
Ghosts of 0 gives no ghosting. This is similar to turning ghosts off but you can dynamically add in ghosting during the sequence by animating the value. Ghosts greater than about 4 are hard to see ( it will depend on all the other parameters) If you can trim the number of visible ghosts it will speed things up a little.

Offset ( Min: -400.0 Max: 400.0 Default: 12.0)
Specifies the maximum offset for the first ghost. Subsequent ghosts are proportional to this.

Brightness ( Min: 0.0 Max: 500.0 Default: 100.0)
How intense the ghosts may be.

Effect 3: EDGES
This enhances features in ghosts and in the fast forward mode, giving a nice crispness to areas of the image.

Type (Default: Edges Off)
Edges Off=0: no edging will be applied even if valid parameters are set.
Edges On=1: the edging effect is applied.

Width (Min: 0.01 Max: 30.0 Default: 3.0)
Depth (Min: 1.0 Max: 100.0 Default: 3.0)
Contrast edges are found within the Edge Width radius and then scaled by the Edge Depth. It is recommended you use a smaller Edge Width with a higher Edge Depth to increase the effect as the larger radius the slower the processing.

Effect 4: HORIZONTAL HOLD
The image is offset horizontally by two interacting wave forms which can be shifted across and rolled down the screen.

Type (Default: HzHold Off)
HzHold Off=0: the effect will not be applied even if valid parameters are set.
HzHold On=1: the effect is applied.
Reset HzHold: sets default values for HzHold.

Scale 1 (Min: 0.0 Max: 600.0 Default: 0.0)
Scale 2 (Min: 0.0 Max: 600.0 Default: 0.0)
The two scales amplify the the wave form. If both are 0.0 there is no horizontal hold effect.

Phase 1 (Min: 0.0 Max: 600.0 Default: 3.0)
Phase 2 (Min: 0.0 Max: 600.0 Default: 6.0)
The number of cycles in each wave form. Having a 2:1 ratio gives a nice oscillation. The higher the numbers the wigglier the waves.

Shift (Min: -1500.0 Max: 1500.0 Default: 0.0)
Shift and wraps the whole wave form left or right.

Deform (Min: 0.0 Max: 100.0 Default: 100.0)
Scales the effect of the wave form down the screen. At 0.0 it starts at nothing and builds up down the screen.

Roll (Min: 0.0 Max: 1024.0 Default: 0.0)
As the sequence progresses the horizontal wave forms move down the screen by the Hz Roll value per frame.

Effect 5: HORIZONTAL WRAP
Each line of the signal overflows and image appears to wrap round.

Type (Default: HzWrap Off)
HzWrap Off=0: the effect will not be applied even if valid parameters are set.
HzWrap On=1: the effect is applied.

Coarse (Min: 0.0 Max: 10.0 Default: 1.0)
Fine (Min: 0.0 Max: 1024.0 Default: 0.0)
These are the Coarse and Fine adjustments to the scan line overflow. Changing the Fine value extends the line in pixel increments; the Coarse in line length increments.

Effect 6: VERTICAL ROLL
The image rolls up or down the screen, wrapping round.

Type (Default: VtRoll Off)
VtRoll Off=0: the effect will not be applied even if valid parameters are set.
VtRoll On=1: the effect is applied.

Speed (Min: -1024.0 Max: 1024.0 Default: 0.0)
The speed in pixels per frame at which the image is rolled round.

Offset (Min: 0.0 Max: 1000.0 Default: 0.0)
This offset is added to the current position. Animating the offset can counteract the roll speed causing the roll to reverse direction.

Effect 7: SNOW
Not the cold Christmassy stuff but lumps of noise all over the picture.

Type (Default: Snow Off)
Snow Off=0: the effect will not be applied even if valid parameters are set.
Snow On=1: the effect is applied.

Brightness (Min: 0.0 Max: 500.0 Default: 50.0)
Sets the brightness of the snow.

Density (Min: 0.0 Max: 100.0 Default: 50.0)
How much snow is visible.

Style (Min: 0.0 Max: 100.0 Default: 10.0)
The appearance of the snow. The lower the numbers the more elongated each bit of snow is.

Fuzz (Min: 0.0 Max: 100.0 Default: 0.0)

This blurs the snow before adding it to the picture.

Effect 8: GUN ALIGNMENT
When the RGB guns are misaligned you get nice color fringing to the picture. If you have a BW TV then the gun effect would not be valid, however with this effect you could be watching a BW movie on a color TV.

Type (Default: Alignment Off)
Alignment Off=0: the effect will not be applied even if valid parameters are set.
Alignment On=1: the effect is applied.

Red Gun (Min: 0.5 Max: 2.0 Default: 1.0)
Green Gun (Min: 0.5 Max: 2.0 Default: 1.0)
Blue Gun (Min: 0.5 Max: 2.0 Default: 1.0)
Scales the image each gun provides, thus misaligning the images.

Effect 9: SCAN LINES
This breaks up the image into discrete bands giving the effect of low resolution transmissions.

Type (Default: Scan Off)
Scan Off=0: the effect will not be applied even if valid parameters are set.
Scan On=1: the effect is applied.

Width (Min: 1.0 Max: 800.0 Default: 2.0)
How many lines in the current image represents one in the output. This is not pixel and line replication but an intensity effect.

Brightness (Min: -100.0 Max: 100.0 Default: 0.0)
Scales the brightness of the resulting scanned image.

Effect 10: RECORDING ROLL
When you shoot the screen off a TV you often get the illusion of a dark band rolling down the image.

Type (Default: Record Roll Off)
Record Roll Off=0: the effect will not be applied even if valid parameters are set.
Record Roll On=1: the effect is applied.

Speed (Min: 0.0 Max: 250.0 Default: 1.0)
The speed in lines per frame, with which the effect moves down the screen.

Width (Min: 2.0 Max: 2000.0 Default: 90.0)
How many lines the roller band affects.

Offset (Min: -2000.0 Max: 2000.0 Default: 0.0)
The offset added to the current roller position.

Dim (Min: 0.0 Max: 200.0 Default: 100.0)
As the dim value increases the roller region becomes darker.

Effect 11: FAST FORWARD
Note: until the api allows for random frame access this effect does not really skip frames. The effect still works, but the sequence is not speeded up.
The input sequence is forced to skip frames; if it runs out of input frames a black frame is created and used to continue the effect.

Type (Default: FF Off)
FF Off=0: the effect will not be applied even if valid parameters are set.
FF On=1: the sequence is fast forwarded.

Speed (Min: 1 Max: 100 Default: 1)
Which frames to use; 1 = all, 6 = every 6th etc. Please use this control to enhance the effect but it will not skip frames.

Smear (Min: 0.0 Max: 10.0 Default: 1.0)
Smears the image horizontally based on the FF Speed and scaled by the FF Smear factor.

Effect 12: INPUT RESOLUTION
Before processing the input image is scaled down and up again thus losing image quality.

Resolution (Default: Full Resolution)
Full=0
Quarter=2

Choose the prescaling quality you prefer.

Effect 13: THE WHITE DOT
A simple effect which collapses the picture to a bright white circle.

Dot (Min: 0.0 Max: 100.0 Default: 100.0)
At 100.0 the picture will not be affected. As the values decrease the image is squashed into a circle and the brightness increased to white.

PI DEMOS

There are general reset options for each effect plus a selection of demos. When you click on any of the demo buttons keep your cursor over the demo buttons window. The cursor will be displayed as a clock while setting up the desired effect. When complete the cursor will return to normal. With fast demo setups you may not get to see the cursor! Hit Left Side
Hit Right Side
Double Tap
Thump Top

The above options will affect the picture in various ways depending on which effects are turned on. Try them.
Throw Brick: Use in desperation to get a good picture!
Turn All FX OFF: turns all the effects off.

Hint: Each of the effects can be selectively added to the overall effect. Using the Off option for any of the effects turns off that effect without losing the desired settings. You can then quickly compute the result of other effects. Turn them back on again to see the complete effect.

Index