Video pictures pattern detection
First Claim
1. A method for a media editing application that is stored in a non-transitory machine readable medium of an electronic device and executed by at least one processing unit of the electronic device, the method for converting a frame rate of a video file to a native frame rate, the method comprising:
- identifying a current frame rate of the video file;
based on the current frame rate, generating a list of encoding cadences, each encoding cadence serving as a candidate encoding cadence that may have been used to generate the video file;
at a format recognition module of the media editing application, for each encoding cadence of the list, applying a set of comparisons to a group of consecutive frames in a sequence of frames of the video file in order to try to identify a pattern of frames that would exist in the video file had the encoding cadence been used to generate the video file; and
at a video editing module of the media editing application, after identifying the pattern of frames by applying the set of comparisons for the particular encoding cadence, using the particular encoding cadence to convert the current frame rate to the native frame rate of the video file.
0 Assignments
0 Petitions
Accused Products
Abstract
Some embodiments of the invention provide a media-editing application that performs frame rate conversion detection on a video. For a video that has been converted from one frame rate and format to another frame rate and format, the application detects the conversion method that has been used in the conversion of the video. Some embodiments perform this frame rate conversion detection by detecting patterns of repeating fields and/or frames in a video sequence created by the different conversion processes.
Some embodiments compute (i) a frame difference value for each consecutive frames, (ii) a correlation score for the first and second fields of each frame, and (iii) a correlation score for the second field of each frame and the first field of a succeeding frame. Frame difference values are compared with each other to detect repeated frames and correlation scores are compared with each other to detect repeated fields.
-
Citations
19 Claims
-
1. A method for a media editing application that is stored in a non-transitory machine readable medium of an electronic device and executed by at least one processing unit of the electronic device, the method for converting a frame rate of a video file to a native frame rate, the method comprising:
-
identifying a current frame rate of the video file; based on the current frame rate, generating a list of encoding cadences, each encoding cadence serving as a candidate encoding cadence that may have been used to generate the video file; at a format recognition module of the media editing application, for each encoding cadence of the list, applying a set of comparisons to a group of consecutive frames in a sequence of frames of the video file in order to try to identify a pattern of frames that would exist in the video file had the encoding cadence been used to generate the video file; and at a video editing module of the media editing application, after identifying the pattern of frames by applying the set of comparisons for the particular encoding cadence, using the particular encoding cadence to convert the current frame rate to the native frame rate of the video file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory machine readable medium storing a media editing application for identifying a rate conversion method applied to a video file, the application executable by at least one processing unit of an electronic device, the application comprising sets of instructions for:
-
identifying a first difference between a first pair of consecutive frames in a sequence of frames in a display order; identifying a second difference between a second pair of consecutive frames that immediately precedes the first pair of consecutive frames in the sequence; identifying a third difference between a third pair of consecutive frames that immediately follows the first pair of consecutive frames in the sequence; identifying a fourth difference between a fourth pair of consecutive frames that immediately follows the third pair of consecutive frames in the sequence; when the first difference is larger than each of the second, third, and fourth differences, identifying a pattern of repeated frames in the video file; and converting a current frame rate and format of the video file back to a native frame rate and format of the video file using the identified pattern. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification