I don't know what you're trying to do (rtmpsrv is a simple RTMP server that uses the parameters it receives to call rtmpdump), but it should *not* be segfaulting.<div><br></div><div>With the values in your backtrace (av = {av_val = 0x0, av_len = 0}), I don't know how</div>
<div><div> for (p=av.av_val+av.av_len-1; p>=av.av_val; p--)</div><div> if (*p == '/')</div></div><div>is even getting to the if statement. (Of course, the playpath ("av") also shouldn't be pointing to null!)</div>
<div><br></div><div>Trying to play rtmp://<a href="http://127.0.0.1:1935">127.0.0.1:1935</a> sounds like a good way to start an infinite loop, though.<br><br><div class="gmail_quote">On Tue, May 8, 2012 at 4:18 PM, Juan Castro <span dir="ltr"><<a href="mailto:jcastro@instant.com.br" target="_blank">jcastro@instant.com.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, May 8, 2012 at 6:11 PM, Steven Penny <<a href="mailto:svnpenn@gmail.com">svnpenn@gmail.com</a>> wrote:<br>
> Juan Castro wrote:<br>
>> Freshly checked from git.<br>
>><br>
>> - Run rtmpsrv;<br>
>><br>
>> - In other window, run "mplayer rtmp://<a href="http://127.0.0.1:1935" target="_blank">127.0.0.1:1935</a>"<br>
><br>
> You should be piping it to mplayer / VLC<br>
><br>
> rtmpdump -r "asdf" -a "asdf" -y "asdf" -W "asdf" | mplayer -<br>
> rtmpdump -r "asdf" -a "asdf" -y "asdf" -W "asdf" | VLC -<br>
<br>
</div>I'll study more how to use it, but one way or another it shouldn't<br>
core dump, right?<br>
<br>
I don't know what to put in place of "asdf" to test rtmpsrv. Maybe I<br>
should head to that other web forum. :(<br>
<br>
Regards.<br>
<span class="HOEnZb"><font color="#888888">Juan<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
rtmpdump mailing list<br>
<a href="mailto:rtmpdump@mplayerhq.hu">rtmpdump@mplayerhq.hu</a><br>
<a href="https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump" target="_blank">https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump</a><br>
</div></div></blockquote></div><br></div>