Ace Stream Forum

Архив старых топиков => Архив старых топиков (Общий) => Тема начата: ankiria от 30 Июль 2012, 12:15:52

Название: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: ankiria от 30 Июль 2012, 12:15:52
Version 1.0.6 for Ubuntu 11.10 and 12.04

Full package:
http://torrentstream.org/downloads/linux/test/torrentstream_1.0.6-0ubuntu8_amd64.deb
http://torrentstream.org/downloads/linux/test/torrentstream_1.0.6-0ubuntu8_i386.deb

TS Engine( update 02.10.2012 ) for broadcaster

http://dl.torrentstream.org/ubuntu/torrentstream_engine_1.0.6.8_amd64.deb
http://dl.torrentstream.org/ubuntu/torrentstream_engine_1.0.6.8_i386.deb
---

Installation from repository:
1) add Torrent Stream repository to the file /etc/apt/sources.list:
deb http://torrentstream.net/repo ubuntu main

2) if during installation you will see a message about an unknown key, it can be added to the system; to do this run from the command line:
wget -q -O - http://torrentstream.net/repo/torrentstream.public.key | sudo apt-key add -


3) Installation of torrentstream-full package:
sudo apt-get update
sudo apt-get install torrentstream-full

---

Updated Magic Player (we changed the name of the plug-in, that’s why old versions of extensions will not see the plug-in and the old extension has to be updated):

(26.10.2012)

for Google Chrome: http://torrentstream.org/downloads/extensions/magicplayer/chrome/1.1.16/magicplayer.crx

for Mozilla Firefox: http://torrentstream.org/downloads/extensions/magicplayer/firefox/1.1.17/magicplayer.xpi

for Opera: http://torrentstream.org/downloads/extensions/magicplayer/opera/1.1.17/magicplayer.oex

---

We made tests on such versions of Ubuntu:
Ubuntu 12.04 LTS (Precise Pangolin)
Ubuntu 11.10 (Oneiric Ocelot)

Notes about the engine:
engine’s log is written here: /tmp/tsengine.log
all downloads by default are saved to the directory ~/.Torrent Stream/downloads
after the launch of the engine our icon has to appear in the right top corner
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: Constantin от 10 Август 2012, 17:25:31
10.08.2012 update
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: Constantin от 02 Октябрь 2012, 23:57:42
TS Engine( update 02.10.2012 ) for broadcaster

http://dl.torrentstream.org/ubuntu/torrentstream_engine_1.0.6.8_amd64.deb
http://dl.torrentstream.org/ubuntu/torrentstream_engine_1.0.6.8_i386.deb
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: anton от 04 Октябрь 2012, 14:02:56
Is there a way to start a stream from the command line?

Yes, it can be done with the 'tsengine-stream' command. Here is an example:

tsengine-stream --name test --source http://84.22.159.204:8006 --bitrate 350000 --host mysite.com --destdir /tmp/streams

You can read more about all available parameters here:
http://torrentstream.org/docs/tsengine_stream_en.html (http://torrentstream.org/docs/tsengine_stream_en.html)
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: anton от 07 Октябрь 2012, 16:29:41
2 mitkko: can you check whether plugin is installed correctly in the browsers? In Google Chrome type "chrome://plugins" in the address bar, in Firefox press Ctrl-Shift-A to see the list of installed plugins. Our plugin is called "Torrent Stream P2P Multimedia Plug-In"
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: mitkko от 11 Октябрь 2012, 22:51:34
2 mitkko: can you check whether plugin is installed correctly in the browsers? In Google Chrome type "chrome://plugins" in the address bar, in Firefox press Ctrl-Shift-A to see the list of installed plugins. Our plugin is called "Torrent Stream P2P Multimedia Plug-In"

Hi Anton, thanks for the support, much appreciated. I checked both browsers and

