1
我試圖在iOS上使用ffmpeg。當我打電話av_register_all(),然後嘗試打開該文件使用avformat_open_input()我收到以下錯誤:ffmpeg av_register_all()不工作?
No URL Protocols are registered. Missing call to av_register_all()?
有沒有人見過這個?任何幫助將不勝感激
我試圖在iOS上使用ffmpeg。當我打電話av_register_all(),然後嘗試打開該文件使用avformat_open_input()我收到以下錯誤:ffmpeg av_register_all()不工作?
No URL Protocols are registered. Missing call to av_register_all()?
有沒有人見過這個?任何幫助將不勝感激
我在構建靜態庫的構建腳本中禁用了協議。
如果你想看到可用的協議類型的ffmpeg的列表:
./configure --list-protocols
,你將有類似的東西
applehttp https rtmps
cache md5 rtmpt
concat mmsh rtmpte
crypto mmst rtp
file pipe tcp
gopher rtmp tls
http rtmpe udp
httpproxy
,如果你有你的ffmpeg配置禁用一切,通常是在這種情況下啓用文件協議就足夠了:
./configure \
...
--enable-protocol=file \
...