繁体   English   中英

从 ffmpeg 创建的 Mp4 文件可以在模拟器/PC 浏览器上播放,但不能在真实设备中的 iOS app/safari 上播放

[英]Mp4 file created from ffmpeg can play on Simulator/PC browser but can't play on iOS app/safari in real device

后端团队使用 ffmpeg 从图像创建视频。 奇怪的是,视频可以在 Mac 浏览器/iPhone 模拟器上播放,但不能在真手机上的浏览器/iOS 应用程序上播放。

我尝试使用 AVPlayer 打印错误但错误 = nil

这是文件: https://firebasestorage.googleapis.com/v0/b/chatchatapp123.appspot.com/o/image_rendered.mp4?alt=media

这是它的元数据: https://www.metadata2go.com/result/46e72635-7fac-46ee-acfe-cb6ffda49692

以前有没有人遇到过这种情况,如果有,有什么想法吗?

谢谢。

我注意到,元数据中的field ordertt ,这意味着隔行视频,顶部字段首先编码和显示

但是根据Apple的“HTTP Live Streaming”文档,官方文档上有“重要提示:iOS设备不支持隔行视频”的说明。

https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM