Captions: if you have installed the optional tinytag
Python module,
the Title - Artist will be added automatically onto the video from the
audio/video files.
python -m pylivestream.loopfile videofile site
Glob list of video files to stream:
python -m pylivestream.fglob path site -glob glob_pattern
-glob
glob pattern of files to stream e.g.*.avi
. For recursive globbing, do like**/*.avi
.-loop
optionally loop endlessly the globbed file list-shuffle
optionally shuffle the globbed file list-image
if you have AUDIO files, you should normally set an image to display, as most/all streaming sites REQUIRE a video feed--even a static image.-nometa
disable Title - Artist text overlay
Example: all AVI videos in directory ~/Videos
:
python -m pylivestream.fglob ~/Videos youtube -glob "*.avi"
Example: all AVI videos in ~/Videos
are endlessly looped:
python -m pylivestream.fglob ~/Videos youtube -glob "*.avi" -loop
m3u8 playlist example
Glob list of video files to stream. Suggest including a static -image (could be your logo):
python -m pylivestream.fglob path site -glob glob_pattern -image image
path
path to where video files areglob_pattern
e.g.*.avi
pattern matching video files-image
filename of image to use as stream background (REQUIRED for most websites)
Example: stream all .mp3 audio under ~/music
directory:
python -m pylivestream.fglob ~/music youtube -glob "*.mp3" -image mylogo.jpg
Example: stream all .mp3 audio in ~/music
with an animated GIF or video clip repeating:
python -m pylivestream.fglob ~/music youtube -glob "*.mp3" -image myclip.avi
or
python -m pylivestream.fglob ~/music youtube -glob "*.mp3" -image animated.gif