Skip to content

jsuereth/linux_casting_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Casting scripts

Come in two forms:

setup_pulse.bash

This guy lets you set up your pulse audio so that you can still listen to music/applications but not your own microphone. It feeds incoming audio to a recordable sink, while not looping back all things you hear in hardware out to the recording software.

Primary use case: Scalawags video casting with intro/outro music as part of the live event. Maybe even a sound board one day.

Usage

./pulse_setup.bash 
No inputs defined!

Usage:
pulse_setup.bash [options]
    This script constructs the necessaary pulse-audio sinks
    for recording.  There are two sinks created: 
     * recording_feed_out - for actually recording.
     * comp_feed_out - for recording & playback through speakers.

Options:

  -i <client>          Adds a given pulse audio client to the recording.
                       You will not be able to hear this input in your speakers.
  -mi <client>         Adds some monitored input.  This client will be recorded,
                       and you'll be able to listen to it.
  -s  <microphone>     Adds the specified microphone to the recording.
                       This will not be heard in your headphones.
  -rhythmbox           Adds rhythmbox to the recording + still in speakers.
  -skip-setup          Don't create the pulse sinks for recording/playback
  -snowball            Add the snowball microphone to the recording.
  -h                   Display this message

twitch-stream.bash

Screencasting focused on twitch.tv. This one lets you record the desktop, an optional image overlay and webcam (in the top right). It uses the setup_pulse script so you have fine controls over the audio portion.

usage

 (master %=) ➜ ./twitch-stream.bash -h

Usage:
twitch-stream.bash [options]
 This script records to twitch with the given inputs/outputs.
   By default the entire screen is recorded and the default  
   pulse audio device is recorded.

 Options:

  -webcam <device>            Record the webcam.
  -twitch-server <subdomain>  The twitch subdomain server
                              (default: live-jfk)
  -overlay <image>            An image to overlay on top of
                              the video, but under the webcam,
                              if the webcam is enabled.
  -window                     On startup select a window to
                              set the xgrab coordinates.
  -s <input>                  Record a given pulse audio source
                              on the audio stream.
                              Example: 'snowball' would find any 
                              snowball microphone connected.
  -mi <pulse client>          Record any pulse-audio client
                              and also output to hardware speakers
                              Examples:  rhythmbox, wine
  -output <file>              An (optional) output file instead of twitch
  -loglevel <level>           avconv loglevel string.

Use at your own risk. If you do, please contribute fixes back. Happy casting!

About

A few helper scripts to make podcasting/videocasting somewhat easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages