hi pclin, könntest du das komplieren?
Macht aus unicast -> multicast...
https://github.com/gfto/tomcast
Danke!
tomcast für OS2.5
-
-
tomcast 1.30 armhf/mipsel ab OE2.5
tomcast
=======
tomcast reads mpeg transport streams over http or udp (multicast or
unicast) and outputs them to chosen multicast group. Basically a simple
http2multicast daemon designed to work 24/7.License
=======
tsdecrypt is released under GNU GPL v2.Code
Alles anzeigen[19:10 root@dm900 tomcast] > ./tomcast tomcast 1.30 Copyright (C) 2010-2016 Unix Solutions Ltd. Usage: tomcast [opts] -c config_file Options: -c file Channels configuration file -i ident Server ident. Must be formated as PROVIDER/SERVER -d pidfile Daemonize and write daemon pid into pidfile -t ttl Set multicast ttl (default: 1) -o ip Output interface address (default: 0.0.0.0) -l host Syslog host (default: disabled) -L port Syslog port (default: 514) -R Send reset packets when changing sources. Web server options: -b addr Local IP address to bind. (default: 0.0.0.0) -p port Port to listen. (default: disabled)
Entpacken nach /usr/bin, Rechte 755gruß pclin
-
README.WEB_ACCESS
Code
Alles anzeigenTo enable the web access start tomcast with -b (listen address) and -p (listen port parameters). For example: tomcast -b 127.0.0.1 -p 8081 Now you can access the web interface exposed by tomcast at http://127.0.0.1:8081/ The following endpoints are accessible: http://127.0.0.1:8081/getconfig Return currently configured channels in channels.conf format that tomcast uses. http://127.0.0.1:8081/reconnect Reconnect all sources. If channels have more than one source the source will be changed to the next available source. http://127.0.0.1:8081/reload Reload config file. This would start/stop new/removed channels. http://127.0.0.1:8081/status Return current channels status. The status looks like this: # Status DestAddr ConnTime ReadBytes ChanName ChanSource ProxyStatus CONN_OK 239.78.78.78:5000 123 148708 chan1 http://example.com:8080/stb/chan1.mpg Synced CONN_ERROR 239.79.79.79:5000 60 65800 chan2 http://ux.iptv.bg:8080/stb/chan2.mpg Synced CONN_ERROR 239.80.80.80:5000 0 0 chan3 udp://239.1.2.3:5000/ Connected "Status" - current channel status which can be CONN_OK or CONN_ERROR CONN_ERROR - Means that the source of the channel is currently not connected or bytes read are at least 1316 or ConnTime is 0 "ProxyStatus" - Last connection status Connected Working Reconnecting Dying Forced reconnect ERROR: Can not connect to source ERROR: Can not resolve source host ERROR: Can not sync mpeg ERROR: Dns resolve timeout ERROR: Read timeout ERROR: Source returned invalid HTTP code ERROR: Source returned no-signal ERROR: Source returned unhandled error code ERROR: Timeout while syncing mpeg ERROR: Too many zero reads ERROR: fdread() timeout while syncing mpeg ERROR: fdread() timeout while syncing mpeg
channels.conf-exampleCode
Alles anzeigen## The config file format is (use TABs not spaces!): ## ## channel[tab]dest[tab]source ## ## Lines starting with # are considered comments. ## Read channel from http://example.com/stb/btv.mpg and output it to multicast address 239.78.78.78:5000 chan1 239.78.78.78:5000 http://example.com/chan1.ts ## chan2 have multiple sources. If a source doesn't work, tomcast switches to the next one. chan2 239.79.79.79:5000 http://example.com/chan2.ts chan2 239.79.79.79:5000 http://example.com/chan2.ts chan2 239.79.79.79:5000 http://example.com/chan2.ts ## chan3 have multicast source, tomcast just rewrites the multicast group. chan3 239.80.80.80:5000 udp://239.1.2.3:5000/
gruß pclin -
geil! Danke pclin!
Wahrscheinlich war das "das" Tool was Dreamboxen broadcast tauglich gemacht hat...
http stream ansaugen und mit Tomcast als multicast broadcasten...
VG
dam72