<div dir="ltr"><div><div><div>@Max<br><br></div>erlyvideo has interesting stuff in it but I couldn't find docs or active community.<br></div>There are several versions and names (erlyvideo, flussonic) and it is not clear which one is active and open sourced.<br>
<br></div>Thanks for the suggestion but for me erlyvideo is not a true open source project like gproc, mochiweb, rabbitmq, cowboy and many other great projects.<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Jun 23, 2013 at 12:24 PM, Max Bourinov <span dir="ltr"><<a href="mailto:bourinov@gmail.com" target="_blank">bourinov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Pablo,<div><br></div><div>check this out: <a href="https://github.com/erlyvideo" target="_blank">https://github.com/erlyvideo</a></div></div><div class="gmail_extra"><br clear="all"><div><div>Best regards,</div>
<div>Max</div>

<br></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Sun, Jun 23, 2013 at 12:41 AM, pablo platt <span dir="ltr"><<a href="mailto:pablo.platt@gmail.com" target="_blank">pablo.platt@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div dir="ltr"><div><div>Hi,<br><br></div>I'm trying to transcode a live RTMP stream with avconv from erlang.<br></div><div>How do I need to use open_port to get output from avconv?<br><br></div><div>The following doesn't work:<br>



</div><div><div><div><pre>start() ->
    spawn(audio, start_avconv, []).

start_avconv() ->
    Port = open_port({spawn, "avconv -i rtmp://<a href="http://127.0.0.1/audio/test" target="_blank">127.0.0.1/audio/test</a> -f mp3 -"}, [binary, stream]),
    read(Port, <<>>).

read(Port, _Data) ->
    receive
        {Port, {data, NewData}} ->
            io:format("~p~n", [NewData]),
            read(Port, <<>>);
        M ->
            io:format("~p~n", [M])
    end.<br><br></pre><pre>Is there an erlang project that helps working with audio and video streams?<br><br></pre><pre>Thanks<br></pre><pre><br><br></pre><br></div></div></div></div>
<br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>