Coder Social home page Coder Social logo

wwbn / avideo-encoder-network Goto Github PK

View Code? Open in Web Editor NEW
14.0 8.0 40.0 2.71 MB

Encoder Network Servers for AVideo Platform Open-Source

Home Page: https://network.avideo.com

License: GNU General Public License v3.0

PHP 87.10% CSS 11.64% JavaScript 1.25%
avideo-encoder encoders-servers encoder encoder-network network-encoder servers avideo-endcoder-network

avideo-encoder-network's Introduction

AVideo-Encoder-Network (AEN)

Aggregator for AVideo Platform Encoder Servers

AVideo-Encoder-Network (AEN) is a platform designed to streamline your video encoding.

This platform has been implemented so that several encoders can be monitored in real time.

The system works by doing some real-time testing on the encoders servers, with check ping speed, queue encoding length and free memory of each server.

This article asumes you know about AVideo Encoder

With this information the (AEN) helps you decide which encoder to use.

The use is the same as using a simple encoder, but this tool will help you choose the best encoder at the time of encoding.

After choosing the encoder you wish to use use the instructions contained here https://github.com/WWBN/AVideo-Encoder/wiki/How-to-submit-videos-to-the-encoder

We have it installed it here with 2 encoders https://network.avideo.com/

How to install

We have created a similar installer as AVideo installer. on the first time you tried to access the page you will be directed to the installation page.

How to add or remove encoders to the network

We have created a tool to help you add or remove encoders.

This tool is inside the installation directory and must be executed by command line.

1 - Go to your terminal using SSH and navigate to the directory AVideo-Network/install

2 - type php encoders.php and you will see the options

Choose the desired option and follow the instructions.

avideo-encoder-network's People

Contributors

alexious avatar danielnetodotcom avatar maikuolan avatar manu0401 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avideo-encoder-network's Issues

Feature request: Network encoders report progress

When encoding a video you can see the progress at My Videos if you are using a single encoder.

Feature request is to have all encoders in an encoder network report progress in My Videos.

Issue: If you are using an encoder network its possible you will see no progress on any encoders in your encoder network.

However, while testing settings, I was able to get one encoder to report progress.

For example:
I have four encoders (Encoder 01, Encoder 02, Encoder 03, and Encoder 04)

For settings:
Admin > Settings > General Settings > Advanced Configuration > Encoder URL: http://encoder03.local


Admin > Settings > General Settings > encoderNetwork: http://network.local/

Only the encoder that matches the Encoder URL shows progress. All others in the network show no progress.

progress

It appears that My Videos is checking against that setting. Should it check against the list of encoders in the network instead, I would presume all encoders would report their progress.

Youhptube encoder installation

I am trying to run the encoder install, it passes loads of the prerequisite on the left hand side, but will not pass the ExifTool or FFmpeg requirements insisting they are not installed when in fact they are.

both ExifTool and FFmpeg can run in the shell and both say they are up to date.

it is being installed on a Linux dedicated server running centos 7/apache

This Streamer site is not allowed

I am trying to add an encoder to the Network encoder with no avail. The site is added to the encoders list and approved on each encoder site, but I cannot add it for some reason I keep getting this error message as in the screenshot.

Screen Shot 5781-06-13 at 13 42 08

Screen Shot 5781-06-12 at 23 43 19
Screen Shot 5781-06-13 at 13 48 20
Screen Shot 5781-06-12 at 23 39 31

Trouble with sending video to my phptube: youPHPTubeEncoder.json missing

Hi! The trouble is when encoder tries to send video to my phptube it gets a big piece of html/css code in response, with message like "We couldn't find what you were looking for. Unfortunately the page you were looking for could not be found. It may be temporarily unavailable, moved or no longer exist."
I've checked youPHPTubeEncoder.json and couldn't found it in my site's directory nor in the git repository... So i'm completely don't know what to do next with this problem, google keeps silence, maybe you can give me some aid and directions with this problem?
Thanks!
P.S. Complete log file
https://livinin.moscow/encoder/videos/youphptube.log

installation can not complete

