[FFmpeg-user] Red5 server + ffmpeg feed stream, and cannot play the stream with Movie Player.

Li codingpotatolinda at gmail.com
Fri Jul 18 22:53:59 CEST 2014

Ubuntu 12.04,

(a) start Red5 server in Terminal 1

(b) feed a stream to the Red5 server in Terminal 2

ffmpeg -re -i '/usr/share/red5/webapps/oflaDemo/streams/avatar.flv'
-vcodec libx264 -ab 128k -ac 2 -ar 44100 -r 25 -s 320x240 -vb 660k -f
flv 'rtmp://localhost/oflaDemo/streamTest'

Terminal 2 shows some messages that it is streaming.

(c) play the stream I use Movie Player: rtmp://localhost/oflaDemo/streamTest

[Result] An error occurred. Stream contains no data.


More information about the ffmpeg-user mailing list