为什么我的MPEG-TS无法在iOS上播放? [英] Why doesn't my MPEG-TS play on iOS?
问题描述
我的MPEG-TS视频无法通过HTTP Live Streaming在iOS上播放,我不确定为什么.我知道我的iOS代码/m3u8格式是正确的,因为如果我用来自Apple(bipbop)的示例文件替换.ts文件,则它可以工作.我提供了有关我的视频(无效)和有效视频的信息.
My MPEG-TS video isn't playing on iOS via HTTP Live Streaming and I am not sure why. I know my iOS code/m3u8 format is correct because if I replace my .ts file with a sample one from apple (bipbop), it works. I provided information on my video (doesn't work) and the one that works.
General
ID : 1 (0x1)
Format : MPEG-TS
File size : 9.57 MiB
Duration : 3s 265ms
Overall bit rate mode : Variable
Overall bit rate : 24.3 Mbps
Video
ID : 769 (0x301)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : 27
Duration : 3s 279ms
Bit rate : 23.1 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Stream size : 9.01 MiB (94%)
苹果(正常工作)
General
ID : 1 (0x1)
Format : MPEG-TS
File size : 281 KiB
Duration : 9s 943ms
Overall bit rate mode : Variable
Overall bit rate : 231 Kbps
Video
ID : 257 (0x101)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L2.1
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Format settings, GOP : M=2, N=24
Codec ID : 27
Duration : 9s 542ms
Width : 400 pixels
Height : 300 pixels
Display aspect ratio : 4:3
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color primaries : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients : BT.601
Audio
ID : 258 (0x102)
Menu ID : 1 (0x1)
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Muxing mode : ADTS
Codec ID : 15
Duration : 9s 380ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 22.05 KHz
Compression mode : Lossy
Delay relative to video : -121ms
我的视频没有音频流,但这没关系.
My video doesn't have an audio stream, but that shouldn't matter.
我的视频有什么问题,使其无法通过HTTP Live Streaming播放?
推荐答案
您的视频引人注目,级别4.2. iPhone 5 仅支持4.1以上的版本. iPhone 4 仅支持主配置文件级别3.1.另外23.1 MBps确实很高.最多3或4.
Your video is high profile, level 4.2. iPhone 5 only supports up level 4.1. iPhone 4 only supports up to main profile level 3.1. Also 23.1 Also MBps is really high. 3 or 4 is probably max.
这是我为ios设备制作的编译列表.
Here is a compiled list I have made for ios devices.
这篇关于为什么我的MPEG-TS无法在iOS上播放?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!