Ok , time ago I've opened one issue about ''nothing happens when installation is completed''
Checking the database everything is correct , but installation can not complete , because of the config file .

Installing other script from this project ( encoder , streamer site or storage ) , all of them on the installation process ask you to chown the directory . In network-encoder this is missing .

Fix for default installation location : chown -R www-data /var/www/html/AVideo-Encoder-Network

Hope this could be implemented on the script ( check configuration ) , to avoid this issue . #7

little bug on YouPHPTube-Encoder-Network

When the network server and an encoder reside on the same server, the network believes that the encoder is offline, even if it is working.
I guess the ping is too low, and this is why the network declares the encoder offline.
Have a look to the picture below at the ping values

Captura de pantalla de 2019-09-28 14-25-55

Encoder Network - Streamers Table - Password Field

Can't login to Encoder Network from AVideo. Modified pass field to varchar(255) same as Encoder. As an aside, AVideo password field in Users table is varchar(145), seems logical they all should match. Copied Admin password from Encoder and updated Encoder Network to reflect same. Was able to login from AVideo. This all happened on fresh installation of Encoder Network.

Filetype not allowed

Hi i have a issue called "filetype not allowed" after i have installed the network option for encoder.
So when i will upload a file, video or mp3, i have a issue "filetype not allowed" after i click on the start upload button
there is no error in the logfile
please read here #4395 (comment)
WWBN/AVideo#4395 (comment)

Future Request

1-Adding some priorities to encoders . ( some encoder server are bigger then others and faster )
2-VideoThumbnails (VideoThumbnails) . Specify to witch encoder we wanna send it

PS: I have deleted all the Thumbnails , I have 290 videos , and they're all encoding on the same encoder ... and I have x5 encoders on my network . This gonna take days ...

YEN when create DB has bug

DB: MariaDB 5.5

I made db user 'tube-network'
but, YEN when installing time show message 'Error creating database: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-network' at line 1'

However, another program or SQL(e.g. YouPHPTube Encode and phpMyAdmin) can use that '-encoder' or '-network'

Reverse Proxy from NGINX to APACHE on HTTPS

I have been trying to get a reverse proxy working between nginx and apache.

I have a domain names encoder.ahava528.com, I need to run it along side other sites and while nginx is occupying the ports 80 and 443 I am trying to run the encoder on port 8080 and 8443 respectively.

Is there a proper manual to get this working? I have tried setting this up for quite some time now without success. I had it working on a previous server but the configuration I used there doesn't work for me now. IDK what is going on.

Here are my screenshots for the config files of nginx and apache:
Screen Shot 5781-06-04 at 17 28 17
Screen Shot 5781-06-04 at 17 28 31

Would appreciate your help.

Network Encoder for multiple site

I'm building a second site , and I'm wondering if it's possible to use the same network-encoder for multiple site . Or to do this , I need to create a new network encoder site , then use the same encoders that I have been using on the first site .

Error in /plugin/AD_Server/VAST

Hi! I was trying to set a campaign and when I push the link button, show me that error. I had never used that function before, so I don't know what specifically that make.
error link2
error link

Can't install the Network-Encoder

When installing the network encoder , clicking on install ( after providing all the information ) , it does show very quickly , installation success . After that it does close , and send me back to : /install/index.php

I've tried doing it manually on configuration_template.php , but still no luck
Anything that i'm missing ?

Installation Guide

Is there any more information on this? Upon installation I get the normal issues but once I fix the rewrite,etc I just get an blank page. Seems like this one has a manual config file. If so how do I set it set it correctly?

Tried feeding it MySQL and install details but the line " $global['systemRootPath'] = 'D:/Dropbox/Dropbox/htdocs/YouPHPTube-Encoder-Agregator/';" Stumped me

Installation Issue

Two things. Am I to understand that you provide absolutely zero instructions on how to install the network software? The only reference I can find says, "We have created a similar installer as AVideo installer. on the first time you tried to access the page you will be directed to the installation page." Nothing about server requirements, nothing about what git command to use.

I did try to install it, but it doesn't work. Here is what I did from the command line:

