Streaming directly from MiniTiouner

From BATC Wiki
Revision as of 11:28, 18 February 2019 by G8GTZ (talk | contribs) (Created page with "Using the UDP output and an ffmpeg batch file it is possible to stream directly from MiniTionuer to the BATC streamer. Note: this requires a higher spec PC and drop outs and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using the UDP output and an ffmpeg batch file it is possible to stream directly from MiniTionuer to the BATC streamer.

Note: this requires a higher spec PC and drop outs and audio problems on higher bit rates are likely to be processor overloading. It also requires some knowledge and is therefore not recommended for beginners!

Configuring MiniTionuer

  • configure MInTiouner to receive signals.
  • Edit your minitioune.ini file (found in the same directory as all MiniTiouner programs) so that the UDP output is only on 127.0.0.1 and port 1234 - it should look like this:
;=====================================================================
; adresse UDP / UDP address
[UDP]	
;=====================================================================	
;AddrUDP=230.0.0.1
AddrUDP=127.0.0.1	
Port=1234


  • The next step is to install ffmpeg on your PC. Download it from here: https://ffmpeg.zeranoe.com/builds/ Use the release build, 32-bit, static. Unzip the downloaded file and move the files to a folder called ffmpeg on your C:\ drive so that it has the folders bin, docs, licenses and presets inside it.
  • Now create the windows batch file which will control ffmpeg. Copy the following text in to a text editor (windows note pad etc):


 You will need to make some amendments to the file; do this by right-clicking and selecting edit.  Near the top of the file replace the callsign G8GKQ with your callsign; then replace the IP address (192.168.2.111) with the IP address of your Portsdown TX RPi.  This IP address is displayed when you change the Portsdown video source to IPTSIN (don't forget to press the space bar to change the selection!).  

You may want to adjust the aspect ratio of the output. This is done by editing the line...
-pix_fmt yuv420p -r 25 -s 768x576 -aspect 4:3 -qmin 2 -qmax 35^
by changing 768x576 to whatever you want. A common setting is 720x540
Save the file.