All Projects → Martin1982 → live-broadcast-bundle

Martin1982 / live-broadcast-bundle

Licence: MIT license
Live broadcasting planner and scheduler

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to live-broadcast-bundle

Multistreamer
[discontinued] A webapp for publishing video to multiple streaming services at once.
Stars: ✭ 281 (+639.47%)
Mutual labels:  twitch, facebook, rtmp
Docker Multistreamer
Dockerized multistreamer
Stars: ✭ 90 (+136.84%)
Mutual labels:  twitch, facebook, rtmp
Docker Nginx Rtmp
🐋 A Dockerfile for nginx-rtmp-module + FFmpeg from source with basic settings for streaming HLS. Built on Alpine Linux.
Stars: ✭ 608 (+1500%)
Mutual labels:  twitch, ffmpeg, rtmp
Obs Studio
OBS Studio - Free and open source software for live streaming and screen recording
Stars: ✭ 34,115 (+89676.32%)
Mutual labels:  ffmpeg, facebook-live, youtube-live
desktop
Free and open source streaming software built on OBS and Electron.
Stars: ✭ 3,684 (+9594.74%)
Mutual labels:  twitch, facebook
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+502.63%)
Mutual labels:  ffmpeg, rtmp
Pylivestream
Pure Python FFmpeg-based live video / audio streaming to YouTube, Facebook, Periscope, Twitch, and more
Stars: ✭ 442 (+1063.16%)
Mutual labels:  twitch, ffmpeg
Xl player
A high performance Android media player, base on ffmpeg and MediaCodec, support VR video.
Stars: ✭ 126 (+231.58%)
Mutual labels:  ffmpeg, rtmp
React Player
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
Stars: ✭ 5,931 (+15507.89%)
Mutual labels:  twitch, facebook
Skraper
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, IFunny, VK, Pikabu)
Stars: ✭ 72 (+89.47%)
Mutual labels:  twitch, facebook
All In One Customized Adblock List
An all-in-one adblock list that thoroughly blocks trackers, popup ads, ads, unwanted cookies, fake news, cookie warning messages, typosquatters, unwanted comment sections, crypto-coin mining, YouTube clutter, Twitter guff and social network hassles.
Stars: ✭ 217 (+471.05%)
Mutual labels:  twitch, facebook
Ffmpegandroid
android端基于FFmpeg实现音频剪切、拼接、转码、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图;音视频合成与分离,配音;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;歌词解析与显示
Stars: ✭ 2,858 (+7421.05%)
Mutual labels:  ffmpeg, rtmp
Rtmp Ts Dash Webrtc
👾 音视频解决方案 Audio and video solutions(AV1)
Stars: ✭ 129 (+239.47%)
Mutual labels:  ffmpeg, rtmp
Streamwall
Display a mosaic of livestreams. Built for streaming.
Stars: ✭ 160 (+321.05%)
Mutual labels:  twitch, facebook
TwitchTest
Bandwidth tester for Twitch
Stars: ✭ 111 (+192.11%)
Mutual labels:  twitch, rtmp
Ffplayout Engine
python and ffmpeg based playout
Stars: ✭ 128 (+236.84%)
Mutual labels:  ffmpeg, rtmp
oembed
PHP OEmbed wrapper for well-known video platforms and services
Stars: ✭ 26 (-31.58%)
Mutual labels:  twitch, facebook
Rtp Streamer
rtp record and rtp streamer
Stars: ✭ 60 (+57.89%)
Mutual labels:  ffmpeg, rtmp
Streaming Room
Streaming room in Node.js, rtmp, hsl, html5 videojs player
Stars: ✭ 106 (+178.95%)
Mutual labels:  ffmpeg, rtmp
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+5289.47%)
Mutual labels:  twitch, ffmpeg

Live Broadcast Bundle

Build status Latest stable version

License Total downloads

Table of contents

About

The Live Broadcast Bundle will make it possible to plan live video streams to various websites/apps like Twitch, YouTube Live, Facebook Live.

You are able to stream from various inputs. This package supports files, URLs or existing RTMP streams.

For more info you can view the latest recorded presentation below, check the demo project at https://github.com/Martin1982/live-broadcast-demo or read on;

IMAGE ALT TEXT

Prerequisites

To test these prerequisites the Symfony command livebroadcaster:test:shell can be used after the installation described below. If you like to check this manually the Broadcaster needs a few commands on an operating system;

All OS's:

  • ffmpeg 3.x or higher

On Linux:

  • ps
  • kill

On Mac:

  • ps
  • grep
  • kill

On Windows:

  • tasklist
  • taskkill

Basic installation

This bundle is available on Packagist. You can then install it using Composer:

$ composer require martin1982/live-broadcast-bundle

Use Doctrine to update your database schema with the broadcasting entities, when upgrading it is recommended to use migrations.

To start the broadcast scheduler you can run the following command:

$ php bin/console livebroadcaster:broadcast

To run the scheduler as a long-running process it's recommended to use the messenger middleware to keep the database connection alive as described at https://symfony.com/doc/current/messenger.html

FFMpeg log directory

To view the output of FFMpeg you need to configure a log directory in your config/packages/live_broadcast.yaml.

 live_broadcast:
    ffmpeg:
        log_directory: '%kernel.logs_dir%'

Event loop

You can use this configuration to set the event loop timer:

live_broadcast:
    eventloop:
        timer: 5

Thumbnailer setup

Set up the following config for thumbnails:

live_broadcast:
    thumbnail:
        upload_directory: '%kernel.project_dir%/public/uploads/thumbnails'
        web_path: '/uploads/thumbnails'

Enabling Facebook Live

Create a Facebook app on https://developers.facebook.com with the following permissions:

  • user_videos
  • user_events
  • user_managed_groups
  • manage_pages
  • publish_actions
  • Live-Video API

Edit your config/packages/live_broadcast.yaml with the following configuration:

live_broadcast:
    facebook:
        application_id: YourFacebookAppId
        application_secret: YourFacebookAppSecret

Enabling YouTube Live

Login to https://console.developers.google.com/ and enable the 'YouTube Data API v3'.

Add the YouTube API info to your config.yml:

live_broadcast:
    youtube:
        client_id: YourGoogleOauthClientId
        client_secret: YourGoogleOauthClientSecret

Add these lines to your parameters.yml (used for generating a thumbnail URL)

parameters:
    router.request_context.host: broadcast.com
    router.request_context.scheme: https

Add new output platforms

Create a new Channel Entity in Entity/Channel that extends the AbstractChannel (e.g. ChannelNew)

Create a new StreamOutput service in Service/StreamOutput that implements the OutputInterface (e.g. OutputNew)

Configure the service with the output tag in config/services.yml

live.broadcast.output.new:
    class: Martin1982\LiveBroadcastBundle\Service\StreamOutput\OutputNew
    tags:
        - { name: live.broadcast.output, platform: 'New' }

Using an admin GUI

This bundle comes without a web frontend interface, to make use of an admin package you can pick the one to your liking;

Sponsors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].