Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      News!   12/10/17

      If you have any questions related to installation and purchase, please check our documentation https://cesbo.com/en/astra/docs/ and terms of service https://cesbo.com/en/terms/
      Also, we have an official Telegram chat: https://t.me/cesbo_en  you can ask any questions or share your experience with colleagues Если у вас возникли вопросы по установке и покупке, ознакомьтесь пожалуйста с документацией по адресу https://cesbo.com/ru/astra/docs/ и условиями использования https://cesbo.com/ru/terms/
      Так же, обращаю внимание, что у нас есть официальный Телеграмм чат: https://t.me/cesbo_ru в котором можно задать вопросы - или поделиться своим опытом с коллегами

doebeg

Members
  • Content count

    6
  • Joined

  • Last visited

  • Days Won

    1

doebeg last won the day on November 13 2016

doebeg had the most liked content!

About doebeg

  • Rank
    Newbie

Profile Information

  • Gender
    Not Telling
  • Location
    Bosnia & Herzegovina

Recent Profile Visitors

135 profile views
  1. tbs quad + octopus twinci = :) # ls /dev/dvb adapter0 adapter1 adapter2 adapter3 adapter4 adapter5 worked, thanks!
  2. @CrazyCat Hi everyone, Where to find crazycat dddvb driver? repo https://github.com/crazycat69/dddvb.git seems closed . . . Is it possible to combine tbs dvbs2 tuner card with octopus twinCI card on same system? Thanks
  3. Can ffmpeg push video to Astra?

    Using inputs and outputs is classic way of using astra. Im talking about pushing streamy to astra. Astra already have this feature called Network Push and it uses, probably modified, http streaming protocol np:// Im successfully using np:// protocol for transporting streams from astra on one seerver to the astra on second server. Seems like Network Push is Astra's personal protocol and its only possible in Astra to Astra case. The idea is to avoid entering input and output for every stream in Astra's config, like in np to udp solution by Andrey on this topic. You send stream with "sender" astra: input: some source output: np://адрес-принимающего-сервера:8000/127.0.0.1:10000 and "receiver" astra with following script receives stream and outputs it to udp (i supose it can be any type of output that astra supports, not just udp): function http_np_callback(server, client, request) local client_data = server:data(client) if not request then client_data.output = nil return nil end local udp_conf = parse_url("udp://" .. request.path:sub(2)) udp_conf.upstream = request.stream client_data.output = udp_output(udp_conf) server:send(client, { code = 200, headers = { "Connection: keep-alive" }, }) end http_server({ port = 8000, route = {{ "/*", http_downstream({ callback = http_np_callback }) }}, }) Notice that input is not manualy defined, script redirects all received streams to udp, as long as name of stream (path) is valid... np://[login:password@]address[:port][/path] login:password — login and password for http authentication, basic or digest. For Input only address — server IPv4 address or domain port — port number. Default value: 80 path — path to the resource. Default value: / Considering np:// is actually http (tcp) protocol, can maybe ffmpeg push stream to "receiver" Astra instead of "sender" Astra? I think ffmpeg can output stream to http://somehost:port or tcp://somehost:port (according to ffmpeg docs), but condition is that there is (of course) a server that "listens" for incoming streams on somehost:port. Question is will this be compatible with Astra's np:// listener? huh, I know this is not crystal clear explanation of my question but I hope its clear enough :) Regards, Doe
  4. Can ffmpeg push video to Astra?

    Hello everyone, Is it possible to push stream directly to the Astra in any way, using ffmpeg like this or something similar: ffmpeg -i $MCAST -c copy -f mpegts http://astra-ip:port/stream and then to automaticly creates input from every stream that receives and outputs to something else (np,http...)? Thanks in advance Regards, Doe
  5. Hey Andrey, Script works perfectly :happy: Thnx
  6. Hi, Im using astra to transport channels from server1 to server2 via NetworkPush. On server2 i need channels on udp, so im using Andreys solution at https://forum.cesbo.com/topic/1929-network-push/?p=27149. На сервере 1: input: любой источник output: np://адрес-принимающего-сервера:8000/127.0.0.1:10000Для второго сервера нет базовой логики, т.е. нужен скрипт, чтобы обработать запрос. function http_np_callback(server, client, request) local client_data = server:data(client) if not request then client_data.output = nil return nil end local udp_conf = parse_url("udp://" .. request.path:sub(2)) udp_conf.upstream = request.stream client_data.output = udp_output(udp_conf) server:send(client, { code = 200, headers = { "Connection: keep-alive" }, }) end http_server({ port = 8000, route = {{ "/*", http_downstream({ callback = http_np_callback }) }}, }) Now I need to transport channels with NetworkPush to server3 (and there make output to udp, same like on server2), but i want to transport them from server2. So, I need to relay all channels that come over np, to the server3 also with np... I can do it with second astra instance, with all channels listed in config and forwarding it to server3 (just like i did on server1) but, is it possible that astra on server2 creates local udp channels and automaticaly forward all np traffic to server3 without entering every channels source and output, with same Astra instance? Thanks in advance Regards, Doe
×