[FFmpeg-user] ffserver + ffmpeg, out rtsp stream: why ffplay cannot play the stream, but movie player can
Li
codingpotatolinda at gmail.com
Fri Jul 18 22:11:09 CEST 2014
On Ubuntu 12.04, I use ffserver + ffmpeg.
There are a little revision of the original /etc/ffserver.conf:
RTSPPort 5454
RTSPBindAddress 0.0.0.0
# ...
<Stream test2-rtsp.mpg>
Format rtp
# coming from live feed 'feed1'
Feed feed1.ffm
</Stream>
The command of ffmpeg (Option 1) is:
ffmpeg -re -i '/usr/share/red5/webapps/oflaDemo/streams/hobbit_vp6.flv'
http://localhost:8090/feed1.ffm
BTW, if I use (Option 2) as below, it does not work (Why?):
ffmpeg -re -i '/usr/share/red5/webapps/oflaDemo/streams/hobbit_vp6.flv'
http://192.168.1.105:8090/feed1.ffm
## not work:
[http @ 0x21a9c80] HTTP error 404 Not
Foundhttp://192.168.1.105:8090/feed1.ffm: Input/output error
So now I need to display the stream. On the other computer:
(Option 1) ffplay rtsp://192.168.1.105:5454/test2-rtsp.mpg
Not work. [Output] rtsp UDP timeout, retrying with TCP. Why?
(Option 2) movie player: Open location: rtsp://
192.168.1.105:5454/test2-rtsp.mpg it works!
Why? What difference?
More information about the ffmpeg-user
mailing list