所以我想为 iPhone 制作一个可以播放实时 mms:// 视频流的应用程序。
我环顾四周,到处都说我需要 FFmpeg 才能完成它。所以我成功编译了FFmpeg库,但是现在
我是否必须将 mms:// 链接转换为 .m3u8 链接?或者我可以只使用 apples AV Foundation Framework 吗?
谢谢!
所以我想为 iPhone 制作一个可以播放实时 mms:// 视频流的应用程序。
我环顾四周,到处都说我需要 FFmpeg 才能完成它。所以我成功编译了FFmpeg库,但是现在
我是否必须将 mms:// 链接转换为 .m3u8 链接?或者我可以只使用 apples AV Foundation Framework 吗?
谢谢!
You need libmms as well as the ffmpeg libs ,however as think the latest versions of ffmpeg has the code built in so you may not need libmms mms is just a streaming protocol so the actual format is likely some mpeg variant, mp4, h264.
Once you have that you extract the frames , and use ffmpeg avcodec_decode_video2 to decode to an avFrame. Just like any other video.