22 Сентябрь 2017, 20:07:47Последний пользователь: pro777
Ace Stream Forum » Архив старых топиков  » Архив старых топиков (Общий) » Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)
Страниц: [1] 2   Вниз
  Отправить эту тему  |  Печать  
Автор Тема: Test Torrent Stream software version 1.0.6 (for Ubuntu) (En)  (Прочитано 100551 раз)
0 Пользователей и 1 Гость смотрят эту тему.
ankiria
Administrator
Newbie
*****
Оффлайн Оффлайн
Сообщений: 31

Email
« : 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
« Последнее редактирование: 26 Октябрь 2012, 18:02:09 от Constantin » Сообщить модератору   Записан
Constantin
Administrator
Hero Member
*****
Оффлайн Оффлайн
Сообщений: 1738

WWW Email
« Ответ #1 : 10 Август 2012, 17:25:31 »

10.08.2012 update
Сообщить модератору   Записан

Подписывайтесь на наш   Twitter, чтобы первыми узнать что у нас есть новенького и интересного.
Constantin
Administrator
Hero Member
*****
Оффлайн Оффлайн
Сообщений: 1738

WWW Email
« Ответ #2 : 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
Сообщить модератору   Записан

Подписывайтесь на наш   Twitter, чтобы первыми узнать что у нас есть новенького и интересного.
anton
Administrator
Jr. Member
*****
Оффлайн Оффлайн
Сообщений: 67

Email
« Ответ #3 : 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
Сообщить модератору   Записан
anton
Administrator
Jr. Member
*****
Оффлайн Оффлайн
Сообщений: 67

Email
« Ответ #4 : 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"
Сообщить модератору   Записан
mitkko
Newbie
*
Оффлайн Оффлайн
Сообщений: 2

Email
« Ответ #5 : 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
Сообщить модератору   Записан
mitkko
Newbie
*
Оффлайн Оффлайн
Сообщений: 2

Email
« Ответ #6 : 23 Октябрь 2012, 14:40:59 »

HELP, ANYONE?
Сообщить модератору   Записан
shadowdots
Newbie
*
Оффлайн Оффлайн
Сообщений: 11

Email
« Ответ #7 : 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

Сообщить модератору   Записан
navip999
Специалист
Newbie
*****
Оффлайн Оффлайн
Сообщений: 20

Email
« Ответ #8 : 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
Сообщить модератору   Записан
shadowdots
Newbie
*
Оффлайн Оффлайн
Сообщений: 11

Email
« Ответ #9 : 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.
Сообщить модератору   Записан
shadowdots
Newbie
*
Оффлайн Оффлайн
Сообщений: 11

Email
« Ответ #10 : 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
« Последнее редактирование: 10 Ноябрь 2012, 06:25:06 от shadowdots » Сообщить модератору   Записан
shadowdots
Newbie
*
Оффлайн Оффлайн
Сообщений: 11

Email
« Ответ #11 : 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.
Сообщить модератору   Записан
navip999
Специалист
Newbie
*****
Оффлайн Оффлайн
Сообщений: 20

Email
« Ответ #12 : 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
« Последнее редактирование: 10 Ноябрь 2012, 23:55:44 от navip999 » Сообщить модератору   Записан
shadowdots
Newbie
*
Оффлайн Оффлайн
Сообщений: 11

Email
« Ответ #13 : 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?
Сообщить модератору   Записан
navip999
Специалист
Newbie
*****
Оффлайн Оффлайн
Сообщений: 20

Email
« Ответ #14 : 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
Сообщить модератору   Записан
Страниц: [1] 2   Вверх
  Отправить эту тему  |  Печать