Skip to content

Commit

Permalink
docs: Update docs for shaka-streamer-binaries and multiperiod (#92)
Browse files Browse the repository at this point in the history
Closes #60
  • Loading branch information
mariocynicys authored Sep 8, 2021
1 parent 282db9d commit d8a8d2d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Features
* Control output folders and file names
* Add arbitrary FFmpeg filters for input or output

* Supports generating multi-period VOD content for DASH and stitched playlists for HLS

Caveat: text processing
~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
24 changes: 24 additions & 0 deletions docs/source/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,30 @@ This can also be installed via ``pip3`` on any platform:
# To install/upgrade per-user:
pip3 install --user --upgrade pyyaml
Shaka Streamer Binaries (optional)
----------------------------------

Shaka Streamer requires the installation of `Shaka Packager`
and `FFmpeg`, as it uses them internally.

These binaries can most likely be installed for your platform
using ``pip3`` through the PyPi package ``shaka-streamer-binaries``.

If you choose to install ``shaka-streamer-binaries``, you won't need to install
the other two dependencies: `Shaka Packager` and `FFmpeg`.

To install ``shaka-streamer-binaries``:

.. code:: sh
pip3 install shaka-streamer-binaries
The static `FFmpeg` builds are pulled from here:
https://github.com/joeyparrish/static-ffmpeg-binaries

The static `Shaka Packager` builds are pulled from here:
https://github.com/google/shaka-packager

Shaka Packager
--------------

Expand Down
2 changes: 1 addition & 1 deletion streamer/input_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def get_channel_layout(self) -> bitrate_configuration.AudioChannelLayout:
return bitrate_configuration.AudioChannelLayout.get_value(self.channel_layout)

class SinglePeriod(configuration.Base):
"""An object repersenting one optional video stream and multiple audio and text streams"""
"""An object representing a single period in a multiperiod inputs list."""

inputs = configuration.Field(List[Input], required=True).cast()

Expand Down

0 comments on commit d8a8d2d

Please sign in to comment.