This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
VIDEO_PATH=/home/pi/video_playlist | |
LOG=/var/log/playout.log | |
pid= | |
trap '[[ $pid ]] && kill $pid && echo "Signal trapped" >> $LOG && exit' TERM | |
echo `date` "Entering playout script" >> $LOG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=obe_hd | |
screen -d -m -S $NAME obecli | |
sleep 1 | |
screen -p 0 -S $NAME -X stuff $'set input decklink\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=0\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-format=1080i50\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-connection=sdi\012' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: /home/app/playlist.rb @ line 60 : | |
55: consumer.start | |
56: | |
57: # Connect the producer to the consumer | |
58: consumer.connect( pls ) | |
59: | |
=> 60: binding.pry | |
61: # Wait until the user stops the consumer | |
62: #consumer.wait_for( event ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Import required modules | |
require 'pry' | |
require 'mlt' | |
# Create the mlt system | |
Mlt::Factory::init | |
# Establish the mlt profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Import required modules | |
require 'pry' | |
require 'mlt' | |
# Create the mlt system | |
Mlt::Factory::init | |
# Establish the mlt profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=obe_hd | |
screen -d -m -S $NAME obecli | |
sleep 1 | |
screen -p 0 -S $NAME -X stuff $'set input decklink\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=0\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-format=1080i50\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-connection=sdi\012' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open Broadcast Encoder command line interface. | |
Version 0.1-beta | |
obecli> set input decklink | |
obecli> set input opts card-idx=0 | |
obecli> set input opts video-format=1080i50 | |
obecli> set input opts video-connection=sdi | |
obecli> set input opts audio-connection=embedded | |
obecli> probe input | |
Probing device: Decklink card 0. Timeout 20 seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=obe_sd | |
screen -d -m -S $NAME obecli | |
sleep 2 | |
screen -p 0 -S $NAME -X stuff $'set input decklink\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=3\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-format=pal\012' | |
screen -p 0 -S $NAME -X stuff $'probe input\012' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OBE configure script | |
Command line options: "--prefix=/opt/obe" | |
checking whether gcc works... yes | |
checking for -std=gnu99... yes | |
checking whether yasm supports vpaddw xmm0, xmm0, xmm0... yes | |
checking whether gcc supports __asm__("pabsw %xmm0, %xmm0");... yes | |
checking for pthread.h... yes | |
checking for x264_encoder_close(0); in x264.h... yes | |
checking whether X264_BUILD >= 99 is true... yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=obe_hd | |
screen -d -m -S $NAME obecli | |
sleep 1 | |
screen -p 0 -S $NAME -X stuff $'set input decklink\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=0\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-format=1080i50\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-connection=sdi\012' |
OlderNewer