Chrome:
* shows the extension as installed -- see screenshot in previous post
* but does not list the plugin at all( chrome://plugins )

Fir:efox
* shows the extension as installed -- see screenshot in previous post
* but does not list the plugin at all( about://plugins )


So neither of the browsers has registered your plugin as successfully installed. Can I add them manually somehow?

Thanks
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: mitkko от 23 Октябрь 2012, 14:40:59
HELP, ANYONE?
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: shadowdots от 10 Ноябрь 2012, 01:52:58
Well i have an issue on ubuntu with streaming i get the following error and the tracker says sending me garbage no info hash .


0tsengine-stream --name dazsports --source http://myip:1234 --bitrate 125000 --host serverip --destdir /tmp/
Starting TS Engine...
2012-11-10 00:50:34 lm::start_upnp: upnp_type 3 locally_guessed_ext_ip 37.59.63.14 listen_port 7764
device id: MFIwEAYHKoZIzj0CAQYFK4EEABoDPgAEAHhb4E06++jwcwBnnjNuZEMzLEoKXpZ5D2bAtmy4Ab0rddw/mC0cy7NC4hyq/wr2KJifLjpQFozM8GV5
tracker url: http://serverip:7764/announce
bitrate: 125000
piece size: 65536
dest dir: /tmp/
------------------------
createlivestream: open stream: url http://myip:1234 reader builtin
2012-11-10 00:50:34 stream: started input thread
2012-11-10 00:50:35 stream: restarting stream from piece 287

Traceback (most recent call last):
  File "/home/anton/tsengine/TorrentStream/Core/BitTornado/BT1/track.py", line 896, in get
ValueError: no info hash

Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: navip999 от 10 Ноябрь 2012, 02:36:32
Well i have an issue on ubuntu with streaming i get the following error and the tracker says sending me garbage no info hash .

Traceback (most recent call last):
  File "/home/anton/tsengine/TorrentStream/Core/BitTornado/BT1/track.py", line 896, in get
ValueError: no info hash
tracker might be overloaded by connections and can't answer
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: shadowdots от 10 Ноябрь 2012, 04:38:28
Well i have an issue on ubuntu with streaming i get the following error and the tracker says sending me garbage no info hash .

Traceback (most recent call last):
  File "/home/anton/tsengine/TorrentStream/Core/BitTornado/BT1/track.py", line 896, in get
ValueError: no info hash
tracker might be overloaded by connections and can't answer


its not possible because there are no connection to the server yet this is happening allready when i start it up.
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: shadowdots от 10 Ноябрь 2012, 05:10:29
Well i have an issue on ubuntu with streaming i get the following error and the tracker says sending me garbage no info hash .


0tsengine-stream --name dazsports --source http://myip:1234 --bitrate 125000 --host serverip --destdir /tmp/
Starting TS Engine...
2012-11-10 00:50:34 lm::start_upnp: upnp_type 3 locally_guessed_ext_ip 37.59.63.14 listen_port 7764
device id: MFIwEAYHKoZIzj0CAQYFK4EEABoDPgAEAHhb4E06++jwcwBnnjNuZEMzLEoKXpZ5D2bAtmy4Ab0rddw/mC0cy7NC4hyq/wr2KJifLjpQFozM8GV5
tracker url: http://serverip:7764/announce
bitrate: 125000
piece size: 65536
dest dir: /tmp/
------------------------
createlivestream: open stream: url http://myip:1234 reader builtin
2012-11-10 00:50:34 stream: started input thread
2012-11-10 00:50:35 stream: restarting stream from piece 287

Traceback (most recent call last):
  File "/home/anton/tsengine/TorrentStream/Core/BitTornado/BT1/track.py", line 896, in get
ValueError: no info hash


reinstalled same freaking error from outside i can reach the stream with vlc directly but Torrentstream broadcast streamers just will not work help anyone ?

still saying  :
createlivestream: open stream: url http://myipofsourcemedia:1234 reader builtin
2012-11-10 04:09:49 stream: started input thread
2012-11-10 04:09:50 stream: restarting stream from piece 677


and on tracker website it saysyou sent me garbage - no info hash
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: shadowdots от 10 Ноябрь 2012, 09:39:42
oke so i fixed part 1 i now can open the torrent file you get in ts player and it runs fine .

Now my second question how do i get the content id or how do i embed a player when you run your tracker on linux with command line ?


The tutoral says i have to replace a line in the test.php file that you provide but the line i have to replace isnt even there .


Help me plz.
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: navip999 от 10 Ноябрь 2012, 15:57:25
oke so i fixed part 1 i now can open the torrent file you get in ts player and it runs fine .

Now my second question how do i get the content id or how do i embed a player when you run your tracker on linux with command line ?


The tutoral says i have to replace a line in the test.php file that you provide but the line i have to replace isnt even there .


Help me plz.
<!DOCTYPE html>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Torrent Stream</title>

<style type="text/css">
* {
    font-family: Arial;
}
body {
    background-color: #222
}
.modal {
    background-color:#fff;
    display:none;
    width: 500px;
    padding:15px;
    text-align:left;
    border:2px solid #333;
    font-size: 12px;
   
    opacity:0.8;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    -moz-box-shadow: 0 0 50px #ccc;
    -webkit-box-shadow: 0 0 50px #ccc;
}

.modal input {
    font-size: 12px;
}

.button-long {
    display: inline-block;
    background: transparent url(http://static.torrentstream.org/htmlplayer/img/sprite-player-black.png) no-repeat 100% -129px;
    height: 27px;
    line-height: 24px;
    cursor: pointer;
    position: relative;
    margin-left: 17px;
    top: -3px;
    padding-right: 12px;
    width: 115px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.button-long b {
    background: transparent url(http://static.torrentstream.org/htmlplayer/img/sprite-player-black.png) no-repeat -579px -129px;
    height: 27px;
    width: 17px;
    position: absolute;
    left: -17px;
}

</style>

<!-- black style -->
<link type="text/css" rel="stylesheet" href="http://static.torrentstream.org/jsapi/css/ts-controls-black.css" />

<!-- api files -->
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/ts/core.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery-ui-1.8.9.custom.min.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.mousewheel.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.jscrollpane.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.scrollText.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/jquery/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/cufon/cufon.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/cufon/a_LCDNova_400.font.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/ts/player.js"></script>
<script type="text/javascript" src="http://static.torrentstream.org/jsapi/js/lib/ts/controls.js"></script>

<script type="text/javascript">
function init() {
    var useInternalControls = true;
   
    var controls = new TorrentStream.Controls("tsplayer", {
            style: useInternalControls ? "internal" : "ts-black",
            debug: true
    });
   
    try {
        var player = new TorrentStream.Player(controls.getPluginContainer(), {
                debug: true,
                useInternalControls: useInternalControls,
                bgColor: "#000000",
                fontColor: "#ffffff",
                onLoad: function() {
                    this.registerEventHandler(controls);
                    controls.attachPlayer(this);
                    try {
                        var p = this;
                        this.loadTorrent("http://192.168.1.1:7764/file?name=TSMY");
                    }
                    catch(e) {
                        console.log("init: " + e);
                    }
                }
        });
    }
    catch(e) {
        controls.onSystemMessage(e);
    }
}
</script>

</head>

<body>

    <div id="player_container" style="background-color: #000; width: 800px; height: 483px; margin: 100px auto 0 auto;">
        <div id="tsplayer" style="width: 100%; height: 100%; color: #fff; text-align: center;">
            <div style="padding-top: 232px; background-color: #000000;">Подождите, идет загрузка плеера...</div>
        </div>
    </div>

    <script type="text/javascript">
    init();
    </script>
   
</body>
</html>
save this code as MYFILE.html
replace adress to file:  this.loadTorrent("http://192.168.1.1:7764/file?name=TSMY");
then open in firefox, right click, choose content id
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: shadowdots от 10 Ноябрь 2012, 21:16:03
Thanks m8 it works got it figured out .


All happy.

If you can help me with one more thing would be awesome:

in the command line witch bitrate should i fill in when i have in vlc 1200k max ?

158000?
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: navip999 от 10 Ноябрь 2012, 21:31:07
Thanks m8 it works got it figured out .


All happy.

If you can help me with one more thing would be awesome:

in the command line witch bitrate should i fill in when i have in vlc 1200k max ?

158000?
150000 = 1200 kBit
u can try here http://convertr.ru/information/kilobits , but site in russian
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: gtzoum от 17 Ноябрь 2012, 20:02:22
Sorry there is English topic and I wrote to Russian earlier.... :-/ I'm new to linux but I'm getting used to it and llike it. As windws user it's easy to use streamtorrent no problem at all, but in Ubuntu I got some problems. When I try to intsall the package its says me in software center that libupnp3>=1.4.3. With little search I found the package on the net but it conflicts with the already installed libupnp6. If I uninstall libupnp6 and install libupnp3
Цитировать
sudo apt-get remove libupnp6 && sudo dpkg -i ~/Downloads/libupnp3_*.deb
I read that I'll have problem with vlc and sopcast-player. And I use also sopcast player. Any other solution????
Название: Re: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Отправлено: gtzoum от 19 Ноябрь 2012, 01:16:50
Anyone to help???? What to do with libupnp3??? Can I make it work with libupnp6 that is installed??? Will there be any new release to fix this??? JUST AN ANSWER! Even if it's use windows... Just answer to know...