Troubleshooting of abnormal playback on iPhone
1. Currently supported video formats officially provided by Apple
Reference link: https://developer.apple.com/library/content/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-MEDIASTREAMSEGMENTATION
Video information can be viewed using tools such as potplayer or mediainfo.
Currently, the level and mobile phone models that support AVC are as follows, and the recommended frame size is 30.
Please also refer to: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH102-SW8
two。 Official video detection tool provided by Apple
Install the package:
HTTPLiveStreamingTools333.dmg
Use the tutorials to refer to:
Https://developer.apple.com/library/content/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-VALIDATEYOURMEDIA-MEDIA_STREAM_VALIDATOR_TOOL
The following is the result of using it to analyze a m3u8. The fault is that there is sound but no picture during playback.
The tool is prompted to find an interlaced error after detection, and it must be progressive.
URL:
Http://v-cc.dushu.io/video/other/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b/playlist.m3u8
3. How to check whether the iPhone supports this video format
When you use the potplayer tool to view the video file information, you can see that the scanning mode of the ts file is changed to interlaced, but the iPhone does not support interlaced scanning, so the video plays abnormally under the iPhone.
PAL (interlaced scan mode)
M3u8 file:
Http://v-cc.dushu.io/video/other/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b/playlist.m3u8
Ts file
Http://v-cc.dushu.io/video/other/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b.mp4_av_0.ts