Timeshift, Recordings, Multicast

1,030 views
Skip to first unread message

Peter

unread,
Nov 21, 2014, 9:44:32 AM11/21/14
to stalker-m...@googlegroups.com
Dear Peoples

I want to send a stream from the encoder directly to the portal. I've been trying eternity now. How does it work? Please step by step. I installed everything. The VOD Archiv runs perfect, without errors, folder are auto created (on two Servers).
I have installed:
1. http://wiki.infomir.eu/doku.php/en:stalker:install_and_configure
2. http://wiki.infomir.eu/doku.php/en:stalker:tv_on_http_nginx_udpxy
3. http://wiki.infomir.eu/doku.php/en:stalker:timeshift_temporary_links

All normal Streams i had add with custom-links, works proper. Now to my problems. I dont understand the next steps for Multicast, Recordings and Timeshift.
My Questions:
1. How i can add a Stream from Encoder or Streamsource, that the portal can Multicasting (how i must do that). I dont understand the step here "http://wiki.infomir.eu/doku.php/en:stalker:install_and_configure#tv_archive_settings" -> i will create a Multicast how this and that directly from a Encoder to Portal.
2. When i use Timeshift, then no folder created, the portal storage log say "Result cannot be decoded. Result: 404 Not Found Nginx 1.60"
and when i look in nginx error, then i see a link how this:
"2014/11/21 15:19:39 [error] 25200#0: *1 open() "/usr/share/nginx/html/tslink/c42a200308942391cb69740b8b850cc0/archive/458/20141121-15.mpg" failed (2: No such file or directory), client: 85.4.178.230, server: , request: "GET /tslink/c42a200308942391cb69740b8b850cc0/archive/458/20141121-15.mpg HTTP/1.1", host: "xxx.xxx.xxx.xxx""

I see a wrong path, i have install in /var/www how in instructions. But when i look in config from nginx, i see root /var/www;. What goes wrong here in my installation.
In Attachement i have a Pic from Support. But i dont understand the steps, how i can create the file test.ts (and in which folder i must create)..

Thanks for help!!
Regards Peter

Aleksey Zhurbitsky

unread,
Nov 24, 2014, 9:43:29 AM11/24/14
to stalker-m...@googlegroups.com
1. Tv archive recorder in stalker require multicast stream. Therefore, you must provide it and set multicast address in the "URL for recording" field.

Peter

unread,
Nov 24, 2014, 1:55:41 PM11/24/14
to stalker-m...@googlegroups.com
Hello Aleksey

First thanks for you're help!
1. OK, TV-Archive only with multicast. How i can provide this multicast stream (that i not understand)? Can i directly from Encoder stream to Portal and then from there multicast to users? How should look the encoder stream for this case? Maybe you can give me a step for step instruction for this prozess?

2. I have installed how wiki-instructions (and with nginx/timeshift configuration). But nginx makes troubble with links, and i dont now why. I have add in Attachement the cleaned config-files. I have one "default"-file in folder /etc/nginx/sites-available and a broadcast-file in etc/nginx/conf.d/.
I have every time a link in my nginx logsfiles.. # error blabla /usr/share/nginx/html (its the false link :-)), but from who it comes this error? I mean the configs are correct. The Storage log says "Result cannot be decoded. Result: 404 Not Found" (a logical consequence). i have reboot nginix after.

Thanks for help! I wish a nice day!
Regards Peter
broadcast.conf
default.conf

Jose montenio rodriguez

unread,
Nov 24, 2014, 4:41:52 PM11/24/14
to stalker-m...@googlegroups.com
 You should find someone who would help you with this, basicly your source streams on the headend should be multicast streams, with them you can go further. If you do not have original streams that you produce, that will not be the case.

Aleksey Zhurbitsky

unread,
Nov 25, 2014, 11:17:50 AM11/25/14
to stalker-m...@googlegroups.com
1. I can't help you with this. 

2. Remove section

    location ~* \.(ts|mpg|mpeg|avi|mkv|mp4)$ {
        send_timeout 6h;
        root /var/www/;
    }

from config

On Monday, November 24, 2014 8:55:41 PM UTC+2, Peter wrote:
Reply all
Reply to author
Forward
0 new messages