sudo apt-get install apache2 php libapache2-mod-php php-mysql php-curl php-gd php-intl mysql-server mysql-client git && cd /var/www/html && sudo git clone https://github.com/DanielnetoDotCom/YouPHPTube-Encoder-Network.git && sudo apt-get install python && sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl && sudo a2enmod rewrite

I also tried to install using:

sudo git clone https://github.com/DanielnetoDotCom/AVideo-Encoder-Network.git

but I was prompted for my github username and password, which I provided, but which simply returned an error.

I edited the apache2.conf by changing:

<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>

to

<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>

I also edited the 000-default.conf file to point the root to /var/www/html/YouPHPTube-Encoder-Network.

When I go to http://network.soaptube.tv the install screen comes up. I enter the information as requested and I get a flashing "Congratulations" popup, but it disappears before I can click on ok at all and keeps me at the same install splash screen. Nothing happens. I have done this twice.

Any ideas?

Bug: Network/Aggregate is recommending offline encoders.

The Network/Aggregate is recommending offline encoders.

phptube-network

I suspect a failed ping is treated as a 0 ms reply ; which would rank the offline encoder higher than the other encoders since a lower ping is desirable.

Steps to reproduce:
edit /etc/hosts; point encoder to broken IP.
[Observe that restoring /etc/hosts entry to a good IP also restores proper aggregate recommendation.]

Results:
Offline encoder becomes the recommended encoder.

Expected results:
Offline encoder is never recommended.

Generate sitemap

I want to generate a sitemap. What is the best approach if a make it rewritable and maintain secure files?

Encoder / MySQL

Hello

Can I get some help kindly? Please let me know what this could mean.

www.xxx.com/Encoder

Error received is:

SELECT f., e. FROM encoder_queue e LEFT JOIN formats f ON f.id = formats_id WHERE (status = 'encoding' OR status = 'downloading' OR status = 'queue' OR status = 'error') ORDER BY priority ASC, e.id ASC \nError : ()

How can i fix this? Thank you

Live stream feature not working

Live stream via OBS shows in "live list" on homepage but when try to watch it says The media could not be loaded, either because the server or network failed or because the format is not supported.
pw3dtv-cap2
pw3dtv-cap3

small visual enhancement with CSS

Add to the end of the style.css file

/var/www/html/YouPHPTube-Encoder-Network/view/css/style.css

... this code:

li.active {
    border-bottom: 3px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;
}

.account-amount {
    font-family: 'Roboto', sans-serif;
    color: #656667;
    font-size: 0.8em;
    line-height: 0.8em;
}
.account-type {
    font-family: 'Roboto', sans-serif;
    color: #A0AEB6;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 0.9em;
    display: block;
}

Result:

Captura de pantalla de 2019-09-29 14-25-58

Plugin install DB link not appearing for added plugin

Customize plugin not showing "install database" link after activation. Tutorial video shows it, but in real world, it doesn't show. Are we to assume that manual creation of the Customize tables are necessary via phpmyadmin?

Encoders offline

Hi when i use this the remote encoders are always offline due to a cors error. Any idea whats causing it? I am up to date and the encoders are new installs on their own servers and they are working fine. Im not sure whats causing this but i get this in dev tools.

access to XMLHttpRequest at 'https://encoder.ourtube.co.uk/sv1/serverStatus' from origin 'https://ourtube.co.uk' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Thanks

Cyclic coding process

Faced such a problem: when encoding video (MP4 1080HD - 290 MB) via a link from the network (a local file is similar), the encoding process goes to the end and starts again. Sometimes the process stops with an error (screenshot 1).
1
Avideo website and encoder hosted on a virtual machine on the server
CPU - 8 vCPUs
Memory - 8 GB
When encoding, the process uses up to 80% of the resources of the ENTIRE SERVER. Moreover, there is a strange display of information about the encoding process (see screenshot 2, 3).

2

3

I can not understand what the problem is, everything worked without problems before. I did not change the site configuration, only updated to version 12.2
I am also attaching a screenshot of the encoder log (screenshot 4).
4

Please advise what is wrong with my system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.