蘋果手機播放異常排查

來源:互聯網
上載者:User

標籤:ios 視頻 蘋果


1.蘋果官方提供的目前支援的視頻格式


參考連結:https://developer.apple.com/library/content/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-MEDIASTREAMSEGMENTATION

視頻資訊可使用potplayer或mediainfo等工具查看。

目前支援AVC的level及手機型號如下,推薦幀大小為30。

       650) this.width=650;" src="https://s4.51cto.com/wyfs02/M01/07/BC/wKiom1nOcW3yhTjnAADPceMwVNY028.jpg" title="1.jpg" alt="wKiom1nOcW3yhTjnAADPceMwVNY028.jpg" />

也可參考:https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html#//apple_ref/doc/uid/TP40008332-CH102-SW8

650) this.width=650;" src="https://s1.51cto.com/wyfs02/M00/A6/6E/wKioL1nOcYaB9NKtAAG_6-vGxA0904.jpg" title="1.jpg" alt="wKioL1nOcYaB9NKtAAG_6-vGxA0904.jpg" />

2.蘋果官方提供的視頻偵查工具


安裝包:

HTTPLiveStreamingTools333.dmg

使用教程可參考:

https://developer.apple.com/library/content/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-VALIDATEYOURMEDIA-MEDIA_STREAM_VALIDATOR_TOOL

以下為使用其分析一條m3u8的結果,故障現象是播放時有聲音沒畫面。

工具檢測後提示發現隔行掃描錯誤,必須得是漸進式掃描

URL:

http://v-cc.dushu.io/video/other/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b/playlist.m3u8

650) this.width=650;" src="https://s5.51cto.com/wyfs02/M02/07/BC/wKiom1nOcgzweRO2AAHCzBDW-GE897.jpg" title="1.jpg" alt="wKiom1nOcgzweRO2AAHCzBDW-GE897.jpg" />

3.如何查看蘋果手機是否支援該視頻格式


使用potplayer工具查看視頻檔案資訊,可以看到改ts檔案的掃描方式為隔行掃描,而蘋果手機不支援隔行掃描,因而該視頻在蘋果手機下播放異常。


  • PAL制式(掃描方式為隔行掃描)

    m3u8檔案:

    http://v-cc.dushu.io/video/other/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b/playlist.m3u8
    ts檔案

    http://v-cc.dushu.io/video/other/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b/9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b.mp4_av_0.ts

       650) this.width=650;" src="https://s2.51cto.com/wyfs02/M01/07/BC/wKiom1nOcwKx7MYOAADgpZxuSvE930.jpg" title="1.jpg" alt="wKiom1nOcwKx7MYOAADgpZxuSvE930.jpg" />

蘋果手機播放異常排查

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.