Skip to content

MIKU-N/docker-owncast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This Project was work in ubuntu 22.04 HWE

The origin project has some device error,I fix it and upgrade some software for AMD 680M

It's work success in AMD 6800H

Just git clone this project and docker build it.

Before use that,you need install AMD Linux® Drivers for AMD Radeon™ and Radeon PRO™ Graphics
See https://www.amd.com/EN/support/download/linux-drivers.html

git clone https://github.com/MIKU-N/docker-owncast.git
cd docer-owncast
docker buildx build -t test/owncast-test  .

Or Used Docker-Compose from Docker Hub

services:
  owncast:
    image: miku114514/docker-owncast:master
    container_name: owncast
    environment:
      - UID=0
      - GID=0
      - TZ=Asia/Shanghai
      - OWNCAST_V=latest
      - UMASK=0000
      - DATA_PERM=770
    volumes:
      - /your_data_folder/owncast:/owncast
    ports:
      - 8089:8080
      - 1935:1935 #optional
    devices:
      - /dev/dri:/dev/dri #optional
    restart: unless-stopped

Owncast in Docker optimized for Unraid

Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software.

Update Notice: Simply restart the container if a newer version of the game is available.

AMD Hardware transcoding (Please note that you have to be on Unraid 6.9.0beta35 to enable the moduel for AMD):

Open up a Terminal from Unraid and type in: 'modprobe amdgpu' (without quotes or you edit your 'go' file to load it on every restart of Unraid - refer to the support thread)
At 'Device' at the bottom here in the template add '/dev/dri'
In Owncast open the admin page and go to 'Configuration' -> 'Video Configuration' -> 'Advanced Settins', select 'VA-API hardware encoding' from the dropdown and click 'Yes'

Intel Hardware transcoding:

Download and install the Intel-GPU-TOP Plugin from the CA App
At 'Device' at the bottom here in the template add '/dev/dri'
In Owncast open the admin page and go to 'Configuration' -> 'Video Configuration' -> 'Advanced Settins', select 'VA-API hardware encoding' from the dropdown and click 'Yes'

Nvidia Hardware transcoding:

Download and install the Nvidia-Driver Plugin from the CA App
Turn on the 'Advanced View' here in the template and at 'Extra Parameters' add: '--runtime=nvidia'.
At 'Nvidia Visible Devices' at the bottom here in the template add your GPU UUID.
In Owncast open the admin page and go to 'Configuration' -> 'Video Configuration' -> 'Advanced Settins', select 'NVIDIA GPU acceleration' from the dropdown and click 'Yes'

Also visit the Homepage of the creator and consider Donating: https://owncast.online/

Env params

Name Value Example
DATA_DIR Main Data folder /owncast
OWNCAST_V Preferred Owncast version goes here (set to ‘latest’ to download the latest and check on every startup if there is a newer version available) latest
START_PARAMS Extra startup Parameters if needed (leave empty if not needed)
UID User Identifier 99
GID Group Identifier 100
UMASK Umask value 0000
DATA_PERM Data permissions for /owncast folder 770

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 84.1%
  • Dockerfile 15.9%