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?
sudo curl https://raw.githubusercontent.com/frenchja/streamR/master/stream.R -o /usr/local/bin/stream.R
sudo chmod +x /usr/local/bin/stream.Rstream.R --server rtmp://yourserver movie.mkv--help: Display help menu.--time: Desired start time of stream.--server: RTMP server address.--framerate: Output framerate.--crf: Constant Rate Factor.--update: Update stream.R to latest master.
- Process management
- Use lapply and cat to allow for the creation of a movie playlist.