brew install ffmpeg --with-faac --with-rtmpdump --with-libsoxr --with-openssl --with-xz --with-ffplay
rtmpdump的使用:
/usr/local/bin/rtmpdump -r playUrl >> temp.flv
ffplay的使用:
/usr/local/bin/ffplay temp.flv
ffprobe的使用:
//读取拉到的播放流,转成flv文件。并将flv文件转成txt格式
/usr/local/bin/ffprobe -show_frames temp.flv > temp.txt