Systems and methods for group of pictures encoding
Systems and methods are provided encoding a video. Video data is captured. The video data is stored in a group of pictures format, where the group of pictures format comprises a plurality of GOP files, each GOP file including exactly one group of pictures unit. The video data is encoded into a prespecified format. Encoding includes accessing the GOP files containing the video data in the group of pictures format, and encoding the video data into the prespecified format using the GOP files to generate an encoded video.
Latest Panopto, Inc. Patents:
- Systems and methods for generation of composite video
- Systems and methods for transmitting segment-quality units of a streaming video session
- Systems and methods for linked mobile device content generation
- Systems and methods for generation of composite video from multiple asynchronously recorded input streams
- Systems and methods for generation of composite video
This application is a continuation of U.S. patent application Ser. No. 15/915,328, filed Mar. 8, 2018, entitled “Systems and Methods for Group of Pictures Encoding,” which is a continuation of U.S. patent application Ser. No. 14/634,964, filed Mar. 2, 2015, entitled “Systems and Methods for Group of Pictures Encoding,” which claims priority to U.S. Provisional Patent Application No. 61/955,946, filed Mar. 20, 2014, entitled “Systems and Methods for Group of Pictures Encoding,” the contents of which are hereby incorporated by reference in their entireties.
FIELDThis disclosure is related generally to digital video and more particularly to digital video encoding.
BACKGROUNDThe demand for digital video continues to increase, especially in view of the continually falling costs of bandwidth for delivery of such video. While data processing speeds continue to increase, video encoding is still often a time consuming endeavor. Thus, there is a continuing need to streamline video encoding processes.
SUMMARYSystems and methods are provided encoding a video. Video data is captured. The video data is stored in a group of pictures format, where the group of pictures format comprises a plurality of GOP files, each GOP file including exactly one group of pictures unit. The video data is encoded into a prespecified format. Encoding includes accessing the GOP files containing the video data in the group of pictures format, and encoding the video data into the prespecified format using the GOP files to generate an encoded video.
As another example, a system for encoding a video includes a computer-readable medium encoded with video data stored in a group of pictures format, wherein the group of pictures format comprises a plurality of GOP files, each GOP file including exactly one group of pictures unit. A data processor is configured to encode the video data in the group of pictures format using the GOP files to generate an encoded video.
A group of pictures is an independent unit of video data that includes exactly one independently coded picture frame and one or more intermediate frames that directly or indirectly reference the independently coded picture frame. A GOP file 102 contains exactly one group of pictures unit 112. A group of pictures unit includes one independently coded picture frame (e.g., I frame 106) and one or more intermediate frames 108 that directly or indirectly reference the independently coded frame. The GOP file 102 does not include the second independently coded frame 110. Each group of pictures of the video data 104 is compiled into a GOP file 102, where each GOP file 102 is stored in a computer-readable medium 114.
A computer-readable medium containing a collection of GOP files (e.g., an unencoded collection of an I frame and referencing P and B frames) can be utilized to generate encoded video in a variety of contexts.
The system is configured to access GOP files associated with the first subset and the second subset (i.e., GOP files 1.3, 1.4, 1.5, 2.3, 2.4, and 2.5). The reencoded video 608 will change at the portions associated with these GOP files, but will not change at portions associated with GOP files outside of the first subset and the second subset (i.e., GOP files 1.2, 2.6, and 2.7). The system reencodes the encoded video 602 based on the accessed first and second subset GOP files without reaccessing the GOP files outside of the first subset and the second subset. Instead, the system reutilizes the encoded portions of those unchanged periods in the encoded video. In the example of
This application uses examples to illustrate the invention. The patentable scope of the invention includes other examples.
Claims
1. A computer-implemented method for encoding a video, the method comprising:
- receiving first encoded video data encoded from a first set of GOP units, wherein each GOP unit comprises exactly one unencoded independently coded frame and one or more unencoded dependently coded frames;
- receiving second encoded video data encoded from a second set of GOP units;
- receiving instructions for generating third encoded video data based on the first encoded video data and the second encoded video data, wherein the instructions identify a first transition frame from the first encoded video data and a second transition frame from the second encoded video data; and
- generating the third encoded video data by identifying a first transition GOP unit from the first set of GOP units, wherein the first transition GOP unit includes a first unencoded frame corresponding to the first transition frame; identifying a second transition GOP unit from the second set of GOP units, wherein the second transition GOP unit includes a second unencoded frame corresponding to the second transition frame; generating a third transition GOP unit based on the first transition GOP unit and the second transition GOP unit, wherein the third transition GOP unit includes a transition from the first unencoded frame to the second unencoded frame; encoding a transition encoded video data based on the third transition GOP unit and combining a subset of the first encoded video data, the transition encoded video data, and a subset of the second encoded video data to form the third encoded video data.
2. The method of claim 1 wherein the subset of the first encoded video data corresponds to video data encoded from the first set of GOP units that come before the first transition GOP unit.
3. The method of claim 1 wherein the subset of the second encoded via data corresponds to video data encoded from the second set of GOP units that come after the second transition GOP unit.
4. The method of claim 1 wherein the third transition GOP unit includes at least one frame from the first transition GOP unit and at least one frame from the second transition GOP unit.
5. The method of claim 1 wherein the subset of the first encoded video data and the subset of the second encoded video data are combined in the generated third encoded video data without re-encoding the corresponding GOP units.
6. The method of claim 1 wherein the subset of the first encoded video data and the subset of the second encoded video data correspond to GOP units that do not fall within the transition.
7. The method of claim 1 wherein the transition corresponds to a cross fade, a dissolve, a peel, a hard transition, or a wipe.
8. A non-transitory computer-readable medium containing instructions configured to cause one or more processors to perform a method for encoding a video, the method comprising:
- receiving first encoded video data encoded from a first set of GOP units, wherein each GOP unit comprises exactly one unencoded independently coded frame and one or more unencoded dependently coded frames;
- receiving second encoded video data encoded from a second set of GOP units;
- receiving instructions for generating third encoded video data based on the first encoded video data and the second encoded video data, wherein the instructions identify a first transition frame from the first encoded video data and a second transition frame from the second encoded video data; and
- generating the third encoded video data by identifying a first transition GOP unit from the first set of GOP units, wherein the first transition GOP unit includes a first unencoded frame corresponding to the first transition frame; identifying a second transition GOP unit from the second set of GOP units, wherein the second transition GOP unit includes a second unencoded frame corresponding to the second transition frame; generating a third transition GOP unit based on the first transition GOP unit and the second transition GOP unit, wherein the third transition GOP unit includes a transition from the first unencoded frame to the second unencoded frame; a transition encoded video data based on the third transition GOP unit and combining a subset of the first encoded video data, the transition encoded video data, and a subset of the second encoded video data to form the third encoded video data.
9. The non-transitory computer-readable medium of claim 8 wherein the subset of the first encoded video data corresponds to video data encoded from the first set of GOP units that come before the first transition GOP unit.
10. The non-transitory computer-readable medium of claim 8 wherein the subset of the first encoded video data corresponds to video data encoded from a plurality of GOP units from the first set of GOP units.
11. The non-transitory computer-readable medium of claim 8 wherein the third transition GOP unit includes at least one frame from the first transition GOP unit and at least one frame from the second transition GOP unit.
12. The non-transitory computer-readable medium of claim 8 wherein the subset of the first encoded video data and the subset of the second encoded video data are combined in the generated third encoded video data without re-encoding the corresponding GOP units.
13. The non-transitory computer-readable medium of claim 8 wherein the subset of the first encoded video data and the subset of the second encoded video data correspond to GOP units that do not fall within the transition.
14. The non-transitory computer-readable medium of claim 8 wherein the transition corresponds to a cross fade, a dissolve, a peel, a hard transition, or a wipe.
15. A computer-implemented method for encoding a video, the method comprising:
- receiving first encoded video data encoded from a set of GOP units, wherein each GOP unit comprises exactly one unencoded independently coded frame and one or more unencoded dependently coded frames;
- receiving instructions for generating second encoded video data based on the first encoded video data, wherein the instructions identify a transition from a first time of the first encoded video data to a second time of the first encoded video data; and
- generating the second encoded video data by determining a first transition frame from the first encoded video data based on the first time; determining a second transition frame from the first encoded video data based on the second time; identifying a first transition GOP unit from the set of GOP units, wherein the first transition GOP unit includes a first unencoded frame corresponding to the first transition frame; identifying a second transition GOP unit from the set of GOP units, wherein the second transition GOP unit includes a second unencoded frame corresponding to the second transition frame; generating a third transition GOP unit based on the first transition GOP unit and the second transition GOP unit, wherein the third transition GOP unit includes a transition from the first unencoded frame to the second unencoded frame; encoding a transition encoded video data based on the third transition GOP unit and combining a first subset of the first encoded video data, the transition encoded video data, and a second subset of the first encoded video data to form the second encoded video data.
16. The method of claim 15 wherein the first subset of the first encoded video data corresponds to video data encoded from the set of GOP units that come before the first transition GOP unit.
17. The method of claim 15 wherein the first subset of the first encoded video data corresponds to video data encoded from one GOP unit.
18. The method of claim 15 wherein the first subset of the first encoded video data corresponds to video data encoded from a plurality of GOP units.
19. The method of claim 15 wherein the third transition GOP unit includes at least one frame from the first transition GOP unit and at least one frame from the second transition GOP unit.
20. The method of claim 15 wherein the first subset of the first encoded video data and the second subset of the first encoded video data are combined in the generated second encoded video data without re-encoding the corresponding GOP units.
21. The method of claim 15 wherein the first subset of the first encoded video data and the second subset of the first encoded video data correspond to GOP units that do not fall within the transition.
5818542 | October 6, 1998 | Harnois |
6748020 | June 8, 2004 | Eifrig et al. |
8189657 | May 29, 2012 | Kapoor |
20150271492 | September 24, 2015 | Burns |
20180199033 | July 12, 2018 | Burns |
Type: Grant
Filed: Sep 20, 2019
Date of Patent: May 3, 2022
Patent Publication Number: 20200260075
Assignee: Panopto, Inc. (Seattle, WA)
Inventor: Eric Burns (Seattle, WA)
Primary Examiner: William C Vaughn, Jr.
Assistant Examiner: Naod W Belai
Application Number: 16/578,237
International Classification: H04N 19/114 (20140101); H04N 19/177 (20140101); H04N 19/136 (20140101); H04N 19/40 (20140101);