推流:
ffmpeg -fflags +genpts -re -i <media_file> -an -vcodec copy -f rtp rtp://<IP>:5004 -vn -acodec copy -f rtp rtp://<IP>:5005 > test.sdp
播放:
ffplay test.sdp
ref:
1.http://blog.sina.com.cn/s/blog_6e65e8cc01011wm4.html
2.http://stackoverflow.com/questions/15712983/why-rtp-streaming-of-a-avi-video-file-fails-to-be-received/16469378#16469378