[erlang-questions] Real time audio transcoding with a port driver

Max Lapshin max.lapshin@REDACTED
Mon Jul 1 16:52:56 CEST 2013


You have following choices:

1) start program based on libav, one per stream and speak with it via
port. You cannot use avconv directly because it will be
unmaintainable.
2) launch driver based on libav and schedule transcoding to async threads
3) transcode in NIF.

I think that if you have really hundreds of streams, than 2-nd choice
is best, because it is much better to schedule 20-40 threads than 400
processes.



More information about the erlang-questions mailing list