[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

# ...

<Stream test2-rtsp.mpg>
Format rtp
# coming from live feed 'feed1'
Feed feed1.ffm

The command of ffmpeg (Option 1) is:

ffmpeg -re -i '/usr/share/red5/webapps/oflaDemo/streams/hobbit_vp6.flv'

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'
## not work:
[http @ 0x21a9c80] HTTP error 404 Not
Foundhttp:// Input/output error

So now I need to display the stream. On the other computer:

(Option 1) ffplay rtsp://

Not work. [Output] rtsp UDP timeout, retrying with TCP. Why?

(Option 2) movie player: Open location: rtsp:// it works!

Why? What difference?

More information about the ffmpeg-user mailing list