Skip to content

frenchja/streamR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamR

William Revelle often says that R can do anything, even order a pizza. So, I wondered, could R be used to parse options and stream movies to my RTMP server using ffmpeg?

Installation

sudo curl https://raw.githubusercontent.com/frenchja/streamR/master/stream.R -o /usr/local/bin/stream.R
sudo chmod +x /usr/local/bin/stream.R

Usage

stream.R --server rtmp://yourserver movie.mkv

Options

  1. --help: Display help menu.
  2. --time: Desired start time of stream.
  3. --server: RTMP server address.
  4. --framerate: Output framerate.
  5. --crf: Constant Rate Factor.
  6. --update: Update stream.R to latest master.

TODO

  1. Process management
  2. Use lapply and cat to allow for the creation of a movie playlist.

About

Streaming video implemented in R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages