How can I solve cmtimemake in IOS?

Source: Internet
Author: User

Http://blog.riaproject.com/objective-c/1745.html

Cmtime is added after IOS 4.1 to set the time,

However, the official Apple documents indicate that they are actually insufficient,

Only a brief description of this section is illustrated:

CMTimeMake CMTime CMTimeMake (   int64_t value,   int32_t timescale); Parameters value timescale Return Value Discussion Availability     * Available in iOS 4.0 and later. Declared InCMTime.h

After asking the Google gods, there are actually not many people who use it, and there are fewer people who can solve the problem,

It is determined that the website will soon be ready for the next iteration,

At least some people will be better than me later,

So that you do not have to figure it out.

Cmtimemake is used to build cmtime,

However, he may not use it in general time,

Cmtime, however, is used to indicate the differences in film time,

Its usage is cmtimemake (time, timescale)

Time refers to the time (not the second ),

The time is counted as seconds, and the second hour is timescale.

Timescale refers to the one-second structure that needs to be composed of several frames (which can be equivalent to FPS ),

Therefore, the real time required for Table Partitioning is time/timescale, which is second.

Example:

CMTimeMake(60, 30);CMTimeMake(30, 15);

In the two examples, the time in the video is two seconds,

However, the playback speed varies by two times.

Well, I believe that you should be able to understand the meaning of the statement expression of cmtimemake.

Cmtime is added after IOS 4.1 to set the time,

However, the official Apple documents indicate that they are actually insufficient,

Only a brief description of this section is illustrated:

CMTimeMake CMTime CMTimeMake (   int64_t value,   int32_t timescale); Parameters value timescale Return Value Discussion Availability     * Available in iOS 4.0 and later. Declared InCMTime.h

After asking the Google gods, there are actually not many people who use it, and there are fewer people who can solve the problem,

It is determined that the website will soon be ready for the next iteration,

At least some people will be better than me later,

So that you do not have to figure it out.

Cmtimemake is used to build cmtime,

However, he may not use it in general time,

Cmtime, however, is used to indicate the differences in film time,

Its usage is cmtimemake (time, timescale)

Time refers to the time (not the second ),

The time is counted as seconds, and the second hour is timescale.

Timescale refers to the one-second structure that needs to be composed of several frames (which can be equivalent to FPS ),

Therefore, the real time required for Table Partitioning is time/timescale, which is second.

Example:

CMTimeMake(60, 30);CMTimeMake(30, 15);

In the two examples, the time in the video is two seconds,

However, the playback speed varies by two times.

Well, I believe that you should be able to understand the meaning of the statement expression of cmtimemake.

Related Article

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.