ffmpeg 命令
推流 tcp ffmpeg -re -i F:\片源\大丈夫_01.ts -c:v copy -f mpegts tcp://192.168.1.187:5555
推流rtsp ffmpeg -re -i F:\片源\大丈夫_01.ts -f rtsp rtsp://192.168.1.180:554/live/default
推流rtmp ffmpeg -re -i F:\片源\大丈夫_01.ts -f flv rtmp://192.168.1.180:1935/live/default
推流udp ffmpeg -re -i F:\ChID_voices_1280x720p_25fps_h264_6ch_640kbps_ddp_joc.mp4 -vcodec copy -acodec copy -f mpegts udp://192.168.1.210:5565
推流ts_over_rtp ffmpeg -re -i "C:\Users\Administrator\Desktop\Hisense Nature 4K Demo8_13M.mp4" -vcodec copy -an -f rtp_mpegts rtp://127.0.0.1:5678
ffmpeg -re -i "C:\Users\Administrator\Desktop\Hisense Nature 4K Demo8_13M.mp4" -vcodec copy -an -f rtp_mpegts rtp://127.0.0.1:5678>test.sdp
推流rtp ffmpeg -re -i F:\片源\大丈夫_01.ts -vcodec libx264 -an -b:v 8000k -f rtp rtp://127.0.0.1:8888>test.sdp
ffplay 拉rtp流 ffplay test.sdp -protocol_whitelist file,udp,rtp -analyzeduration 200000k -probesize 200000k
ffmpeg -re -i <media_file> -an -vcodec copy -f rtp rtp://<IP>:5004 -vn -acodec copy -f rtp rtp://<IP>:5005 > test.sdp
ffmpeg rtp推流音视频
ffmpeg -re -i F:\片源\大丈夫_01.ts -vcodec libx264 -an -b:v 8000k -f rtp rtp://127.0.0.1:8888 -acodec aac -b:a 128k -vn -f rtp rtp://127.0.0.1:9001>test.sdp
ffplay test.sdp -protocol_whitelist file,udp,rtp -analyzeduration 200000k -probesize 200000k
http://blog.sina.com.cn/s/blog_6e65e8cc01011wm4.html