IPad, iPhone, and itouch video playback h264 + AAC problem summary (earlier than iPhone 4)

Source: Internet
Author: User

The following is a summary of some problems when using h264 + AAC for video playback on iPad, iPhone, itouch, and other terminals.

1: audio and video synchronization problems

The reason is mainly because of the TS file timestamp problem. Sometimes it will also cause problems after file encapsulation type conversion,

For example, FLV-ts will cause audio and video to be not synchronized. The base time used by FLV (reference time): one second = 1000, while the base time used by TS (reference time): one second = 90000

If it is ts-FLV-Ts, the last ts timestamp is different from the start timestamp.

2: There is a green screen problem when playing the video.

The sequence of hsf-nalu is broken. The normal sequence is: to be written, and each frame needs to have a separator, NALU

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.