ffplay问题Protocol 'rtp' not on whitelist 'file,crypto'!
来源:互联网 发布:sm4算法介绍 编辑:程序博客网 时间:2024/06/15 15:16
相信很多人的视频编解码在网上找到的很多资料都是雷霄骅博士的文章,在这里补充一点。
雷霄骅博士的文章FFmpeg发送流媒体的命令(UDP,RTP,RTMP)写得很详细
http://blog.csdn.net/leixiaohua1020/article/details/38283297
而实际上,照着做行,提示 Protocol ‘rtp’ not on whitelist ‘file,crypto’!白名单一类的问题。其实是ffplay需要额外的参数,如:
-protocol_whitelist “file,http,https,rtp,udp,tcp,tls”
完整如下
发送rtp流 ffmpeg -re -i frame.h264 -vcodec copy -f rtp rtp://127.0.0.1:1239>
test.sdp
接收rtp流 ffplay -protocol_whitelist “file,http,https,rtp,udp,tcp,tls” test.sdp
具体的ip可自行修改,可先执行ffmpeg然后暂时,产生sdp文件,再运行ffplay,最后执行ffmpeg。
0 0
- ffplay问题Protocol 'rtp' not on whitelist 'file,crypto'!
- #28000ip not in whitelist
- ffplay on SDL2
- 网络协议问题Protocol not found
- XCode8 Protocol not available, dumping backtrace问题
- XCode8 Protocol not available, dumping backtrace问题
- EPStoPDF file not found error on Ubuntu
- ffplay on SDL2 之二
- ffplay on SDL2 之三
- ffmpeg生成ffplay问题
- RTP, Real-time Transport Protocol
- not a regular file问题
- not a regular file问题
- not a regular file问题
- H264 on RTP collections
- ffmpeg ffplay rtp推流命令和sdp格式
- 解决PCBSD中的“ipfw: getsockopt(IP_FW_GET): Protocol not available”问题
- 解决XCode8 Protocol not available, dumping backtrace问题
- hdu2594(KMP算法水题)
- Java编程思想之final关键字的深入解析
- CSDN博客入门系列——如何转载博客
- POJ -1037-A decorative fence(动归 +计数)
- Sklearn学习之路(2)——围绕评估器转换器展开讨论
- ffplay问题Protocol 'rtp' not on whitelist 'file,crypto'!
- 构造方法的运用
- C++继承和派生
- POJ 1014 Dividing 笔记
- Android转场动画的学习
- 树状数组求逆序对
- android 事件传递机制
- 关于卡常的基本姿势和奇技♂巧
- linux基本指令