Repeater Streaming

From BATC Wiki
Revision as of 20:58, 9 August 2017 by G8GKQ (talk | contribs) (Created page with "===Introduction=== The Portsdown software includes a repeater streaming mode. While this is under development here are some notes: If you have a noise-free (digital in and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

The Portsdown software includes a repeater streaming mode. While this is under development here are some notes:

If you have a noise-free (digital in and out) signal, the default settings should work well for you.

If you have a digital output at least your syncs should be good. More info to come.

If you have a noisy analog signal that you want to stream, your first priority should be to clean up the syncs. Use a decent sync inserter. Options include the one described in CQ-TV 129 or a GTH Electronics Advanced Digital Converter and Video Enhancer.

Next step for a noisy analog signal is to take the colour off it. Noisy colour causes real problems with building up latency and the picture is a lot more watchable if you can cut it out. If you are unable to cut it out in hardware try the software method below.

Customising the Software

You can easily modify the Portsdown software to suit your own input signal. The critical statement is at about line 841 of the file /home/pi/rpidatv/scripts/a.sh. This defines how the ffmpeg command codes the video for streaming. The parameter that needs changing is the video filter; this is defined in the quotes after -vf.

The default code is

"format=yuyv422,yadif=0:1:0"

This tells the encoder to use yuyv422 format and to reverse the interlace fields; yadif is "yet another de-interlace filter" and this command corrects for the fact that the Fushicai EasyCap outputs PAL interlaced fields bottom field first, when it should be top field first.

If you have a noisy signal, the best combination that I have found is: