AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recently, and wondered what they might be using for compression of the video before it is streamed.
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
The obligatory hello world thread!
Who are you and where are you from? :stuck_out_tongue:
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using.
We’re particularly inte...
New
Is there a word for the ~> symbol used in Version strings?
Do you also just call it a Squiggle Arrow™ ?!
New
Other Trending Topics
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #phoenix_html
- #elixirconf-us
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 6- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
andre1sk
generally everyone is using ffmpeg on encoding side I think more or less
there was erlyvideo but it seams it’s only available as commercial product http://flussonic.com/ now
We have not used erlyvideo but we did use flussonic to stream up to 20 Gbit/ sec of video was working well as far as I remember.
shavit
They are using FFMPEG:
If you don’t want live video, Phoenix can work almost out of the box for video on demand.
AstonJ
Thanks both. I’d be interested in both VOD and live video.
Here’s Twitch’s tech stack: Twitch Blog they seem to use a lot of Go.
The video system is responsible for getting video from the broadcaster to our viewers. This includes the following core components:
What would we use to process/compress the video once it’s been uploaded by a user? (Apart from flussonic)
maxlapshin
Hi, I’m author of erlyvideo and Flussonic, so let me tell a bit.
Yes, I was writing opensource video streaming code some time ago, but now I had to close it, because I was the only author and opensource didn’t work in my case.
Right now Flussonic is developed by a moderate team of programmers and other people.
Erlang shows itself very powerful when it comes to reading bytes from network, repacking them and sending forward. It is incomparable with C++ because there is no C++ program that has the same functionality. Java gives the same speed.
In Flussonic we have lot of code related to unpacking and packing containers, protocols, etc.
We do not opensource most of this part because it is very highly tighed with each other. Structure of our format-reading code is rather similar to libavformat.
Part that handles large payload is rather unique. Flussonic handles extremely large traffic: 1,5 gbit of input, 20 gbit of output, 10 gbit of disk reading.
Go is not required for this and on such speeds term “speed” changes its meaning. It is much more important to flexibly control your program then just to make a throughput.
Simple example: it is prohibited in Flussonic to send message or make gen_server:cast. Only gen_server:call, because it is very dangerous to disable flow control.
As it was properly written here: transcoding can be done only via libraries that are included into ffmpeg package. libx264 is one of the best modern softwares.
We do not put our code to opensource because it is useless and it can only hurt existing users: they rely on us, but we need to earn money to work.
If you are interested in some aspects — ask, I will try to answer.
OvermindDL1
Eeeeeh, as one of those who worked on the old Boost.Spirit2 version (they are up to Boost.Spirit3 since I had to move on), the Boost.Spirit has binary parsing/creating support that is almost as succinct as Erlangs and faster than anything else out (by definition, it is a self-optimizing template structure, if you find a case where it is slower in parsing anything compared to something else, once we saw how the other one did it then just another optimization pass fixes it permanently). And no, no Java library compared to ASIO/Spirit as a network handling and parsing interaction, not even erlang compared in speed, yet I still used erlang back then due to its fantastic error handling.
/me coughs…
andre1sk
Can’t argue with you
but have to note that we did try pretty much everything available as far as streaming and live streaming and Flussonic did save our a##.