Originally this post contained the whole README file of the transcoder package, but in version 4 there is no README file any more, as it contains a full 75 pages manual in PDF format.
After installing rtranscode, you can run
rtranscode -h (or --help)
to get a list of possible usages and command line options:
Usage: rtranscode [options] uri videomode audiomode:audiopid
uri = URL of your local TV http or udp server stream (MPEG TS only)
videomode must be one of the following:
sd1 for MPEG 720x576i SD video
sd2 for H264 720x576i SD video
sd3 for MPEG 720x480i SD video
sd4 for H264 720x480i SD video
sd5 for MPEG 704x576i SD video
sd6 for MPEG 544x576i SD video
sd7 for MPEG 480x576i SD video
sd8 for MPEG 352x576i SD video
hd1 for H264 1280x720p HD video
hd2 for H264 1920x1080i HD video
hd3 for MPEG 1280x720p HD video
hd4 for MPEG 1920x1080i HD video
hd5 for H264 1440x1080i HD video
hd6 for H264 1280x1080i HD video
audiomode must be either 'mpeg', 'ac3' or 'aac'
audiopid must match your TS stream (decimal or hex starting with 0x)
rtranscode [options] -f=file_path
read data from file
rtranscode [options] -n=channel_name
select a channel by name from channels file
rtranscode [options] -g=URI
analyze stream URI and return name and arguments
rtranscode [options] -t=URI
analyze stream URI and start transcoding, if possible
rtranscode [options] -i=infile -o=outfile
analyse URIs from infile and append to channels file outfile (created, if missing)
If called without further argments, transcode will try to read
from a channels file and offer a simple selection menu.
(default = /usr/local/share/rtranscode/rt_config.py)
(default = /usr/local/share/rtranscode/channels.dat)
-a=Audio bitrate number (0..12), default = 0 (original)
-v=video bitrate number (0..24), default = 2 (medium)
-s=SD video size number (0..7), default = 7 (576p)
-h=HD video size number (0..8), default = 4 (512p)
-e=deinterlace (0..7), default = 0 (off)
-x=videoscaler quality (0..2), default = 0 (OMX)
-path=path output path for stream URL, must start with a "/" and end with ".mkv", default = "/xyz.mkv"
-port=port output port for stream URL, must be greater than 1024, default = "9080"
-u=audio_output_format must be either "aac", "ac3" or "both", default = both
-r=delay, start the original stream before running the transcoder, (0..10), default = 0
-l=record_path, full path to recording directory, default = current directory
-z=user_script_path, full path to a user script for tuning commands, default: /usr/local/share/rtranscode/tuner.py
Options without arguments:
-sm print the http-launch command line with all arguments instead of starting the transcoder
-q run both rtranscode and http-launch in silent mode, prevents menu mode from working!
-h or --help, show usage
Once you have created a channel database, you can run rtranscode in interactive mode, using a curses menu:
rtranscode can also be controlled using a GUI running in kweb:
The rtranscode web server gives you access to transcoding using any browser on your network or even from the internet:
It offers a number of configuration options:
Less privileged user will see a much simpler web page:
The rtranscode V. 4 package contains a number of tools to create your own TV server backend, using either GnuTV or MuMuDVB.
GnuTV GUI, running in kweb:
MuMuDVB GUI, running in kweb, serving complete transponders:
For both backends, tuning and access to the original streams is also supported by the rtranscode web server.
For more details, check the PDF manual, which is also available online