That's the first version I tried and it just hangs. Doesn't stream anything, nor return error. After about 2 weeks of researching why it does that I found the version with the mplayer, witch works.<br><br>The entire goals is to stream with vlc from a computer to a server and then again so that step can not be bypassed.<br>
<br>If you can tell me how to do it so the ffmpeg works directly with the stream without mplayer i'd be gladly to skip that step.<br><br><div class="gmail_quote">2011/3/28 Anthony Brown <span dir="ltr"><<a href="mailto:av@bsbc.nb.ca">av@bsbc.nb.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 11-03-28 02:13 PM, Victor Petrescu wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Now I try to stream it. So I kind of do this (in 2 terminals):<br>
<br>
terminal 1:<br>
#mkfifo pipe.avi<br>
#ffserver &<br>
#ffmpeg -i pipe.avi -r 24 <a href="http://localhost:8090/feed1.ffm" target="_blank">http://localhost:8090/feed1.ffm</a><br>
<br>
terminal 2:<br>
#mplayer -quiet -double -dumpstream rtp://<a href="http://192.168.1.8:5004" target="_blank">192.168.1.8:5004</a><br></div>
<<a href="http://192.168.1.8:5004/" target="_blank">http://192.168.1.8:5004/</a>> -dumpfile pipe.avi<br>
</blockquote>
<br>
why the mplayer step?  why not go direct from VLC to ffmpeg:<br>
<br>
ffmpeg -i rtp://<a href="http://192.168.1.8:5004" target="_blank">192.168.1.8:5004</a> -r 24 <a href="http://localhost:8090/feed.ffm" target="_blank">http://localhost:8090/feed.ffm</a><br>
in terminal 1 and skip terminal 2 entirely?<br>
<br>
Also, you could turn down the caching value in VLC when you send the stream.<br>
<br>
Even better would be to skip VLC entirely, supposing that you can read from the webcam with ffmpeg....<br>
<br>
A/B<br><font color="#888888">
<br>
-- <br>
<br>
<br>
Anthony Brown<br>
Audiovisual coordinator<br>
Brunswick Street Baptist Church<br>
Telephone: (506)-458-8348 (leave message)<br>
Email:     <a href="mailto:av@bsbc.nb.ca" target="_blank">av@bsbc.nb.ca</a><br>
</font><br>_______________________________________________<br>
ffserver-user mailing list<br>
<a href="mailto:ffserver-user@ffmpeg.org">ffserver-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/ffserver-user" target="_blank">http://ffmpeg.org/mailman/listinfo/ffserver-user</a><br>
<br></blockquote></div><br>