openbroadcaster / observer Goto Github PK
View Code? Open in Web Editor NEW:radio: OBServer Automation, Scheduler, Media Library and Player Manager
Home Page: https://openbroadcaster.com
:radio: OBServer Automation, Scheduler, Media Library and Player Manager
Home Page: https://openbroadcaster.com
I have just installed the server on a vm for testing and familiarizing jan 22 08:28.
When i try and upload a media file, which is an MP# and has been set in admin as allowed. I get a message saying "This file format is not supported"
hope these images help...
and hoping it's just a file permission error or something i may have skipped
I am getting this error in Localhost, Username admin, password d8656d3f3823bce79e3a29253cf1106f6cfeee7c, db name dbclean and no OB_HASH_SLAT defined, aaaaaaaaaa
I am a beginner in php.
Please help
Current behaviour of OB Server is for a show to always start precisely on time, thereby causing any currently in-progress media to be abruptly interrupted.
Considering many use cases where content is not always (or maybe ever) pre-produced to a stringent running time, particularly those using Dynamic Playlists, there is a significant need for the ability to allow shows some leeway around start/end times.
My idea to solve this would be adding the following settings:
Notes:
I' ve been trying to install openbradcaster server to a remote web server and i keep getting the error message
OB_SITE (installation web address) does not appear to point to a valid OpenBroadcaster installation.
In config.php in const OB_SITE i have entered "localhost", then the server's hostname, the its ip address but the error is still there
I used a manual installation creating the database, and the users. The system the server has is ubuntu 16.04
Am i doing something wrong?
Can you please post more detail instructions about the server installation??
Done - Drupal Modules
Indicators via widgets of information about: Media library contents, List Genres and Categories
Emergency events
Operational info, size, HDD Space, Uptime
After a fresh install on Ubuntu, either from running:
bash ob.installer.sh
or from a manual install, the admin user cannot get passed the login screen.
When opening the index.php page, we are redirected to the welcome/index.php page successfully with the login screen. Inputting the username 'admin' and the correct password, it just returns to the welcome/index.php with the input boxes blank rather than redirecting. If an incorrect password is used, it gives the incorrect password error and only reloads the reset page on what should be a successful login. On inspecting the cookies, only an auth_key cookie is set and no auth_id cookie, which I assume is why it has this behaviour.
If I go to the updates page, without setting the updates user and password settings in the config.php file it tells me I need to set these and after these are set we get a login popup to gain access to updates but putting in the correct username and password just give the popup again.
Hi,
I've got observer up and running under ubuntu 20.04, php7.4, nginx/1.14.0 and mariadb 15.1. I used the installation script to set up the environment and it all appears to work okay. I did have to backport gstreamer to get it to stream to icecast correctly.
However I'm unable to load any additional modules into observer.
To load install the modules I use the following steps.
1/ # git clone https://github.com/openbroadcaster/<module_name>.git /var/www/observer/modules/<module_name>
2/ # chown -R obsuser:obsuser /var/www/observer/modules/<module_name>
The observer UI fails to work once any new module is placed in the modules directory. Here is the error from the nginx err.log.
2022/03/14 11:26:25 [error] 23519#23519: *119 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'statisticsModule' not found in /var/www/observer/models/modules_model.php:90
Stack trace:
#0 /var/www/observer/classes/obfmodel.php(112) : eval()'d code(1): ModulesModel->get_all(true, false)
#1 /var/www/observer/classes/obfmodel.php(112): eval()
#2 /var/www/observer/models/modules_model.php(39): OBFModel->__invoke('get_all', true, false)
#3 /var/www/observer/classes/obfmodel.php(112) : eval()'d code(1): ModulesModel->get_installed()
#4 /var/www/observer/classes/obfmodel.php(112): eval()
#5 /var/www/observer/classes/obfmodels.php(54): OBFModel->__invoke('get_installed')
#6 /var/www/observer/models/ui_model.php(34): OBFModels->__call('modules', Array)
#7 /var/www/observer/classes/obfload.php(174): UIModel->__construct()
#8 /var/www/observer/classes/obfmodels.php(43): OBFLoad->model('ui')
#9 /var/www/observer/index.php(40): OBFModels->__call('ui', Array)
#10 {main}
thrown in /var/www/observer/models/modules_model.php on line 90" while reading response header from upstream, client: <Client_IP>, server: <server.domain>, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "<Server_IP>"
Once I move the new module out of the modules directory, everything works again.
Is this a bug or am I doing something silly?
Thx in Advance.
good evening here I just found your site which is great for broadcasting but I cannot find any info on installation and if it is possible to install on a vps then meric tell me if it is possible or I can find the commands for liniux thank you very much for your little answer john from france
Describe the bug
i was follow on dependency.txt with use
ln -s /usr/bin/ffprobe /usr/local/bin/avprobe and
ln -s /usr/bin/ffmpeg /usr/local/bin/avconv
and on media setting i was check all media file format but when after done upload audio .mp3, cant to save with message "This file format is not supported".
i use Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-89-generic x86_64)
Framework to support Google API or alternate to support menu translation.
From @radiorob on May 20, 2016 20:29
Copied from original issue: openbroadcaster/obplayer#9
Built-in ./updates/ webpage tool did not show any updates, so I copied files to webroot and set permissions.
That didn't work so I purged the webroot directory, the ~/.openbroadcaster directory, dropped the mysql schema and ran the ob.installer.sh script for a fresh install.
Web access still showed totally blank page, so I suspected a conflict due to installer forcing install of php7.0 dependency when I had preferred to more recent php packages - eg php8.0-mysql or the meta packages e.g. php-mysql.
Proceeded to purge php* and install packages fresh, but that didn't fix the issue so I purged all dependencies and files including apache2* and re-ran the built in script.
Still just getting a completely blank landing page. Can still browse to non-php assets like /favicon.ico or /install.txt fine but it seems like any php files are not processing correctly.
Currently installed php version is showing as 7.0 as per dependencies
$ php -v
PHP 7.0.33-55+ubuntu20.04.1+deb.sury.org+1 (cli) (built: Oct 22 2021 12:34:57) ( NTS )
Describe the bug
tracks in playlist double up in playlist after saving. Often after reopening playlist.
To Reproduce
Random happening.
Has happened at least 4 times to me in the past month.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Mac os with CHROME
Observer was originally set up on a first network. Everything was working perfectly. After changing network it was no longer possible to connect to the homepage. The login button no longer reacts. I reconnected the computer to the initial network and everything became functional again.
I am attempting to up load media but one of two things happen:
Any Ideas?
Installed as per prerequisites and used the ob.install.sh
using ffmpeg with symlinks from the dependency.txt
when uploading .avi videos, or any media for that matter I fill out the form (genres doesn't have any to select from btw) and hit save, I get a return message of it saving successfully and the media sidebar refreshes, however no new media pops up. I have drive using various media formats.
I checked the mysql db and it doesn't look like entries are being created in the media table. could be a disconnect between the frontend and the db?
Trying to install observer dependencies shows that "libavfilter-extra" can't be found.
It's part of the ffmpeg 7 package which is already installed.
Can observer run without libavfilter-extra? (libavfilter-ffmpeg5 is installed)
Or can I install the dependency via another route?
Describe the bug
There is a typo on the page: https://docs.openbroadcaster.com/wip/pages.appkeys.html
The 'a' variable should be "a":"search", not "a":"media_search"
It might be worth adding a reminder that specific permissions need to be assigned to the appkeys to access each API request.
jQuery code should be as follows:
var xhr = $.ajax( {
'async': true,
'type': 'POST',
'url': 'https://openbroadcaster-server-location.com/api.php',
'dataType': 'json',
'data': {
"c": "media",
"a": "search",
"d": JSON.stringify({
"save_history": true,
"sort_by": "updated",
"sort_dir":"desc",
"q": {"mode": "simple", "string": "xyz"},
"s": "approved",
"l": 250,
"o": 0,
"my": false
}),
"appkey": "APPKEYHERE"
},
'success': function (response) {
console.log(response);
}
});
PHP code as follows:
`$url = "https://openbroadcaster-server-location.com/api.php";
$data = http_build_query([
'c' => 'media',
'a' => 'search',
'd' => json_encode([
'save_history' => true,
'sort_by' => 'updated',
'sort_dir' => 'desc',
'q' => ['mode' => 'simple', 'string' => 'xyz'],
's' => 'approved',
'l' => 250,
'o' => 0,
'my' => false
]),
'appkey' => 'APPKEYHERE'
]);
$context_options = [
'http' => [
'method' => 'POST',
'header' => "Content-type: application/x-www-form-urlencoded\r\n" .
"Content-length: " . strlen($data) . "\r\n",
'content' => $data
]
];
$context = stream_context_create($context_options);
$result = file_get_contents($url, false, $context);
echo $result;`
From @radiorob on May 20, 2016 20:25
Not creating new password
The work around must enter and save, password twice when provisioning and adding New Player for first time authentication
Copied from original issue: openbroadcaster/obplayer#6
Most of the time I seem to get "Format not recognized" even on supported filformats. If no error I will get"A file upload is required for new media" when trying to save. Nothing saved to database.
Files are uploaded and found in /assets/uploads
Checking the console I get following js error when the upload is finished:
VM1957:2 Uncaught SyntaxError: Unexpected token <
at Function.$.parseJSON (jquery.json.js:91)
at Object.OB.Media.mediaUploaderComplete [as complete] (addedit.js?v=4.1.1-20160502:263)
at j (jquery.min.js:2)
at Object.fireWith (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
Installed on Debian7 / PHP 5.5.38
I uploaded a batch of files and some failed to upload. I cancelled the failed files but the id3 tags were used on the next file in the list.
Feature Request: Watch Folder(s) with default actions/parameters
From @radiorob on May 20, 2016 20:29
Copied from original issue: openbroadcaster/obplayer#9
Include in search fields the ability to filter these Status, otherwise we have no idea how to find items that are marked Public or to set these in bulk to display with embed code. These status are reported properly in Statistics/Graph module. Better to include a visual indicator in media sidebar, to prevent users from trying to add private media to Public PL and Players.
Duplicate checker with name and MD5 Checksum. Notify and advise to overwrite or update. Alerts there is a duplicate, suggest to rename to *_01
In a rare non-reproducible condition Installer might not create password correctly
First we need the value of OB_HASH_SALT from the config file.
Append that value to the password you want to use. If the salt is aaaaaaaaaa and the password is password, the string needed is aaaaaaaaaapassword
from there, get the sha value like this:
echo -n "aaaaaaaaaapassword" | openssl sha1 | cut -f 2 -d " "
copy the string that this puts out.
the log into mysql:
mysql -u root -p
select database:
use openbroadcaster
UPDATE users SET password='d8656d3f3823bce79e3a29253cf1106f6cfeee7c' WHERE username='admin';
Now, assuming that the salt is set as aaaaaaaaaa in the config file, the password password will work.
Note: When using special characters in the password, they need to use single quotes instead of double quotes when they echo the string
Currently, Dynamic Selections are unaware which media has already played prior to their own instance in a playlist.
Some use cases where this is not ideal would be:
My concept to solve this problem would be to develop 'Intelligent Dynamic Scheduling', addressing not only the above issues but also introducing the ability to set some Rotation
A draft formula to populate a Dynamic Selection from eligible media would be:
[item selection score] = [rotation weight] - [match result] + [popularity score]
Terms:
**if** [same item found] **or** [same title found] **or** [same artist found] **or** [specific Regular Expression found in <field>] **then** [match result] = 1 **else** [match result] = 0
[popularity score] = (([count item votes] + [sum all votes]) / [sum all votes]) / 2
Operation:
Could use a hand documenting
Server setup
Provisioning Players
Actually I can use a simple raspberryPi2 like as media player for streaming HD mp4 videos at 25fps with a 10-15% of cpu with the original quality of the videos.
This is possible using ffmpeg with "-c:v copy -c:a copy" and videos in mp4 codified in HD 1280x720 h264 800kbs + aac 128kbs.
This system have a superb quality and I can streaming in my server using nginx+rtsp as in youtube and twitch at same time (i'm using the youtube like opensource project called now avideo and youphptube before).
But... hot to do the same with ogg format without recode the stream en real time?
regards
MaX
From @radiorob on May 20, 2016 20:27
Right click multiple edit selection fails
Copied from original issue: openbroadcaster/obplayer#8
Done - Extra Metadata fields
Done - SOCAN\MAPL which requires Composer, location of recording studio, performers, record label, etc
Done - Museum needs fields to store ISBN, camera used, format, condition, who donated, what licence is used.
TODO - International Standard Recording Code Media metadata for industry codes
TODO -Number in series ie Track 1, Track 2 Include track number field in DB ie Track 1, Track 2
Hello,
i dit a fresh install and fill in a password for the admin, but it don't work.
please help
Describe the bug
Can't find visibility status of media. Users have no way to find items that are marked Public or to set these in bulk to display with embed code. Can't filter to prevent users from trying to add private media to Public PL and Players.
To Reproduce
No way to filter by status
Expected behavior
Should be able to filter and show media "Public" that are available via API and embed widget
Solution
These status are reported properly in Statistics/Graph module.
Dynamic segments with content not approved for dynamic, causes player to play blank images in DPL
Record various Audio PSA to involve and educate the audience about this Emergency Broadcasting Initiative, what the station’s role is and a call out for people to log test messages for clarity, comprehension, etc. @billpolonsky will be able to assist in the scripting
Create Theme and skins. Research if there are any standards, " ie Mozzila, Chrome ?" or schemes for themes (skins) to get all the info in one zip file for updating and adjust our framework. Include a thumbnail of the completed theme, so we can put them in a gallery for end users to download or ask for service for custom design.
Signage will include theme support and have a split screen in zones, tradional 3 panel layout with a ticker scroll across bottom. Here is a gallery that has skins, planning something similar for our themse. http://xibo.org.uk/layouts/
Describe the bug
Server truncates Default Playlist to play 1-3 tracks only, in open spots (non scheduled programming) in Schedule
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The server at the top of the hour will serve up a Default Playlist that has 1-3 tracks in it. It will play through this playlist then serve up another playlist of 1-3 tracks till the end of the black time period ends on the schedule.
Screenshots
Screen shots included of the highlighted hour 4PM Friday November 26
Desktop (please complete the following information):
Additional context
The Default Playlist is not the problem. It plays as it's supposed to play when scheduled in the playlist.
Please add 'Te Reo Māori' as an option for Language field in Core Metadata
Thanks in advance.
For more information about Te Reo please see:
https://www.tpk.govt.nz/en/whakamahia/te-reo-maori
System Icons
Status Indicators
Icons of Audio\Video\Images for sidebar
Icons of Private/Public PL in sidebar
Icons of Basic, Advanced, and LA PL
Hi
I just installed in a local VM in order to try it an in the next future create a little web TV for my church.
The problem... after uploaded some medias (.ogg) I can't drag and drop in the calendar schedule page.
I'm using in the virtual server ubuntu 18.04, and in the client ubuntu 20.04 with firefox 77 and chrome 83.
Any ideas?
Describe the bug
Cannot schedule individual media items. Works when scheduling media in a Playlist
To Reproduce
Steps to reproduce the behavior:
Player gives errors and crashes player when trying to play individual media items
Expected behavior
Schedule individual media items
Additional context
Started last year when updating from 5.1 to 5.1.1
If I try to drag a playlist into the schedule, nothing happens.
The Console log from Chrome shows this:
schedule.js?v=5.0.0-20180127:360 Uncaught TypeError: Cannot read property 'length' of null
at Object.OB.Schedule.addeditShowWindow (schedule.js?v=5.0.0-20180127:360)
at schedule.js?v=5.0.0-20180127:452
at Object.OB.API.postSuccess (api.js?v=5.0.0-20180127:135)
at Object.success (api.js?v=5.0.0-20180127:86)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
From @radiorob on May 25, 2016 4:0
Even if you are an admin, you can't take a private media item and put it in a playlist owned by someone else.
This is a hassle, Admin users create PL and when trying to Save, get message "can't add private media" There are no indicators what is marked as Private media
The reason is that it would create a mess.
For example, John uploads some private media.
Sally (basic user) creates a playlist.
Jake (admin user) decides to add some of John's private media to Sally's playlist.
Sally goes to edit the playlist and then... what? Sally doesn't have access to even know about John's private media, let alone use it in a playlist.
Now if Jake wants to add private media to his own playlist, then that solves the problem. That is, until Jake loses his admin privileges. Now Jake has a playlist with John's private media and he doesn't have permission to access it. Same issue.
So the rule is... you can't add private media to a playlist other than playlists owned by the same user as the media.
Copied from original issue: openbroadcaster/obplayer#11
LDAP\ Enterprise integration to manage external users and better workflow tools to keep out spammers. TOS/challenge on sign up with email status messages to admins on new user sign up.
Hi, first time installing, OS is Linux Mint 20.2 and had to manually install as the script wasn't working.
Have worked through everything so far with config and dependencies looking good, but when I try to upload media I can't get past 'Processing Media...'
I've made sure all dependencies are installed (except for using mysql rather than mariadb, and I used the symlink commands documented for ffmpeg as libav-tools was depreciated) and believe I correctly set recursive ownership for user www-data on the media folder structure.
The file does appear in the /assets/uploads/ directory but without knowing how to check a log file I'm clueless as to what the roadblock is now.
Hi
I want generate RTP packet with codec qcelp or purevoice.
bbserver support qcelp codec?
Expand PL sidebar.
Fields to show who is creator\owner of PL media
Staleness Indicator in PL. Ie Show hasn't been updated in n days, not played or scheduled
Indicator if it is Public\Visible\Private
Describe the bug
Scheduling a 3 hour show at 11:00 PM, doesn't show the 2 hours in next day in schedule
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should show 2 hours next day beginning at midnight
Desktop (please complete the following information):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.