# Membrane SDL plugin
[](https://hex.pm/packages/membrane_sdl_plugin)
[](https://hexdocs.pm/membrane_sdl_plugin/)
[](https://circleci.com/gh/membraneframework/membrane_sdl_plugin)
This package provides an [SDL](https://www.libsdl.org/)-based video player.
It is part of [Membrane Multimedia Framework](https://membraneframework.org).
## Installation
The package can be installed by adding `membrane_sdl_plugin` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:membrane_sdl_plugin, "~> 0.16.0"}
]
end
```
The docs can be found at [HexDocs](https://hexdocs.pm/membrane_sdl_plugin).
## Usage
Usage example can be found in [`examples/player.exs`](examples/player.exs).
This example demonstrates how to play a H264 video, downloaded in real-time from Membrane's static repository over HTTP.
To run it, simply execute the following command in your terminal:
```bash
$ elixir examples/player.exs
```
## Testing
To run manual tests, type `mix test --include manual`
## Copyright and License
Copyright 2019, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=membrane)
[](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=membrane)
Licensed under the [Apache License, Version 2.0](LICENSE)