【发布时间】:2020-10-13 16:53:47
【问题描述】:
我正在为 Android 使用this FFMPEG 端口。 我的目标是最终读取 RTSP 流。
我可以从本地文件(位于 "/storage/emulated/0/bunny.mp4")打开一个流, 使用 *avformat_open_input* 函数。
但是,当我尝试从远程位置打开相同的文件时,例如 *"http_://192.168.1.183/bunny.mp4*" ,它返回错误 -2 .
整个cpp代码是here。
有什么想法吗?
【问题讨论】:
标签: android ffmpeg video-streaming