i-have-a-dreambox.com | Dreambox - Support

Register Calendar Members List Team Members Galerie to Portal Go to the Main Page

Boardrules Frequently Asked Questions Statistik Statistik Search Pinwand Dreambox Blog Ihad/Gemini Fan-Shop
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox Software :::... » Bastelstube » tomcast für OS2.5 » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page tomcast für OS2.5
Author
Post « Previous Thread | Next Thread »
dam72 dam72 is a male
Fortgeschrittener


Registration Date: 16.11.2005
Posts: 512
Which box: DM 800S; DM 7025SC; DM 8000HD
External Storage: USB-Stick; HDD; CF
Which Image: Gemini; Merlin; Newnigma2

tomcast für OS2.5 Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

hi pclin, könntest du das komplieren?
Macht aus unicast -> multicast...
https://github.com/gfto/tomcast
Danke!
07.10.2017 18:59 dam72 is offline Send an Email to dam72 Search for Posts by dam72 Add dam72 to your Buddy List
pclin
unregistered
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

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:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
[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 755

gruß pclin

Attachments:
zip tomcast_armhf.zip (63 KB, 10 downloads)
zip tomcast_mipsel.zip (67.24 KB, 14 downloads)

This post has been edited 2 time(s), it was last edited by pclin: 07.10.2017 19:25.

07.10.2017 19:19
pclin
unregistered
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

README.WEB_ACCESS
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
To 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-example
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
## 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

This post has been edited 1 time(s), it was last edited by pclin: 07.10.2017 20:17.

07.10.2017 20:17
dam72 dam72 is a male
Fortgeschrittener


Registration Date: 16.11.2005
Posts: 512
Which box: DM 800S; DM 7025SC; DM 8000HD
External Storage: USB-Stick; HDD; CF
Which Image: Gemini; Merlin; Newnigma2

Thread Starter Thread Started by dam72
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

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
07.10.2017 22:19 dam72 is offline Send an Email to dam72 Search for Posts by dam72 Add dam72 to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox Software :::... » Bastelstube » tomcast für OS2.5

Privacy policy | Team | Suchen | Hilfe


Powered by Burning Board 2.3.6 © 2001-2003 WoltLab GbR